diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2020-05-21 19:34:26 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2020-05-21 19:34:26 +0000 |
commit | f537aa603507ff1f70dade338e47b2142c11d946 (patch) | |
tree | dd6bc2ba0228cd7647f92a6896e138d5dc3f5150 /graphics | |
parent | 154220702ca9fd901033114494212a1ab167ea4c (diff) | |
download | ports-f537aa603507ff1f70dade338e47b2142c11d946.tar.gz ports-f537aa603507ff1f70dade338e47b2142c11d946.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/inkscape/files/patch-share_templates_create__default__templates.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/inkscape/files/patch-share_templates_create__default__templates.py b/graphics/inkscape/files/patch-share_templates_create__default__templates.py new file mode 100644 index 000000000000..03e6b2ca1d35 --- /dev/null +++ b/graphics/inkscape/files/patch-share_templates_create__default__templates.py @@ -0,0 +1,11 @@ +--- share/templates/create_default_templates.py.orig 2020-05-21 19:30:52 UTC ++++ share/templates/create_default_templates.py +@@ -44,6 +44,8 @@ for language in languages: + os.makedirs(destination_dir) + shutil.copy(source, destination) + ++# do another loop to ensure we've copied all the translations before using them ++for language in languages: + # get translation with help of gettext + translation = gettext.translation('inkscape', localedir=binary_dir + '/po/locale', languages=[language]) + translated_string = translation.gettext(LAYER_STRING) |