diff options
author | Olivier Humbert <trebmuh@tuxfamily.org> | 2020-08-28 23:07:48 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-08-30 15:59:32 +0200 |
commit | a6d9ec29f1841cc675bc2897175d9920029e4a08 (patch) | |
tree | 870c94060005b4acd1be492c57086ed47eec3736 /plugingui | |
parent | c09563fe18c1f29affc3bae6a122824e2ffcb706 (diff) |
Tranlate the AboutTab.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/Makefile.am | 3 | ||||
-rw-r--r-- | plugingui/abouttab.cc | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am index 4c2afcc..65e7011 100644 --- a/plugingui/Makefile.am +++ b/plugingui/Makefile.am @@ -32,8 +32,11 @@ RES = \ $(top_srcdir)/plugingui/resources/vertline.png \ $(top_srcdir)/plugingui/resources/widget.png \ $(top_srcdir)/plugingui/../ABOUT \ + $(top_srcdir)/plugingui/../ABOUT.fr \ $(top_srcdir)/plugingui/../AUTHORS \ + $(top_srcdir)/plugingui/../AUTHORS.fr \ $(top_srcdir)/plugingui/../BUGS \ + $(top_srcdir)/plugingui/../BUGS.fr \ $(top_srcdir)/plugingui/../COPYING if WITH_NLS diff --git a/plugingui/abouttab.cc b/plugingui/abouttab.cc index 8a8f737..8ffb464 100644 --- a/plugingui/abouttab.cc +++ b/plugingui/abouttab.cc @@ -83,7 +83,7 @@ std::string AboutTab::getAboutText() " About\n" "=============\n" "\n"); - about_text.append(getLocalizedFile(":../ABOUT")); + about_text.append(UTF8().toLatin1(getLocalizedFile(":../ABOUT"))); // Version about_text.append( @@ -101,7 +101,7 @@ std::string AboutTab::getAboutText() " Bugs\n" "=============\n" "\n"); - about_text.append(getLocalizedFile(":../BUGS")); + about_text.append(UTF8().toLatin1(getLocalizedFile(":../BUGS"))); // Authors about_text.append( |