[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] r24413: {website} we want to use pl instead of pl_PL (website/trunk)



Author: runa
Date: 2011-03-22 13:48:25 +0000 (Tue, 22 Mar 2011)
New Revision: 24413

Modified:
   website/trunk/po2wml.sh
Log:
we want to use pl instead of pl_PL

Modified: website/trunk/po2wml.sh
===================================================================
--- website/trunk/po2wml.sh	2011-03-22 13:40:22 UTC (rev 24412)
+++ website/trunk/po2wml.sh	2011-03-22 13:48:25 UTC (rev 24413)
@@ -233,6 +233,13 @@
 			nosubdir
 		fi
 
+		# If the current directory is "pl_PL" use "pl" instead
+		if [ $subdir = "pl_PL" ]
+		then
+			subdir="pl"
+			nosubdir
+		fi
+
 		# Convert everything else
 		if [[ $subdir != "en" && $subdir != "zh_CN" && $subdir != "nb" && $subdir != "sv" ]]
 		then
@@ -259,7 +266,14 @@
 			lang="se"
 			subdir
 		fi
-		
+	
+		# If the current language is "pl_PL" use "pl" instead
+		if [ $lang = "pl_PL" ]
+		then
+			lang="pl"
+			subdir
+		fi
+
 		# Convert everything else
 		if [[ $lang != "en" && $lang != "zh_CN" && $lang != "nb" && $lang != "sv" ]]
 		then

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits