Merge branch 'saas' into cc-5709-airtime-analyzer-cloud-storage-saas
Conflicts: airtime_mvc/application/modules/rest/controllers/MediaController.php
This commit is contained in:
commit
4d8b32556b
122 changed files with 33988 additions and 22602 deletions
|
@ -5,10 +5,15 @@ cd ..
|
|||
#generate a new .po file
|
||||
#this will generate a file called messages.po
|
||||
find . -iname "*.phtml" -o -name "*.php" | xargs xgettext -L php --from-code=UTF-8
|
||||
find . -iname "*.phtml" -o -name "*.php" | xargs xgettext -L php --from-code=UTF-8 -k --keyword=_pro:1 -d pro --force-po
|
||||
|
||||
#merge the new messages from messages.po into each existing .po file
|
||||
#this will generate new .po files
|
||||
find ./airtime_mvc/locale/ -name "*.po" -exec msgmerge -N -U --no-wrap "{}" messages.po \;
|
||||
find ./airtime_mvc/locale/ -name "airtime.po" -exec msgmerge -N -U --no-wrap "{}" messages.po \;
|
||||
find ./airtime_mvc/locale/ -name "pro.po" -exec msgmerge -N -U --no-wrap "{}" pro.po \;
|
||||
|
||||
#delete the old .po files
|
||||
find ./airtime_mvc/locale/ -name "*.po~" -delete
|
||||
|
||||
#delete the temporary po files we create in the root directory
|
||||
rm ./*.po
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue