Closed Bug 380305 Opened 18 years ago Closed 18 years ago

Dictionary page is not localizable

Categories

(addons.mozilla.org Graveyard :: Localization, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla, Assigned: bugzilla)

References

()

Details

Attachments

(1 file, 3 obsolete files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; da; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Build Identifier: Bits of the dictionary page is not localizable. The following texts should be localizable: Install Install dictionary (<size> KB) Dictionary: <name> Reproducible: Always
Attached patch Patch v1 (obsolete) — Splinter Review
This patch includes this bug, bug 380306 and bug 370751 It also changes display of language names so that all names are displayed without the non human readable language code, not just languages with regional variations.
Attachment #264374 - Flags: review?(fligtar)
Attached patch Patch v2 (obsolete) — Splinter Review
Woops, half a fix for bug 371010 sneaked its way into the previous patch, including the whole fix. I hope it is OK to have many small fixes in one patch.
Attachment #264374 - Attachment is obsolete: true
Attachment #264377 - Flags: review?(fligtar)
Attachment #264374 - Flags: review?(fligtar)
Comment on attachment 264377 [details] [diff] [review] Patch v2 These changes all look good, I'm excited to get these bugs fixed and that you're helping out. The only issue I encountered was that when you click on a link to install a dictionary, the name displayed in the xpinstall dialog is "Dictionary: %1". Also, one little thing: > msgid "addons_dictionaries_size_kb" > msgstr " (%1 KB)" Can you remove that space in front and have it be non-localized instead please? With those changes, we can include this in the next update. Also, just to confirm - you'll need this checked in, right?
Attachment #264377 - Flags: review?(fligtar) → review-
> The only issue I encountered was that when you click on a link to install a > dictionary, the name displayed in the xpinstall dialog is "Dictionary: %1". Is the %1 sign html-encoded at you? I cannot reproduce the problem here, but also I cannot reproduce the problem seen on remora.stage.mozilla.com where "-" is being html-encoded, so i guess it might be related. > Can you remove that space in front and have it be non-localized instead > please? I will do that, through i do not agree in that it should be done. > Also, just to confirm - you'll need this checked in, right? Yes
Attached patch Patch v3 (obsolete) — Splinter Review
Removed space from localization I hope I have solved the %1-problem, but since I am working in total darkness here, I do not know.
Attachment #264377 - Attachment is obsolete: true
Attachment #264394 - Flags: review?(fligtar)
(In reply to comment #4) > Is the %1 sign html-encoded at you? Yeah, that was the problem. If I change publish() to set() it works fine. (The only difference between them is that publish() html encodes everything to prevent XSS attacks and is what we use unless we have specific reason to use set().) I think that set() would be fine to use here, as there's no dynamic data being passed. So, can you upload another patch changing publish() to set() and undoing the other stuff you were trying to fix the problem in the third patch? (Still removing the translation space though)
Assignee: nobody → bugzilla
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch Patch v4Splinter Review
Used set instead of publish
Attachment #264394 - Attachment is obsolete: true
Attachment #264395 - Flags: review?(fligtar)
Attachment #264394 - Flags: review?(fligtar)
Comment on attachment 264395 [details] [diff] [review] Patch v4 Great, it's been checked in and will be live next time we update. Thanks!
Attachment #264395 - Flags: review?(fligtar) → review+
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: