summaryrefslogtreecommitdiffstats
path: root/po/its
diff options
context:
space:
mode:
authorMax Gaukler <development@maxgaukler.de>2019-05-31 10:54:28 +0000
committerMax Gaukler <development@maxgaukler.de>2019-06-01 08:23:55 +0000
commit71a2e7046cc8656c6f295752ecb607069a031672 (patch)
tree90ba7258effb31cdd5897824f6a8cbe3fc37b5ba /po/its
parentAllow rects be LPE like other primitives (diff)
downloadinkscape-71a2e7046cc8656c6f295752ecb607069a031672.tar.gz
inkscape-71a2e7046cc8656c6f295752ecb607069a031672.zip
Work around `xgettext --its` crash for old gettext versions
Change from `xgettext --its` to `GETTEXTDATADIR=.` and `*.loc` files Works around this bug in Debian stable: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891347 Fixes https://gitlab.com/inkscape/inkscape/issues/271
Diffstat (limited to 'po/its')
-rw-r--r--po/its/units.loc9
1 files changed, 9 insertions, 0 deletions
diff --git a/po/its/units.loc b/po/its/units.loc
new file mode 100644
index 000000000..26ea5e29c
--- /dev/null
+++ b/po/its/units.loc
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!-- This file links the .xml file to a corresponding .its file, which decides which parts of the XML will be translated -->
+<locatingRules>
+ <!-- the name of the locatingRule does not matter. The pattern specifies the filename, without directory name. (Wildcards are possible) -->
+ <locatingRule name="foobar" pattern="units.xml">
+ <!-- set 'localName' to the name of the main element in the XML file, and 'target' to the name of the .its file. -->
+ <documentRule localName="unitdefs" target="units.its"/>
+ </locatingRule>
+</locatingRules>