diff options
Diffstat (limited to 'po')
-rw-r--r-- | po/CMakeLists.txt | 74 | ||||
-rw-r--r-- | po/ar.po | 9 | ||||
-rw-r--r-- | po/az.po | 9 | ||||
-rw-r--r-- | po/bg.po | 9 | ||||
-rw-r--r-- | po/ca.po | 9 | ||||
-rw-r--r-- | po/cs.po | 9 | ||||
-rw-r--r-- | po/da.po | 9 | ||||
-rw-r--r-- | po/de.po | 9 | ||||
-rw-r--r-- | po/el_GR.po | 9 | ||||
-rw-r--r-- | po/en.po | 9 | ||||
-rw-r--r-- | po/en_PH.po | 9 | ||||
-rw-r--r-- | po/en_US.po | 9 | ||||
-rw-r--r-- | po/es_ES.po | 9 | ||||
-rw-r--r-- | po/es_US.po | 9 | ||||
-rw-r--r-- | po/et.po | 9 | ||||
-rw-r--r-- | po/eu.po | 9 | ||||
-rw-r--r-- | po/fi.po | 9 | ||||
-rw-r--r-- | po/fr.po | 9 | ||||
-rw-r--r-- | po/fr_CA.po | 9 | ||||
-rw-r--r-- | po/ga.po | 9 | ||||
-rw-r--r-- | po/gl.po | 9 | ||||
-rw-r--r-- | po/hr.po | 9 | ||||
-rw-r--r-- | po/hu.po | 9 | ||||
-rw-r--r-- | po/hy.po | 9 | ||||
-rw-r--r-- | po/is.po | 9 | ||||
-rw-r--r-- | po/it_IT.po | 9 | ||||
-rw-r--r-- | po/ja_JP.po | 9 | ||||
-rw-r--r-- | po/ka.po | 9 | ||||
-rw-r--r-- | po/kk.po | 9 | ||||
-rw-r--r-- | po/ko_KR.po | 9 | ||||
-rw-r--r-- | po/lt.po | 9 | ||||
-rw-r--r-- | po/lv.po | 9 | ||||
-rw-r--r-- | po/mk.po | 9 | ||||
-rw-r--r-- | po/nb.po | 9 | ||||
-rw-r--r-- | po/nl.po | 9 | ||||
-rw-r--r-- | po/pl.po | 9 | ||||
-rw-r--r-- | po/pt_BR.po | 9 | ||||
-rw-r--r-- | po/pt_PT.po | 9 | ||||
-rw-r--r-- | po/replace_quatation.pl | 133 | ||||
-rw-r--r-- | po/ro.po | 9 | ||||
-rw-r--r-- | po/ru_RU.po | 9 | ||||
-rw-r--r-- | po/sk.po | 9 | ||||
-rw-r--r-- | po/sl.po | 9 | ||||
-rw-r--r-- | po/sr.po | 9 | ||||
-rw-r--r-- | po/sv.po | 9 | ||||
-rw-r--r-- | po/tr_TR.po | 9 | ||||
-rw-r--r-- | po/uk.po | 9 | ||||
-rw-r--r-- | po/uz.po | 9 | ||||
-rw-r--r-- | po/zh_CN.po | 9 | ||||
-rw-r--r-- | po/zh_HK.po | 9 | ||||
-rw-r--r-- | po/zh_TW.po | 9 |
51 files changed, 648 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt new file mode 100644 index 0000000..a1b99b0 --- /dev/null +++ b/po/CMakeLists.txt @@ -0,0 +1,74 @@ +# for i18n + +SET(POFILES + ar.po + az.po + bg.po + ca.po + cs.po + da.po + de.po + el_GR.po + en_PH.po + en.po + en_US.po + es_ES.po + es_US.po + et.po + eu.po + fi.po + fr_CA.po + fr.po + ga.po + gl.po + hr.po + hu.po + hy.po + is.po + it_IT.po + ja_JP.po + ka.po + kk.po + ko_KR.po + lt.po + lv.po + mk.po + nb.po + nl.po + pl.po + pt_BR.po + pt_PT.po + ro.po + ru_RU.po + sk.po + sl.po + sr.po + sv.po + tr_TR.po + uk.po + uz.po + zh_CN.po + zh_HK.po + zh_TW.po +) + +SET(MSGFMT "/usr/bin/msgfmt") + +FOREACH(pofile ${POFILES}) + SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}) + MESSAGE("PO: ${pofile}") + GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE) + GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE) + SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo) + ADD_CUSTOM_COMMAND( + OUTPUT ${moFile} + COMMAND ${MSGFMT} -o ${moFile} ${absPofile} + DEPENDS ${absPofile} + ) + INSTALL(FILES ${moFile} + DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo) + SET(moFiles ${moFiles} ${moFile}) +ENDFOREACH(pofile) + +MESSAGE(".mo files: ${moFiles}") +ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles}) diff --git a/po/ar.po b/po/ar.po new file mode 100644 index 0000000..e010621 --- /dev/null +++ b/po/ar.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "إمكانية الوصول" + +msgid "IDS_ST_HEADER_VISION" +msgstr "الرؤية" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "قارئ الشاشة" + diff --git a/po/az.po b/po/az.po new file mode 100644 index 0000000..7507647 --- /dev/null +++ b/po/az.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Çıxış imkanı" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Görmə" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Ekran oxuyucusu" + diff --git a/po/bg.po b/po/bg.po new file mode 100644 index 0000000..96ce667 --- /dev/null +++ b/po/bg.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Достъпност" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Зрение" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Екранен четец" + diff --git a/po/ca.po b/po/ca.po new file mode 100644 index 0000000..540f018 --- /dev/null +++ b/po/ca.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accessibilitat" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Visió" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Lector de pantalla" + diff --git a/po/cs.po b/po/cs.po new file mode 100644 index 0000000..6e61f5b --- /dev/null +++ b/po/cs.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Usnadnění" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Zrak" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Čtečka displeje" + diff --git a/po/da.po b/po/da.po new file mode 100644 index 0000000..2ff193f --- /dev/null +++ b/po/da.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Tilgængelighed" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Syn" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Skærmlæser" + diff --git a/po/de.po b/po/de.po new file mode 100644 index 0000000..045d38d --- /dev/null +++ b/po/de.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Eingabehilfe" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Sehhilfe" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Bildschirmleseprogramm" + diff --git a/po/el_GR.po b/po/el_GR.po new file mode 100644 index 0000000..0208184 --- /dev/null +++ b/po/el_GR.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Προσβασιμότητα" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Όραση" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Εργαλείο ανάγνωσης οθόνης" + diff --git a/po/en.po b/po/en.po new file mode 100644 index 0000000..f4563b7 --- /dev/null +++ b/po/en.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accessibility" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Vision" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Screen reader" + diff --git a/po/en_PH.po b/po/en_PH.po new file mode 100644 index 0000000..f4563b7 --- /dev/null +++ b/po/en_PH.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accessibility" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Vision" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Screen reader" + diff --git a/po/en_US.po b/po/en_US.po new file mode 100644 index 0000000..f4563b7 --- /dev/null +++ b/po/en_US.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accessibility" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Vision" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Screen reader" + diff --git a/po/es_ES.po b/po/es_ES.po new file mode 100644 index 0000000..7449d7e --- /dev/null +++ b/po/es_ES.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accesibilidad" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Visión" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Lector de pantalla" + diff --git a/po/es_US.po b/po/es_US.po new file mode 100644 index 0000000..7449d7e --- /dev/null +++ b/po/es_US.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accesibilidad" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Visión" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Lector de pantalla" + diff --git a/po/et.po b/po/et.po new file mode 100644 index 0000000..c4905d2 --- /dev/null +++ b/po/et.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Juurdepääs" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Nägemine" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Ekraanilugeja" + diff --git a/po/eu.po b/po/eu.po new file mode 100644 index 0000000..d3d74e6 --- /dev/null +++ b/po/eu.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Irisgarritasuna" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Ikusmena" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Pantaila Irakurgailua" + diff --git a/po/fi.po b/po/fi.po new file mode 100644 index 0000000..3e08f6a --- /dev/null +++ b/po/fi.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Helppo-\nkäyttöisyys" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Näkö" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Näytönlukija" + diff --git a/po/fr.po b/po/fr.po new file mode 100644 index 0000000..7d40a41 --- /dev/null +++ b/po/fr.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accessibilité" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Vue" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Lecteur d'écran" + diff --git a/po/fr_CA.po b/po/fr_CA.po new file mode 100644 index 0000000..7d40a41 --- /dev/null +++ b/po/fr_CA.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accessibilité" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Vue" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Lecteur d'écran" + diff --git a/po/ga.po b/po/ga.po new file mode 100644 index 0000000..25254be --- /dev/null +++ b/po/ga.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Inrochtaineacht" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Radharc" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Léitheoir Scáileáin" + diff --git a/po/gl.po b/po/gl.po new file mode 100644 index 0000000..847edd5 --- /dev/null +++ b/po/gl.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accesibilidade" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Visual" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Lector da pantalla" + diff --git a/po/hr.po b/po/hr.po new file mode 100644 index 0000000..972768d --- /dev/null +++ b/po/hr.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Pristupačnost" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Vid" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Čitač zaslona" + diff --git a/po/hu.po b/po/hu.po new file mode 100644 index 0000000..e1e3113 --- /dev/null +++ b/po/hu.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Kisegítő lehetőségek" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Látás" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Szövegfelolvasó" + diff --git a/po/hy.po b/po/hy.po new file mode 100644 index 0000000..b282675 --- /dev/null +++ b/po/hy.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Մատչելիություն" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Տեսողություն" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Էկրանի ընթերցիչ" + diff --git a/po/is.po b/po/is.po new file mode 100644 index 0000000..5b019d1 --- /dev/null +++ b/po/is.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Aðgengi" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Sjón" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Skjálesari" + diff --git a/po/it_IT.po b/po/it_IT.po new file mode 100644 index 0000000..4a64d21 --- /dev/null +++ b/po/it_IT.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accessibilità" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Vista" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Lettore Schermo" + diff --git a/po/ja_JP.po b/po/ja_JP.po new file mode 100644 index 0000000..503266f --- /dev/null +++ b/po/ja_JP.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "ユーザー補助" + +msgid "IDS_ST_HEADER_VISION" +msgstr "視覚" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "スクリーンリーダー" + diff --git a/po/ka.po b/po/ka.po new file mode 100644 index 0000000..ec3a7c6 --- /dev/null +++ b/po/ka.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "წვდომა" + +msgid "IDS_ST_HEADER_VISION" +msgstr "ხედვა" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "ეკრანის წამკითხველი" + diff --git a/po/kk.po b/po/kk.po new file mode 100644 index 0000000..ecb14d6 --- /dev/null +++ b/po/kk.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Арнайы мүмкіндік" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Көру" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Экран оқу құралы" + diff --git a/po/ko_KR.po b/po/ko_KR.po new file mode 100644 index 0000000..1543fd6 --- /dev/null +++ b/po/ko_KR.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "접근성" + +msgid "IDS_ST_HEADER_VISION" +msgstr "시각" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "스크린 리더" + diff --git a/po/lt.po b/po/lt.po new file mode 100644 index 0000000..a417dcf --- /dev/null +++ b/po/lt.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Pasiekiamumas" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Rega" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Ekrano skaitytuvas" + diff --git a/po/lv.po b/po/lv.po new file mode 100644 index 0000000..967511e --- /dev/null +++ b/po/lv.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Pieejamība" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Redze" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Ekrāna lasītājs" + diff --git a/po/mk.po b/po/mk.po new file mode 100644 index 0000000..ac5f1aa --- /dev/null +++ b/po/mk.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Пристапност" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Вид" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Екрански читач" + diff --git a/po/nb.po b/po/nb.po new file mode 100644 index 0000000..2a1e6fc --- /dev/null +++ b/po/nb.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Tilgjengeligh." + +msgid "IDS_ST_HEADER_VISION" +msgstr "Syn" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Skjermleser" + diff --git a/po/nl.po b/po/nl.po new file mode 100644 index 0000000..cf764e5 --- /dev/null +++ b/po/nl.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Toegankelijkheid" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Zicht" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Schermlezer" + diff --git a/po/pl.po b/po/pl.po new file mode 100644 index 0000000..78eff30 --- /dev/null +++ b/po/pl.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Dostępność" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Widoczność" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Czytnik ekranu" + diff --git a/po/pt_BR.po b/po/pt_BR.po new file mode 100644 index 0000000..cd2c88b --- /dev/null +++ b/po/pt_BR.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Acessibilidade" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Visão" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Leitor de tela" + diff --git a/po/pt_PT.po b/po/pt_PT.po new file mode 100644 index 0000000..f24f2c4 --- /dev/null +++ b/po/pt_PT.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Acessibilidade" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Visão" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Leitor de Ecrã" + diff --git a/po/replace_quatation.pl b/po/replace_quatation.pl new file mode 100644 index 0000000..50b5d30 --- /dev/null +++ b/po/replace_quatation.pl @@ -0,0 +1,133 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use Tie::File; + +# global +my @po_list = `ls *.po`; + +# for replacing " +my $dest_char1 = "\\\\\""; +my $dest_char2 = "\\\""; +my $quatation_char = "\""; + +# function +sub replace_quatation +{ + my ($po_file) = @_; + my @po_file_line = $po_file; + + foreach (@po_file_line) { + tie my @filearray, 'Tie::File', $_ or die "Couldn't open file $_, $!"; + foreach my $line(@filearray) { + if (($line =~ /msgstr\ \"(.*)\"/)) { + my $new_line = $1; + + # quatation check + # there is no qutation, continue + if (index($new_line, "\"") != -1) { + printf "replace: $new_line\n"; + # equalizing to " + $new_line =~ s/$dest_char1/$quatation_char/g; + + # replace " with \" + $new_line =~ s/$quatation_char/$dest_char2/g; + + # write new line + $line = "msgstr\ \"$new_line\""; + } + } + } + untie @filearray; + } +} + +sub replace_another +{ + my ($po_file) = @_; + my @po_file_line = $po_file; + + foreach (@po_file_line) { + tie my @filearray, 'Tie::File', $_ or die "Couldn't open file $_, $!"; + foreach my $line(@filearray) { + if (($line =~ /msgstr\ \"(.*)\"/)) { + my $new_line = $1; + + if (index($new_line, "\\") != -1) { + printf "replace: $new_line\n"; + + # replace \n with <br> + $new_line =~ s/\\/ /g; + + # write new line + $line = "msgstr\ \"$new_line\""; + } + } + } + untie @filearray; + } +} + +sub replace_br +{ + my ($po_file) = @_; + my @po_file_line = $po_file; + + foreach (@po_file_line) { + tie my @filearray, 'Tie::File', $_ or die "Couldn't open file $_, $!"; + foreach my $line(@filearray) { + if (($line =~ /msgstr\ \"(.*)\"/)) { + my $new_line = $1; + + if (index($new_line, "<br>") != -1) { + printf "replace: $new_line\n"; + + # replace <br> with \n + $new_line =~ s/<br>/\\n/g; + + # write new line + $line = "msgstr\ \"$new_line\""; + } + } + } + untie @filearray; + } +} + +sub replace_driver_str +{ + my ($po_file) = @_; + my @po_file_line = $po_file; + + foreach (@po_file_line) { + tie my @filearray, 'Tie::File', $_ or die "Couldn't open file $_, $!"; + foreach my $line(@filearray) { + if (($line =~ /msgstr\ \"(.*)\"/)) { + my $new_line = $1; + + if (index($new_line, ":\\") != -1) { + printf "replace: $new_line\n"; + + if( index($new_line, ":\\\\") == -1 ) { + # replace <br> with \n + $new_line =~ s/:\\/:\\\\/g; + + # write new line + $line = "msgstr\ \"$new_line\""; + } + } + } + } + untie @filearray; + } +} + +# main +foreach (@po_list) { + my $file = $_; + chomp($file); + replace_quatation($file); + replace_driver_str($file); + #replace_another($file); +} diff --git a/po/ro.po b/po/ro.po new file mode 100644 index 0000000..9be5d58 --- /dev/null +++ b/po/ro.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Accesibilitate" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Vedere" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Cititor ecran" + diff --git a/po/ru_RU.po b/po/ru_RU.po new file mode 100644 index 0000000..6998e3f --- /dev/null +++ b/po/ru_RU.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Специальные возможности" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Зрение" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Чтение с экрана" + diff --git a/po/sk.po b/po/sk.po new file mode 100644 index 0000000..9ff681e --- /dev/null +++ b/po/sk.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Zjednodušenie ovládania" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Zrak" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Čítačka obrazovky" + diff --git a/po/sl.po b/po/sl.po new file mode 100644 index 0000000..2927289 --- /dev/null +++ b/po/sl.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Dostopnost" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Okvara vida" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Bralnik zaslona" + diff --git a/po/sr.po b/po/sr.po new file mode 100644 index 0000000..e68494d --- /dev/null +++ b/po/sr.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Pristupačnost" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Vid" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Čitač ekrana" + diff --git a/po/sv.po b/po/sv.po new file mode 100644 index 0000000..318aeed --- /dev/null +++ b/po/sv.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Tillgänglighet" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Syn" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Skärmläsare" + diff --git a/po/tr_TR.po b/po/tr_TR.po new file mode 100644 index 0000000..b62e1e3 --- /dev/null +++ b/po/tr_TR.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Erişilebilirlik" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Görme" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Ekran Okuyucu" + diff --git a/po/uk.po b/po/uk.po new file mode 100644 index 0000000..399846f --- /dev/null +++ b/po/uk.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Спеціальні можливості" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Зір" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Читання з екрану" + diff --git a/po/uz.po b/po/uz.po new file mode 100644 index 0000000..6776518 --- /dev/null +++ b/po/uz.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "Maxsus imkoniyat" + +msgid "IDS_ST_HEADER_VISION" +msgstr "Ko‘rish" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Ekranni o‘qish vositasi" + diff --git a/po/zh_CN.po b/po/zh_CN.po new file mode 100644 index 0000000..309f5d3 --- /dev/null +++ b/po/zh_CN.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "辅助功能" + +msgid "IDS_ST_HEADER_VISION" +msgstr "视觉" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Screen Reader" + diff --git a/po/zh_HK.po b/po/zh_HK.po new file mode 100644 index 0000000..1e90ffa --- /dev/null +++ b/po/zh_HK.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "協助工具" + +msgid "IDS_ST_HEADER_VISION" +msgstr "視覺" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "螢幕閱讀器" + diff --git a/po/zh_TW.po b/po/zh_TW.po new file mode 100644 index 0000000..bb027cf --- /dev/null +++ b/po/zh_TW.po @@ -0,0 +1,9 @@ +msgid "IDS_ST_BODY_ACCESSIBILITY" +msgstr "協助工具" + +msgid "IDS_ST_HEADER_VISION" +msgstr "視覺" + +msgid "IDS_SCR_BODY_SCREEN_READER_M_APPLICATION_NAME" +msgstr "Screen Reader" + |