Update Czech translation of Mifos X community-app
This commit is contained in:
parent
65aeb7aac4
commit
20f8172e44
@ -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 </tmp/locale-cs.patch
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
USER mifosx
|
||||
|
10
mifosx/docker/tmp/locale-cs.patch
Normal file
10
mifosx/docker/tmp/locale-cs.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- orig/models.8900597f.js
|
||||
+++ models/models.8900597f.js
|
||||
@@ -5,6 +5,7 @@
|
||||
{ "name": "Français", "code": "fr" },
|
||||
{ "name": "Español", "code": "es" },
|
||||
{ "name": "Português", "code": "pt" },
|
||||
+ { "name": "Čeština", "code": "cs" },
|
||||
{ "name": "中文", "code": "zh_CN" },
|
||||
{ "name": "हिंदी", "code": "hi" },
|
||||
{ "name": "ქართული", "code": "ka" },
|
Loading…
Reference in New Issue
Block a user