From bb2dacd7fef2d9648121bf7b92944db36f299d3f Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 29 Sep 2018 14:08:32 -0400 Subject: [PATCH] ... --- Makefile.in | 2 +- config/Makefile.am | 2 +- config/locale.md | 16 ++++++++++++++++ configure | 2 +- 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 config/locale.md diff --git a/Makefile.in b/Makefile.in index 9f3115d81..9c2144e2f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 \ diff --git a/config/Makefile.am b/config/Makefile.am index 0fc584f68..29717bb6c 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -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 index 000000000..6d79bfca0 --- /dev/null +++ b/config/locale.md @@ -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: + +``` + + unable to open image + +``` +becomes +``` + + impossible d'ouvrir l'image + +``` +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. diff --git a/configure b/configure index 18bc7c485..6c2981968 100755 --- 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 -- 2.40.0