Modify

Opened 11 years ago

Closed 11 years ago

#8912 closed defect (fixed)

language command line option too late evaluated

Reported by: skyper Owned by: team
Priority: trivial Milestone:
Component: Core Version: latest
Keywords: language command line Cc:

Description

The command line option --language is evaluated to late. If started without existing preference directory the first message on the console is still in locale language (at least on linux):

java -Djosm.home=$HOME/.josm-test-jar Downloads/josm-latest.jar --language=en
Information: Einstellungsdatei '/home/gast/.josm-test/preferences.xml' fehlt. Erstelle Standardeinstellungsdatei.
GET http://api.openstreetmap.org/api/capabilities... OK
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-07-27 01:34:04
Last Changed Author: akks
Revision: 6090
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-07-26 21:45:36 +0200 (Fri, 26 Jul 2013)
Last Changed Rev: 6090

Identification: JOSM/1.5 (6090 en) Linux Debian GNU/Linux 7.1 (wheezy)
Memory Usage: 108 MB / 592 MB (74 MB allocated, but free)
Java version: 1.6.0_27, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.home=$HOME/.josm-test]
Program arguments: [--language=en]

Attachments (0)

Change History (1)

comment:1 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

In 6108/josm:

fix #8912 - language command line option evaluated too late

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.