Codebase list accerciser / debian/3.33.4-1
patches/i18n.patch: Merged Samuel Thibault 4 years ago
3 changed file(s) with 4 addition(s) and 27 deletion(s). Raw diff Collapse all Expand all
0 accerciser (3.33.4-1) experimental; urgency=medium
1
0 accerciser (3.33.4-1) unstable; urgency=medium
1
2 * Team upload.
23 * New upstream release
4 - patches/i18n.patch: Merged.
35
46 -- Samuel Thibault <sthibault@debian.org> Sat, 27 Jul 2019 17:13:27 +0200
57
+0
-24
debian/patches/i18n.patch less more
0 commit c2c1ac83412ed71904c62a1b87a0f222c0f02609
1 Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
2 Date: Fri May 17 11:13:28 2019 +0200
3
4 Fix translations after migration from intltool
5
6 @DATADIRNAME@ is specific to intltool. Use the autoconf variables
7 instead.
8
9 (cherry picked from commit 4103db21bcfd905009afc50acfb857aec00a1030)
10
11 diff --git a/src/lib/accerciser/i18n.py.in b/src/lib/accerciser/i18n.py.in
12 index bc12284..eeda4b4 100644
13 --- a/src/lib/accerciser/i18n.py.in
14 +++ b/src/lib/accerciser/i18n.py.in
15 @@ -55,7 +55,7 @@ def bind(domain, locale_dir):
16 # use the current system locale
17 locale.setlocale(locale.LC_ALL, '')
18 # build the path to where the main translation file lives
19 -LOCALE_DIR = os.path.join(sys.prefix, '@DATADIRNAME@', 'locale')
20 +LOCALE_DIR = "@localedir@".replace('${prefix}', '@prefix@')
21 DOMAIN = '@GETTEXT_PACKAGE@'
22 # build a default instance to the LSR domain and locale directory
23 _ = bind(DOMAIN, LOCALE_DIR)
00 01_remove_site_package_version.patch
1 i18n.patch