]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 29 Sep 2018 18:08:32 +0000 (14:08 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 29 Sep 2018 18:08:32 +0000 (14:08 -0400)
Makefile.in
config/Makefile.am
config/locale.md [new file with mode: 0644]
configure

index 9f3115d81096a2ef95b3f56df87b7d12a9a80633..9c2144e2f1c0913a7513346498e450e66d07bcdc 100644 (file)
@@ -3071,6 +3071,7 @@ CONFIG_EXTRA_DIST = \
        config/ImageMagick.rc \
        config/ImageMagick.rdf.in \
        config/lndir.sh \
+       config/locale.md \
        config/locale.xml \
        config/log.xml \
        config/magic.xml \
@@ -3079,7 +3080,6 @@ CONFIG_EXTRA_DIST = \
        config/quantization-table.xml \
        config/sRGB.icm \
        config/thresholds.xml \
-       config/Translation.md \
        config/type-apple.xml.in \
        config/type-dejavu.xml.in \
        config/type-ghostscript.xml.in \
index 0fc584f6823da732615adf4102e726bc3ce9f044..29717bb6ce243e0262db9ac733833a248e3b1b57 100644 (file)
@@ -59,6 +59,7 @@ CONFIG_EXTRA_DIST = \
        config/ImageMagick.rc \
        config/ImageMagick.rdf.in \
        config/lndir.sh \
+       config/locale.md \
        config/locale.xml \
        config/log.xml \
        config/magic.xml \
@@ -67,7 +68,6 @@ CONFIG_EXTRA_DIST = \
        config/quantization-table.xml \
        config/sRGB.icm \
        config/thresholds.xml \
-       config/Translation.md \
        config/type-apple.xml.in \
        config/type-dejavu.xml.in \
        config/type-ghostscript.xml.in \
diff --git a/config/locale.md b/config/locale.md
new file mode 100644 (file)
index 0000000..6d79bfc
--- /dev/null
@@ -0,0 +1,16 @@
+Translation is fairly straight-forward.  Copy `english.xml` to _locale_.xml.  Change any messages from English to the target language.  As an example:
+
+```
+<message name="UnableToOpenBlob">
+  unable to open image
+</message>
+```
+becomes
+```
+<message name="UnableToOpenBlob">
+  impossible d'ouvrir l'image
+</message>
+```
+in French.  You then need to copy the _locale_.xml to the same location as `english.xml`, e.g. `/usr/local/ImageMagick-7/_locale_.xml`. Make sure your your _locale_.xml file is referenced in the `locale.xml` configuration file.
+
+The final step is to contribute _locale_.xml to ImageMagick so we can include it in a future release of ImageMagick so the community can benefit from the translation.
index 18bc7c48537ea8826e77a01abd1ceb320402fc90..6c29819685028b7a32e7f9715e6f205b43984350 100755 (executable)
--- a/configure
+++ b/configure
@@ -4555,7 +4555,7 @@ MAGICK_PATCHLEVEL_VERSION=13
 
 MAGICK_VERSION=7.0.8-13
 
-MAGICK_GIT_REVISION=14852:d8b716c07:20180929
+MAGICK_GIT_REVISION=14854:532e87d98:20180929
 
 
 # Substitute library versioning