Author: runa Date: 2011-09-04 21:45:45 +0000 (Sun, 04 Sep 2011) New Revision: 25019
Added: website/trunk/include/lang.wmi Removed: website/trunk/download/en/lang.wmi Modified: website/trunk/po2wml.sh Log: Move download/en/lang.wmi to include/lang.wmi
Deleted: website/trunk/download/en/lang.wmi =================================================================== --- website/trunk/download/en/lang.wmi 2011-09-04 17:22:11 UTC (rev 25018) +++ website/trunk/download/en/lang.wmi 2011-09-04 21:45:45 UTC (rev 25019) @@ -1,20 +0,0 @@ -#! /usr/bin/wml -<: use strict; :> -<: use warnings; :> - -#<!-- Remove 'selected="selected"' from English option and add it to preferred default language option --> -#<!-- IMPORTANT: You MUST also change '<define-tag lang>en-US</define-tag>' within download.wml --> - - <option value="en-US" selected="selected">English</option> - <option value="ar">العربية</option> - <option value="de">Deutsch</option> - <option value="es-ES">Español</option> - <option value="fa">فارسی</option> - <option value="fr">Français</option> - <option value="it">Italiano</option> - <option value="nl">Nederlands</option> - <option value="pl">Polish</option> - <option value="pt-PT">Português</option> - <option value="ru">Русский</option> - <option value="vi">Vietnamese</option> - <option value="zh-CN">简体字</option>
Copied: website/trunk/include/lang.wmi (from rev 25018, website/trunk/download/en/lang.wmi) =================================================================== --- website/trunk/include/lang.wmi (rev 0) +++ website/trunk/include/lang.wmi 2011-09-04 21:45:45 UTC (rev 25019) @@ -0,0 +1,20 @@ +#! /usr/bin/wml +<: use strict; :> +<: use warnings; :> + +#<!-- Remove 'selected="selected"' from English option and add it to preferred default language option --> +#<!-- IMPORTANT: You MUST also change '<define-tag lang>en-US</define-tag>' within download.wml --> + + <option value="en-US" selected="selected">English</option> + <option value="ar">العربية</option> + <option value="de">Deutsch</option> + <option value="es-ES">Español</option> + <option value="fa">فارسی</option> + <option value="fr">Français</option> + <option value="it">Italiano</option> + <option value="nl">Nederlands</option> + <option value="pl">Polish</option> + <option value="pt-PT">Português</option> + <option value="ru">Русский</option> + <option value="vi">Vietnamese</option> + <option value="zh-CN">简体字</option>
Modified: website/trunk/po2wml.sh =================================================================== --- website/trunk/po2wml.sh 2011-09-04 17:22:11 UTC (rev 25018) +++ website/trunk/po2wml.sh 2011-09-04 21:45:45 UTC (rev 25019) @@ -119,7 +119,7 @@
# Include the English footer for most of the # translations - if [[ $subdir != "ar" && $subdir != "pl" && $subdir != "de" ]] + if [[ $subdir != "ar" && $subdir != "pl" && $subdir != "de" && $subdir != "fa" ]] then echo '#include "foot.wmi"' >> "$wmldir/$subdir/$wmlfile" fi @@ -276,7 +276,7 @@
# Include the English footer for most of the # translations - if [[ $lang != "ar" && $lang != "pl" && $lang != "de" ]] + if [[ $lang != "ar" && $lang != "pl" && $lang != "de" && $lang != "fa" ]] then echo '#include "foot.wmi"' >> "$wmldir/$subdir/$lang/$wmlfile" fi