Browse code

we want to use pl instead of pl_PL

Runa A. Sandvik authored on22/03/2011 14:48:25
Showing1 changed files
... ...
@@ -233,6 +233,13 @@ for file in $po ; do
233 233
 			nosubdir
234 234
 		fi
235 235
 
236
+		# If the current directory is "pl_PL" use "pl" instead
237
+		if [ $subdir = "pl_PL" ]
238
+		then
239
+			subdir="pl"
240
+			nosubdir
241
+		fi
242
+
236 243
 		# Convert everything else
237 244
 		if [[ $subdir != "en" && $subdir != "zh_CN" && $subdir != "nb" && $subdir != "sv" ]]
238 245
 		then
... ...
@@ -259,7 +266,14 @@ for file in $po ; do
259 266
 			lang="se"
260 267
 			subdir
261 268
 		fi
262
-		
269
+	
270
+		# If the current language is "pl_PL" use "pl" instead
271
+		if [ $lang = "pl_PL" ]
272
+		then
273
+			lang="pl"
274
+			subdir
275
+		fi
276
+
263 277
 		# Convert everything else
264 278
 		if [[ $lang != "en" && $lang != "zh_CN" && $lang != "nb" && $lang != "sv" ]]
265 279
 		then