[Python-apps-commits] r13236 - in packages/pdfshuffler/trunk/debian (6 files)

vcheng at users.alioth.debian.org vcheng at users.alioth.debian.org
Thu May 26 02:11:50 UTC 2016


    Date: Thursday, May 26, 2016 @ 02:11:48
  Author: vcheng
Revision: 13236

add missing translations

Added:
  packages/pdfshuffler/trunk/debian/patches/catalan-l10n
  packages/pdfshuffler/trunk/debian/patches/fix-ui-translation
  packages/pdfshuffler/trunk/debian/patches/spanish-l10n
Modified:
  packages/pdfshuffler/trunk/debian/changelog
  packages/pdfshuffler/trunk/debian/patches/menu-file-mimetype
  packages/pdfshuffler/trunk/debian/patches/series

Modified: packages/pdfshuffler/trunk/debian/changelog
===================================================================
--- packages/pdfshuffler/trunk/debian/changelog	2016-05-26 01:54:12 UTC (rev 13235)
+++ packages/pdfshuffler/trunk/debian/changelog	2016-05-26 02:11:48 UTC (rev 13236)
@@ -1,6 +1,8 @@
 pdfshuffler (0.6.0-8) UNRELEASED; urgency=medium
 
   * Add build-dep on dh-python.
+  * Fix missing UI translations and add Spanish and Catalan translations.
+    (Closes: #756281, LP: #1328862)
   * Install hi-res scalable svg icon. (Closes: #768306, LP: #1081190)
   * Add missing MimeType to desktop menu file. (LP: #1334124, LP: #1349140)
     - Drop duplicate debian/pdfshuffler.desktop.

Added: packages/pdfshuffler/trunk/debian/patches/catalan-l10n
===================================================================
--- packages/pdfshuffler/trunk/debian/patches/catalan-l10n	                        (rev 0)
+++ packages/pdfshuffler/trunk/debian/patches/catalan-l10n	2016-05-26 02:11:48 UTC (rev 13236)
@@ -0,0 +1,217 @@
+Description: Add Catalan translation
+Author: Pilar Embid Giner <embid_mar at gva.es>
+
+--- /dev/null
++++ b/po/ca at valencia.po
+@@ -0,0 +1,211 @@
++# SOME DESCRIPTIVE TITLE.
++# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
++# This file is distributed under the same license as the PACKAGE package.
++# Pilar Embid Giner <embid_mar at gva.es>, 2014.
++msgid ""
++msgstr ""
++"Project-Id-Version: PACKAGE VERSION\n"
++"Report-Msgid-Bugs-To: \n"
++"POT-Creation-Date: 2012-04-28 23:13+0200\n"
++"PO-Revision-Date: 2014-06-11 10:11+0200\n"
++"Last-Translator: Pilar Embid Giner <embid_mar at gva.es>\n"
++"Language-Team: LliureX\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: Virtaal 0.7.1\n"
++
++#: pdfshuffler/pdfshuffler.py:110
++msgid "Can't load icon. Application is not installed correctly."
++msgstr "No es pot carregar la icona: no s'ha instal·lat correctament."
++
++#: pdfshuffler/pdfshuffler.py:233
++msgid "_Rotate Right"
++msgstr "Gi_ra a la dreta"
++
++#: pdfshuffler/pdfshuffler.py:234
++msgid "Rotate _Left"
++msgstr "Gira a _l'esquerra"
++
++#: pdfshuffler/pdfshuffler.py:235
++msgid "C_rop..."
++msgstr "_Retalla..."
++
++#: pdfshuffler/pdfshuffler.py:237
++msgid "_Export selection..."
++msgstr "_Exporta la selecció"
++
++#: pdfshuffler/pdfshuffler.py:299
++msgid "No document"
++msgstr "Cap document"
++
++#: pdfshuffler/pdfshuffler.py:301
++msgid "Several documents"
++msgstr "Diversos documents"
++
++#: pdfshuffler/pdfshuffler.py:317
++#, python-format
++msgid "Rendering thumbnails... [%(i1)s/%(i2)s]"
++msgstr "S'estan renderitzant les miniatures... [%(i1)s/%(i2)s]"
++
++#: pdfshuffler/pdfshuffler.py:435
++msgid "page"
++msgstr "pàgina"
++
++#: pdfshuffler/pdfshuffler.py:461
++msgid "Export ..."
++msgstr "Exporta..."
++
++#: pdfshuffler/pdfshuffler.py:470 pdfshuffler/pdfshuffler.py:586
++msgid "PDF files"
++msgstr "Fitxers PDF"
++
++#: pdfshuffler/pdfshuffler.py:475 pdfshuffler/pdfshuffler.py:581
++msgid "All files"
++msgstr "Tots els fitxers"
++
++#: pdfshuffler/pdfshuffler.py:518
++#, python-format
++msgid ""
++"File %s is encrypted.\n"
++"Support for encrypted files has not been implemented yet.\n"
++"File export failed."
++msgstr ""
++"El fitxer %s està encriptat.\n"
++"El suport per a fitxers encriptats no s'ha implementat encara.\n"
++"L'exportació del fitxer ha fallat."
++
++#: pdfshuffler/pdfshuffler.py:571
++msgid "Import..."
++msgstr "Importa..."
++
++#: pdfshuffler/pdfshuffler.py:604
++msgid "OpenDocument not supported yet!"
++msgstr "L'OpenDocument encara no s'admet."
++
++#: pdfshuffler/pdfshuffler.py:606
++msgid "Image file not supported yet!"
++msgstr "Els fitxers d'imatge encara no s'admeten."
++
++#: pdfshuffler/pdfshuffler.py:608
++msgid "File type not supported!"
++msgstr "El tipus de fitxer no s'admet."
++
++#  ERR_FILE_NOT_EXISTS
++#: pdfshuffler/pdfshuffler.py:610
++#, python-format
++msgid "File %s does not exist"
++msgstr "El fitxer %s no existix."
++
++#: pdfshuffler/pdfshuffler.py:612
++msgid "Closed, no files selected"
++msgstr "S'ha tancat, no hi ha cap fitxer seleccionat."
++
++# Netscape_4.7->Dialog Box Control:EDITOR32.DLL
++#: pdfshuffler/pdfshuffler.py:921
++msgid "Left"
++msgstr "Esquerra"
++
++# Netscape_4.7->Dialog Box Control:EDITOR32.DLL
++#: pdfshuffler/pdfshuffler.py:921
++msgid "Right"
++msgstr "Dreta"
++
++# Netscape_4.7->String:RESDLL.DLL
++#: pdfshuffler/pdfshuffler.py:922
++msgid "Top"
++msgstr "Dalt"
++
++# Netscape_4.7->Dialog Box Control:EDITOR32.DLL
++#: pdfshuffler/pdfshuffler.py:922
++msgid "Bottom"
++msgstr "Baix"
++
++#: pdfshuffler/pdfshuffler.py:940
++msgid "Crop Selected Pages"
++msgstr "Retalla les pàgines seleccionades"
++
++#: pdfshuffler/pdfshuffler.py:948
++msgid "Crop Margins"
++msgstr "Retalla els marges"
++
++#: pdfshuffler/pdfshuffler.py:955
++#, python-format
++msgid "% of width"
++msgstr "% d'amplària"
++
++#: pdfshuffler/pdfshuffler.py:955
++#, python-format
++msgid "% of height"
++msgstr "% d'alçària"
++
++#: pdfshuffler/pdfshuffler.py:993
++msgid "Dialog closed"
++msgstr "S'ha tancat el diàleg."
++
++#: pdfshuffler/pdfshuffler.py:1007
++#, python-format
++msgid ""
++"%s is a tool for rearranging and modifying PDF files. Developed using GTK+ "
++"and Python"
++msgstr ""
++"El %s és una ferramenta per a organitzar i modificar fitxers PDF. S'ha "
++"realitzat utilitzant GTK+ i Python."
++
++#: data/pdfshuffler.ui.h:1
++msgid "Crop"
++msgstr "Retalla"
++
++#: data/pdfshuffler.ui.h:2
++msgid "Delete"
++msgstr "Esborra"
++
++#: data/pdfshuffler.ui.h:3
++msgid "Import"
++msgstr "Importa"
++
++#: data/pdfshuffler.ui.h:4
++msgid "Open a file and append it to the current document"
++msgstr "Obri un fitxer i afig-lo al document actual"
++
++#: data/pdfshuffler.ui.h:5
++msgid "Rotate left"
++msgstr "Gira cap a l'esquerra"
++
++#: data/pdfshuffler.ui.h:6
++msgid "Rotate right"
++msgstr "Gira cap a la dreta"
++
++#: data/pdfshuffler.ui.h:7
++msgid "Save"
++msgstr "Guarda"
++
++#: data/pdfshuffler.ui.h:8
++msgid "Save as"
++msgstr "Voz masculina"
++
++#: data/pdfshuffler.ui.h:9
++msgid "Zoom in"
++msgstr "Amplia"
++
++#: data/pdfshuffler.ui.h:10
++msgid "Zoom out"
++msgstr "Reduïx"
++
++#: data/pdfshuffler.ui.h:11
++msgid "_Edit"
++msgstr "_Edita"
++
++#: data/pdfshuffler.ui.h:12
++msgid "_File"
++msgstr "_Fitxer"
++
++#: data/pdfshuffler.ui.h:13
++msgid "_Help"
++msgstr "A_juda"
++
++#: data/pdfshuffler.ui.h:14
++msgid "_View"
++msgstr "_Visualitza"

Added: packages/pdfshuffler/trunk/debian/patches/fix-ui-translation
===================================================================
--- packages/pdfshuffler/trunk/debian/patches/fix-ui-translation	                        (rev 0)
+++ packages/pdfshuffler/trunk/debian/patches/fix-ui-translation	2016-05-26 02:11:48 UTC (rev 13236)
@@ -0,0 +1,35 @@
+Description: Fix UI translation problem
+ TODO: Fix translation problem related to non domain specification.
+ Fix zoom in and out translation in UI, adding label translation.
+Author: Rafael J. García Perdigón <rafael.garciap at gobex.es>
+
+--- a/data/pdfshuffler.ui
++++ b/data/pdfshuffler.ui
+@@ -180,7 +180,7 @@
+                     <property name="can_focus">False</property>
+                     <child>
+                       <object class="GtkImageMenuItem" id="imagemenuitem_zoomin">
+-                        <property name="label">Zoom in</property>
++                        <property name="label" translatable="yes">Zoom in</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+                         <property name="use_action_appearance">False</property>
+@@ -191,7 +191,7 @@
+                     </child>
+                     <child>
+                       <object class="GtkImageMenuItem" id="imagemenuitem_zoomout">
+-                        <property name="label">Zoom out</property>
++                        <property name="label" translatable="yes">Zoom out</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+                         <property name="use_action_appearance">False</property>
+--- a/pdfshuffler/pdfshuffler.py
++++ b/pdfshuffler/pdfshuffler.py
+@@ -131,6 +131,7 @@
+                                        'pdfshuffler.ui')
+ 
+         self.uiXML = gtk.Builder()
++        self.uiXML.set_translation_domain('pdfshuffler')
+         self.uiXML.add_from_file(ui_path)
+         self.uiXML.connect_signals(self)
+ 

Modified: packages/pdfshuffler/trunk/debian/patches/menu-file-mimetype
===================================================================
--- packages/pdfshuffler/trunk/debian/patches/menu-file-mimetype	2016-05-26 01:54:12 UTC (rev 13235)
+++ packages/pdfshuffler/trunk/debian/patches/menu-file-mimetype	2016-05-26 02:11:48 UTC (rev 13236)
@@ -1,15 +1,18 @@
 Description: Add missing MimeType to desktop menu file
  This adds integration with e.g. file managers that have a "Open With" context
- menu entry.
+ menu entry. Also add some translations.
 Forwarded: not-yet
 Author: Vincent Cheng <vcheng at debian.org>
 Last-Update: 2016-05-25
 
 --- a/data/pdfshuffler.desktop
 +++ b/data/pdfshuffler.desktop
-@@ -3,8 +3,9 @@
+@@ -2,9 +2,12 @@
+ Version=1.0
  Name=PDF-Shuffler
  Comment=PDF Merging, Rearranging, Splitting, Rotating and Cropping
++Comment[es]=Mezcle, reordene, divida, rote y recorte documentos PDF
++Comment[sk]=Grafický nástroj na manipuláciu s PDF
  Type=Application
 -Exec=pdfshuffler
 +Exec=pdfshuffler %U

Modified: packages/pdfshuffler/trunk/debian/patches/series
===================================================================
--- packages/pdfshuffler/trunk/debian/patches/series	2016-05-26 01:54:12 UTC (rev 13235)
+++ packages/pdfshuffler/trunk/debian/patches/series	2016-05-26 02:11:48 UTC (rev 13236)
@@ -2,3 +2,6 @@
 fix-threading
 use-pypdf2
 menu-file-mimetype
+fix-ui-translation
+spanish-l10n
+catalan-l10n

Added: packages/pdfshuffler/trunk/debian/patches/spanish-l10n
===================================================================
--- packages/pdfshuffler/trunk/debian/patches/spanish-l10n	                        (rev 0)
+++ packages/pdfshuffler/trunk/debian/patches/spanish-l10n	2016-05-26 02:11:48 UTC (rev 13236)
@@ -0,0 +1,202 @@
+Description: Add full spanish translation.
+Author: Rafael J. García Perdigón <rafael.garciap at gobex.es>
+Last-Update: 2014-07-25
+
+--- a/po/es.po
++++ b/po/es.po
+@@ -4,9 +4,9 @@
+ "Report-Msgid-Bugs-To: \n"
+ "POT-Creation-Date: 2012-04-28 23:13+0200\n"
+ "PO-Revision-Date: 2012-03-05 07:51+0100\n"
+-"Last-Translator: Konstantinos Poulios <logari81 at gmail.com>\n"
++"Last-Translator: Rafael Jesús García Perdigón <rafagarp at gmail.com>\n"
+ "Language-Team: Konstantinos Poulios <poulios.konstantinos at gmail.com>\n"
+-"Language: \n"
++"Language: es\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=UTF-8\n"
+ "Content-Transfer-Encoding: 8bit\n"
+@@ -15,35 +15,36 @@
+ #: pdfshuffler/pdfshuffler.py:110
+ msgid "Can't load icon. Application is not installed correctly."
+ msgstr ""
++"No se puede cargar el icono. La aplicación no está instalada correctamente"
+ 
+ #: pdfshuffler/pdfshuffler.py:233
+ msgid "_Rotate Right"
+-msgstr ""
++msgstr "_Rotar a la derecha"
+ 
+ #: pdfshuffler/pdfshuffler.py:234
+ msgid "Rotate _Left"
+-msgstr ""
++msgstr "Rotar a la _izquierda"
+ 
+ #: pdfshuffler/pdfshuffler.py:235
+ msgid "C_rop..."
+-msgstr "_Recortar.."
++msgstr "R_ecortar.."
+ 
+ #: pdfshuffler/pdfshuffler.py:237
+ msgid "_Export selection..."
+-msgstr "Exportar las  páginas seleccionadas..."
++msgstr "E_xportar las  páginas seleccionadas..."
+ 
+ #: pdfshuffler/pdfshuffler.py:299
+ msgid "No document"
+-msgstr ""
++msgstr "No hay documento seleccionado"
+ 
+ #: pdfshuffler/pdfshuffler.py:301
+ msgid "Several documents"
+-msgstr ""
++msgstr "Varios documentos"
+ 
+ #: pdfshuffler/pdfshuffler.py:317
+ #, python-format
+ msgid "Rendering thumbnails... [%(i1)s/%(i2)s]"
+-msgstr ""
++msgstr "Renderizando las miniaturas... [%(i1)s/%(i2)s]"
+ 
+ #: pdfshuffler/pdfshuffler.py:435
+ msgid "page"
+@@ -62,12 +63,14 @@
+ msgstr "Todos los archivos"
+ 
+ #: pdfshuffler/pdfshuffler.py:518
+-#, fuzzy, python-format
+ msgid ""
+ "File %s is encrypted.\n"
+ "Support for encrypted files has not been implemented yet.\n"
+ "File export failed."
+-msgstr "Aún no se ha añadido la compatibilidad con este tipo de archivos."
++msgstr ""
++"El fichero %s está encriptado.\n"
++"Aún no se ha añadido compatibilidad con este tipo de archivos.La exportación "
++"del fichero ha fallado."
+ 
+ #: pdfshuffler/pdfshuffler.py:571
+ msgid "Import..."
+@@ -84,7 +87,7 @@
+ 
+ #: pdfshuffler/pdfshuffler.py:608
+ msgid "File type not supported!"
+-msgstr "Archivos de este tipo no son compatibles."
++msgstr "Archivos de este tipo no son compatibles!."
+ 
+ #: pdfshuffler/pdfshuffler.py:610
+ #, python-format
+@@ -93,7 +96,7 @@
+ 
+ #: pdfshuffler/pdfshuffler.py:612
+ msgid "Closed, no files selected"
+-msgstr "Cerrado, ningún archivo seleccionado"
++msgstr "Cerrado, ningún archivo seleccionado."
+ 
+ #: pdfshuffler/pdfshuffler.py:921
+ msgid "Left"
+@@ -139,6 +142,8 @@
+ "%s is a tool for rearranging and modifying PDF files. Developed using GTK+ "
+ "and Python"
+ msgstr ""
++"%s es una herramienta para reordenar y modificar ficheros PDF. Desarrollado "
++"usando GTK+ y Python"
+ 
+ #: data/pdfshuffler.ui.h:1
+ msgid "Crop"
+@@ -154,15 +159,15 @@
+ 
+ #: data/pdfshuffler.ui.h:4
+ msgid "Open a file and append it to the current document"
+-msgstr ""
++msgstr "Abrir un fichero y añadirlo al documento actual"
+ 
+ #: data/pdfshuffler.ui.h:5
+ msgid "Rotate left"
+-msgstr ""
++msgstr "Rotar a la izquierda"
+ 
+ #: data/pdfshuffler.ui.h:6
+ msgid "Rotate right"
+-msgstr ""
++msgstr "Rotar a la derecha"
+ 
+ #: data/pdfshuffler.ui.h:7
+ msgid "Save"
+@@ -174,19 +179,19 @@
+ 
+ #: data/pdfshuffler.ui.h:9
+ msgid "Zoom in"
+-msgstr ""
++msgstr "Acercar"
+ 
+ #: data/pdfshuffler.ui.h:10
+ msgid "Zoom out"
+-msgstr ""
++msgstr "Alejar"
+ 
+ #: data/pdfshuffler.ui.h:11
+ msgid "_Edit"
+-msgstr ""
++msgstr "_Editar"
+ 
+ #: data/pdfshuffler.ui.h:12
+ msgid "_File"
+-msgstr ""
++msgstr "_Fichero"
+ 
+ #: data/pdfshuffler.ui.h:13
+ msgid "_Help"
+@@ -194,43 +199,13 @@
+ 
+ #: data/pdfshuffler.ui.h:14
+ msgid "_View"
+-msgstr ""
+-
+-#~ msgid "Import pdf"
+-#~ msgstr "Importar pdf"
+-
+-#~ msgid "Export pdf"
+-#~ msgstr "Exportar pdf"
+-
+-#~ msgid "About"
+-#~ msgstr "Acerca de"
+-
+-#~ msgid "Rotate Page(s) Clockwise"
+-#~ msgstr "Girar página(s) hacia la derecha"
+-
+-#~ msgid "Rotate Page(s) Counterclockwise"
+-#~ msgstr "Girar página(s) hacia la izquierda"
++msgstr "_Vista"
+ 
+-#~ msgid "Crop Page(s)"
+-#~ msgstr "Recortar página(s)"
+-
+-#~ msgid "Error writing file: %s"
+-#~ msgstr "Se ha producido un error al guardar el archivo: %s"
+-
+-#~ msgid "File %s is encrypted."
+-#~ msgstr "El archivo %s está encriptado."
+-
+-#~ msgid "File export failed."
+-#~ msgstr "No se ha podido exportar el archivo."
+-
+-#~ msgid "exporting to:"
+-#~ msgstr "exportando a:"
+-
+-#~ msgid ""
+-#~ "PDF-Shuffler is a simple pyGTK utility which lets you merge, split and "
+-#~ "rearrange PDF documents. You can also rotate and crop individual pages of "
+-#~ "a pdf document."
+-#~ msgstr ""
+-#~ "PDF-Shuffler es una sencilla aplicación pyGTK que permite unir, dividir "
+-#~ "archivos PDF y ordenar sus páginas. También permite girar y recortar "
+-#~ "páginas individualmente."
++msgid ""
++"PDF-Shuffler is a simple pyGTK utility which lets you merge, split and "
++"rearrange PDF documents. You can also rotate and crop individual pages of "
++"a pdf document."
++msgstr ""
++"PDF-Shuffler es una sencilla aplicación pyGTK que permite unir, dividir "
++"archivos PDF y ordenar sus páginas. También permite girar y recortar "
++"páginas individualmente."




More information about the Python-apps-commits mailing list