Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MJU-POPS
ckanext-dgu
Commits
5e186bd6
Commit
5e186bd6
authored
Aug 01, 2016
by
Marko Kuder
Browse files
fixed apply_newer_translation script
parent
ec6c77fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/apply_newer_translation.sh
View file @
5e186bd6
#!/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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment