add a version column and update po files

This commit is contained in:
guinux 2013-04-17 15:37:34 +02:00
parent 279bcc44b0
commit 588a158f73
15 changed files with 167 additions and 94 deletions

View File

@ -678,14 +678,14 @@
<object class="GtkTreeViewColumn" id="installed_column">
<property name="resizable">True</property>
<property name="sizing">fixed</property>
<property name="fixed_width">100</property>
<property name="fixed_width">80</property>
<property name="title" translatable="yes">State</property>
<property name="clickable">True</property>
<property name="sort_indicator">True</property>
<property name="sort_column_id">1</property>
<child>
<object class="GtkCellRendererToggle" id="cellrenderertoggle1">
<property name="xpad">15</property>
<property name="xpad">5</property>
<property name="xalign">0</property>
<signal name="toggled" handler="on_cellrenderertoggle1_toggled" swapped="no"/>
</object>
@ -696,7 +696,7 @@
</child>
<child>
<object class="GtkCellRendererPixbuf" id="cellrendererpixbuf1">
<property name="xpad">15</property>
<property name="xpad">5</property>
<property name="xalign">1</property>
</object>
<attributes>
@ -724,11 +724,28 @@
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="version_column">
<property name="resizable">True</property>
<property name="sizing">fixed</property>
<property name="fixed_width">80</property>
<property name="title" translatable="yes">Version</property>
<property name="clickable">True</property>
<property name="sort_indicator">True</property>
<property name="sort_column_id">7</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext15"/>
<attributes>
<attribute name="text">7</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="size_column">
<property name="resizable">True</property>
<property name="sizing">fixed</property>
<property name="fixed_width">50</property>
<property name="fixed_width">80</property>
<property name="title" translatable="yes">Size</property>
<property name="clickable">True</property>
<property name="sort_indicator">True</property>
@ -1123,24 +1140,6 @@
</object>
</child>
</object>
<object class="GtkListStore" id="packages_list">
<columns>
<!-- column-name name -->
<column type="gchararray"/>
<!-- column-name installed -->
<column type="gboolean"/>
<!-- column-name visible -->
<column type="gboolean"/>
<!-- column-name active -->
<column type="gboolean"/>
<!-- column-name icon -->
<column type="GdkPixbuf"/>
<!-- column-name size_string -->
<column type="gchararray"/>
<!-- column-name real_size -->
<column type="gint"/>
</columns>
</object>
<object class="GtkListStore" id="repos_list">
<columns>
<!-- column-name name -->
@ -1159,6 +1158,26 @@
<column type="gchararray"/>
</columns>
</object>
<object class="GtkListStore" id="packages_list">
<columns>
<!-- column-name name -->
<column type="gchararray"/>
<!-- column-name installed -->
<column type="gboolean"/>
<!-- column-name visible -->
<column type="gboolean"/>
<!-- column-name active -->
<column type="gboolean"/>
<!-- column-name icon -->
<column type="GdkPixbuf"/>
<!-- column-name size_string -->
<column type="gchararray"/>
<!-- column-name real_size -->
<column type="gint"/>
<!-- column-name version -->
<column type="gchararray"/>
</columns>
</object>
<object class="GtkListStore" id="transaction_sum">
<columns>
<!-- column-name action -->

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""

View File

@ -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():

View File

@ -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 <ofernandeza@gmail.com>\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"

View File

@ -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: <andreasmartinmorch@gmail.com>\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"

View File

@ -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 <philm@manjaro.org>\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"

View File

@ -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 <angelsolomos@gmail.com>\n"
"Language-Team: Greek <angelsolomos@gmail.com>\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 "Αρχεία"

View File

@ -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 <danpergal84@gmail.com>\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"

View File

@ -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: <elvirolo@gmail.com>\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"

View File

@ -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 <bmsavone@gmail.com>\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"

View File

@ -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: <tflovik@online.no>\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"

View File

@ -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) <poker98face@gmail.com>\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"

View File

@ -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 <manjarobrasil@gmail.com>, matt <matt.manjaro@gmail."
"com>\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"

View File

@ -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: <alexandru.ianu@gmail.com>\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"

View File

@ -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 <yfdogan@gmail.com>\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"