Closed Bug 91774 Opened 23 years ago Closed 18 years ago

Localization problems with Bookmarks "Sorted By" menu & History "Sorted By" menu

Categories

(Firefox :: Bookmarks & History, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: m.wawoczny, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: l12y)

Attachments

(3 files, 2 obsolete files)

Localization problems with Bookmarks "Sorted By" menu & History "Sorted By" menu.
"Sorted by" menu gets strings from headers - wrong (can't localize it in proper
way). It should have own strings as for example in mail client.

Strings are from:
http://lxr.mozilla.org/seamonkey/source/xpfe/components/bookmarks/resources/locale/en-US/bookmarks.dtd#68
 to #74

Instead of gettings labels from headers add labels like this:
sortedby.name.label
sortedby.url.label
etc.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reassign to vishy, cc to l10n.
Assignee: nhotta → vishy
Component: Internationalization → Bookmarks
Keywords: l12y
QA Contact: andreasb → jonrubin
nav triage team:

marking p3, mozilla0.9.5, reassigning to ben
Assignee: vishy → ben
Priority: -- → P3
Target Milestone: --- → mozilla0.9.5
nav triage team:

Forgot nsbeta1+
Keywords: nsbeta1+
Keywords: nsBranch
mass change, switching qa contact from jonrubin to ruixu.
QA Contact: jonrubin → ruixu
Blocks: 99227
Paul/Ben - You nsbeta1+ this one. Should we assume it is worthy of nsbranch+?
Will this get fixed this week?
Marking nsbranch- as it was decided in the August bug triage that we wouldn't
have enough time in eMojo to fix this.  Let's revisit for MachV.
Keywords: nsbranch-
removing redundant nsbranch keyword, ->0.9.6
Keywords: nsbranch
Target Milestone: mozilla0.9.5 → mozilla0.9.6
No longer blocks: 99227
This set of menu items is dynamically generated. You should not have a problem
creating the appropriate localized phrasing as the string that forms a template
for the items is:

SortMenuItem = Sorted by %NAME%

in English..

where %NAME% is replaced by whatever we're sorting by. 

If a language positions %NAME% differently, you can change that, e.g.

SortMenuItem = %NAME% blah blah

or

blah %NAME% blah
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Uhm ehm... I know how to localize it -I've localized whole Mozilla...
As I said - labels are taken from headers - wrong:
In English:
Header - "Location"
Sort by menu - "Sorted by Location"

Thats ok.

But in Polish:
Header - "Adres"
Sort by menu - "Posortowane wedlug Adresu"

U see - Got "Adres" in headers but "Adresu" in sort by menu.
Of course I can make:

"Posortowane wedlug: Adres"

But this looks ugly, and this form isn't used in Polish language.

So this bug is not worksforme.
Reopening bug
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Paul Chen is now taking Bookmarks bugs. For your convenience, you can filter 
email notifications caused by this by searching for 'ilikegoats'.

Assignee: ben → pchen
Status: REOPENED → NEW
Blocks: 107067
Keywords: nsbranch-
mass moving mozilla0.9.6 bugs to mozilla0.9.7
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Moving to mozilla0.9.9 since I don't think I'll have any time to take a look at
this soon, adding helpwanted
Keywords: helpwanted
Target Milestone: mozilla0.9.7 → mozilla0.9.9
Pushing out to mozilla1.0.1
Target Milestone: mozilla0.9.9 → mozilla1.0.1
mass reassign of pchen bookmark bugs to ben
Assignee: pchen → ben
Blocks: 123821
No longer blocks: 107067
retargeting
Target Milestone: mozilla1.0.1 → Future
I think this bug could be marked fixed now, as bookmarks.dtd doesn't include the
labels anymore.
Product: Browser → Seamonkey
(In reply to comment #17)
> I think this bug could be marked fixed now, as bookmarks.dtd doesn't include
> the labels anymore.

...in SeaMonkey.

It does in Firefox and Marek's comment 9 is still justified for many non-English locales.

Moving this to the Firefox component.
Product: Mozilla Application Suite → Firefox
Attached patch Patch A, rev.1 (Places) (obsolete) (deleted) — Splinter Review
Marek, would something like this solve the problem?
Yes, for the Places part.

If the old-style bookmarks are really going to be removed in 3.0, this should fix the issue completely.

If not, a similar patch for the old-style bookmarks is also needed.
OS: Windows 2000 → All
Hardware: PC → All
Assignee: bugs → nobody
Component: Bookmarks → Places
QA Contact: ruixu → places
Attachment #238213 - Attachment description: Like so? → Patch A, rev.1 (Places)
Attachment #238213 - Flags: review?(mano)
Attached patch Patch B, rev. 1 (Bookmarks) (deleted) — Splinter Review
Attachment #241612 - Flags: review?(mano)
Assignee: nobody → mats.palmgren
Keywords: helpwanted
Comment on attachment 238213 [details] [diff] [review]
Patch A, rev.1 (Places)

Hrm? How is "E" an accesskey for "Sort by Title" for example? Also note accesskeys are case-sensitive..
accesskeys ar _not_ case-sensitive by themselves. If there's no match for the exact case, the first character that matches a case-insensitive search is taken.
Attached patch Patch A, rev.2 (Places) (obsolete) (deleted) — Splinter Review
Attachment #238213 - Attachment is obsolete: true
Attachment #238213 - Flags: review?(mano)
Attachment #241664 - Flags: review?(mano)
The question remains though, how is "e" a good acesskey in this case (this is the _last_ character)?
Attached image Screenshot, Places with patch A rev.2 (deleted) —
(In reply to comment #25)
> The question remains though, how is "e" a good acesskey in this case

I read somewhere (sorry, can't remember where) that one should avoid words
that is part of a common leading prefix. In our case "Sort by":
Sort by Title
Sort by Location
Sort by Visit Date
Sort by Visit Count

For "Title", "T" is already used by "Toolbar" and "l" is already used by
"Reload", this leaves "i" and "e". Single pixel letters like "l" and "i"
should be avoided if possible (hard to see underline), so I chose "e".
Suggesting:
R&eload
T&oolbar
&Show Columns
--
&Unsorted
Sort by &Title
Sort by &Location
Sort by &Visit Date
Sort By Visit &Count

However, the places ui is going to be completely redesigned, and we'll probably enable it for Fx3. You may want to wait until then...
Attached patch Patch rev. 3 (Places) (deleted) — Splinter Review
The accesskeys you suggested above, except I used 'R' for Reload - it doesn't
clash with anything on the View menu or context menus AFAICT...
Attachment #241664 - Attachment is obsolete: true
Attachment #241664 - Flags: review?(mano)
Attachment #241820 - Flags: review?(mano)
Attachment #241820 - Attachment description: Patch rev. 3 → Patch rev. 3 (Places)
Comment on attachment 241820 [details] [diff] [review]
Patch rev. 3 (Places)

OK, please file a bug on adding accesskeys to the context menu.

r=mano.
Attachment #241820 - Flags: review?(mano) → review+
(In reply to comment #29)
> (From update of attachment 241820 [details] [diff] [review] [edit])
> OK, please file a bug on adding accesskeys to the context menu.

Already filed, bug 322239

> r=mano.

Does that cover the old-style Bookmarks Manager patch as well?


No, I'll review it some-time soon (read: next week at worse).
Comment on attachment 241612 [details] [diff] [review]
Patch B, rev. 1 (Bookmarks)

Assuming you've tested this, r=mano.
Attachment #241612 - Flags: review?(mano) → review+
Yes, I tested both patches.

Both patches checked in to trunk at 2006-11-08 19:03 PDT.

-> FIXED
Status: NEW → RESOLVED
Closed: 23 years ago18 years ago
Resolution: --- → FIXED
Mats, thank you very much for this. :)
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: