Opened 9 years ago
Closed 9 years ago
#41643 closed defect (bug) (fixed)
i18n: Use %s placeholders in rest api translation strings
| Reported by: | ramiy | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9 |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | rest-api |
Description
This patch replaces force=true with %s in rest-api translation strings.
Source:
Attachments (2)
Change History (9)
#3
@
9 years ago
- Component Text Changes → I18N
- Focuses rest-api added
- Milestone Awaiting Review → 4.9
- Owner set to
- Status new → reviewing
#4
@
9 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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
%splaceholders.