From 7ef45ace1db0f06e6561576d045bae2c878e12ad Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 5 Nov 2023 09:32:42 +0000 Subject: Add some hints for translators. --- po/Makefile | 2 +- po/qarepo.pot | 76 ++++++++++++++++++++++++++++++----------------------------- qarepo | 2 ++ 3 files changed, 42 insertions(+), 38 deletions(-) diff --git a/po/Makefile b/po/Makefile index d8bc7c9..9fbc4a7 100644 --- a/po/Makefile +++ b/po/Makefile @@ -17,7 +17,7 @@ all: $(NAME).pot $(POFILES) $(MOFILES) update: $(NAME).pot $(NAME).pot: $(PL_FILE) $(DT_FILE) - xgettext --language=perl --keyword=__ --output tmp1.pot $(PL_FILE) + xgettext --language=perl --keyword=__ --add-comments=PO: --output tmp1.pot $(PL_FILE) intltool-update --pot --gettext-package tmp2 msgcat --use-first tmp1.pot tmp2.pot > $@ @rm -r tmp*.pot diff --git a/po/qarepo.pot b/po/qarepo.pot index 1459480..39d69d3 100644 --- a/po/qarepo.pot +++ b/po/qarepo.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 17:40+0000\n" +"POT-Creation-Date: 2023-11-05 09:26+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -49,151 +49,153 @@ msgstr "" msgid "QA Repo:" msgstr "" -#: ../qarepo:109 +#. PO: abbreviation of "architecture", e.g. i586, x86_64 +#: ../qarepo:110 msgid "Arch:" msgstr "" -#: ../qarepo:112 +#: ../qarepo:113 msgid "RPMs:" msgstr "" -#: ../qarepo:117 +#: ../qarepo:118 msgid "Status:" msgstr "" -#: ../qarepo:120 +#: ../qarepo:121 msgid "Quit" msgstr "" -#: ../qarepo:121 +#: ../qarepo:122 msgid "Disable" msgstr "" -#: ../qarepo:122 ../qarepo:417 +#: ../qarepo:123 ../qarepo:419 msgid "Enable" msgstr "" -#: ../qarepo:123 +#: ../qarepo:124 msgid "Clear" msgstr "" -#: ../qarepo:124 ../qarepo:734 +#: ../qarepo:125 ../qarepo:736 msgid "Downgrade" msgstr "" -#: ../qarepo:130 +#: ../qarepo:131 msgid "" "fuzzy\n" "version" msgstr "" -#: ../qarepo:131 +#. PO: abbreviation of "add dependencies" +#: ../qarepo:133 msgid "" "add\n" "deps" msgstr "" -#: ../qarepo:252 +#: ../qarepo:254 msgid "Dismiss" msgstr "" -#: ../qarepo:329 +#: ../qarepo:331 msgid "This may enable unwanted packages to be installed." msgstr "" -#: ../qarepo:356 +#: ../qarepo:358 msgid "This may stop some packages from being downgraded." msgstr "" -#: ../qarepo:381 +#: ../qarepo:383 msgid "Some updates_testing media are enabled." msgstr "" -#: ../qarepo:382 +#: ../qarepo:384 msgid "Please disable these media and try again." msgstr "" -#: ../qarepo:415 +#: ../qarepo:417 msgid "Update" msgstr "" -#: ../qarepo:468 +#: ../qarepo:470 msgid "couldn't disable the local repository ['" msgstr "" -#: ../qarepo:479 +#: ../qarepo:481 msgid "couldn't enable the local repository ['" msgstr "" -#: ../qarepo:489 +#: ../qarepo:491 msgid "couldn't update the local repository ['" msgstr "" -#: ../qarepo:501 +#: ../qarepo:503 msgid "couldn't delete existing RPMs in the local repository" msgstr "" -#: ../qarepo:511 +#: ../qarepo:513 msgid "Updating" msgstr "" -#: ../qarepo:522 +#: ../qarepo:524 msgid "unsupported mirror URL type" msgstr "" -#: ../qarepo:571 +#: ../qarepo:573 msgid "couldn't delete the downloaded synthesis file [" msgstr "" -#: ../qarepo:591 +#: ../qarepo:593 msgid " was not found in the remote repository" msgstr "" -#: ../qarepo:617 +#: ../qarepo:619 msgid "couldn't delete the old pubkey in the local repository" msgstr "" -#: ../qarepo:642 +#: ../qarepo:644 msgid "failed to download all the files" msgstr "" -#: ../qarepo:645 +#: ../qarepo:647 msgid "failed to update hdlist" msgstr "" -#: ../qarepo:658 ../qarepo:665 +#: ../qarepo:660 ../qarepo:667 msgid "fetching " msgstr "" -#: ../qarepo:660 ../qarepo:673 +#: ../qarepo:662 ../qarepo:675 msgid "failed to download file [" msgstr "" -#: ../qarepo:679 +#: ../qarepo:681 msgid "failed to link to file [" msgstr "" -#: ../qarepo:692 +#: ../qarepo:694 msgid "no synthesis file found in the local repository" msgstr "" -#: ../qarepo:713 +#: ../qarepo:715 msgid "none of the listed packages are installed" msgstr "" -#: ../qarepo:735 +#: ../qarepo:737 msgid "The following command may be used to downgrade the listed packages:" msgstr "" -#: ../qarepo:742 +#: ../qarepo:744 msgid "Error" msgstr "" -#: ../qarepo:743 +#: ../qarepo:745 msgid "The following error(s) occurred:" msgstr "" -#: ../qarepo:751 +#: ../qarepo:753 msgid "ERROR: " msgstr "" diff --git a/qarepo b/qarepo index 91f2338..a8274f4 100644 --- a/qarepo +++ b/qarepo @@ -106,6 +106,7 @@ my $entry2 = Gtk3::Entry->new(); my $label3 = Gtk3::Label->new(__"QA Repo:"); my $entry3 = Gtk3::Entry->new(); +# PO: abbreviation of "architecture", e.g. i586, x86_64 my $label4 = Gtk3::Label->new(__"Arch:"); my $entry4 = Gtk3::ComboBoxText->new(); @@ -128,6 +129,7 @@ my $check1 = Gtk3::CheckButton->new_with_label("nonfree"); my $check2 = Gtk3::CheckButton->new_with_label("tainted"); my $check3 = Gtk3::CheckButton->new_with_label(__"fuzzy\nversion"); +# PO: abbreviation of "add dependencies" my $check4 = Gtk3::CheckButton->new_with_label(__"add\ndeps"); $window->set_title("QA Repo $version"); -- cgit v1.2.1