Closed
Bug 522810
Opened 16 years ago
Closed 15 years ago
Bad coded % sign
Categories
(addons.mozilla.org Graveyard :: Localization, defect, P5)
addons.mozilla.org Graveyard
Localization
Tracking
(Not tracked)
RESOLVED
WONTFIX
5.5
People
(Reporter: leszekz, Assigned: clouserw)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Build Identifier:
In the .po file is bad coded % sign in the phrase:
Of the %1$s add-ons that make up 95% of add-on usage known to Mozilla
Should be:
Of the %1$s add-ons that make up 95% of add-on usage known to Mozilla
Reproducible: Always
Comment 1•16 years ago
|
||
Using a double % (%%) should also work.
In general, we should run `msgfmt -c messages.po` to make sure the file is formatted correctly. I recently found a number of problems with the German file, most of which (but not all) I could fix.
Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> Using a double % (%%) should also work.
>
> In general, we should run `msgfmt -c messages.po` to make sure the file is
> formatted correctly. I recently found a number of problems with the German
> file, most of which (but not all) I could fix.
For what use (%%) if in the same line is '<b>%2$s%</b>'?
Assignee | ||
Comment 3•16 years ago
|
||
The double percent is more correct in this context I think. The string should be:
Of the %1$s add-ons that make up 95%% of add-on usage known to Mozilla
I'll try to remember to fix this before we push live.
Updated•15 years ago
|
Assignee: nobody → clouserw
OS: Windows XP → All
Hardware: x86 → All
Target Milestone: --- → 5.5
Assignee | ||
Updated•15 years ago
|
Severity: normal → minor
Priority: -- → P5
Assignee | ||
Comment 4•15 years ago
|
||
So...why do we not want the % there? Why should it be encoded to %?
Reporter | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> So...why do we not want the % there? Why should it be encoded to %?
This is PHP standard.
Assignee | ||
Comment 6•15 years ago
|
||
(In reply to comment #5)
> (In reply to comment #4)
> > So...why do we not want the % there? Why should it be encoded to %?
>
> This is PHP standard.
It doesn't affect the output and PHP is going away. ->wontfix
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•