Opened 14 years ago
Closed 8 years ago
#6374 closed bug (fixed)
[Tracker] several strings not yet translated (patch)
Reported by: | diver | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Tracker | Version: | R1/Development |
Keywords: | Cc: | mt, pulkomandy | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev37723
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/FilePermissionsView.cpp#L65 ("Owner")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/FindPanel.cpp#L2385 ("contains")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/FindPanel.cpp#L2386 ("is")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/FindPanel.cpp#L2387 ("is not")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/FindPanel.cpp#L2388 ("starts with")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/FindPanel.cpp#L2389 ("ends with")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/FSUtils.cpp#L1101 ("copy")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/FSUtils.cpp#L1408 ("copy")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/InfoWindow.cpp#L434 ("rename")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/InfoWindow.cpp#L1223 ("rename")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/NavMenu.cpp#L791 ("parent folder")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/OpenWithWindow.cpp#L152 ("Open with:")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/OpenWithWindow.cpp#L1440 ("Preferred for file")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/OpenWithWindow.cpp#L1455 ("Handles any file")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/OpenWithWindow.cpp#L1470 ("Handles any ")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/OpenWithWindow.cpp#L1482 ("Preferred for ")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/OpenWithWindow.cpp#L1484 ("Handles )
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/OpenWithWindow.cpp#L1496 ("Does not handle file")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/SettingsViews.cpp#L802 ("Separator:")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/StatusWindow.cpp#L665 ("To: ")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/StatusWindow.cpp#L687 ("of")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/StatusWindow.cpp#L693 ("/s")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/StatusWindow.cpp#L701 ("/s")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/TextWidget.cpp#L330 ("rename")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/RegExp.cpp#L175 - list of error strings
Attachments (7)
Change History (37)
comment:1 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 14 years ago
There is also http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/FindPanel.cpp#L256 ("default"), which is used as default query template and stored in "/boot/home/queries/default" but I'm not sure it should be translated. Thoughts?
comment:4 by , 14 years ago
Thanks diver for pointing out. I will add patch, please review. I think default query template name need not to translate. I think we need to translate folders name in /boot (system, apps ...) and in /boot/home (config, mail, queries...) like Trash and Desktop. but currently I have no idea.
by , 14 years ago
Attachment: | tracker.patch added |
---|
comment:5 by , 14 years ago
patch: | 0 → 1 |
---|
comment:6 by , 14 years ago
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/OpenWithWindow.cpp#L668 ("Could not find application \")
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/OpenWithWindow.cpp#L679 ("The application \"" << pose->TargetModel()->Name() << "\" does not support the type of document you are about to open. Are you sure you want to proceed? If you know that the application supports the document type, you should contact the publisher of the application and ask them to update their application to list the type of your document as supported.")
by , 14 years ago
Attachment: | tracker.2.patch added |
---|
comment:8 by , 14 years ago
Not sure about this one:
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/FindPanel.cpp#L2805 ("Name")
comment:9 by , 14 years ago
comment:10 by , 14 years ago
I update patch, please review.
TODO: In FindPanel.cpp, We need modify TAttrView::GetDefaultName(), FindPanel::GetDefaultName() and FindWindow::GetDefaultName() to display localized title correctly.
by , 14 years ago
Attachment: | tracker.3.patch added |
---|
comment:12 by , 14 years ago
Summary: | [Tracker] several strings not yet translated → [Tracker] several strings not yet translated (patch) |
---|
comment:13 by , 14 years ago
Status: | assigned → in-progress |
---|
Working on it :) Sorry for the delay, i wasn't available.
comment:14 by , 14 years ago
Sorry for the delay as i had to struggle with my development workstation.
I have problems with the patch, the RegExp.cpp changes break the build because the "collectcatkeys" program (in src/bin/locale) depends on it (which is a bit dirty imho), and it can't be localized the same way. You might need to do a full build (or rebuild only collectcatkey) to notice that. I don't know what Adrien (pulkomandy) or others wants to do about that.
Otherwise, small annoyances are the 80 char limit and the fact that the patch isn't relative to the root working copy dir. (please use svn diff src/kits/tracker
from the root of the working copy)
Thanks.
comment:15 by , 14 years ago
Cc: | added |
---|
comment:16 by , 14 years ago
The collectcatkeys in src/bin/locale isn't used while building, the one in src/tools/locale is. If there is no other way, RegExp.cpp should have an unlocalized version in src/tools/ for it.
by , 14 years ago
Attachment: | tracker.4.patch added |
---|
comment:19 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Applied in hrev38675. Thanks a bunch!
comment:20 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Reverted the change on RegExp.cpp
Reopening until this issue is sorted out.
follow-up: 23 comment:21 by , 14 years ago
Several default column names are not translated, see http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/TrackerInitialState.cpp#L123
follow-up: 25 comment:22 by , 14 years ago
comment:23 by , 14 years ago
Replying to diver:
Several default column names are not translated, see http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/TrackerInitialState.cpp#L123
Hi, I make patch for tranlating columns ,mime description and attribute name in TrackerInitialState.cpp, please review.
- StringToStream() and BColumnToStream() may go to BColumn class if there is no compatibility problem in libtracker.so.
- If Column width does not fit with translated title, we may use B_TRANSLATE macro to width and offset.
by , 14 years ago
Attachment: | TrackerInitialState.cpp.patch added |
---|
comment:24 by , 14 years ago
I'll be in vacation for around two weeks (starting tomorrow until oct 17). Anyone, feel free to work on this (or any other ticket i'm following). @mt i hope to meet you in Japan ;-)
comment:25 by , 14 years ago
Replying to diver:
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/tracker/NavMenu.cpp#L791 ("parent folder")
Diver, thanks to point out!!, I add B_TRANSLATE to "parent folder" and style changes.
@aldeck Enjoy vacation and welcome to Japan!
by , 14 years ago
Attachment: | NavMenu.cpp.patch added |
---|
comment:26 by , 14 years ago
I've applied the nav menu patch in hrev38859. However, the TrackerInitialState patch has some issues I'm less than certain about. Specifically it also localizes some of the strings going into the MIME database, which shouldn't be.
comment:27 by , 14 years ago
Sorry for the late reply, I removed MIME localizing from TrackerInitialState patch. please check.
by , 14 years ago
Attachment: | TrackerInitialState.cpp.2.patch added |
---|
comment:28 by , 13 years ago
Is this ticket still valid after all the localization work done by several developers? I checked all of the strings mentioned in this ticket and the only one that is not localized is the RegExp.cpp ("list of error strings"). Shall that be localized? Otherwise, this ticket could be closed.
comment:30 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed both remaining issues in hrev50550.
Thanks for the detailed report, i'm puting Takashi Murai in cc as he is probably interested to work on a patch (though he is still in vacations until August 15, so anyone motivated this weekend, patches are welcome :-))