root/freepbx/branches/2.5/update_l10n.sh

Revision 7552, 1.0 kB (checked in by mickecarlsson, 3 years ago)

Added GPL license text to various files

  • Property svn:executable set to *
Line 
1 #! /bin/sh
2 # This file is part of FreePBX.
3 #
4 #    FreePBX is free software: you can redistribute it and/or modify
5 #    it under the terms of the GNU General Public License as published by
6 #    the Free Software Foundation, either version 2 of the License, or
7 #    (at your option) any later version.
8 #
9 #    FreePBX is distributed in the hope that it will be useful,
10 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #    GNU General Public License for more details.
13 #
14 #    You should have received a copy of the GNU General Public License
15 #    along with FreePBX.  If not, see <http://www.gnu.org/licenses/>.
16 #
17 #    Copyright 2006, diego_iastrubni
18 #
19 echo "Creating new POT template file"
20 find amp_conf/htdocs/admin -name '*.php' | xargs xgettext -L PHP -o freepbx.pot --keyword=_ -
21
22
23 for i in amp_conf/htdocs/admin/i18n/*/LC_MESSAGES/*.po; do
24   echo "Updating $i"
25   msgmerge $i freepbx.pot -U
26 done
27
28 echo "Done, now don't forget to commit your work!"
29 #less amportal.pot
Note: See TracBrowser for help on using the browser.