diff --git a/translations/pot/command-line.pot b/translations/pot/command-line.pot index c452ac5..01569ed 100644 --- a/translations/pot/command-line.pot +++ b/translations/pot/command-line.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-22 23:02+0200\n" +"POT-Creation-Date: 2019-10-25 20:27+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/translations/pot/gds-render-gui.pot b/translations/pot/gds-render-gui.pot index 7d41a23..3f8cd5a 100644 --- a/translations/pot/gds-render-gui.pot +++ b/translations/pot/gds-render-gui.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-22 23:02+0200\n" +"POT-Creation-Date: 2019-10-25 20:27+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/translations/pot/main.pot b/translations/pot/main.pot index 5dbf53a..141a115 100644 --- a/translations/pot/main.pot +++ b/translations/pot/main.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-22 23:02+0200\n" +"POT-Creation-Date: 2019-10-25 20:27+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/translations/pot/po/de/widgets_activity-bar.po b/translations/pot/po/de/widgets_activity-bar.po new file mode 100644 index 0000000..3dca313 --- /dev/null +++ b/translations/pot/po/de/widgets_activity-bar.po @@ -0,0 +1,26 @@ +# German translations for gds-render package. +# Copyright (C) 2019 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Mario Hüttel , 2019. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-10-25 20:27+0200\n" +"PO-Revision-Date: 2019-10-25 20:27+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" + +#: ../widgets/activity-bar.c:105 +msgid "Ready" +msgstr "Bereit" + +#: ../widgets/activity-bar.c:111 +msgid "Working..." +msgstr "Berechnung aktiv..." diff --git a/translations/pot/widgets_activity-bar.pot b/translations/pot/widgets_activity-bar.pot new file mode 100644 index 0000000..9adf407 --- /dev/null +++ b/translations/pot/widgets_activity-bar.pot @@ -0,0 +1,26 @@ +# 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: 2019-10-25 20:27+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" + +#: ../widgets/activity-bar.c:105 +msgid "Ready" +msgstr "" + +#: ../widgets/activity-bar.c:111 +msgid "Working..." +msgstr "" diff --git a/widgets/activity-bar.c b/widgets/activity-bar.c index dccd9d0..ebeaebf 100644 --- a/widgets/activity-bar.c +++ b/widgets/activity-bar.c @@ -37,6 +37,7 @@ */ #include +#include /** @brief Opaque ActivityBar object. Not viewable outside this source file. */ struct _ActivityBar { @@ -101,13 +102,13 @@ ActivityBar *activity_bar_new() /* TODO: Complete this once the task list is fully implemented */ void activity_bar_set_ready(ActivityBar *bar) { - gtk_label_set_text(GTK_LABEL(bar->label), "Ready"); + gtk_label_set_text(GTK_LABEL(bar->label), _("Ready")); gtk_spinner_stop(GTK_SPINNER(bar->spinner)); } void activity_bar_set_busy(ActivityBar *bar, const char *text) { - gtk_label_set_text(GTK_LABEL(bar->label), (text ? text : "Working...")); + gtk_label_set_text(GTK_LABEL(bar->label), (text ? text : _("Working..."))); gtk_spinner_start(GTK_SPINNER(bar->spinner)); }