summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-01-18 14:09:15 -0200
committerRenato Botelho <renato@netgate.com>2017-01-18 14:09:19 -0200
commit42f2c3e9884c773233b34198c97897edd4bdecd6 (patch)
treea6cab1d39ac0a37a6664d7eb8473e9472a85109c /tools
parentcdf867baf909f6cb9937f5e84bbbfe4c1c254f05 (diff)
downloadpfsense-42f2c3e9884c773233b34198c97897edd4bdecd6.zip
pfsense-42f2c3e9884c773233b34198c97897edd4bdecd6.tar.gz
Fixup update_pot.sh adding --from-code to xgettext calls
Diffstat (limited to 'tools')
-rwxr-xr-xtools/scripts/update_pot.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scripts/update_pot.sh b/tools/scripts/update_pot.sh
index aa6e27a..754f877 100755
--- a/tools/scripts/update_pot.sh
+++ b/tools/scripts/update_pot.sh
@@ -55,6 +55,7 @@ POT=$ROOT/src/usr/local/share/locale/en/LC_MESSAGES/pfSense.pot
-f $FILES \
-o $POT \
-L php \
+ --from-code UTF-8 \
-ksetHelp \
-kForm_Section \
-kForm_Group \
@@ -77,6 +78,7 @@ POT=$ROOT/src/usr/local/share/locale/en/LC_MESSAGES/pfSense.pot
-o $POT \
-L php \
-j \
+ --from-code UTF-8 \
-kForm_Checkbox:3 \
-kForm_StaticText:2 \
-kForm_MultiCheckbox:3 \
OpenPOWER on IntegriCloud