Opened 8 years ago
Closed 7 years ago
#41643 closed defect (bug) (fixed)
i18n: Use %s placeholders in rest api translation strings
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | has-patch |
Focuses: | rest-api | Cc: |
Description
This patch replaces force=true
with %s
in rest-api translation strings.
Source:
Attachments (2)
Change History (9)
#3
@
8 years ago
- Component changed from Text Changes to I18N
- Focuses rest-api added
- Milestone changed from Awaiting Review to 4.9
- Owner set to SergeyBiryukov
- Status changed from new to reviewing
#4
@
7 years ago
This is good, but I think the translator comment can be improved to better explain what force=true
is.
Note: See
TracTickets for help on using
tickets.
The translators should not have access to code like
force=true
, they can accidentally change some characters.When using code in translation strings we should always use
%s
placeholders.