summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-01-13 12:20:30 +0000
committerJason Woodward2010-01-13 12:20:30 +0000
commit112d4c31a33a0b50c3119ae36756bfe2470bfa82 (patch)
treedaa2914267f700ac40c3635b7535308d7d04af5d
parent5ea6b15bef68299339f8eb0a5b8194e87e6b0774 (diff)
downloadgslapt-112d4c31a33a0b50c3119ae36756bfe2470bfa82.tar.gz
Added default strings for the dependency, changelog, and files tabs in the event there is no data (thanks George)
-rw-r--r--ChangeLog4
-rw-r--r--po/bg.po11
-rw-r--r--po/de.po11
-rw-r--r--po/el.po11
-rw-r--r--po/en.po11
-rw-r--r--po/es.po11
-rw-r--r--po/fr.po11
-rw-r--r--po/gl_ES.po11
-rw-r--r--po/gslapt.pot11
-rw-r--r--po/id.po11
-rw-r--r--po/it.po11
-rw-r--r--po/ja.po11
-rw-r--r--po/nl.po11
-rw-r--r--po/pl.po11
-rw-r--r--po/pt.po11
-rw-r--r--po/pt_BR.po11
-rw-r--r--po/ru.po11
-rw-r--r--po/sk.po11
-rw-r--r--po/sv.po11
-rw-r--r--po/tr.po11
-rw-r--r--po/uk.po11
-rw-r--r--po/vi.po11
-rw-r--r--po/zh_CN.po11
-rw-r--r--src/callbacks.c169
24 files changed, 311 insertions, 104 deletions
diff --git a/ChangeLog b/ChangeLog
index a4f0e8d..4f9012f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
-0.5.2b Jan 12, 2010
+0.5.2b Jan 13, 2010
+ * Added default strings for the dependency, changelog, and files tabs
+ in the event there is no data (thanks George)
* added "Installed Size" column header to translation files (thanks George)
* save and restore window position and size between invocations
* free several package lists that were never freed
diff --git a/po/bg.po b/po/bg.po
index 43f1b17..8557a45 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Victor Keranov <victor_keranov@mail.bg>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -541,3 +541,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/de.po b/po/de.po
index f94394d..b637d1f 100644
--- a/po/de.po
+++ b/po/de.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Manfred Mueller <mmueller@live-modules.org>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -546,3 +546,12 @@ msgstr "Inoffiziell"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/el.po b/po/el.po
index dea3823..dd52d54 100644
--- a/po/el.po
+++ b/po/el.po
@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: gslapt\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: George Vlahavas <vlahavas~at~gmail~dot~com>\n"
"Language-Team: Greek\n"
"MIME-Version: 1.0\n"
@@ -540,3 +540,12 @@ msgstr "Προσαρμοσμένη"
msgid "Files"
msgstr "Αρχεία"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/en.po b/po/en.po
index cbac13d..c5ec0bd 100644
--- a/po/en.po
+++ b/po/en.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-20 16:24-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Jason Woodward <woodwardj@jaos.org>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -542,3 +542,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/es.po b/po/es.po
index 2bae9f7..c2945cb 100644
--- a/po/es.po
+++ b/po/es.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Manuel Barallobre (BARA) <bara666@gmail.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -538,3 +538,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/fr.po b/po/fr.po
index 16aa489..8a6c428 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Natim <natim@trunat.fr>\n"
"Language-Team: <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -541,3 +541,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/gl_ES.po b/po/gl_ES.po
index c2a5751..eefbeda 100644
--- a/po/gl_ES.po
+++ b/po/gl_ES.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Manuel Barallobre (BARA) <bara666@gmail.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -538,3 +538,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/gslapt.pot b/po/gslapt.pot
index 15a8776..8063822 100644
--- a/po/gslapt.pot
+++ b/po/gslapt.pot
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Jason Woodward <woodwardj@jaos.org>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -543,3 +543,12 @@ msgstr ""
msgid "Files"
msgstr ""
+msgid "The list of installed files is only available for installed packages"
+msgstr ""
+
+msgid "No dependency information available"
+msgstr ""
+
+msgid "No changelog information available"
+msgstr ""
+
diff --git a/po/id.po b/po/id.po
index 1f50e76..e60727b 100644
--- a/po/id.po
+++ b/po/id.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Kemas Antonius <kyantonius@kyantonius.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -541,3 +541,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/it.po b/po/it.po
index 7bab5b2..9a03dce 100644
--- a/po/it.po
+++ b/po/it.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-07-28 18:01+0000\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Fabio Varesano <fvaresano@yahoo.it>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -542,3 +542,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/ja.po b/po/ja.po
index 615c9e7..4959e90 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2006-03-07 20:26+0900\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: JW <J_W@somewhere.c0.jp>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -550,3 +550,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/nl.po b/po/nl.po
index 0d6b8bc..9a25d40 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-08-18 23:06+0200\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Martijn Dekker <martijn@inlv.demon.nl>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -543,3 +543,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/pl.po b/po/pl.po
index fc9bae0..8dfbf92 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-17 14:52-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Piotr Simon <sajmon@tenboard.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -542,3 +542,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/pt.po b/po/pt.po
index dce4d6b..d04a70c 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-05-06 11:10-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Pedro Pinto aka _PN_boy <pedro_nuno_pn@zmail.pt>\n"
"Language-Team: slapt-get devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -538,3 +538,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/pt_BR.po b/po/pt_BR.po
index af1b05d..9751aba 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Srgio Surkamp <surkamp@gamil.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -543,3 +543,12 @@ msgstr "Personalizado"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/ru.po b/po/ru.po
index a509ef7..31e0d27 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-09-08 00:54\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: sin <digitalhunger@gmail.com>\n"
"Language-Team: DeepStyle team <deep@deepstyle.org.ua>\n"
"MIME-Version: 1.0\n"
@@ -543,3 +543,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/sk.po b/po/sk.po
index fa6e569..faf2a77 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-06-23 21:28-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Erik Gyepes <depi@depi.sk>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -542,3 +542,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/sv.po b/po/sv.po
index 10f80b2..76bf8ce 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Hakan Lindqvist <tfy00hlt@cs.umu.se>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -542,3 +542,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/tr.po b/po/tr.po
index 61e0249..1730f7f 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Bekir SONAT <bekirsonat@kde.org.tr>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -542,3 +542,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/uk.po b/po/uk.po
index 69c87bf..e077628 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-09-08 00:54\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: sin <digitalhunger@gmail.com>\n"
"Language-Team: DeepStyle team <deep@deepstyle.org.ua>\n"
"MIME-Version: 1.0\n"
@@ -543,3 +543,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/vi.po b/po/vi.po
index 60fc058..6ca591d 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Nguyễn Văn Vũ <vncasper@yahoo.com>\n"
"Language-Team: gnome-vi <gnomevi-list@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
@@ -542,3 +542,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 5af40de..03ea51c 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.5.2b\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2010-01-13 09:00+0500\n"
+"PO-Revision-Date: 2010-01-13 11:00+0500\n"
"Last-Translator: Yang Jinsong <shannleon@gmail.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -543,3 +543,12 @@ msgstr "Custom"
msgid "Files"
msgstr "Files"
+msgid "The list of installed files is only available for installed packages"
+msgstr "The list of installed files is only available for installed packages"
+
+msgid "No dependency information available"
+msgstr "No dependency information available"
+
+msgid "No changelog information available"
+msgstr "No changelog information available"
+
diff --git a/src/callbacks.c b/src/callbacks.c
index b2bb786..faf3d65 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -769,110 +769,117 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
/* dependency information tab */
store = gtk_tree_store_new(1,G_TYPE_STRING);
- gtk_tree_store_append(store,&iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("<b>Required:</b>"),-1);
-
- if (pkg->required != NULL && strlen(pkg->required) > 2) {
- GtkTreeIter child_iter;
- int position = 0, len = strlen(pkg->required);
-
- while (position < len) {
- char *ptr = pkg->required + position;
- if (strstr(ptr,",") == NULL) {
- gtk_tree_store_append(store,&child_iter,&iter);
- gtk_tree_store_set(store,&child_iter,0,ptr,-1);
- position += strlen(ptr);
- break;
- } else {
- char *buffer = NULL,*token = NULL;
+ if (pkg->installed == SLAPT_FALSE) {
- if ((pkg->required[position] == ',') || (pkg->required[position] == ' ')) {
- ++position;
- continue;
- }
+ gtk_tree_store_append(store,&iter,NULL);
+ gtk_tree_store_set(store,&iter,0,_("<b>Required:</b>"),-1);
+
+ if (pkg->required != NULL && strlen(pkg->required) > 2) {
+ GtkTreeIter child_iter;
+ int position = 0, len = strlen(pkg->required);
+
+ while (position < len) {
+ char *ptr = pkg->required + position;
+ if (strstr(ptr,",") == NULL) {
+ gtk_tree_store_append(store,&child_iter,&iter);
+ gtk_tree_store_set(store,&child_iter,0,ptr,-1);
+ position += strlen(ptr);
+ break;
+ } else {
+ char *buffer = NULL,*token = NULL;
- token = strchr(ptr,',');
- buffer = strndup(ptr,strlen(ptr) - strlen(token));
+ if ((pkg->required[position] == ',') || (pkg->required[position] == ' ')) {
+ ++position;
+ continue;
+ }
+
+ token = strchr(ptr,',');
+ buffer = strndup(ptr,strlen(ptr) - strlen(token));
- gtk_tree_store_append(store,&child_iter,&iter);
- gtk_tree_store_set(store,&child_iter,0,buffer,-1);
+ gtk_tree_store_append(store,&child_iter,&iter);
+ gtk_tree_store_set(store,&child_iter,0,buffer,-1);
- position += strlen(ptr) - strlen(token);
- free(buffer);
+ position += strlen(ptr) - strlen(token);
+ free(buffer);
+ }
+
}
-
}
- }
- gtk_tree_store_append(store, &iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("<b>Conflicts:</b>"), -1);
+ gtk_tree_store_append(store, &iter,NULL);
+ gtk_tree_store_set(store,&iter,0,_("<b>Conflicts:</b>"), -1);
- if (pkg->conflicts != NULL && strlen(pkg->conflicts) > 2) {
- GtkTreeIter child_iter;
- int position = 0, len = strlen(pkg->conflicts);
+ if (pkg->conflicts != NULL && strlen(pkg->conflicts) > 2) {
+ GtkTreeIter child_iter;
+ int position = 0, len = strlen(pkg->conflicts);
- while (position < len) {
- char *ptr = pkg->conflicts + position;
- if (strstr(ptr,",") == NULL) {
- gtk_tree_store_append(store,&child_iter,&iter);
- gtk_tree_store_set(store,&child_iter,0,ptr,-1);
- position += strlen(ptr);
- break;
- } else {
- char *buffer = NULL,*token = NULL;
+ while (position < len) {
+ char *ptr = pkg->conflicts + position;
+ if (strstr(ptr,",") == NULL) {
+ gtk_tree_store_append(store,&child_iter,&iter);
+ gtk_tree_store_set(store,&child_iter,0,ptr,-1);
+ position += strlen(ptr);
+ break;
+ } else {
+ char *buffer = NULL,*token = NULL;
- if ((pkg->conflicts[position] == ',') || (pkg->conflicts[position] == ' ')) {
- ++position;
- continue;
- }
+ if ((pkg->conflicts[position] == ',') || (pkg->conflicts[position] == ' ')) {
+ ++position;
+ continue;
+ }
- token = strchr(ptr,',');
- buffer = strndup(ptr,strlen(ptr) - strlen(token));
+ token = strchr(ptr,',');
+ buffer = strndup(ptr,strlen(ptr) - strlen(token));
- gtk_tree_store_append(store,&child_iter,&iter);
- gtk_tree_store_set(store,&child_iter,0,buffer,-1);
+ gtk_tree_store_append(store,&child_iter,&iter);
+ gtk_tree_store_set(store,&child_iter,0,buffer,-1);
- position += strlen(ptr) - strlen(token);
- free(buffer);
+ position += strlen(ptr) - strlen(token);
+ free(buffer);
+ }
}
}
- }
- gtk_tree_store_append(store, &iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("<b>Suggests:</b>"),-1);
+ gtk_tree_store_append(store, &iter,NULL);
+ gtk_tree_store_set(store,&iter,0,_("<b>Suggests:</b>"),-1);
- if (pkg->suggests != NULL && strlen(pkg->suggests) > 2) {
- GtkTreeIter child_iter;
- int position = 0, len = strlen(pkg->suggests);
+ if (pkg->suggests != NULL && strlen(pkg->suggests) > 2) {
+ GtkTreeIter child_iter;
+ int position = 0, len = strlen(pkg->suggests);
- while (position < len) {
- char *ptr = pkg->suggests + position;
- if ((strstr(ptr,",") == NULL) && (strstr(ptr," ") == NULL)) {
- gtk_tree_store_append(store,&child_iter,&iter);
- gtk_tree_store_set(store,&child_iter,0,ptr,-1);
- position += strlen(ptr);
- break;
- } else {
- char *buffer = NULL,*token = NULL;
+ while (position < len) {
+ char *ptr = pkg->suggests + position;
+ if ((strstr(ptr,",") == NULL) && (strstr(ptr," ") == NULL)) {
+ gtk_tree_store_append(store,&child_iter,&iter);
+ gtk_tree_store_set(store,&child_iter,0,ptr,-1);
+ position += strlen(ptr);
+ break;
+ } else {
+ char *buffer = NULL,*token = NULL;
- if ((pkg->suggests[position] == ',') || (pkg->suggests[position] == ' ')) {
- ++position;
- continue;
- }
+ if ((pkg->suggests[position] == ',') || (pkg->suggests[position] == ' ')) {
+ ++position;
+ continue;
+ }
- token = strpbrk(ptr,", ");
- if (token == NULL)
- break;
+ token = strpbrk(ptr,", ");
+ if (token == NULL)
+ break;
- buffer = strndup(ptr,strlen(ptr) - strlen(token));
+ buffer = strndup(ptr,strlen(ptr) - strlen(token));
- gtk_tree_store_append(store,&child_iter,&iter);
- gtk_tree_store_set(store,&child_iter,0,buffer,-1);
+ gtk_tree_store_append(store,&child_iter,&iter);
+ gtk_tree_store_set(store,&child_iter,0,buffer,-1);
- position += strlen(ptr) - strlen(token);
- free(buffer);
+ position += strlen(ptr) - strlen(token);
+ free(buffer);
+ }
}
}
+
+ } else { /* installed */
+ gtk_tree_store_append(store,&iter,NULL);
+ gtk_tree_store_set(store,&iter,0,_("No dependency information available"),-1);
}
columns = gtk_tree_view_get_columns(GTK_TREE_VIEW(treeview));
@@ -914,7 +921,7 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
gtk_text_buffer_set_text(pkg_changelog, changelog, -1);
free(changelog);
} else {
- gtk_text_buffer_set_text(pkg_changelog, "", -1);
+ gtk_text_buffer_set_text(pkg_changelog, _("No changelog information available"), -1);
}
/* file list tab */
@@ -930,7 +937,7 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
gtk_text_buffer_set_text(pkg_filelist, filelist, -1);
free(filelist);
} else {
- gtk_text_buffer_set_text(pkg_filelist, "", -1);
+ gtk_text_buffer_set_text(pkg_filelist, _("The list of installed files is only available for installed packages"), -1);
}
/* set status */