Add german translation

This commit is contained in:
Elias Projahn 2023-06-28 15:00:03 +02:00
parent d78ebe5cad
commit 9e39c9283a
5 changed files with 82 additions and 4 deletions

View file

@ -0,0 +1 @@
de

View file

@ -1,4 +1,4 @@
data/de.johrpan.musicus.desktop.in data/de.johrpan.musicus.desktop.in
data/de.johrpan.musicus.appdata.xml.in data/de.johrpan.musicus.appdata.xml.in
data/de.johrpan.musicus.gschema.xml data/de.johrpan.musicus.gschema.xml
src/window.ui src/window.blp

39
po/de.po Normal file
View file

@ -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.
# <elias@johrpan.de>, 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: <elias@johrpan.de>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\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"

38
po/template.pot Normal file
View file

@ -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 <EMAIL@ADDRESS>, 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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""

View file

@ -17,7 +17,7 @@ template $MusicusWindow : Adw.ApplicationWindow {
} }
Label label { Label label {
label: "Hello, World!"; label: _("Hello, World!");
vexpand: true; vexpand: true;
styles ["title-1"] styles ["title-1"]
} }
@ -26,11 +26,11 @@ template $MusicusWindow : Adw.ApplicationWindow {
menu primary_menu { menu primary_menu {
item { item {
label: "_Preferences"; label: _("_Preferences");
action: "app.preferences"; action: "app.preferences";
} }
item { item {
label: "_About Musicus"; label: _("_About Musicus");
action: "app.about"; action: "app.about";
} }
} }