mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-06 08:53:03 +02:00
Merge branch 'development' into 'master'
Add script to push po files to zanata See merge request luc/lutim!31
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
FILE=$1
|
||||
if [[ ! -e themes/default/lib/Lutim/I18N/$FILE.po ]]
|
||||
then
|
||||
echo "themes/default/lib/Lutim/I18N/$FILE.po does not exist. Exiting."
|
||||
exit 1
|
||||
else
|
||||
LOCALE=$(echo $FILE | sed -e "s@_@-@g")
|
||||
zanata-cli -q -B push --push-type trans -l $LOCALE
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user