Commit 5e186bd6 authored by Marko Kuder's avatar Marko Kuder
Browse files

fixed apply_newer_translation script

parent ec6c77fa
#!/bin/bash
HERE=`dirname $0`
cp "$HERE/../ckanext/dgu/i18n/sl/LC_MESSAGES/ckan.po" "$HERE/../../ckan/i18n/sl/LC_MESSAGES/ckan.po"
cp "$HERE/../ckanext/dgu/i18n/sl/LC_MESSAGES/ckan.mo" "$HERE/../../ckan/i18n/sl/LC_MESSAGES/ckan.mo"
cp "$HERE/../ckanext/dgu/i18n/sl/LC_MESSAGES/ckan.po" "$HERE/../../ckan/ckan/i18n/sl/LC_MESSAGES/ckan.po"
cp "$HERE/../ckanext/dgu/i18n/sl/LC_MESSAGES/ckan.mo" "$HERE/../../ckan/ckan/i18n/sl/LC_MESSAGES/ckan.mo"
#For combining translation, it is possible with the below example
# Based on:
......@@ -14,4 +14,4 @@ cp "$HERE/../ckanext/dgu/i18n/sl/LC_MESSAGES/ckan.mo" "$HERE/../../ckan/i18n/sl/
#msgcat --use-first \
# "$HERE/../ckanext/hdx_theme/i18n/en_AU/LC_MESSAGES/ckan.po" \
#"$HERE/../../ckan/i18n/en_AU/LC_MESSAGES/ckan.po" \
#| msgfmt - -o "$HERE/../../ckan/i18n/en_AU/LC_MESSAGES/ckan.mo"
\ No newline at end of file
#| msgfmt - -o "$HERE/../../ckan/i18n/en_AU/LC_MESSAGES/ckan.mo"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment