![](https://secure.gravatar.com/avatar/c2b08d91ff8eb21f2de86ae4e0d8e314.jpg?s=120&d=mm&r=g)
14 Feb
2008
14 Feb
'08
11:23 a.m.
Hi!
I was looking at UI after some Polish translations were updated and started wondering if it was at all possible to translate names of the colour pallets available. It seems the following tweak could do the trick:
Index: swatches.cpp =================================================================== --- swatches.cpp (revision 17341) +++ swatches.cpp (working copy) @@ -889,7 +891,7 @@ @@ -889,7 +891,7 @@ if ( *name ) { if ( strcmp( "Name", name ) == 0 ) { - onceMore->_name = val; + onceMore->_name = _(val); } else if ( strcmp( "Columns", name ) == 0 ) {
But I am not sure how relevant ids could be fed into the template file (pot).
Regards,
-- Marcin Floryan http://marcin.floryan.pl/ [GPG Key ID: 0D5581C5]
6206
Age (days ago)
6206
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marcin Floryan