Hello community,
here is the log from the commit of package arandr for openSUSE:Factory checked in at 2016-03-03 15:16:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/arandr (Old)
and /work/SRC/openSUSE:Factory/.arandr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "arandr"
Changes:
--------
--- /work/SRC/openSUSE:Factory/arandr/arandr.changes 2015-08-01 11:34:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.arandr.new/arandr.changes 2016-03-03 15:16:29.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Mar 2 12:44:22 UTC 2016 - mvetter@suse.com
+
+- Update to version 0.1.9:
+ * XRandR version 1.5 is accepted
+ * Translations were added (Albanian) and updated
+
+-------------------------------------------------------------------
Old:
----
arandr-0.1.8.tar.gz
New:
----
arandr-0.1.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ arandr.spec ++++++
--- /var/tmp/diff_new_pack.5nzHtD/_old 2016-03-03 15:16:30.000000000 +0100
+++ /var/tmp/diff_new_pack.5nzHtD/_new 2016-03-03 15:16:30.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package arandr
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser
# Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany
#
@@ -19,7 +19,7 @@
Name: arandr
-Version: 0.1.8
+Version: 0.1.9
Release: 0
Summary: Visual Front End for XRandR
License: GPL-3.0
++++++ arandr-0.1.8.tar.gz -> arandr-0.1.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/ChangeLog new/arandr-0.1.9/ChangeLog
--- old/arandr-0.1.8/ChangeLog 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/ChangeLog 2016-02-24 13:47:08.000000000 +0100
@@ -1,4 +1,63 @@
-commit 465df4eb26979ccfbcd747755c95e26c0500d6ab (HEAD, master)
+commit 790cd346bbd57426930a2b3beb654cf3a39712fd (HEAD -> master)
+Author: chrysn
+Date: Wed Feb 24 13:46:20 2016 +0100
+
+ ready for release 0.1.9
+
+commit 655ba80b7123acb327244cd891add32a6dea552c
+Merge: 05e9175 9110440
+Author: chrysn
+Date: Wed Feb 24 13:38:39 2016 +0100
+
+ Update copyright notes, acknowledge new translators
+
+ This is now done semi-automatically, supported by setup.py
+
+commit 05e9175affefbea12f11ad93510ca40025176dec
+Merge: 204b9f0 2394f0f
+Author: chrysn
+Date: Wed Feb 24 10:12:27 2016 +0100
+
+ Add xrandr 1.5 to the list of supported versions
+
+ This does not include GUI for xrandr's new features, but the classical
+ XRandR features are unaffected.
+
+commit 204b9f0925f1cfd787bf2199a320ba1be208fd15
+Merge: f59a06c da6d617
+Author: chrysn
+Date: Wed Feb 24 10:06:58 2016 +0100
+
+ README / Website updates
+
+commit f59a06c3ebe0c65696fdfddbbb69cac8630a9ccb
+Merge: 465df4e 7b81d62
+Author: chrysn
+Date: Wed Feb 24 10:02:54 2016 +0100
+
+ New translations from weblate after introducing new string
+
+ New languages:
+
+ * Albanian (sq)
+
+ Updates:
+
+ * Danish (da)
+ * Ukrainian (uk)
+
+ Covering new strings:
+
+ * Catalan (ca)
+ * Russian ru)
+ * Spanish (es)
+ * Polish (pl)
+ * Persian (fa)
+ * Estonian (et)
+ * Chinese (China; zh_CN)
+ * Dutch (nl)
+
+commit 465df4eb26979ccfbcd747755c95e26c0500d6ab (origin/translations, origin/master, translations)
Author: chrysn
Date: Fri Jun 26 11:02:46 2015 +0200
@@ -26,7 +85,7 @@
Update translator acknowledgements in credits
-commit 500f021bf5b87a4fe08765732bf82e3d34c58aea (origin/master)
+commit 500f021bf5b87a4fe08765732bf82e3d34c58aea
Merge: 67093a8 2e6cffa
Author: chrysn
Date: Fri Jun 26 09:23:45 2015 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/NEWS new/arandr-0.1.9/NEWS
--- old/arandr-0.1.8/NEWS 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/NEWS 2016-02-24 13:47:08.000000000 +0100
@@ -1,3 +1,9 @@
+Version 0.1.9
+* Support xrandr 1.5.0
+* New translations:
+ - Albanian
+* Updated translations
+
Version 0.1.8
* Allow setting the primary output
* New translations:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/README new/arandr-0.1.9/README
--- old/arandr-0.1.8/README 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/README 2016-02-24 13:47:08.000000000 +0100
@@ -58,9 +58,9 @@
* the `latest release`_::
- wget http://christian.amsuess.com/tools/arandr/files/arandr-0.1.8.tar.gz
- tar xzf arandr-0.1.8.tar.gz
- cd arandr-0.1.8
+ wget http://christian.amsuess.com/tools/arandr/files/arandr-0.1.9.tar.gz
+ tar xzf arandr-0.1.9.tar.gz
+ cd arandr-0.1.9
* or get it directly from GIT (`hosted on alioth`_)::
@@ -95,6 +95,22 @@
* For general discussion, you can `subscribe to the general discussion list`_ .
* To stay informed about new releases, `subscribe to the announce list`_ .
+Ongoing development
+-------------------
+
+An overhauled version of ARandR is in the works in the `verbose` and `gtk3` branches found in the git repository. Feature parity with the current releases has not been reached, but some interesting features are already implemented:
+
+* Parsing of the complete `--verbose` output, including properties
+* Setting refresh rates
+* Switch to Python 3 and GTK 3
+* Auto-discovery of DISPLAY in remote contexts
+* Simulation and regression test infrastructure
+
+Features targetted for the first release from the new branch:
+
+* Setting properties
+* Parsing EDID information
+
Similar projects
----------------
@@ -131,48 +147,49 @@
About
-----
-Copyright © chrysn_ 2008–2015, Себастьян Gli ţa Κατινα 2011, Johannes Holmberg 2015 published under GPLv3_ or any later version.
+Copyright © chrysn_ 2008–2016, Себастьян Gli ţa Κατινα 2011, Johannes Holmberg 2015 published under GPLv3_ or any later version.
Inspired by the `dual head sketch`_ in the ThinkWiki_.
Translations by
-* Quizzlo (Italian)
-* Phantom X, Fred Maranhão (Brazilian)
-* Joe Hansen (Danish)
-* gundachandru (Kannada)
-* HsH, Ivan Vantu5z (Russian)
-* Clément Démoulins, Bruno Patri, Tuux (French)
-* RooTer, Piotr Strebski (Polish)
-* Mohammad Alhargan, aboodilankaboot (Arabic)
-* Mehmet Gülmen (Turkish)
-* Ricardo A. Hermosilla Carrillo (Spanish)
-* el_libre (Catalan)
-* Carezero (Chinese)
-* wimfeijen (Dutch)
-* Себастьян Gli ţa Κατινα (Romanian)
-* Slavko (Slovak)
+* Algimantas Margevičius, Mantas Kriaučiūnas (Lithuanian)
* Alireza Savand, reza khan (Persian)
+* Bakr Al-Tamimi, Mohammad Alhargan, aboodilankaboot (Arabic)
+* Balázs Úr, Tamás Nagy (Hungarian)
* Belvar (Breton)
-* Algimantas Margevičius (Lithuanian)
-* Miguel Anxo Bouzada (Galician, Spanish)
-* o-157 (Japanese)
+* Bruno_Patri, Clément Démoulins, Tuux (French)
+* Carezero, ChuChangMing (Chinese (China))
+* Denis Jukni (Albanian)
+* Dimitris Giouroukis, Efstathios Iosifidis (Greek)
+* Fred Maranhão, Guilherme Souza Silva, Phantom X (Portuguese (Brazil))
+* HsH, Ivan Vantu5z, Vladimir (Russian)
+* Igor, Olexandr Nesterenko, Rax Garfield (Ukrainian)
* Ingemar Karlsson (Swedish)
-* Semsudin Abdic (Bosnian)
-* Rax Garfield, Igor (Ukrainian)
-* Tamás Nagy, Balázs Úr (Hungarian)
-* Mantas Kriaučiūnas (Lithuanian)
-* Dimitris Giouroukis, Efstathios Iosifidis (Greek)
-* ParkJS, cho bkwon (Korean)
-* Lu Ca (Sardinian)
+* Joe Hansen, Sebastian Wahl (Danish)
* Kristjan Räts (Estonian)
-* Michal Čihař (Czech, fixes in other languages, translation infrastructure)
-* chrysn (German, English)
+* Lu Ca (Portuguese (Brazil), Sardinian)
+* Luca Vetturi, Quizzlo (Italian)
+* Luis García Sevillano, Ricardo A. Hermosilla Carrillo (Spanish)
+* Mehmet Gülmen (Turkish)
+* Michal Čihař (Czech)
+* Miguel Anxo Bouzada (Galician, Spanish)
+* ParkJS, cho bkwon, pCsOrI (Korean (Korea, Republic of))
+* Piotr Strebski, RooTer, agilob (Polish)
+* Semsudin Abdic (Bosnian)
+* Slavko (Slovak)
+* Slobodan Simić (Serbian)
+* chrysn (English, German)
+* el_libre, josep constanti (Catalan)
+* gundachandru (Kannada)
+* ikmaak, wimfeijen (Dutch)
+* o-157 (Japanese)
+* Себастьян Gli ţa Κατινα (Romanian)
.. _XRandR: http://www.x.org/wiki/Projects/XRandR
.. _xsetwacom: http://linuxwacom.sourceforge.net/index.php/howto/xsetwacom
- .. _`latest release`: http://christian.amsuess.com/tools/arandr/files/arandr-0.1.8.tar.gz
+ .. _`latest release`: http://christian.amsuess.com/tools/arandr/files/arandr-0.1.9.tar.gz
.. _archlinux: http://www.archlinux.org/packages/community/any/arandr/
.. _chrysn: http://christian.amsuess.com
.. _GPLv3: http://www.gnu.org/licenses/gpl-3.0.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/ca.po new/arandr-0.1.9/data/po/ca.po
--- old/arandr-0.1.8/data/po/ca.po 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/data/po/ca.po 2016-02-24 13:47:08.000000000 +0100
@@ -8,13 +8,16 @@
"Project-Id-Version: arandr 0.1.2\n"
"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
"POT-Creation-Date: 2015-05-21 10:02+0200\n"
-"PO-Revision-Date: 2010-10-17 12:23+0100\n"
-"Last-Translator: el_libre - - www.catmidia.cat \n"
-"Language-Team: LANGUAGE \n"
-"Language: \n"
+"PO-Revision-Date: 2015-07-20 14:21+0200\n"
+"Last-Translator: josep constanti \n"
+"Language-Team: Catalan "
+"https://hosted.weblate.org/projects/arandr/translations/ca/\n"
+"Language: ca\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"
+"X-Generator: Weblate 2.4-dev\n"
#: screenlayout/gui.py:117
msgid "_Layout"
@@ -174,7 +177,7 @@
#: screenlayout/widget.py:335
msgid "Primary"
-msgstr ""
+msgstr "Primari"
#: screenlayout/widget.py:349
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/da.po new/arandr-0.1.9/data/po/da.po
--- old/arandr-0.1.8/data/po/da.po 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/data/po/da.po 2016-02-24 13:47:08.000000000 +0100
@@ -10,17 +10,20 @@
"Project-Id-Version: arandr 0.1.2\n"
"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
"POT-Creation-Date: 2015-05-21 10:02+0200\n"
-"PO-Revision-Date: 2010-04-23 17:30+01:00\n"
-"Last-Translator: Joe Hansen \n"
-"Language-Team: Danish \n"
+"PO-Revision-Date: 2015-08-05 20:24+0200\n"
+"Last-Translator: Sebastian Wahl \n"
+"Language-Team: Danish "
+"https://hosted.weblate.org/projects/arandr/translations/da/\n"
"Language: da\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"
+"X-Generator: Weblate 2.4-dev\n"
#: screenlayout/gui.py:117
msgid "_Layout"
-msgstr "_Udseende"
+msgstr "_Opsætning"
#: screenlayout/gui.py:128
msgid "_View"
@@ -40,7 +43,7 @@
#: screenlayout/gui.py:134
msgid "_Keybindings (Metacity)"
-msgstr "_Nøgletildelinger (Metacity)"
+msgstr "_Tastaturgenveje (Metacity)"
#: screenlayout/gui.py:136
msgid "_Help"
@@ -77,11 +80,11 @@
#: screenlayout/gui.py:227
msgid "Open Layout"
-msgstr "Åbn udseende"
+msgstr "Åbn Opsætning"
#: screenlayout/gui.py:239
msgid "Save Layout"
-msgstr "Gem udseende"
+msgstr "Gem Opsætning"
# skærmudseende. Muligvis er "skærmopsætning" mere dækkende. XRandR,
# som ARandR vist er en grænseflade til, styrer skærmopløsning, rotation osv.
@@ -98,7 +101,7 @@
#: screenlayout/metacity.py:53
msgid "Accelerator"
-msgstr "Accelerator"
+msgstr "Genvejstast"
#: screenlayout/metacity.py:54
msgid "Action"
@@ -110,7 +113,7 @@
#: screenlayout/metacity.py:135
msgid "New accelerator..."
-msgstr "Ny accelerator..."
+msgstr "Ny genvejstast..."
#: screenlayout/metacity.py:192
msgid "no action"
@@ -127,11 +130,11 @@
#: screenlayout/metacity.py:255
#, python-format
msgid "No files in %(folder)r. Save a layout first."
-msgstr "Ingen filer i %(folder)r. Gem et udseende først."
+msgstr "Ingen filer i %(folder)r. Gem en opsætning først."
#: screenlayout/metacity.py:284
msgid "gconf not available."
-msgstr "gconf ikke tilgængelig."
+msgstr "gconf er ikke tilgængelig."
#: screenlayout/metacity.py:285
msgid ""
@@ -143,7 +146,7 @@
#: screenlayout/metacity.py:292
msgid "Keybindings (via Metacity)"
-msgstr "Nøgletildelinger (via Metacity)"
+msgstr "Tastaturgenveje (via Metacity)"
#: screenlayout/metacity.py:305
msgid ""
@@ -157,8 +160,8 @@
msgstr ""
"Klik på en knap i den venstre kolonne og tryk på en tastekombination du "
"ønsker at tildele til et bestemt skærmopsætning. (Brug Slet tilbage for at "
-"rydde acceleratorer, escape for at fortryde redigering.) Vælg så et eller "
-"flere udseender i den højre kolonne.\n"
+"rydde acceleratorer, escape for at fortryde redigering.) Vælg så en eller "
+"flere opsætninger i den højre kolonne.\n"
"\n"
"Dette vil kun virke, hvis du bruger metacity eller et andet program, der "
"læser metacitys konfiguration."
@@ -168,8 +171,8 @@
"Your configuration does not include an active monitor. Do you want to apply "
"the configuration?"
msgstr ""
-"Din konfiguration inkluderer ikke nogen aktiv overvågning. Ønsker du at "
-"anvende konfigurationen?"
+"Din konfiguration inkluderer ikke nogen aktiv skærm. Ønsker du at anvende "
+"konfigurationen?"
#: screenlayout/widget.py:327
msgid "Active"
@@ -177,7 +180,7 @@
#: screenlayout/widget.py:335
msgid "Primary"
-msgstr ""
+msgstr "Primær"
#: screenlayout/widget.py:349
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/es.po new/arandr-0.1.9/data/po/es.po
--- old/arandr-0.1.8/data/po/es.po 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/data/po/es.po 2016-02-24 13:47:08.000000000 +0100
@@ -8,13 +8,16 @@
"Project-Id-Version: arandr 0.1.2\n"
"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
"POT-Creation-Date: 2015-05-21 10:02+0200\n"
-"PO-Revision-Date: 2011-12-09 23:52+0000\n"
-"Last-Translator: Miguel Anxo Bouzada \n"
-"Language-Team: SPANISH \n"
-"Language: \n"
+"PO-Revision-Date: 2015-08-27 17:11+0200\n"
+"Last-Translator: Luis García Sevillano \n"
+"Language-Team: Spanish "
+"https://hosted.weblate.org/projects/arandr/translations/es/\n"
+"Language: es\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"
+"X-Generator: Weblate 2.4-dev\n"
#: screenlayout/gui.py:117
msgid "_Layout"
@@ -173,7 +176,7 @@
#: screenlayout/widget.py:335
msgid "Primary"
-msgstr ""
+msgstr "Principal"
#: screenlayout/widget.py:349
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/et.po new/arandr-0.1.9/data/po/et.po
--- old/arandr-0.1.8/data/po/et.po 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/data/po/et.po 2016-02-24 13:47:08.000000000 +0100
@@ -8,16 +8,16 @@
"Project-Id-Version: arandr 0.1.4\n"
"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
"POT-Creation-Date: 2015-05-21 10:02+0200\n"
-"PO-Revision-Date: 2014-11-27 15:00+0200\n"
+"PO-Revision-Date: 2015-11-09 09:19+0000\n"
"Last-Translator: Kristjan Räts \n"
-"Language-Team: Estonian <https://hosted.weblate.org/projects/arandr/"
-"translations/et/>\n"
+"Language-Team: Estonian "
+"https://hosted.weblate.org/projects/arandr/translations/et/\n"
"Language: et\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"
-"X-Generator: Weblate 2.1-dev\n"
+"X-Generator: Weblate 2.5-dev\n"
#: screenlayout/gui.py:117
msgid "_Layout"
@@ -174,7 +174,7 @@
#: screenlayout/widget.py:335
msgid "Primary"
-msgstr ""
+msgstr "Primaarne"
#: screenlayout/widget.py:349
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/fa.po new/arandr-0.1.9/data/po/fa.po
--- old/arandr-0.1.8/data/po/fa.po 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/data/po/fa.po 2016-02-24 13:47:08.000000000 +0100
@@ -9,16 +9,16 @@
"Project-Id-Version: ARandR\n"
"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
"POT-Creation-Date: 2015-05-21 10:02+0200\n"
-"PO-Revision-Date: 2014-06-29 03:33+0200\n"
+"PO-Revision-Date: 2015-11-08 22:00+0000\n"
"Last-Translator: reza khan \n"
-"Language-Team: Persian <https://hosted.weblate.org/projects/arandr/"
-"translations/fa/>\n"
+"Language-Team: Persian "
+"https://hosted.weblate.org/projects/arandr/translations/fa/\n"
"Language: fa\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"
-"X-Generator: Weblate 1.10-dev\n"
+"X-Generator: Weblate 2.5-dev\n"
#: screenlayout/gui.py:117
msgid "_Layout"
@@ -171,7 +171,7 @@
#: screenlayout/widget.py:335
msgid "Primary"
-msgstr ""
+msgstr "اصلی"
#: screenlayout/widget.py:349
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/nl.po new/arandr-0.1.9/data/po/nl.po
--- old/arandr-0.1.8/data/po/nl.po 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/data/po/nl.po 2016-02-24 13:47:08.000000000 +0100
@@ -8,14 +8,16 @@
"Project-Id-Version: ARandR\n"
"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
"POT-Creation-Date: 2015-05-21 10:02+0200\n"
-"PO-Revision-Date: 2011-01-02 11:24+0000\n"
-"Last-Translator: wimfeijen \n"
-"Language-Team: LANGUAGE \n"
+"PO-Revision-Date: 2015-12-08 03:04+0000\n"
+"Last-Translator: ikmaak \n"
+"Language-Team: Dutch "
+"https://hosted.weblate.org/projects/arandr/translations/nl/\n"
"Language: nl\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"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 2.5-dev\n"
#: screenlayout/gui.py:117
msgid "_Layout"
@@ -173,7 +175,7 @@
#: screenlayout/widget.py:335
msgid "Primary"
-msgstr ""
+msgstr "Primaire"
#: screenlayout/widget.py:349
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/pl.po new/arandr-0.1.9/data/po/pl.po
--- old/arandr-0.1.8/data/po/pl.po 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/data/po/pl.po 2016-02-24 13:47:08.000000000 +0100
@@ -7,17 +7,17 @@
"Project-Id-Version: arandr 0.1\n"
"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
"POT-Creation-Date: 2015-05-21 10:02+0200\n"
-"PO-Revision-Date: 2014-11-25 10:17+0200\n"
-"Last-Translator: Piotr Strebski \n"
-"Language-Team: Polish <https://hosted.weblate.org/projects/arandr/"
-"translations/pl/>\n"
+"PO-Revision-Date: 2015-09-13 11:39+0200\n"
+"Last-Translator: agilob \n"
+"Language-Team: Polish "
+"https://hosted.weblate.org/projects/arandr/translations/pl/\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"
-"X-Generator: Weblate 2.1-dev\n"
+"X-Generator: Weblate 2.4-dev\n"
#: screenlayout/gui.py:117
msgid "_Layout"
@@ -174,7 +174,7 @@
#: screenlayout/widget.py:335
msgid "Primary"
-msgstr ""
+msgstr "Pierwszy"
#: screenlayout/widget.py:349
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/ru.po new/arandr-0.1.9/data/po/ru.po
--- old/arandr-0.1.8/data/po/ru.po 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/data/po/ru.po 2016-02-24 13:47:08.000000000 +0100
@@ -7,17 +7,17 @@
"Project-Id-Version: arandr 0.1\n"
"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
"POT-Creation-Date: 2015-05-21 10:02+0200\n"
-"PO-Revision-Date: 2014-11-26 12:12+0200\n"
-"Last-Translator: Ivan Vantu5z \n"
-"Language-Team: Russian <https://hosted.weblate.org/projects/arandr/"
-"translations/ru/>\n"
+"PO-Revision-Date: 2015-08-16 08:29+0200\n"
+"Last-Translator: Vladimir \n"
+"Language-Team: Russian "
+"https://hosted.weblate.org/projects/arandr/translations/ru/\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
-"X-Generator: Weblate 2.1-dev\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
+"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 2.4-dev\n"
"X-Poedit-Language: Russian\n"
"X-Poedit-Country: RUSSIAN FEDERATION\n"
@@ -176,7 +176,7 @@
#: screenlayout/widget.py:335
msgid "Primary"
-msgstr ""
+msgstr "Основной"
#: screenlayout/widget.py:349
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/sq.po new/arandr-0.1.9/data/po/sq.po
--- old/arandr-0.1.8/data/po/sq.po 1970-01-01 01:00:00.000000000 +0100
+++ new/arandr-0.1.9/data/po/sq.po 2016-02-24 13:47:08.000000000 +0100
@@ -0,0 +1,205 @@
+# Albanian translations for arandr package.
+# Copyright (C) 2015 chrysn
+# This file is distributed under the same license as the arandr package.
+# Automatically generated, 2015.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arandr 0.1.7.1\n"
+"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
+"POT-Creation-Date: 2015-05-21 10:02+0200\n"
+"PO-Revision-Date: 2015-08-21 19:05+0200\n"
+"Last-Translator: Denis Jukni \n"
+"Language-Team: Albanian "
+"https://hosted.weblate.org/projects/arandr/translations/sq/\n"
+"Language: sq\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"
+"X-Generator: Weblate 2.4-dev\n"
+
+#: screenlayout/gui.py:117
+msgid "_Layout"
+msgstr "_Korniza"
+
+#: screenlayout/gui.py:128
+msgid "_View"
+msgstr "_Pamja"
+
+#: screenlayout/gui.py:130
+msgid "_Outputs"
+msgstr "_Daljet"
+
+#: screenlayout/gui.py:131
+msgid "Dummy"
+msgstr "Pa funksion"
+
+#: screenlayout/gui.py:133
+msgid "_System"
+msgstr "_Sistemi"
+
+#: screenlayout/gui.py:134
+msgid "_Keybindings (Metacity)"
+msgstr "_Lidhjet_me_butonat (Metacity)"
+
+#: screenlayout/gui.py:136
+msgid "_Help"
+msgstr "_Ndihmë"
+
+#: screenlayout/gui.py:140
+msgid "1:4"
+msgstr "1:4"
+
+#: screenlayout/gui.py:141
+msgid "1:8"
+msgstr "1:8"
+
+#: screenlayout/gui.py:142
+msgid "1:16"
+msgstr "1:16"
+
+#: screenlayout/gui.py:189
+msgid "Script Properties"
+msgstr "Cilësitë e tekstimit"
+
+#: screenlayout/gui.py:201
+msgid "Script"
+msgstr "Tekstim"
+
+#: screenlayout/gui.py:217
+#, python-format
+msgid ""
+"XRandR failed:\n"
+"%s"
+msgstr ""
+"Gabim në XRandR:\n"
+"%s"
+
+#: screenlayout/gui.py:227
+msgid "Open Layout"
+msgstr "Hap kornizën"
+
+#: screenlayout/gui.py:239
+msgid "Save Layout"
+msgstr "Ruaj kornizën"
+
+#: screenlayout/meta.py:23
+msgid "ARandR Screen Layout Editor"
+msgstr "Ndryshues për kornizën e ekranit të ARandR"
+
+#. # translators, please translate in the style of "Another XRandR GUI
+#. # (ein weiteres GUI für XRandR)" so users get both the explanation of
+#. # the acronym and a localized version.
+#: screenlayout/meta.py:27
+msgid "Another XRandR GUI"
+msgstr "Një tjetër pamje e XRandR"
+
+#: screenlayout/metacity.py:53
+msgid "Accelerator"
+msgstr "Përshpejtues"
+
+#: screenlayout/metacity.py:54
+msgid "Action"
+msgstr "Veprim"
+
+#: screenlayout/metacity.py:120
+msgid "disabled"
+msgstr "ç'aktivizuar"
+
+#: screenlayout/metacity.py:135
+msgid "New accelerator..."
+msgstr "Përshpejtues i ri ..."
+
+#: screenlayout/metacity.py:192
+msgid "no action"
+msgstr "asnjë veprim"
+
+#: screenlayout/metacity.py:228
+msgid "incompatible configuration"
+msgstr "konfigurim i papërshtatshëm"
+
+#: screenlayout/metacity.py:235
+msgid "other application"
+msgstr "tjetër program"
+
+#: screenlayout/metacity.py:255
+#, python-format
+msgid "No files in %(folder)r. Save a layout first."
+msgstr "Asnjë skedar në %(folder)r. Ruaj një kornizë në fillim."
+
+#: screenlayout/metacity.py:284
+msgid "gconf not available."
+msgstr "gconf nuk është i pranishëm."
+
+#: screenlayout/metacity.py:285
+msgid ""
+"In order to configure metacity, you need to have the python gconf module "
+"installed."
+msgstr ""
+"Në rastin e konfigurimit të metacity, ju duhet të instaloni pjesën e python "
+"gconf."
+
+#: screenlayout/metacity.py:292
+msgid "Keybindings (via Metacity)"
+msgstr "Lidhja e butonave (nëpërmjet Metacity)"
+
+#: screenlayout/metacity.py:305
+msgid ""
+"Click on a button in the left column and press a key combination you want to "
+"bind to a certain screen layout. (Use backspace to clear accelerators, "
+"escape to abort editing.) Then, select one or more layouts in the right "
+"column.\n"
+"\n"
+"This will only work if you use metacity or another program reading its "
+"configuration."
+msgstr ""
+"Klikoni një buton në kolonën e majtë dhe shtypni një kombinacion butonash që "
+"dëshironi për të krijuar një kornizë të caktuar të ekranit. (Përdorni "
+"butonin BACKSPACE për të pastruar përshpejtuesit, ESCAPE për të ndërprerë "
+"ndryshimet.) Pastaj, seleksiononi një ose më shumë korniza në kolonën e "
+"djathtë.\n"
+"Kjo do të funksionojë vetëm nqs ju përdorni METACITY ose një program tjetër "
+"për të lexuar konfigurimet."
+
+#: screenlayout/widget.py:61
+msgid ""
+"Your configuration does not include an active monitor. Do you want to apply "
+"the configuration?"
+msgstr ""
+"Konfigurimi juaj nuk përmban një ekran aktiv. Dëshironi të vlejnë "
+"konfigurimet e deritanishme?"
+
+#: screenlayout/widget.py:327
+msgid "Active"
+msgstr "Aktiv"
+
+#: screenlayout/widget.py:335
+msgid "Primary"
+msgstr "Kryesor"
+
+#: screenlayout/widget.py:349
+#, python-format
+msgid "Setting this resolution is not possible here: %s"
+msgstr "Ndryshimet e këtij rezolucioni nuk janë të mundura këtu: %s"
+
+#: screenlayout/widget.py:362
+#, python-format
+msgid "This orientation is not possible here: %s"
+msgstr "Ky orientim rezolucioni nuk është i mundur këtu: %s"
+
+#: screenlayout/widget.py:368
+msgid "Resolution"
+msgstr "Rezolucioni"
+
+#: screenlayout/widget.py:370
+msgid "Orientation"
+msgstr "Orientacioni"
+
+#: screenlayout/xrandr.py:275
+msgid "A part of an output is outside the virtual screen."
+msgstr "Një pjesë e rezultatit dalës është jashtë kornizave të ekranit virtual."
+
+#: screenlayout/xrandr.py:278
+msgid "An output is outside the virtual screen."
+msgstr "Kjo dalje është jashtë ekranit virtual."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/uk.po new/arandr-0.1.9/data/po/uk.po
--- old/arandr-0.1.8/data/po/uk.po 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/data/po/uk.po 2016-02-24 13:47:08.000000000 +0100
@@ -8,17 +8,17 @@
"Project-Id-Version: arandr\n"
"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
"POT-Creation-Date: 2015-05-21 10:02+0200\n"
-"PO-Revision-Date: 2014-12-04 23:03+0200\n"
-"Last-Translator: Igor \n"
-"Language-Team: Ukrainian <https://hosted.weblate.org/projects/arandr/"
-"translations/uk/>\n"
+"PO-Revision-Date: 2015-11-21 14:09+0000\n"
+"Last-Translator: Olexandr Nesterenko \n"
+"Language-Team: Ukrainian "
+"https://hosted.weblate.org/projects/arandr/translations/uk/\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
-"X-Generator: Weblate 2.1-dev\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
+"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 2.5-dev\n"
"X-Launchpad-Export-Date: 2012-06-20 05:07+0000\n"
#: screenlayout/gui.py:117
@@ -98,9 +98,8 @@
msgstr "«Another XRandR GUI» (черговий графічний інтерфейс для XRandR)"
#: screenlayout/metacity.py:53
-#, fuzzy
msgid "Accelerator"
-msgstr "Комбінація клавіш"
+msgstr "Акселератор"
#: screenlayout/metacity.py:54
msgid "Action"
@@ -175,7 +174,7 @@
#: screenlayout/widget.py:335
msgid "Primary"
-msgstr ""
+msgstr "Основний"
#: screenlayout/widget.py:349
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/data/po/zh_CN.po new/arandr-0.1.9/data/po/zh_CN.po
--- old/arandr-0.1.8/data/po/zh_CN.po 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/data/po/zh_CN.po 2016-02-24 13:47:08.000000000 +0100
@@ -8,13 +8,16 @@
"Project-Id-Version: arandr 0.1.2\n"
"Report-Msgid-Bugs-To: chrysn@fsfe.org\n"
"POT-Creation-Date: 2015-05-21 10:02+0200\n"
-"PO-Revision-Date: 2010-12-05 00:37+0800\n"
-"Last-Translator: careone \n"
-"Language-Team: Chinese-China \n"
-"Language: \n"
+"PO-Revision-Date: 2015-11-17 16:03+0000\n"
+"Last-Translator: ChuChangMing <82724824@qq.com>\n"
+"Language-Team: Chinese (China) "
+"https://hosted.weblate.org/projects/arandr/translations/zh_CN/\n"
+"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Weblate 2.5-dev\n"
"X-Poedit-Language: Chinese\n"
"X-Poedit-Country: CHINA\n"
"X-Poedit-SourceCharset: utf-8\n"
@@ -170,7 +173,7 @@
#: screenlayout/widget.py:335
msgid "Primary"
-msgstr ""
+msgstr "主要的"
#: screenlayout/widget.py:349
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/screenlayout/meta.py new/arandr-0.1.9/screenlayout/meta.py
--- old/arandr-0.1.8/screenlayout/meta.py 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/screenlayout/meta.py 2016-02-24 13:47:08.000000000 +0100
@@ -19,55 +19,95 @@
import gettext
gettext.install('arandr')
-__version__ = '0.1.8'
+__version__ = '0.1.9'
PROGRAMNAME = _(u'ARandR Screen Layout Editor')
## translators, please translate in the style of "Another XRandR GUI
## (ein weiteres GUI für XRandR)" so users get both the explanation of
## the acronym and a localized version.
PROGRAMDESCRIPTION = _(u'Another XRandR GUI')
-COPYRIGHT = u'© chrysn 2008 – 2015, Себастьян Gli ţa Κατινα 2011, Johannes Holmberg 2015'
+COPYRIGHT = u'© chrysn 2008 – 2016, Себастьян Gli ţa Κατινα 2011, Johannes Holmberg 2015'
+
+# other names of contributors found in the git history. mailmap (see
+# git-shortlog(1)) won't cut it, because some contributors don't have any email
+# address at all (or might want to be attributed without address).
+COMMITTER_ALIASES = {
+ 'chrysn ': 'chrysn ',
+ 'Rax ': 'Rax Garfield',
+ 'o-157 <Unknown>': 'o-157',
+ 'cdemoulins ': 'Clément Démoulins ',
+ 'sjb ': 'Себастьян Gli ţa Κατινα ',
+ 'Chandru ': 'gundachandru ',
+ 'Dimitris Giouroukis ': 'Dimitris Giouroukis',
+ 'Alir3z4 ': 'Alireza Savand ',
+ 'el_libre como el chaval ': 'el_libre ',
+ 'phantomx ': 'Phantom X ',
+ }
+
+TRANSLATORS_OVERRIDES = {
+ # fixing stuff all over the place
+ 'chrysn ': ['de', 'en'],
+ 'Michal Čihař ': ['cs'],
+ # see 3b0b47b3665 / c1a7b7edad34
+ 'Mohammad Alhargan ': ['ar'],
+ }
+
+# everything below this line is updated semi-manually using `./setup.py update_translator_credits`
TRANSLATORS = [
- 'chrysn ',
- 'Quizzlo ',
- 'Phantom X ',
- 'Joe Hansen ',
- 'gundachandru ',
- 'HsH ',
- 'Clément Démoulins ',
- 'RooTer ',
- 'Mohammad Alhargan ',
- 'Mehmet Gülmen ',
- 'Ricardo A. Hermosilla Carrillo ',
- 'el_libre ',
- 'aboodilankaboot ',
- 'Carezero ',
- 'wimfeijen ',
- 'Slavko ',
+ 'Algimantas Margevičius ',
'Alireza Savand ',
- 'Bruno_Patri ',
- 'Себастьян Gli ţa Κατινα ',
+ 'Bakr Al-Tamimi ',
+ 'Balázs Úr ',
'Belvar ',
- 'Algimantas Margevičius ',
- 'Miguel Anxo Bouzada ',
- 'o-157',
- 'Ingemar Karlsson ',
- 'Semsudin Abdic ',
- 'Rax Garfield',
- 'Tamás Nagy ',
- 'Mantas Kriaučiūnas ',
- 'Dimitris Giouroukis',
- 'ParkJS ',
- 'Michal Čihař ',
+ 'Bruno_Patri ',
+ 'Carezero ',
+ 'ChuChangMing <82724824@qq.com>',
+ 'Clément Démoulins ',
+ 'Denis Jukni ',
+ 'Dimitris Giouroukis',
'Efstathios Iosifidis ',
- 'reza khan ',
- 'cho bkwon ',
- 'Lu Ca ',
+ 'Fred Maranhão ',
+ 'Guilherme Souza Silva ',
+ 'HsH ',
+ 'Igor ',
+ 'Ingemar Karlsson ',
+ 'Ivan Vantu5z ',
+ 'Joe Hansen ',
'Kristjan Räts ',
+ 'Lu Ca ',
+ 'Luca Vetturi ',
+ 'Luis García Sevillano ',
+ 'Mantas Kriaučiūnas ',
+ 'Mehmet Gülmen ',
+ 'Michal Čihař ',
+ 'Miguel Anxo Bouzada ',
+ 'Mohammad Alhargan ',
+ 'Olexandr Nesterenko ',
+ 'ParkJS ',
+ 'Phantom X ',
'Piotr Strebski ',
- 'Ivan Vantu5z ',
- 'Igor ',
- 'Balázs Úr ',
- 'Fred Maranhão ',
+ 'Quizzlo ',
+ 'Rax Garfield',
+ 'Ricardo A. Hermosilla Carrillo ',
+ 'RooTer ',
+ 'Sebastian Wahl ',
+ 'Semsudin Abdic ',
+ 'Slavko ',
+ 'Slobodan Simić ',
+ 'Tamás Nagy ',
'Tuux ',
+ 'Vladimir ',
+ 'aboodilankaboot ',
+ 'agilob ',
+ 'cho bkwon ',
+ 'chrysn ',
+ 'el_libre ',
+ 'gundachandru ',
+ 'ikmaak ',
+ 'josep constanti ',
+ 'o-157',
+ 'pCsOrI ',
+ 'reza khan ',
+ 'wimfeijen ',
+ 'Себастьян Gli ţa Κατινα '
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/screenlayout/xrandr.py new/arandr-0.1.9/screenlayout/xrandr.py
--- old/arandr-0.1.8/screenlayout/xrandr.py 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/screenlayout/xrandr.py 2016-02-24 13:47:08.000000000 +0100
@@ -41,8 +41,9 @@
self.environ['DISPLAY'] = display
version_output = self._output("--version")
- if not ("1.2" in version_output or "1.3" in version_output or "1.4" in version_output) and not force_version:
- raise Exception("XRandR 1.2/1.3 required.")
+ supported_versions = ["1.2", "1.3", "1.4", "1.5"]
+ if not any(x in version_output for x in supported_versions) and not force_version:
+ raise Exception("XRandR %s required."%"/".join(supported_versions))
self.features = set()
if not " 1.2" in version_output:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arandr-0.1.8/setup.py new/arandr-0.1.9/setup.py
--- old/arandr-0.1.8/setup.py 2015-06-26 11:05:39.000000000 +0200
+++ new/arandr-0.1.9/setup.py 2016-02-24 13:47:08.000000000 +0100
@@ -21,6 +21,7 @@
import subprocess
import glob
import gzip
+import datetime
import docutils.core
import docutils.writers.manpage
@@ -41,7 +42,7 @@
POT_FILE = os.path.join(PO_DIR, 'messages.pot')
PACKAGENAME = "arandr"
-PACKAGEVERSION = "0.1.8"
+PACKAGEVERSION = "0.1.9"
AUTHOR = "chrysn"
AUTHOR_MAIL = "chrysn@fsfe.org"
URL = "http://christian.amsuess.com/tools/arandr/"
@@ -114,6 +115,80 @@
compressed.write(manpage)
compressed.close()
+class update_translator_credits(NoOptionCommand):
+ description = 'Examine the git history to produce an updated metadata file.'
+
+ def run(self):
+ from screenlayout.meta import COMMITTER_ALIASES, TRANSLATORS_OVERRIDES
+
+ contributions = {}
+
+ file2language = lambda f: f[len(PO_DIR)+1:-3]
+
+ for po in glob.glob(os.path.join(PO_DIR, '*.po')):
+ contributors = set(subprocess.check_output(['git', 'log', '--pretty=format:%aN <%aE>', po]).split('\n'))
+ contributors = [COMMITTER_ALIASES.get(c, c) for c in contributors]
+
+ for c in contributors:
+ contributions.setdefault(c, set()).add(file2language(po))
+
+ contributions.update(TRANSLATORS_OVERRIDES)
+
+ print "====================== for screenlayout/meta.py ================"
+ print
+ print "TRANSLATORS = [\n " + ",\n ".join("'%s'"%c for c in sorted(contributions)) + "\n ]"
+ print
+ print
+
+ by_language_set = {}
+ for name, languages in contributions.items():
+ by_language_set.setdefault(frozenset(languages), set()).add(name)
+ strip_address = lambda c: (c[:c.index('<')] if '<' in c else c).strip()
+ def language2name(lang):
+ import pycountry
+
+ if '_' in lang:
+ lang, country = lang.split('_')
+ else:
+ country = None
+ lang = pycountry.languages.get(alpha2=lang).name
+
+ try:
+ # strip suffixes like 'Catalan; Valencian'
+ lang = lang[:lang.index('; ')]
+ except:
+ pass
+ try:
+ # strip suffixes like 'Greek, Modern (...)'
+ lang = lang[:lang.index(', ')]
+ except:
+ pass
+
+ if country:
+ country = pycountry.countries.get(alpha2=country).name
+ return u"%s (%s)"%(lang, country)
+ else:
+ return lang
+
+ print "====================== for README ================"
+ print
+ print "\n".join(sorted("* %s (%s)"%(", ".join(strip_address(c) for c in sorted(contributors)), ", ".join(sorted(language2name(l).encode('utf8') for l in languages))) for (languages, contributors) in by_language_set.items()))
+ print
+
+ by_language = {}
+ for name, languages in contributions.items():
+ for l in languages:
+ by_language.setdefault(l, set()).add(name)
+ print "====================== for debian/copyright ================"
+ print
+ for l, names in sorted(by_language.items()):
+ print "Files: data/po/%s.po"%l
+ print "Copyright: 2008-%s, chrysn "%datetime.datetime.now().year
+ for n in sorted(names):
+ print " %s"%n
+ print "License: GPL-3+"
+ print
+
class build(_build):
sub_commands = _build.sub_commands + [('build_trans', None), ('build_man', None)]
def run(self):
@@ -174,6 +249,7 @@
'clean': clean,
'update_pot': update_pot,
'update_po': update_po,
+ 'update_translator_credits': update_translator_credits,
},
data_files = [
('share/applications', ['data/arandr.desktop']), # FIXME: use desktop-file-install?