diff --git a/README.translations.txt b/README.translations.txt new file mode 100644 index 0000000..22cfb81 --- /dev/null +++ b/README.translations.txt @@ -0,0 +1,35 @@ +Translations +============ + +Adding a languages +------------------ + +Add your language to the TRANSLATIONS var in the SysTray-X .pro file (app/SysTray-X/SysTray-X.pro) + + +Update translation files +------------------------ + +To update the base translation files in the languages directory: + +cd app/SysTray-X +lupdate-qt5 -verbose SysTray-X.pro + + +Translating +----------- + +Start Qt linguist (linguist-qt5, linguist) and open the language file (app/SysTray-X/languages/*.ts) you want to translate. +Translate the found strings, mark them translated. When finished, 'Save' the file and 'Release' the file. + +Add the *.ts and *.qm files to git. + + +Qt translation tools +-------------------- + +lupdate -verbose SysTray-X.pro + +linguist + +lrelease SysTray-X.pro diff --git a/app/SysTray-X/SysTray-X.pro b/app/SysTray-X/SysTray-X.pro index 73a4063..f1dcb87 100644 --- a/app/SysTray-X/SysTray-X.pro +++ b/app/SysTray-X/SysTray-X.pro @@ -29,6 +29,13 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = SysTray-X TEMPLATE = app +# +# Translations +# +TRANSLATIONS = \ + languages/$${TARGET}_en.ts \ + languages/$${TARGET}_nl.ts + # The following define makes your compiler emit warnings if you use # any feature of Qt which has been marked as deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the diff --git a/app/SysTray-X/languages/SysTray-X_en.qm b/app/SysTray-X/languages/SysTray-X_en.qm new file mode 100644 index 0000000..d072705 Binary files /dev/null and b/app/SysTray-X/languages/SysTray-X_en.qm differ diff --git a/app/SysTray-X/languages/SysTray-X_en.ts b/app/SysTray-X/languages/SysTray-X_en.ts new file mode 100644 index 0000000..58d385f --- /dev/null +++ b/app/SysTray-X/languages/SysTray-X_en.ts @@ -0,0 +1,265 @@ + + + + + AboutDialog + + + About SysTray-X + About SysTray-X + + + + SysTray-X Companion App by Ximi1970 + SysTray-X Companion App by Ximi1970 + + + + Version: + Version: + + + + 0.0.1 + Do not translate + + + + + Build: + Build: + + + + + 0 + Do not translate + + + + + Hash: + Hash: + + + + Branch: + Branch: + + + + master + Do not translate + + + + + DebugWidget + + + SysTray-X Debug + SysTray-X Debug + + + + Test 2 + Test 2 + + + + Unread mail: + Unread mail: + + + + Test 1 + Test 1 + + + + 0 + Do not translate + + + + + Test 3 + Test 3 + + + + PreferencesDialog + + + SysTray-X Preferences + SysTray-X Preferences + + + + Default icon + Default icon + + + + Icon + Icon + + + + Default Thunderbird + Default Thunderbird + + + + Lookthrough icon + Lookthrough icon + + + + + Custom icon + Custom icon + + + + + Choose + Choose + + + + KDE integration (Hide) + KDE integration (Hide) + + + + Mail notification icon + Mail notification icon + + + + Blank icon + Blank icon + + + + New mail icon + New mail icon + + + + No icon + No icon + + + + Windows + Windows + + + + Minimize + Minimize + + + + Default minimize + Default minimize + + + + Minimize to tray, method 1 + Minimize to tray, method 1 + + + + Minimize to tray, method 2 + Minimize to tray, method 2 + + + + Start application minimized + Start application minimized + + + + Minimize on close + Minimize on close + + + + Number properties + Number properties + + + + Display unread message count + Display unread message count + + + + Number color + Number color + + + + Number size + Number size + + + + Count type + Count type + + + + Unread + Unread + + + + New + New + + + + Display debug window + Display debug window + + + + + Open Image + Open Image + + + + + Image Files (*.png *.jpg *.bmp) + Image Files (*.png *.jpg *.bmp) + + + + SysTrayX + + + &Show/Hide + &Show/Hide + + + + &Preferences + &Preferences + + + + &About + &About + + + + &Quit + &Quit + + + diff --git a/app/SysTray-X/languages/SysTray-X_nl.qm b/app/SysTray-X/languages/SysTray-X_nl.qm new file mode 100644 index 0000000..39b8ba9 Binary files /dev/null and b/app/SysTray-X/languages/SysTray-X_nl.qm differ diff --git a/app/SysTray-X/languages/SysTray-X_nl.ts b/app/SysTray-X/languages/SysTray-X_nl.ts new file mode 100644 index 0000000..e44ea2e --- /dev/null +++ b/app/SysTray-X/languages/SysTray-X_nl.ts @@ -0,0 +1,265 @@ + + + + + AboutDialog + + + About SysTray-X + Over SysTray-X + + + + SysTray-X Companion App by Ximi1970 + SysTray-X Companion App door Ximi1970 + + + + Version: + Versie: + + + + 0.0.1 + Niet vertalen + + + + + Build: + Build: + + + + + 0 + Niet vertalen + + + + + Hash: + Hash: + + + + Branch: + Branch: + + + + master + Niet vertalen + + + + + DebugWidget + + + SysTray-X Debug + SysTray-X Debug + + + + Test 2 + Test 2 + + + + Unread mail: + Ongelezen berichten: + + + + Test 1 + Test 1 + + + + 0 + Niet vertalen + + + + + Test 3 + Test 3 + + + + PreferencesDialog + + + SysTray-X Preferences + SysTray-X Opties + + + + Default icon + Standaard pictogram + + + + Icon + Pictogram + + + + Default Thunderbird + Standaard Thunderbird + + + + Lookthrough icon + Doorzichtig pictogram + + + + + Custom icon + Aangepast pictogram + + + + + Choose + Kies + + + + KDE integration (Hide) + KDE integratie (Verbergen) + + + + Mail notification icon + Berichten notificatie pictogram + + + + Blank icon + Leeg pictogram + + + + New mail icon + Nieuw bericht pictogram + + + + No icon + Geen pictogram + + + + Windows + Vensters + + + + Minimize + Minimaliseren + + + + Default minimize + Standaard minimalisatie + + + + Minimize to tray, method 1 + Minimaliseer naar systeemvak, methode 1 + + + + Minimize to tray, method 2 + Minimaliseer naar systeemvak, methode 2 + + + + Start application minimized + Start programma geminimaliseerd + + + + Minimize on close + Minimaliseren bij sluiten + + + + Number properties + Nummer opties + + + + Display unread message count + Aantal ongelezen berichten weergeven + + + + Number color + Nummer kleur + + + + Number size + Nummer grootte + + + + Count type + Type berichttelling + + + + Unread + Ongelezen + + + + New + Nieuw + + + + Display debug window + Toon debug venster + + + + + Open Image + Open afbeelding + + + + + Image Files (*.png *.jpg *.bmp) + Afbeeldingsbestanden (*.png *.jpg *.bmp) + + + + SysTrayX + + + &Show/Hide + &Tonen/Verbergen + + + + &Preferences + &Opties + + + + &About + O&ver + + + + &Quit + &Afsluiten + + +