Modify ↓
#11143 closed enhancement (wontfix)
Messages without i18n
Reported by: | holgermappt | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | i18n | Cc: |
Description
There are some messages that are not marked for translation with tr(). I think they should be translated.
- src/org/openstreetmap/josm/io/MessageNotifier.java, line 94:
"Message notifier active (checks every "+interval+" minute"+(interval>1?"s":"")+")"
- src/org/openstreetmap/josm/io/MessageNotifier.java, line 104:
"Message notifier inactive"
- src/org/openstreetmap/josm/io/MessageNotifier.java, line 147:
"Unable to get credentials: "
- src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java, line 996:
"Could not load tool definition "+s
- src/org/openstreetmap/josm/io/remotecontrol/RequestProcessor.java: all
Main.info()
messages (3) - src/org/openstreetmap/josm/gui/MainApplication.java: all
info()
messages (2); isn'tinfo()
the same asMain.info()
? - There are 56 untranslated error messages. Check with
find src -type f -exec grep "Main.error" {} /dev/null \; | grep -v "tr(" | grep \"
- 104 untranslated warnings:
find src -type f -exec grep "Main.warn" {} /dev/null \; | grep -v "tr(" | grep -v "trn(" | grep \"
- 54 untranslated infos:
find src -type f -exec grep "Main.info" {} /dev/null \; | grep -v "tr(" | grep -v "trn(" | grep \"
That's quite a lot. Maybe I got it wrong and they should not be translated?
Attachments (0)
Change History (3)
comment:3 by , 10 years ago
A note: Whenever a normal user (i.e. not using shell start) can see the messages, they have to be translated.
Note:
See TracTickets
for help on using tickets.
Main.info(), Main.warn() and Main.error() usually are debugging style messages and are seldom translated. Thought we are not fully consequent here and some are translated.