Skip to content

Commit

Permalink
Display the translator credits in the About dialog according to the …
Browse files Browse the repository at this point in the history
…current display language (#99)

* Display the translator credits in the About dialog according to the current display language

* add turkish translator

* fix repo link

---------

Co-authored-by: Nbiba Bedis <[email protected]>
  • Loading branch information
meybonomme and sigmaSd authored Apr 29, 2024
1 parent f17dedb commit 9a7a592
Show file tree
Hide file tree
Showing 20 changed files with 47 additions and 9 deletions.
3 changes: 3 additions & 0 deletions po/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ msgstr "ينطبق فقط أثناء التشغيل"

msgid "Main Menu"
msgstr "القائمة الرئيسية"

msgid "translator-credits"
msgstr "Bedis Nbiba https://github.com/sigmaSd"
3 changes: 3 additions & 0 deletions po/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ msgstr "Applies only while active"

msgid "Main Menu"
msgstr "Main Menu"

msgid "translator-credits"
msgstr "translator-credits"
3 changes: 3 additions & 0 deletions po/et.po
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ msgstr "Käitumine sulgemisel"

msgid "Applies only while active"
msgstr "Rakendub ainult aktiivses olekus"

msgid "translator-credits"
msgstr "Meybo Nõmme https://github.com/meybonomme"
3 changes: 3 additions & 0 deletions po/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ msgstr "S'applique uniquement lorsqu'actif"

msgid "Main Menu"
msgstr "Menu Principal"

msgid "translator-credits"
msgstr "Bedis Nbiba https://github.com/sigmaSd"
3 changes: 3 additions & 0 deletions po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ msgstr "Si applica solo mentre è attivo"

msgid "Main Menu"
msgstr "Menù principale"

msgid "translator-credits"
msgstr "Albano Battistella https://github.com/albanobattistella"
3 changes: 3 additions & 0 deletions po/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ msgstr "作動中のみ適用されます"

msgid "Main Menu"
msgstr "メインメニュー"

msgid "translator-credits"
msgstr "Nicholas La Roux https://github.com/larouxn"
3 changes: 3 additions & 0 deletions po/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,6 @@ msgstr "Alleen indien actief"

msgid "Main Menu"
msgstr "Hoofdmenu"

msgid "translator-credits"
msgstr "Heimen Stoffels https://github.com/Vistaus"
3 changes: 3 additions & 0 deletions po/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,6 @@ msgstr "Aplica-se apenas enquanto ativo"

msgid "Main Menu"
msgstr "Menu Principal"

msgid "translator-credits"
msgstr "Luiz-Fernandes https://github.com/Luiz-C-Lima"
3 changes: 3 additions & 0 deletions po/tr.po
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,6 @@ msgstr "Yalnızca etkinken geçerlidir"

msgid "Main Menu"
msgstr "Ana Menü"

msgid "translator-credits"
msgstr "Sabri Ünal"
1 change: 1 addition & 0 deletions src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class EN_UI_LABELS {
// we don't advertise tray icon support
static Show: string;
static "Stimulator is running in the backround": string;
static "translator-credits": string;
}

@translate
Expand Down
3 changes: 2 additions & 1 deletion src/locales/ar/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"Ask Confirmation": "طلب تأكيد",
"Behavior on Closing": "السلوك عند الإغلاق",
"Applies only while active": "ينطبق فقط أثناء التشغيل",
"Main Menu": "القائمة الرئيسية"
"Main Menu": "القائمة الرئيسية",
"translator-credits": "Bedis Nbiba https://github.com/sigmaSd"
}
3 changes: 2 additions & 1 deletion src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"Ask Confirmation": "Ask Confirmation",
"Behavior on Closing": "Behavior on Closing",
"Applies only while active": "Applies only while active",
"Main Menu": "Main Menu"
"Main Menu": "Main Menu",
"translator-credits": "translator-credits"
}
3 changes: 2 additions & 1 deletion src/locales/et/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"Stimulator is running in the backround": "Stimulaator töötab taustal",
"Ask Confirmation": "Küsi kinnitust",
"Behavior on Closing": "Käitumine sulgemisel",
"Applies only while active": "Rakendub ainult aktiivses olekus"
"Applies only while active": "Rakendub ainult aktiivses olekus",
"translator-credits": "Meybo Nõmme https://github.com/meybonomme"
}
3 changes: 2 additions & 1 deletion src/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"Ask Confirmation": "Demander confirmation",
"Behavior on Closing": "Comportement à la fermeture",
"Applies only while active": "S'applique uniquement lorsqu'actif",
"Main Menu": "Menu Principal"
"Main Menu": "Menu Principal",
"translator-credits": "Bedis Nbiba https://github.com/sigmaSd"
}
3 changes: 2 additions & 1 deletion src/locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"Ask Confirmation": "Chiedi conferma",
"Behavior on Closing": "Comportamento alla chiusura",
"Applies only while active": "Si applica solo mentre è attivo",
"Main Menu": "Menù principale"
"Main Menu": "Menù principale",
"translator-credits": "Albano Battistella https://github.com/albanobattistella"
}
3 changes: 2 additions & 1 deletion src/locales/ja/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"Ask Confirmation": "確認する",
"Behavior on Closing": "終了する際の設定",
"Applies only while active": "作動中のみ適用されます",
"Main Menu": "メインメニュー"
"Main Menu": "メインメニュー",
"translator-credits": "Nicholas La Roux https://github.com/larouxn"
}
3 changes: 2 additions & 1 deletion src/locales/nl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"Ask Confirmation": "Om bevestiging vragen",
"Behavior on Closing": "Actie na afsluiten",
"Applies only while active": "Alleen indien actief",
"Main Menu": "Hoofdmenu"
"Main Menu": "Hoofdmenu",
"translator-credits": "Heimen Stoffels https://github.com/Vistaus"
}
3 changes: 2 additions & 1 deletion src/locales/pt-BR/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"Ask Confirmation": "Pedir Confirmação",
"Behavior on Closing": "Comportamento Durante Fechamento",
"Applies only while active": "Aplica-se apenas enquanto ativo",
"Main Menu": "Menu Principal"
"Main Menu": "Menu Principal",
"translator-credits": "Luiz-Fernandes https://github.com/Luiz-C-Lima"
}
3 changes: 2 additions & 1 deletion src/locales/tr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"Ask Confirmation": "Onay İste",
"Behavior on Closing": "Kapatma Davranışı",
"Applies only while active": "Yalnızca etkinken geçerlidir",
"Main Menu": "Ana Menü"
"Main Menu": "Ana Menü",
"translator-credits": "Sabri Ünal"
}
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ export class MainWindow {
dialog.set_developer_name("Bedis Nbiba");
dialog.set_developers(["Bedis Nbiba <[email protected]>"]);
dialog.set_designers(["Meybo Nõmme <[email protected]>"]);
dialog.set_translator_credits(UI_LABELS["translator-credits"]);
dialog.set_license_type(Gtk.License.MIT_X11);
dialog.set_website("https://github.com/sigmaSd/stimulator");
dialog.set_issue_url(
Expand Down

0 comments on commit 9a7a592

Please sign in to comment.