From dd542160079512e4b9d9f81f08d505d53ed8af03 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 29 Sep 2018 08:49:19 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/1330 --- Makefile.in | 1 + config/Makefile.am | 1 + config/Translation.md | 16 ++++++++++++++++ configure | 2 +- 4 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 config/Translation.md diff --git a/Makefile.in b/Makefile.in index 7236753f1..9f3115d81 100644 --- a/Makefile.in +++ b/Makefile.in @@ -3079,6 +3079,7 @@ 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 f5521128b..0fc584f68 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -67,6 +67,7 @@ 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/Translation.md b/config/Translation.md new file mode 100644 index 000000000..eceda3945 --- /dev/null +++ b/config/Translation.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`. + +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 59d85be5c..18bc7c485 100755 --- a/configure +++ b/configure @@ -4555,7 +4555,7 @@ MAGICK_PATCHLEVEL_VERSION=13 MAGICK_VERSION=7.0.8-13 -MAGICK_GIT_REVISION=14844:bb5720407:20180923 +MAGICK_GIT_REVISION=14852:d8b716c07:20180929 # Substitute library versioning -- 2.40.0