we want to use pl instead of pl_PL
Runa A. Sandvik

Runa A. Sandvik commited on 2011-03-22 14:48:25
Zeige 1 geänderte Dateien mit 14 Einfügungen und 0 Löschungen.

... ...
@@ -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
... ...
@@ -260,6 +267,13 @@ for file in $po ; do
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
266 280