diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2012-12-22 23:34:21 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-12-22 20:21:51 -0800 |
commit | 8639e1483576e58a7615310e3b8cb3705299981f (patch) | |
tree | f6b1bf55e809ce3744788376951d7ec654180f75 /libdivecomputer.h | |
parent | ba223798d3f0116d242e0010063c81f87eecf9f5 (diff) | |
download | subsurface-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 'libdivecomputer.h')
0 files changed, 0 insertions, 0 deletions