From: Arvin Schnell Date: Thu, 3 Sep 2020 15:53:53 +0000 (+0200) Subject: - also parse some header files for messages X-Git-Tag: v0.8.14~25^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F559%2Fhead;p=thirdparty%2Fsnapper.git - also parse some header files for messages --- diff --git a/po/Makefile.am b/po/Makefile.am index f003628d..1796d6eb 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -6,7 +6,7 @@ XGETTEXT = xgettext MSGFMT = msgfmt MSGMERGE = msgmerge -SRCFILES = $(wildcard ../client/*.cc ../client/utils/*.cc) +SRCFILES = $(wildcard ../client/*.cc ../client/*.h ../client/utils/*.cc) POFILES = $(wildcard *.po) @@ -17,7 +17,7 @@ all: $(MOFILES) $(PACKAGE).pot: $(SRCFILES) $(XGETTEXT) --sort-output --no-wrap --add-comments --no-location \ --keyword=_ --keyword=_:1,2 --foreign-user \ - --copyright-holder="SUSE Linux GmbH, Nuernberg" \ + --copyright-holder="SUSE LLC, Nuernberg" \ --default-domain=$(PACKAGE) --output=$(PACKAGE).pot $(SRCFILES) %.mo: %.po diff --git a/po/snapper.pot b/po/snapper.pot index b80f4982..3cf31d17 100644 --- a/po/snapper.pot +++ b/po/snapper.pot @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR SUSE Linux GmbH, Nuernberg +# Copyright (C) YEAR SUSE LLC, Nuernberg # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-09-01 09:04+0200\n" +"POT-Creation-Date: 2020-09-03 17:51+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -240,6 +240,20 @@ msgstr "" msgid " Undo changes:" msgstr "" +#. TRANSLATORS: used to construct list of values +#. %1$s is replaced by first value +#. %2$s is replaced by second value +#, c-format +msgid "%1$s or %2$s" +msgstr "" + +#. TRANSLATORS: used to construct list of values +#. %1$s is replaced by first value +#. %2$s is replaced by second value +#, c-format +msgid "%1$s, %2$s" +msgstr "" + #, c-format msgid "(Snapshot %d.)" msgstr "" @@ -456,7 +470,7 @@ msgid "Invalid group." msgstr "" #, c-format -msgid "Invalid machine readable format %s." +msgid "Invalid machine readable format '%s'." msgstr "" #, c-format @@ -588,12 +602,10 @@ msgstr "" msgid "Unknown type '%s'." msgstr "" +#. TRANSLATORS: a list of possible values +#. %1$s is replaced by list of possible values #, c-format -msgid "Use %s, %s or %s." -msgstr "" - -#, c-format -msgid "Use %s, %s, %s or %s." +msgid "Use %1$s." msgstr "" #, c-format