Closed
Bug 928545
Opened 12 years ago
Closed 12 years ago
confusing l10n around deleting payments
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-10-28
People
(Reporter: clouserw, Assigned: davidbgk)
Details
(Whiteboard: kanbanzilla[Review])
https://github.com/mozilla/zamboni/blob/master/media/js/devreg/payments-manage.js#L23 came up on the dev-l10n-web mailing list. We can't just have stuff like ngettext('it'). Without context people won't be able to localize. This should be replaced with something else like:
> Deleting payment account "{0}" will mark the following as incomplete:
Actually, looking at it, is the string even localized? I don't think we pick up on format() do we?
Updated•12 years ago
|
Version: 1.5 → 1.4
Comment 1•12 years ago
|
||
This is missing gettext() so, yes, it is not localized. However, you can't localize plural forms the way this coder wants to. You have to list each plural localization separately, like:
format(ngettext('this is the singular sentence. App: {0}', 'this is the plural sentence. App: {0}', isPlural), [data['name']])
| Assignee | ||
Comment 2•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Priority: -- → P3
Target Milestone: --- → 2013-10-28
| Assignee | ||
Updated•12 years ago
|
Whiteboard: kanbanzilla[Review]
| Assignee | ||
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•