From b2b908e0362e9900251b97147d54e4a6a27dc8df Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 22 Jul 2017 08:54:30 +0200 Subject: adding comments for translators --- po/Makefile | 2 +- po/mageiawelcome.pot | 132 ++++++++++++++++--------------- usr/share/mageiawelcome/mageiawelcome.py | 2 + 3 files changed, 70 insertions(+), 66 deletions(-) diff --git a/po/Makefile b/po/Makefile index 004c14f..f8baee1 100644 --- a/po/Makefile +++ b/po/Makefile @@ -16,7 +16,7 @@ clean: pot: cat ../usr/share/applications/$(PACKAGE_NAME).desktop.in | grep _ | cut -d "=" --fields=2 | sed 's|^|_("|g' | sed 's|$$|")|g' > ../usr/share/applications/$(PACKAGE_NAME).desktop.tmp - xgettext --copyright-holder='Daniel Napora ' --package-name=mageiawelcome --from-code=UTF-8 \ + xgettext --copyright-holder='Daniel Napora ' --package-name=mageiawelcome --from-code=UTF-8 --add-comments \ -L Python --msgid-bugs-address=http://bugs.mageia.org -o $(PACKAGE_NAME).pot ../usr/share/mageiawelcome/mageiawelcome.py ../usr/share/mageiawelcome/helpers.py ../usr/share/applications/$(PACKAGE_NAME).desktop.tmp rm -f ../usr/share/applications/$(PACKAGE_NAME).desktop.tmp sed -i "s|desktop.tmp|desktop.in|g" $(PACKAGE_NAME).pot diff --git a/po/mageiawelcome.pot b/po/mageiawelcome.pot index fe0b9d3..94bb5f3 100644 --- a/po/mageiawelcome.pot +++ b/po/mageiawelcome.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: mageiawelcome\n" "Report-Msgid-Bugs-To: http://bugs.mageia.org\n" -"POT-Creation-Date: 2017-07-22 08:29+0200\n" +"POT-Creation-Date: 2017-07-22 08:50+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -77,7 +77,7 @@ msgid "Documentation" msgstr "" #: ../usr/share/mageiawelcome/mageiawelcome.py:88 -#: ../usr/share/mageiawelcome/mageiawelcome.py:101 +#: ../usr/share/mageiawelcome/mageiawelcome.py:102 msgid "https://wiki.mageia.org/en/Documentation" msgstr "" @@ -85,157 +85,159 @@ msgstr "" msgid "New Features" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:90 +#. the {0} will be replaced by the release number +#: ../usr/share/mageiawelcome/mageiawelcome.py:91 #, python-brace-format msgid "https://doc.mageia.org/mcc/{0}/en/content/index.html" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:91 +#: ../usr/share/mageiawelcome/mageiawelcome.py:92 msgid "Release Notes" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:92 +#: ../usr/share/mageiawelcome/mageiawelcome.py:93 msgid "https://wiki.mageia.org/en/Mageia_6_Release_Notes" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:93 +#: ../usr/share/mageiawelcome/mageiawelcome.py:94 msgid "Errata" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:94 +#: ../usr/share/mageiawelcome/mageiawelcome.py:95 msgid "https://wiki.mageia.org/en/Mageia_6_Errata" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:95 +#: ../usr/share/mageiawelcome/mageiawelcome.py:96 msgid "Newcomers Howto" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:96 +#: ../usr/share/mageiawelcome/mageiawelcome.py:97 msgid "https://wiki.mageia.org/en/Newcomers_start_here" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:97 +#: ../usr/share/mageiawelcome/mageiawelcome.py:98 msgid "Support" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:98 +#: ../usr/share/mageiawelcome/mageiawelcome.py:99 msgid "Forums" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:99 +#: ../usr/share/mageiawelcome/mageiawelcome.py:100 msgid "https://forums.mageia.org/en/" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:100 +#: ../usr/share/mageiawelcome/mageiawelcome.py:101 msgid "Wiki" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:102 +#: ../usr/share/mageiawelcome/mageiawelcome.py:103 msgid "Chat Room" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:103 +#: ../usr/share/mageiawelcome/mageiawelcome.py:104 msgid "Bugzilla" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:104 +#: ../usr/share/mageiawelcome/mageiawelcome.py:105 msgid "Community" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:105 +#: ../usr/share/mageiawelcome/mageiawelcome.py:106 msgid "Community Center" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:106 +#: ../usr/share/mageiawelcome/mageiawelcome.py:107 msgid "Contribute" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:107 +#: ../usr/share/mageiawelcome/mageiawelcome.py:108 msgid "Donations" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:108 +#: ../usr/share/mageiawelcome/mageiawelcome.py:109 msgid "Join us!" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:109 +#: ../usr/share/mageiawelcome/mageiawelcome.py:110 msgid "" "Mageia Control Center (aka drakconf) is a set of tools to help you configure " "your system" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:110 +#: ../usr/share/mageiawelcome/mageiawelcome.py:111 msgid "Software Management" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:111 +#. the {0} will be replaced by the release number +#: ../usr/share/mageiawelcome/mageiawelcome.py:113 #, python-brace-format msgid "https://doc.mageia.org/mcc/{0}/en/content/software-management.html" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:112 +#: ../usr/share/mageiawelcome/mageiawelcome.py:114 msgid "Online administration" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:113 +#: ../usr/share/mageiawelcome/mageiawelcome.py:115 msgid "Hardware" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:114 +#: ../usr/share/mageiawelcome/mageiawelcome.py:116 msgid "Network & Internet" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:115 -#: ../usr/share/mageiawelcome/mageiawelcome.py:146 +#: ../usr/share/mageiawelcome/mageiawelcome.py:117 +#: ../usr/share/mageiawelcome/mageiawelcome.py:148 msgid "System" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:116 +#: ../usr/share/mageiawelcome/mageiawelcome.py:118 msgid "Network Sharing" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:117 +#: ../usr/share/mageiawelcome/mageiawelcome.py:119 msgid "Local Disks" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:118 +#: ../usr/share/mageiawelcome/mageiawelcome.py:120 msgid "Security" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:119 +#: ../usr/share/mageiawelcome/mageiawelcome.py:121 msgid "Boot" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:120 +#: ../usr/share/mageiawelcome/mageiawelcome.py:122 msgid "Administrator password is needed" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:121 +#: ../usr/share/mageiawelcome/mageiawelcome.py:123 msgid "User password is needed" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:122 +#: ../usr/share/mageiawelcome/mageiawelcome.py:124 msgid "Configure media sources ..." msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:123 +#: ../usr/share/mageiawelcome/mageiawelcome.py:125 msgid "Mageia official repositories contain:" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:124 +#: ../usr/share/mageiawelcome/mageiawelcome.py:126 msgid "" "core - the free-open-source packages, i.e. " "software licensed under a free-open-source license" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:125 +#: ../usr/share/mageiawelcome/mageiawelcome.py:127 msgid "" "non-free - some programs which are not free, " "or closed source. For example this repository includes Nvidia and ATI " "graphics card proprietary drivers, firmware for various WiFi cards, etc" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:126 +#: ../usr/share/mageiawelcome/mageiawelcome.py:128 msgid "" "tainted - includes packages released under a " "free license. However, they may infringe on patents and copyright laws in " @@ -243,110 +245,110 @@ msgid "" "files; packages needed to play commercial video DVD, etc. " msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:127 +#: ../usr/share/mageiawelcome/mageiawelcome.py:129 msgid "Note! non-free and tainted are not enabled by default." msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:128 +#: ../usr/share/mageiawelcome/mageiawelcome.py:130 msgid "Edit software sources" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:129 +#: ../usr/share/mageiawelcome/mageiawelcome.py:131 msgid "... and update system" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:130 +#: ../usr/share/mageiawelcome/mageiawelcome.py:132 msgid "Check system updates" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:131 +#: ../usr/share/mageiawelcome/mageiawelcome.py:133 msgid "GUI - RPMDrake" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:132 +#: ../usr/share/mageiawelcome/mageiawelcome.py:134 msgid "" "Rpmdrake is a program for installing, " "uninstalling and updating packages. It is the graphical user interface of " "urpmi" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:133 +#: ../usr/share/mageiawelcome/mageiawelcome.py:135 msgid "read more (wiki)" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:134 +#: ../usr/share/mageiawelcome/mageiawelcome.py:136 msgid "https://wiki.mageia.org/en/URPMI" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:135 +#: ../usr/share/mageiawelcome/mageiawelcome.py:137 msgid "RPMdrake" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:136 +#: ../usr/share/mageiawelcome/mageiawelcome.py:138 msgid "URPMI - from command line" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:137 +#: ../usr/share/mageiawelcome/mageiawelcome.py:139 msgid "Terminal" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:138 +#: ../usr/share/mageiawelcome/mageiawelcome.py:140 msgid "This is just small selection of popular packages, for more run" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:139 +#: ../usr/share/mageiawelcome/mageiawelcome.py:141 msgid "Featured" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:140 +#: ../usr/share/mageiawelcome/mageiawelcome.py:142 msgid "Games" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:141 +#: ../usr/share/mageiawelcome/mageiawelcome.py:143 msgid "Internet" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:142 +#: ../usr/share/mageiawelcome/mageiawelcome.py:144 msgid "Video" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:143 +#: ../usr/share/mageiawelcome/mageiawelcome.py:145 msgid "Audio" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:144 +#: ../usr/share/mageiawelcome/mageiawelcome.py:146 msgid "Office" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:145 +#: ../usr/share/mageiawelcome/mageiawelcome.py:147 msgid "Graphics" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:147 +#: ../usr/share/mageiawelcome/mageiawelcome.py:149 msgid "Programming" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:148 +#: ../usr/share/mageiawelcome/mageiawelcome.py:150 msgid "Selected packages:" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:149 +#: ../usr/share/mageiawelcome/mageiawelcome.py:151 msgid "Install selected" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:150 +#: ../usr/share/mageiawelcome/mageiawelcome.py:152 msgid "You can always launch MageiaWelcome from menu" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:152 +#: ../usr/share/mageiawelcome/mageiawelcome.py:154 msgid "Applications" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:155 +#: ../usr/share/mageiawelcome/mageiawelcome.py:157 msgid "Be sure you have enabled online repositories" msgstr "" -#: ../usr/share/mageiawelcome/mageiawelcome.py:167 +#: ../usr/share/mageiawelcome/mageiawelcome.py:169 msgid "About" msgstr "" diff --git a/usr/share/mageiawelcome/mageiawelcome.py b/usr/share/mageiawelcome/mageiawelcome.py index edda2e9..4c7263e 100644 --- a/usr/share/mageiawelcome/mageiawelcome.py +++ b/usr/share/mageiawelcome/mageiawelcome.py @@ -87,6 +87,7 @@ def main(): l['h_documentation'] = _("Documentation") l['h_documentation_url'] = _("https://wiki.mageia.org/en/Documentation") l['features'] = _("New Features") + # the {0} will be replaced by the release number l['mcc_url'] = _("https://doc.mageia.org/mcc/{0}/en/content/index.html").format(release_nb) l['relnotes'] = _("Release Notes") l['relnotes_url'] = _("https://wiki.mageia.org/en/Mageia_6_Release_Notes") @@ -108,6 +109,7 @@ def main(): l['joinus'] = _("Join us!") l['mccdesc'] = _("Mageia Control Center (aka drakconf) is a set of tools to help you configure your system") l['SM'] = _("Software Management") + # the {0} will be replaced by the release number l['SM_url'] = _("https://doc.mageia.org/mcc/{0}/en/content/software-management.html").format(release_nb) l['Oa'] = _("Online administration") l['H'] = _("Hardware") -- cgit v1.2.1