diff options
author | Mart Raudsepp <leio@gentoo.org> | 2018-01-04 05:07:57 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-01-04 19:18:10 +0200 |
commit | ca64147aee7b81492dcf304a919938630672b0d5 (patch) | |
tree | 0f943f744cefe8a21f325a83ebf0c1ffe0090c32 /x11-libs/wxGTK/files | |
parent | x11-libs/wxGTK: don't eautoreconf or rename configure.in files (diff) | |
download | gentoo-ca64147aee7b81492dcf304a919938630672b0d5.tar.gz gentoo-ca64147aee7b81492dcf304a919938630672b0d5.tar.bz2 gentoo-ca64147aee7b81492dcf304a919938630672b0d5.zip |
x11-libs/wxGTK: fix translation installation and usage for SLOT=3.0-gtk3
Properly sed the .mo versioning and patch wxTranslations::AddStdCatalog
to use the slotted translation domain.
Closes: https://bugs.gentoo.org/618624
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'x11-libs/wxGTK/files')
-rw-r--r-- | x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch b/x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch new file mode 100644 index 000000000000..3b449baedb47 --- /dev/null +++ b/x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch @@ -0,0 +1,13 @@ +Modify AddStdCatalog to use the versioned wxstd30-gtk3.mo. + +--- a/src/common/translation.cpp ++++ b/src/common/translation.cpp +@@ -1458,7 +1458,7 @@ wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) c + + bool wxTranslations::AddStdCatalog() + { +- if ( !AddCatalog(wxS("wxstd")) ) ++ if ( !AddCatalog(wxS("wxstd30-gtk3")) ) + return false; + + // there may be a catalog with toolkit specific overrides, it is not |