Closed Bug 227370 Opened 21 years ago Closed 21 years ago

[patch]The export bookmarks window should state "Export bookmarks to (HTML/Safari)"

Categories

(Camino Graveyard :: Bookmarks, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.8

People

(Reporter: camino, Assigned: mikepinkerton)

References

Details

Attachments

(2 files, 6 obsolete files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031202 Camino/0.7+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031202 Camino/0.7+

The export bookmarks window is very vague, and should state more clearly what
the user can choose. 

It should state something like "Export bookmarks to (HTML/Safari)" instead of
just "(HTML/Safari)" 

Reproducible: Always

Steps to Reproduce:
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: The export bookmarks window should state "Export bookmarks to (HTML/Safari)" → [patch]The export bookmarks window should state "Export bookmarks to (HTML/Safari)"
Attached patch a two liner patch (obsolete) — Splinter Review
Attachment #137062 - Flags: review?
Oeps Ludo you made a spelling mistake :)

+  [button insertItemWithTitle:NSLocalizedString(@"Export bookmaarks to
Safari",@"Export bookmaarks to Safari") atIndex:1];

"bookmaarks" should be "bookmarks":

+  [button insertItemWithTitle:NSLocalizedString(@"Export bookmarks to
Safari",@"Export bookmarks to Safari") atIndex:1];
will correct that tonight.
Attached patch corrected typo (obsolete) — Splinter Review
Attachment #137062 - Attachment is obsolete: true
Attachment #137062 - Flags: review?
Attachment #137190 - Flags: review?
how about changing the text from "save as" to "export to" and leave the
safari/html as is? seems more appropriate and is much less wordy. 
Target Milestone: --- → Camino0.8
ludo this:
NSLocalizedString(@"Export bookmarks to Safari",@"Export bookmarks to Safari")
should be this:
NSLocalizedString(@"Export bookmarks to Safari",@"")

The second string is a "hint" which is given to the localization engineers to
help them translate. It never goes into the program. It's only supposed to be
filled in if there's some extra explanation that is needed to translate the info.

fix that and I'll review + I think this is better than before.
Attached patch the way it should be (obsolete) — Splinter Review
Apply this patch to MainController.mm and add the line:

"Export to:" = "Export to:";

to Localizable.strings. This will make the export panel look right. I hand
coded the UI widgets - you can do it with a nib if you want but I don't want to
do it that way. If nothing else this patch will show you what you need to do.
Attached file patch v1.0 (obsolete) —
Here is a patch done right using a nib interface instead of hand-coded. Just
replace the files in the archive in your tree. 1 nib, 1 header, 1
implementation file changed.
Attachment #137190 - Attachment is obsolete: true
Attachment #138151 - Attachment is obsolete: true
Attachment #137190 - Flags: review?
Attachment #138237 - Flags: review?
josh, can you make a patch instead of uploading the files? it's much much much
easily to apply if you do. you can upload a separate attachment for the nib.
Blocks: 181347
Status: NEW → ASSIGNED
Attached file nib for patch v1.1 (obsolete) —
Attachment #138237 - Attachment is obsolete: true
Attached patch patch v1.1 (obsolete) — Splinter Review
Attached file new nib file v1.2
Attachment #138418 - Attachment is obsolete: true
Attachment #138419 - Attachment is obsolete: true
Apply this patch, add the new nib file to your project, remove mFilterView from
MainMenu.nib (the view AND the reference to it in MainController's nib
representation)
landed with some tweaks.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Attachment #138237 - Flags: review?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: