Keyboard layout translations

preferencesAboutTextFull
Ilia Ryabokon 13 years ago
parent 2ab3471c25
commit b5383ca3ea
  1. 23
      resources/i18n/sankore_ar.ts
  2. 23
      resources/i18n/sankore_bg.ts
  3. 23
      resources/i18n/sankore_da.ts
  4. 23
      resources/i18n/sankore_de.ts
  5. 23
      resources/i18n/sankore_en.ts
  6. 23
      resources/i18n/sankore_en_UK.ts
  7. 23
      resources/i18n/sankore_es.ts
  8. 23
      resources/i18n/sankore_fr.ts
  9. 23
      resources/i18n/sankore_fr_CH.ts
  10. 23
      resources/i18n/sankore_it.ts
  11. 23
      resources/i18n/sankore_iw.ts
  12. 23
      resources/i18n/sankore_ja.ts
  13. 23
      resources/i18n/sankore_ko.ts
  14. 25
      resources/i18n/sankore_nb.ts
  15. 23
      resources/i18n/sankore_nl.ts
  16. 23
      resources/i18n/sankore_pl.ts
  17. 23
      resources/i18n/sankore_pt.ts
  18. 23
      resources/i18n/sankore_rm.ts
  19. 23
      resources/i18n/sankore_ro.ts
  20. 23
      resources/i18n/sankore_ru.ts
  21. 23
      resources/i18n/sankore_sk.ts
  22. 23
      resources/i18n/sankore_sv.ts
  23. 23
      resources/i18n/sankore_zh.ts
  24. 4
      src/core/UBApplication.cpp
  25. 4
      src/frameworks/UBPlatformUtils.h
  26. 10
      src/frameworks/UBPlatformUtils_linux.cpp
  27. 10
      src/frameworks/UBPlatformUtils_win.cpp

@ -1661,6 +1661,29 @@ Do you want to ignore these errors for this host?</source>
<translation>لم يستطع Sankore الدخول الى سجل الوثيقة &apos;1%&apos;. للأسف، يجب اغلاق التطبيق لتفادي فساد البيانات. يمكن أيضا فقدان التغييرات الأخيرة.</translation> <translation>لم يستطع Sankore الدخول الى سجل الوثيقة &apos;1%&apos;. للأسف، يجب اغلاق التطبيق لتفادي فساد البيانات. يمكن أيضا فقدان التغييرات الأخيرة.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1660,6 +1660,29 @@ Do you want to ignore these errors for this host?</source>
<translation>Санкоре изгуби достъп до хранилището за докумети &apos;%1&apos;. За съжаление приложението ще се затвори, за да не се повредят файловете. Последните промени могат да бъдат изгубени.</translation> <translation>Санкоре изгуби достъп до хранилището за докумети &apos;%1&apos;. За съжаление приложението ще се затвори, за да не се повредят файловете. Последните промени могат да бъдат изгубени.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1658,6 +1658,29 @@ Do you want to ignore these errors for this host?</source>
<translation>Sankore har mistet adgangen til dokumentdepotet &apos;%1&apos;. Desværre applikationen lukke ned for at undgå, at data mistes. De seneste ændringer kan være gået tabt.</translation> <translation>Sankore har mistet adgangen til dokumentdepotet &apos;%1&apos;. Desværre applikationen lukke ned for at undgå, at data mistes. De seneste ændringer kan være gået tabt.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1658,6 +1658,29 @@ Möchten Sie diese Fehler auf diesem Computer ignorieren?</translation>
<translation>Sankore hat den Zugang zum Dokumentenarchiv &apos;%1&apos; verloren. Die Anwendung muss leider beendet werden, um Datenkorruption zu vermeiden. Der Verlust kürzlich vorgenommener Änderungen ist möglich.</translation> <translation>Sankore hat den Zugang zum Dokumentenarchiv &apos;%1&apos; verloren. Die Anwendung muss leider beendet werden, um Datenkorruption zu vermeiden. Der Verlust kürzlich vorgenommener Änderungen ist möglich.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1650,6 +1650,29 @@ Do you want to ignore these errors for this host?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1650,6 +1650,29 @@ Do you want to ignore these errors for this host?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1652,6 +1652,29 @@ Do you want to ignore these errors for this host?</source>
<translation>Sankore ha perdido acceso al depósito de documentos &apos;%1&apos;. Desafortunadamente la aplicación debe cerrarse para evitar daños en los datos. También se podrían perder los últimos cambios.</translation> <translation>Sankore ha perdido acceso al depósito de documentos &apos;%1&apos;. Desafortunadamente la aplicación debe cerrarse para evitar daños en los datos. También se podrían perder los últimos cambios.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1658,6 +1658,29 @@ Voulez-vous ignorer les erreurs pour ce serveur ?</translation>
<translation>Open-Sankoré a perdu l&apos;accès au répertoire des documents &apos;%1&apos;. L&apos;application doit malheureusement être fermée pour éviter tout risque de corruption de vos fichiers. Les dernières modifications effectuées risquent d&apos;être perdues.</translation> <translation>Open-Sankoré a perdu l&apos;accès au répertoire des documents &apos;%1&apos;. L&apos;application doit malheureusement être fermée pour éviter tout risque de corruption de vos fichiers. Les dernières modifications effectuées risquent d&apos;être perdues.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1658,6 +1658,29 @@ Voulez-vous ignorer les erreurs pour ce serveur ?</translation>
<translation>Open-Sankoré a perdu l&apos;accès au répertoire des documents &apos;%1&apos;. L&apos;application doit malheureusement être fermée pour éviter tout risque de corruption de vos fichiers. Les dernières modifications effectuées risquent d&apos;être perdues.</translation> <translation>Open-Sankoré a perdu l&apos;accès au répertoire des documents &apos;%1&apos;. L&apos;application doit malheureusement être fermée pour éviter tout risque de corruption de vos fichiers. Les dernières modifications effectuées risquent d&apos;être perdues.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1658,6 +1658,29 @@ Vuoi ignorare gli errori per questo host?</translation>
<translation>Sankore ha perso l&apos;accesso all&apos;archivio dei documenti &apos;%1&apos;. Purtroppo l&apos;applicazione deve chiudere per evitare la corruzione dei dati. Potrebbero essere andate perse anche le ultime modifiche.</translation> <translation>Sankore ha perso l&apos;accesso all&apos;archivio dei documenti &apos;%1&apos;. Purtroppo l&apos;applicazione deve chiudere per evitare la corruzione dei dati. Potrebbero essere andate perse anche le ultime modifiche.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1653,6 +1653,29 @@ Do you want to ignore these errors for this host?</source>
<translation>Sakomeאיבד את הגישה למקום אכסון המסמך %1 : לצערנו היישום צריך להסגר כדי למנוע השחתת נתונים. ייתכן שגם השינויים האחרונים יאבדו.</translation> <translation>Sakomeאיבד את הגישה למקום אכסון המסמך %1 : לצערנו היישום צריך להסגר כדי למנוע השחתת נתונים. ייתכן שגם השינויים האחרונים יאבדו.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1657,6 +1657,29 @@ Do you want to ignore these errors for this host?</source>
<translation>Sankoreはドキュメント&apos;%1&apos;</translation> <translation>Sankoreはドキュメント&apos;%1&apos;</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1656,6 +1656,29 @@ Do you want to ignore these errors for this host?</source>
<translation>Sankore가 &apos;%1&apos; . . .</translation> <translation>Sankore가 &apos;%1&apos; . . .</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -857,7 +857,7 @@
<name>UBAbstractWidget</name> <name>UBAbstractWidget</name>
<message> <message>
<source>Cannot load content</source> <source>Cannot load content</source>
<translation>Kan ikke laste innhold</translation> <translation type="obsolete">Kan ikke laste innhold</translation>
</message> </message>
<message> <message>
<source>Loading ...</source> <source>Loading ...</source>
@ -1660,6 +1660,29 @@ Do you want to ignore these errors for this host?</source>
<translation>Sankore har mistet tilgangen til dokumentdatabasen &quot;%1%. Dessverre applikasjonen avsluttes for å unngå korrupte data. De siste endringene kan også tapt.</translation> <translation>Sankore har mistet tilgangen til dokumentdatabasen &quot;%1%. Dessverre applikasjonen avsluttes for å unngå korrupte data. De siste endringene kan også tapt.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1650,6 +1650,29 @@ Do you want to ignore these errors for this host?</source>
<translation>Sankore geen toegang meer tot documentopslag &quot;%1&quot;. De applicatie moet sluiten om data schade te voorkomen. De laatste wijzigingen kunnen eveneens verloren gaan.</translation> <translation>Sankore geen toegang meer tot documentopslag &quot;%1&quot;. De applicatie moet sluiten om data schade te voorkomen. De laatste wijzigingen kunnen eveneens verloren gaan.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1665,6 +1665,29 @@ Czy chcesz ignorować te błędy dla tego hosta?</translation>
<translation>Sankore utraciło dostęp do repozytorium dokumentów %1. Niestety aplikacja musi zostać zamknięta, aby uniknąć uszkodzenia danych. Najnowsze zmiany mogą zostać utracone.</translation> <translation>Sankore utraciło dostęp do repozytorium dokumentów %1. Niestety aplikacja musi zostać zamknięta, aby uniknąć uszkodzenia danych. Najnowsze zmiany mogą zostać utracone.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1650,6 +1650,29 @@ Do you want to ignore these errors for this host?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1650,6 +1650,29 @@ Do you want to ignore these errors for this host?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1658,6 +1658,29 @@ Doriţi să ignoraţi aceste erori pentru acest host?</translation>
<translation>Sankore a pierdut accesul la depozitul de documente &apos;%1&apos;. Din păcate, aplicaţia trebuie închisă pentru a evita coruperea datelor. Este posibil şi ca ultimele modificări fie pierdute.</translation> <translation>Sankore a pierdut accesul la depozitul de documente &apos;%1&apos;. Din păcate, aplicaţia trebuie închisă pentru a evita coruperea datelor. Este posibil şi ca ultimele modificări fie pierdute.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1658,6 +1658,29 @@ Do you want to ignore these errors for this host?</source>
<translation>Sankore потерял соединение с репозиторием документов &apos;%1&apos;. Приложение должно завершить работу, чтобы избежать повреждения данных. Также могут быть потеряны последние изменения.</translation> <translation>Sankore потерял соединение с репозиторием документов &apos;%1&apos;. Приложение должно завершить работу, чтобы избежать повреждения данных. Также могут быть потеряны последние изменения.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation>Английский</translation>
</message>
<message>
<source>Russian</source>
<translation>Русский</translation>
</message>
<message>
<source>German</source>
<translation>Немецкий</translation>
</message>
<message>
<source>French</source>
<translation>Французский</translation>
</message>
<message>
<source>Swiss French</source>
<translation>Шв. французский</translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1662,6 +1662,29 @@ Chcete ignorovať tieto chyby na tomto serveri?</translation>
<translation>Strata depozitára s dokumentami</translation> <translation>Strata depozitára s dokumentami</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1658,6 +1658,29 @@ Vill du ignorera felen för den här värden?</translation>
<translation>Sankore har förlorat access till dokumentarkiv &apos;%1&apos;. Tyvärr måste programmet stängas ner för att undvika korruption av data. De senaste ändringarna kan förlorade.</translation> <translation>Sankore har förlorat access till dokumentarkiv &apos;%1&apos;. Tyvärr måste programmet stängas ner för att undvika korruption av data. De senaste ändringarna kan förlorade.</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -1656,6 +1656,29 @@ Do you want to ignore these errors for this host?</source>
<translation>Sankore无法进入文档库</translation> <translation>Sankore无法进入文档库</translation>
</message> </message>
</context> </context>
<context>
<name>UBPlatformUtils</name>
<message>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Swiss French</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>UBPodcastController</name> <name>UBPodcastController</name>
<message> <message>

@ -128,7 +128,7 @@ UBApplication::UBApplication(const QString &id, int &argc, char **argv) : QtSing
|| args.contains("-log") || args.contains("-log")
|| args.contains("log"); || args.contains("log");
UBPlatformUtils::init();
UBResources::resources(); UBResources::resources();
if (!undoStack) if (!undoStack)
@ -154,6 +154,8 @@ UBApplication::UBApplication(const QString &id, int &argc, char **argv) : QtSing
QLocale::setDefault(QLocale(localString)); QLocale::setDefault(QLocale(localString));
qDebug() << "Running application in:" << localString; qDebug() << "Running application in:" << localString;
UBPlatformUtils::init();
UBSettings *settings = UBSettings::settings(); UBSettings *settings = UBSettings::settings();
connect(settings->appToolBarPositionedAtTop, SIGNAL(changed(QVariant)), this, SLOT(toolBarPositionChanged(QVariant))); connect(settings->appToolBarPositionedAtTop, SIGNAL(changed(QVariant)), this, SLOT(toolBarPositionChanged(QVariant)));

@ -160,6 +160,8 @@ struct KEYBT
class UBPlatformUtils class UBPlatformUtils
{ {
Q_DECLARE_TR_FUNCTIONS(UBPlatformUtils)
private: private:
UBPlatformUtils(); UBPlatformUtils();
virtual ~UBPlatformUtils(); virtual ~UBPlatformUtils();
@ -169,7 +171,7 @@ class UBPlatformUtils
static int nKeyboardLayouts; static int nKeyboardLayouts;
static UBKeyboardLocale** keyboardLayouts; static UBKeyboardLocale** keyboardLayouts;
public: public:
static void init(); static void init();
static void destroy(); static void destroy();
static QString applicationResourcesDirectory(); static QString applicationResourcesDirectory();

@ -382,11 +382,11 @@ void UBPlatformUtils::initializeKeyboardLayouts()
{ {
nKeyboardLayouts = 5; nKeyboardLayouts = 5;
keyboardLayouts = new UBKeyboardLocale*[nKeyboardLayouts]; keyboardLayouts = new UBKeyboardLocale*[nKeyboardLayouts];
keyboardLayouts[0] = new UBKeyboardLocale("English", "en", "", new QIcon(":/images/flags/en.png"), ENGLISH_LOCALE); keyboardLayouts[0] = new UBKeyboardLocale(tr("English"), "en", "", new QIcon(":/images/flags/en.png"), ENGLISH_LOCALE);
keyboardLayouts[1] = new UBKeyboardLocale("Russian", "ru", "", new QIcon(":/images/flags/ru.png"),RUSSIAN_LOCALE); keyboardLayouts[1] = new UBKeyboardLocale(tr("Russian"), "ru", "", new QIcon(":/images/flags/ru.png"),RUSSIAN_LOCALE);
keyboardLayouts[2] = new UBKeyboardLocale("German", "de", "", new QIcon(":/images/flags/de.png"), GERMAN_LOCALE); keyboardLayouts[2] = new UBKeyboardLocale(tr("German"), "de", "", new QIcon(":/images/flags/de.png"), GERMAN_LOCALE);
keyboardLayouts[3] = new UBKeyboardLocale("French", "fr", "", new QIcon(":/images/flags/fr.png"), FRENCH_LOCALE); keyboardLayouts[3] = new UBKeyboardLocale(tr("French"), "fr", "", new QIcon(":/images/flags/fr.png"), FRENCH_LOCALE);
keyboardLayouts[4] = new UBKeyboardLocale("Swiss French", "fr-CH", "", new QIcon(":/images/flags/fr.png"), SWISS_FRENCH_LOCALE); keyboardLayouts[4] = new UBKeyboardLocale(tr("Swiss French"), "fr-CH", "", new QIcon(":/images/flags/fr.png"), SWISS_FRENCH_LOCALE);
} }
void UBPlatformUtils::destroyKeyboardLayouts() void UBPlatformUtils::destroyKeyboardLayouts()

@ -398,11 +398,11 @@ void UBPlatformUtils::initializeKeyboardLayouts()
{ {
nKeyboardLayouts = 5; nKeyboardLayouts = 5;
keyboardLayouts = new UBKeyboardLocale*[nKeyboardLayouts]; keyboardLayouts = new UBKeyboardLocale*[nKeyboardLayouts];
keyboardLayouts[0] = new UBKeyboardLocale("English", "en", "", new QIcon(":/images/flags/en.png"), ENGLISH_LOCALE); keyboardLayouts[0] = new UBKeyboardLocale(tr("English"), "en", "", new QIcon(":/images/flags/en.png"), ENGLISH_LOCALE);
keyboardLayouts[1] = new UBKeyboardLocale("Russian", "ru", "", new QIcon(":/images/flags/ru.png"),RUSSIAN_LOCALE); keyboardLayouts[1] = new UBKeyboardLocale(tr("Russian"), "ru", "", new QIcon(":/images/flags/ru.png"),RUSSIAN_LOCALE);
keyboardLayouts[2] = new UBKeyboardLocale("French", "fr", "", new QIcon(":/images/flags/fr.png"), FRENCH_LOCALE); keyboardLayouts[2] = new UBKeyboardLocale(tr("French"), "fr", "", new QIcon(":/images/flags/fr.png"), FRENCH_LOCALE);
keyboardLayouts[3] = new UBKeyboardLocale("Swiss French", "fr-CH", "", new QIcon(":/images/flags/fr.png"), SWISS_FRENCH_LOCALE); keyboardLayouts[3] = new UBKeyboardLocale(tr("Swiss French"), "fr-CH", "", new QIcon(":/images/flags/fr.png"), SWISS_FRENCH_LOCALE);
keyboardLayouts[4] = new UBKeyboardLocale("German", "de", "", new QIcon(":/images/flags/de.png"), GERMAN_LOCALE); keyboardLayouts[4] = new UBKeyboardLocale(tr("German"), "de", "", new QIcon(":/images/flags/de.png"), GERMAN_LOCALE);
} }
void UBPlatformUtils::destroyKeyboardLayouts() void UBPlatformUtils::destroyKeyboardLayouts()

Loading…
Cancel
Save