diff --git a/po/LINGUAS b/po/LINGUAS index e69de29..c42e816 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -0,0 +1 @@ +de \ No newline at end of file diff --git a/po/POTFILES b/po/POTFILES index 4f03540..d5a0c89 100644 --- a/po/POTFILES +++ b/po/POTFILES @@ -1,4 +1,4 @@ data/de.johrpan.musicus.desktop.in data/de.johrpan.musicus.appdata.xml.in data/de.johrpan.musicus.gschema.xml -src/window.ui +src/window.blp diff --git a/po/de.po b/po/de.po new file mode 100644 index 0000000..46e4cbc --- /dev/null +++ b/po/de.po @@ -0,0 +1,39 @@ +# German translations for PACKAGE package +# German translation for PACKAGE. +# Copyright (C) 2023 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-06-28 14:50+0200\n" +"PO-Revision-Date: 2023-06-28 14:58+0200\n" +"Last-Translator: \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: data/de.johrpan.musicus.desktop.in:3 +msgid "musicus" +msgstr "" + +#: data/de.johrpan.musicus.appdata.xml.in:7 +msgid "No description" +msgstr "" + +#: src/window.blp:20 +msgid "Hello, World!" +msgstr "Hallo, Welt!" + +#: src/window.blp:29 +msgid "_Preferences" +msgstr "_Einstellungen" + +#: src/window.blp:33 +msgid "_About Musicus" +msgstr "_Über Musicus" diff --git a/po/template.pot b/po/template.pot new file mode 100644 index 0000000..036a2ee --- /dev/null +++ b/po/template.pot @@ -0,0 +1,38 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-06-28 14:50+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: data/de.johrpan.musicus.desktop.in:3 +msgid "musicus" +msgstr "" + +#: data/de.johrpan.musicus.appdata.xml.in:7 +msgid "No description" +msgstr "" + +#: src/window.blp:20 +msgid "Hello, World!" +msgstr "" + +#: src/window.blp:29 +msgid "_Preferences" +msgstr "" + +#: src/window.blp:33 +msgid "_About Musicus" +msgstr "" diff --git a/src/window.blp b/src/window.blp index 7c7a9f2..97bd416 100644 --- a/src/window.blp +++ b/src/window.blp @@ -17,7 +17,7 @@ template $MusicusWindow : Adw.ApplicationWindow { } Label label { - label: "Hello, World!"; + label: _("Hello, World!"); vexpand: true; styles ["title-1"] } @@ -26,11 +26,11 @@ template $MusicusWindow : Adw.ApplicationWindow { menu primary_menu { item { - label: "_Preferences"; + label: _("_Preferences"); action: "app.preferences"; } item { - label: "_About Musicus"; + label: _("_About Musicus"); action: "app.about"; } } \ No newline at end of file