summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2012-12-22 23:34:21 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-22 20:21:51 -0800
commit8639e1483576e58a7615310e3b8cb3705299981f (patch)
treef6b1bf55e809ce3744788376951d7ec654180f75 /scripts
parentba223798d3f0116d242e0010063c81f87eecf9f5 (diff)
downloadsubsurface-8639e1483576e58a7615310e3b8cb3705299981f.tar.gz
Make it possible to translate strings containing subscript "2"
The "Tec settings" dialog contains some strings with the subscript "2" character, which have to be translated. While the "2" is part of the string xgettext doesn't seem to recognize such. To trick it we use a temporary buffer and c-format: sprintf(utf8_buf, _("Show pO%s graph"), UTF8_SUBSCRIPT_2); button = gtk_check_button_new_with_label(utf8_buf); Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions