From 20f8172e443e0bbdc5607bdfc6a5198c434e72f9 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 2 Aug 2018 22:05:46 +0200 Subject: [PATCH] Update Czech translation of Mifos X community-app --- mifosx/Dockerfile | 8 ++++++++ mifosx/docker/tmp/locale-cs.patch | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 mifosx/docker/tmp/locale-cs.patch diff --git a/mifosx/Dockerfile b/mifosx/Dockerfile index 31f4d91..a0fe3fc 100644 --- a/mifosx/Dockerfile +++ b/mifosx/Dockerfile @@ -21,6 +21,14 @@ RUN \ && apk --no-cache del wget \ && rm -rf /tmp/fineractplatform-18.03.01.RELEASE /tmp/mifosx.zip +COPY docker/tmp/ /tmp/ + +RUN \ + # Update Czech translation of community-app + wget 'https://translatewiki.net/wiki/Special:ExportTranslations?group=out-mifos&language=cs&format=export-to-file' -O /srv/tomcat/webapps/ROOT/global-translations/locale-cs.json \ + && cd /srv/tomcat/webapps/ROOT/scripts/ \ + && patch -p0