Closed
Bug 400667
Opened 17 years ago
Closed 16 years ago
Static page titles are not localizable
Categories
(addons.mozilla.org Graveyard :: Localization, defect)
addons.mozilla.org Graveyard
Localization
Tracking
(Not tracked)
VERIFIED
FIXED
4.0.3
People
(Reporter: fiotakis, Assigned: wenzel)
References
()
Details
Attachments
(1 file)
3.55 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; el-GR; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; el-GR; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8 Allthough there is a localized string for "Credits" in all languages (footer_credits string, messages.po file), AMO uses the english word for all valid and supported locales as a page title. Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: The page title should use the localized string instead.
Comment 1•17 years ago
|
||
This applies to all page views (that's appversions, credits, submissionhelp etc.) because as you can see in site/app/controllers/pages_controller.php:61 it uses a generic display function to set the title to the pagename with the first letter capitalized (so there's no localization at all). site/app/controllers/pages_controller.php:86 $title = ucfirst($path[$count - 1]); Maybe something like using the pagename as part of the msgid would be a good workaround (credits_pagetitle, appversions_pagetitle etc.)? Would have to update all of the po files too.
Assignee | ||
Updated•17 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•16 years ago
|
Severity: trivial → minor
Hardware: PC → All
Summary: The localized string for "Credits" is not displayed as the page title → Static page titles are not localizable
Assignee | ||
Comment 3•16 years ago
|
||
I'll fix it for the 4.0.3 milestone. Will probably make a switch statement for the page title, defaulting to the current behavior.
Assignee | ||
Comment 4•16 years ago
|
||
Attachment #346289 -
Flags: review?(clouserw)
Comment 5•16 years ago
|
||
Comment on attachment 346289 [details] [diff] [review] Possibility to localize page titles, incl. titles for the existing pages I'd rather have the title in the .thtml files somehow but I can't think of a clean way to do it. Them's the breaks I guess.
Attachment #346289 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 6•16 years ago
|
||
Committed to r19531. l10n merged out to all locales in r19533.
Keywords: push-needed
Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 7•16 years ago
|
||
Fred: ok to verify this as fixed since it was used to fix bug 462481, right?
Assignee | ||
Comment 8•16 years ago
|
||
Yes, since that bug was verifiable, this one is fixed by definition too. :)
Updated•8 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
•