Make PHP default language for xgettext
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 18 Dec 2011 01:32:51 +0000 (01:32 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 18 Dec 2011 01:32:51 +0000 (01:32 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14234 7612ce4b-ef26-0410-bec9-ea0150e637f0

po/xgetpo

index 6fa2407dfa2b07150b1963f2d97ef2dffd40cb2e..b2dd6c71c983ebd57a663fdb7ccb47185bcd6ebf 100755 (executable)
--- a/po/xgetpo
+++ b/po/xgetpo
@@ -16,10 +16,10 @@ XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --keyword=ngettext:1,2 --default-domai
 
 # Allows controlling language option
 # (gettext v.0.10.40 = -C, gettext 0.11+ = -L php).
-if [ $SM_LANG_PHP ] ; then
- XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -L php";
-else
+if [ $SM_LANG_C ] ; then
  XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -C";
+else
+ XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -L php";
 fi
 
 cd ..