Runa A. Sandvik commited on 2011-07-14 09:25:54
Zeige 1 geänderte Dateien mit 16 Einfügungen und 2 Löschungen.
... | ... |
@@ -380,6 +380,13 @@ for file in $po ; do |
380 | 380 |
nosubdir |
381 | 381 |
fi |
382 | 382 |
|
383 |
+ # If the current subdirectory is "pt_BR" use "pt-br" instead |
|
384 |
+ if [ $subdir = "pt_BR" ] |
|
385 |
+ then |
|
386 |
+ subdir="pt-br" |
|
387 |
+ nosubdir |
|
388 |
+ fi |
|
389 |
+ |
|
383 | 390 |
# If the current directory is "nb" use "no" instead |
384 | 391 |
if [ $subdir = "nb" ] |
385 | 392 |
then |
... | ... |
@@ -402,7 +409,7 @@ for file in $po ; do |
402 | 409 |
fi |
403 | 410 |
|
404 | 411 |
# Convert everything else |
405 |
- if [[ $subdir != "en" && $subdir != "zh_CN" && $subdir != "nb" && $subdir != "sv" && $subdir != "pl_PL" ]] |
|
412 |
+ if [[ $subdir != "en" && $subdir != "zh_CN" && $subdir != "pt_BR" && $subdir != "nb" && $subdir != "sv" && $subdir != "pl_PL" ]] |
|
406 | 413 |
then |
407 | 414 |
nosubdir |
408 | 415 |
fi |
... | ... |
@@ -414,6 +421,13 @@ for file in $po ; do |
414 | 421 |
subdir |
415 | 422 |
fi |
416 | 423 |
|
424 |
+ # If the current language is "pt_BR" use "pt-br" instead |
|
425 |
+ if [ $lang = "pt_BR" ] |
|
426 |
+ then |
|
427 |
+ lang="pt-br" |
|
428 |
+ subdir |
|
429 |
+ fi |
|
430 |
+ |
|
417 | 431 |
# If the current language is "nb" use "no" instead |
418 | 432 |
if [ $lang = "nb" ] |
419 | 433 |
then |
... | ... |
@@ -436,7 +450,7 @@ for file in $po ; do |
436 | 450 |
fi |
437 | 451 |
|
438 | 452 |
# Convert everything else |
439 |
- if [[ $lang != "en" && $lang != "zh_CN" && $lang != "nb" && $lang != "sv" && $lang != "pl_PL" ]] |
|
453 |
+ if [[ $lang != "en" && $lang != "zh_CN" && $lang != "pt_BR" && $lang != "nb" && $lang != "sv" && $lang != "pl_PL" ]] |
|
440 | 454 |
then |
441 | 455 |
subdir |
442 | 456 |
fi |
443 | 457 |