From 588a158f73adce774b3640d0a3c8603155b05472 Mon Sep 17 00:00:00 2001 From: guinux Date: Wed, 17 Apr 2013 15:37:34 +0200 Subject: [PATCH] add a version column and update po files --- gui/manager.glade | 63 ++++++++++++++++++++++++++++++----------------- pamac.pot | 14 +++++++---- pamac/main.py | 12 ++++----- po/ca.po | 14 +++++++---- po/da.po | 14 +++++++---- po/de.po | 14 +++++++---- po/el.po | 14 +++++++---- po/es.po | 14 +++++++---- po/fr.po | 18 +++++++++----- po/it.po | 14 +++++++---- po/nb.po | 14 +++++++---- po/pl.po | 14 +++++++---- po/pt_BR.po | 14 +++++++---- po/ro.po | 14 +++++++---- po/tr.po | 14 +++++++---- 15 files changed, 167 insertions(+), 94 deletions(-) diff --git a/gui/manager.glade b/gui/manager.glade index af5f5d2..1896621 100644 --- a/gui/manager.glade +++ b/gui/manager.glade @@ -678,14 +678,14 @@ True fixed - 100 + 80 State True True 1 - 15 + 5 0 @@ -696,7 +696,7 @@ - 15 + 5 1 @@ -724,11 +724,28 @@ + + + True + fixed + 80 + Version + True + True + 7 + + + + 7 + + + + True fixed - 50 + 80 Size True True @@ -1123,24 +1140,6 @@ - - - - - - - - - - - - - - - - - - @@ -1159,6 +1158,26 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/pamac.pot b/pamac.pot index 84b1a3d..a8aec3d 100644 --- a/pamac.pot +++ b/pamac.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -327,22 +327,26 @@ msgid "Name" msgstr "" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "" diff --git a/pamac/main.py b/pamac/main.py index 69fb95b..77cde65 100644 --- a/pamac/main.py +++ b/pamac/main.py @@ -212,7 +212,7 @@ def refresh_packages_list(): Gtk.main_iteration() packages_list.clear() if not pkg_name_list: - packages_list.append([_('No package found'), False, False, False, search_icon, '', 0]) + packages_list.append([_('No package found'), False, False, False, search_icon, '', 0, '']) else: #installed = set(transaction.localpkgs.keys()) - transaction.to_remove #uninstalled = (set(transaction.syncpkgs.keys()) - installed) - transaction.to_add @@ -220,16 +220,16 @@ def refresh_packages_list(): name_list = sorted(pkg_name_list) for name in name_list: if name in config.holdpkg: - packages_list.append([name, True, False, True, locked_icon, '', 0]) + packages_list.append([name, True, False, True, locked_icon, common.format_size(transaction.localpkgs[name].isize), transaction.localpkgs[name].isize, transaction.localpkgs[name].version]) elif name in transaction.to_add: - packages_list.append([name, False, True, True, to_install_icon, common.format_size(transaction.syncpkgs[name].isize), transaction.syncpkgs[name].isize]) + packages_list.append([name, False, True, True, to_install_icon, common.format_size(transaction.syncpkgs[name].isize), transaction.syncpkgs[name].isize, transaction.syncpkgs[name].version]) elif name in transaction.to_remove: - packages_list.append([name, True, True, False, to_remove_icon, common.format_size(transaction.localpkgs[name].isize), transaction.localpkgs[name].isize]) + packages_list.append([name, True, True, False, to_remove_icon, common.format_size(transaction.localpkgs[name].isize), transaction.localpkgs[name].isize, transaction.localpkgs[name].version]) elif name in transaction.localpkgs.keys(): - packages_list.append([name, True, True, True, installed_icon, common.format_size(transaction.localpkgs[name].isize), transaction.localpkgs[name].isize]) + packages_list.append([name, True, True, True, installed_icon, common.format_size(transaction.localpkgs[name].isize), transaction.localpkgs[name].isize, transaction.localpkgs[name].version]) #elif name in uninstalled: else: - packages_list.append([name, False, True, False, uninstalled_icon, common.format_size(transaction.syncpkgs[name].isize), transaction.syncpkgs[name].isize]) + packages_list.append([name, False, True, False, uninstalled_icon, common.format_size(transaction.syncpkgs[name].isize), transaction.syncpkgs[name].isize, transaction.syncpkgs[name].version]) ManagerWindow.get_root_window().set_cursor(Gdk.Cursor(Gdk.CursorType.ARROW)) def set_packages_list(): diff --git a/po/ca.po b/po/ca.po index 32ca694..44be5db 100644 --- a/po/ca.po +++ b/po/ca.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-04-06 18:02+0100\n" "Last-Translator: Oriol Fernàndez \n" "Language-Team: Catalan\n" @@ -335,22 +335,26 @@ msgid "Name" msgstr "Nom" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Mida" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Infos" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Dependències" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Detalls" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Fitxers" diff --git a/po/da.po b/po/da.po index eb85e7d..4210317 100644 --- a/po/da.po +++ b/po/da.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-03-30 15:18+0100\n" "Last-Translator: \n" "Language-Team: Danish\n" @@ -332,22 +332,26 @@ msgid "Name" msgstr "Navn" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Størrelse" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Informationer" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Afhængigheder" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Detaljer" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Filer" diff --git a/po/de.po b/po/de.po index 4ec7cba..8daa7ae 100644 --- a/po/de.po +++ b/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-04-13 14:45+0100\n" "Last-Translator: Philip Müller \n" "Language-Team: German\n" @@ -335,22 +335,26 @@ msgid "Name" msgstr "Name" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Größe" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Info" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Abhängigkeiten" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Details" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Dateien" diff --git a/po/el.po b/po/el.po index ca17b8a..427f837 100644 --- a/po/el.po +++ b/po/el.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-04-08 14:35+0200\n" "Last-Translator: Angel \n" "Language-Team: Greek \n" @@ -335,22 +335,26 @@ msgid "Name" msgstr "Όνομα" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Μέγεθος" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Πληροφορίες" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Εξαρτήσεις" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Λεπτομέρειες" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Αρχεία" diff --git a/po/es.po b/po/es.po index 72b5c8e..7a34453 100644 --- a/po/es.po +++ b/po/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-04-08 09:57+0100\n" "Last-Translator: Daniel Pérez Galán \n" "Language-Team: Español\n" @@ -335,22 +335,26 @@ msgid "Name" msgstr "Nombre" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Tamaño" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Infos" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Dependencias" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Detalles" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Archivos" diff --git a/po/fr.po b/po/fr.po index 1d1a1f1..d4846e1 100644 --- a/po/fr.po +++ b/po/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-03-30 15:18+0100\n" "Last-Translator: \n" "Language-Team: French\n" @@ -188,7 +188,7 @@ msgstr "Paqueteur" #: pamac/main.py:296 msgid "Architecture" -msgstr "" +msgstr "Architecture" #: pamac/main.py:299 msgid "Install Date" @@ -247,6 +247,8 @@ msgid "" "The transaction cannot be performed because it needs to remove {pkgname1} " "which is in HoldPkg" msgstr "" +"La transaction ne peut pas être exécutée car elle nécessite d'enlever {pkgname1} " +"qui est un paquet bloqué" #: pamac/main.py:552 pamac/main.py:553 pamac/main.py:655 pamac/main.py:656 msgid "{pkgname1} will be replaced by {pkgname2}" @@ -334,22 +336,26 @@ msgid "Name" msgstr "Nom" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Taille" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Infos" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Dépendances" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Détails" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Fichiers" diff --git a/po/it.po b/po/it.po index 2d80fcf..a9f629c 100644 --- a/po/it.po +++ b/po/it.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-04-07 18:06+0100\n" "Last-Translator: bernardo miguel savone \n" "Language-Team: Italian\n" @@ -335,22 +335,26 @@ msgid "Name" msgstr "Nome" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Dimensione" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Info" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Dipendenze" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Dettagli" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Files" diff --git a/po/nb.po b/po/nb.po index 1d9281a..a7d30b7 100644 --- a/po/nb.po +++ b/po/nb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-03-30 15:18+0100\n" "Last-Translator: \n" "Language-Team: Norway\n" @@ -334,22 +334,26 @@ msgid "Name" msgstr "Navn" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Størrelse" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Informasjon" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Avhengigheter" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Detaljer" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Filer" diff --git a/po/pl.po b/po/pl.po index e35b929..fb4d89f 100644 --- a/po/pl.po +++ b/po/pl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-03-30 15:18+0100\n" "Last-Translator: Kuba Kaczmarzyk (poker98face) \n" "Language-Team: Poland\n" @@ -334,22 +334,26 @@ msgid "Name" msgstr "Nazwa" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Rozmiar" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Informacje" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Zależności" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Szczegóły" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Pliki" diff --git a/po/pt_BR.po b/po/pt_BR.po index 1b233ab..7f8f00f 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-04-02 17:10+0100\n" "Last-Translator: Holmes , matt \n" @@ -335,22 +335,26 @@ msgid "Name" msgstr "Nome" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Tamanho" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Informações" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Dependências" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Detalhes" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Arquivos" diff --git a/po/ro.po b/po/ro.po index 2043733..ee44d16 100644 --- a/po/ro.po +++ b/po/ro.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-03-30 15:18+0100\n" "Last-Translator: \n" "Language-Team: Romanian\n" @@ -334,22 +334,26 @@ msgid "Name" msgstr "Nume" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Mărime" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Informații" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Dependențe" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Detailii" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Fișiere" diff --git a/po/tr.po b/po/tr.po index 01e486b..1ca061c 100644 --- a/po/tr.po +++ b/po/tr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: pamac\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-17 14:32+0200\n" +"POT-Creation-Date: 2013-04-17 15:31+0200\n" "PO-Revision-Date: 2013-03-30 15:18+0100\n" "Last-Translator: YFDogan \n" "Language-Team: Turkish\n" @@ -334,22 +334,26 @@ msgid "Name" msgstr "İsim" #: gui/manager.glade:732 +msgid "Version" +msgstr "" + +#: gui/manager.glade:749 msgid "Size" msgstr "Boyut" -#: gui/manager.glade:833 +#: gui/manager.glade:850 msgid "Infos" msgstr "Bilgi" -#: gui/manager.glade:893 +#: gui/manager.glade:910 msgid "Deps" msgstr "Bağımlılıklar" -#: gui/manager.glade:958 +#: gui/manager.glade:975 msgid "Details" msgstr "Ayrıntılar" -#: gui/manager.glade:1006 +#: gui/manager.glade:1023 msgid "Files" msgstr "Dosyalar"