Modify

Opened 5 years ago

Closed 5 years ago

#960 closed defect (fixed)

[PATCH] i18n of presets

Reported by: Dirk Stöcker <openstreetmap@…> Owned by: framm
Priority: major Component: Core
Version: Keywords:
Cc:

Description

The attached patch allows translation of the presets menu and the related dialogs.

It requires a change in the plugins directory and language handling, which I already checked in.

See also bug #762.

Attachments (1)

presettrans.diff (2.3 KB) - added by Dirk Stöcker <openstreetmap@…> 5 years ago.
Allow to translate preset menu

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Dirk Stöcker <openstreetmap@…>

Allow to translate preset menu

comment:1 Changed 5 years ago by framm

I'm not sure this approach is good. Would it not be better to change the preset mechanism so that many languages may be specified in the presets file itself, rather than duplicating everything (half in the language file, half in the presets). Granted, the way it currently works is that we only have one huge presets file, but the theoretical plan is to be able to have lots of different custom preset files, and I don't know if we really want all that in the lang-xx plugins! Of course on the other hand, the writer of a preset file might not always be able to specify all languages. This one calls for a bit of discussion I guess.

comment:2 Changed 5 years ago by Dirk Stöcker <openstreetmap@…>

  • Resolution set to fixed
  • Status changed from new to closed

Added XML translation support in r679.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.