From a6d9ec29f1841cc675bc2897175d9920029e4a08 Mon Sep 17 00:00:00 2001 From: Olivier Humbert Date: Fri, 28 Aug 2020 23:07:48 +0200 Subject: Tranlate the AboutTab. --- plugingui/Makefile.am | 3 +++ plugingui/abouttab.cc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'plugingui') 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( -- cgit v1.2.3