Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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't info() the same as Main.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:1 by stoecker, 9 years ago

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.

Last edited 9 years ago by stoecker (previous) (diff)

comment:2 by holgermappt, 9 years ago

Resolution: wontfix
Status: newclosed

OK, no translations then.

comment:3 by stoecker, 9 years ago

A note: Whenever a normal user (i.e. not using shell start) can see the messages, they have to be translated.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.