how translate settings values ?

4 views
Skip to first unread message

Johan Samyn

unread,
May 21, 2013, 2:47:35 PM5/21/13
to thg-dev mailing list
Hi,

While in the process of completing the dutch translation, I wonder if it
is possible to make the values for the comboboxes en radiosets in the
settings dialog translatable? Or at least some of them.
I'm talking about the "east, west, ... " parts for instance:
_fi(_('Task Tabs'), 'tortoisehg.tasktabs',
(genDefaultCombo, ['east', 'west', 'off']),
_('Show tabs along the side of the bottom half of each repo '

Johan

--
________________________________________________________________________
"Perfection seems to be achieved, not when there is nothing more to add,
but when there is nothing left to take away." - A. de Saint-Exup�ry

Yuya Nishihara

unread,
May 22, 2013, 12:49:16 PM5/22/13
to thg...@googlegroups.com
On Tue, 21 May 2013 20:47:35 +0200, Johan Samyn wrote:
> While in the process of completing the dutch translation, I wonder if it
> is possible to make the values for the comboboxes en radiosets in the
> settings dialog translatable? Or at least some of them.
> I'm talking about the "east, west, ... " parts for instance:
> _fi(_('Task Tabs'), 'tortoisehg.tasktabs',
> (genDefaultCombo, ['east', 'west', 'off']),
> _('Show tabs along the side of the bottom half of each repo '

Not possible for now.

To make them translatable, we'll need to

- define mappings of raw value to i18n text
- show i18n text in combobox, but also keep raw value (as userData?)

Regards,

Johan Samyn

unread,
May 22, 2013, 2:43:22 PM5/22/13
to thg...@googlegroups.com, Yuya Nishihara
Ok, thanks for letting me know, Yuya.
Reply all
Reply to author
Forward
0 new messages