Changeset 9258
- Timestamp:
- 03/17/10 02:06:11 (3 years ago)
- Files:
-
- freepbx/branches/2.7/update_i18n.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.7/update_i18n.sh
r8880 r9258 38 38 echo "Creating ${modules%%/}.pot file, extracting text strings" 39 39 # Save the file as a temp file 40 find ${modules%%/}/*.php | xargs xgettext - L PHP -o ${modules%%/}/i18n/${modules%%/}.tmp --keyword=_ -40 find ${modules%%/}/*.php | xargs xgettext --no-location -L PHP -o ${modules%%/}/i18n/${modules%%/}.tmp --keyword=_ - 41 41 # Now add the copyright and the license info to the.pot file 42 42 # Again, could be done better, but I lack the time and really need this out now … … 71 71 # spit out the module.xml for core to amp.i18.php so that we can grab it with the find 72 72 /var/lib/asterisk/bin/module_admin i18n core > admin/modules/core/core.i18n.php 73 find admin/*.php admin/cdr/*.php admin/views/*.php admin/common/*.php admin/modules/core/*.php -maxdepth 0 | xargs xgettext - L PHP -o admin/i18n/amp.pot --keyword=_ -73 find admin/*.php admin/cdr/*.php admin/views/*.php admin/common/*.php admin/modules/core/*.php -maxdepth 0 | xargs xgettext --no-location -L PHP -o admin/i18n/amp.pot --keyword=_ - 74 74 # remove the <modulename>.i18.php 75 75 rm admin/modules/core/core.i18n.php
