[PackageKit-commit] packagekit: Branch 'master' - 31 commits
Richard Hughes
hughsient at kemper.freedesktop.org
Fri Oct 2 07:02:54 PDT 2009
backends/yum/yumBackend.py | 30
client/pk-console.c | 12
contrib/command-not-found/pk-command-not-found.c | 40
docs/api/PackageKit-docs.sgml | 3
etc/PackageKit.conf.in | 18
lib/packagekit-glib2/pk-client.c | 145 +
lib/packagekit-glib2/pk-common.h | 7
lib/python/packagekit/backend.py | 10
po/da.po | 599 +++-----
po/nl.po | 461 +++---
po/pl.po | 467 +++---
po/zh_CN.po | 1671 +++++++++++++++--------
src/org.freedesktop.PackageKit.Transaction.xml | 67
src/pk-backend-spawn.c | 17
src/pk-backend.c | 173 +-
src/pk-backend.h | 6
src/pk-engine.c | 2
src/pk-shared.h | 7
src/pk-spawn.c | 134 +
src/pk-spawn.h | 2
src/pk-transaction-list.c | 84 -
src/pk-transaction-list.h | 3
src/pk-transaction.c | 131 +
src/pk-transaction.h | 3
24 files changed, 2573 insertions(+), 1519 deletions(-)
New commits:
commit 7f0e4e1e0ed8e6f93f6dcca30c87ffeeb3a43d58
Author: Richard Hughes <richard at hughsie.com>
Date: Fri Oct 2 14:57:01 2009 +0100
trivial: yum: remove an unused method
diff --git a/backends/yum/yumBackend.py b/backends/yum/yumBackend.py
index f4df6fc..5169d45 100755
--- a/backends/yum/yumBackend.py
+++ b/backends/yum/yumBackend.py
@@ -2688,32 +2688,6 @@ class PackageKitYumBackend(PackageKitBaseBackend, PackagekitPackage):
# default to 100% unless method overrides
self.yumbase.conf.throttle = "90%"
- def _refresh_yum_cache(self):
- self.status(STATUS_REFRESH_CACHE)
- old_cache_setting = self.yumbase.conf.cache
- self.yumbase.conf.cache = 0
- try:
- self.yumbase.repos.setCache(0)
- except Exception, e:
- raise PkError(ERROR_INTERNAL_ERROR, _format_str(traceback.format_exc()))
-
- try:
- self.yumbase.repos.populateSack(mdtype='metadata', cacheonly=1)
- self.yumbase.repos.populateSack(mdtype='filelists', cacheonly=1)
- self.yumbase.repos.populateSack(mdtype='otherdata', cacheonly=1)
- except yum.Errors.RepoError, e:
- raise PkError(ERROR_REPO_NOT_AVAILABLE, _to_unicode(e))
- except exceptions.IOError, e:
- raise PkError(ERROR_NO_SPACE_ON_DEVICE, _to_unicode(e))
- except Exception, e:
- raise PkError(ERROR_INTERNAL_ERROR, _format_str(traceback.format_exc()))
-
- self.yumbase.conf.cache = old_cache_setting
- try:
- self.yumbase.repos.setCache(old_cache_setting)
- except Exception, e:
- raise PkError(ERROR_INTERNAL_ERROR, _format_str(traceback.format_exc()))
-
def _setup_yum(self):
try:
# setup Yum Config
commit 566cf964b32bf545142fbaf4784b46f936734e12
Author: Richard Hughes <richard at hughsie.com>
Date: Fri Oct 2 14:55:45 2009 +0100
yum: don't explicitly download the file lists as we're not globbing as we can use the provide data
diff --git a/backends/yum/yumBackend.py b/backends/yum/yumBackend.py
index 9b5ccee..f4df6fc 100755
--- a/backends/yum/yumBackend.py
+++ b/backends/yum/yumBackend.py
@@ -711,7 +711,7 @@ class PackageKitYumBackend(PackageKitBaseBackend, PackagekitPackage):
if not FILTER_INSTALLED in fltlist:
for value in values:
try:
- self.yumbase.repos.populateSack(mdtype='filelists')
+ # we don't need the filelists as we're not globbing
pkgs = self.yumbase.pkgSack.searchFiles(value)
except yum.Errors.RepoError, e:
self.error(ERROR_NO_CACHE, "failed to search sack: %s" %_to_unicode(e), exit=False)
commit 83b77c531ebd399235874f14c941f01a65974916
Author: Richard Hughes <richard at hughsie.com>
Date: Fri Oct 2 14:48:10 2009 +0100
trivial: add some missing documentation links
diff --git a/docs/api/PackageKit-docs.sgml b/docs/api/PackageKit-docs.sgml
index 6227a32..d3821d9 100644
--- a/docs/api/PackageKit-docs.sgml
+++ b/docs/api/PackageKit-docs.sgml
@@ -85,7 +85,10 @@
</partintro>
<xi:include href="xml/egg-debug.xml"/>
<xi:include href="xml/pk-common.xml"/>
+ <xi:include href="xml/pk-client-sync.xml"/>
+ <xi:include href="xml/pk-control-sync.xml"/>
<xi:include href="xml/pk-enum.xml"/>
+ <xi:include href="xml/pk-bitfield.xml"/>
<xi:include href="xml/pk-item.xml"/>
<xi:include href="xml/pk-package-id.xml"/>
<xi:include href="xml/pk-package-ids.xml"/>
commit 160c40c61517f8ea80db3f2db689bed2109fff97
Author: Richard Hughes <richard at hughsie.com>
Date: Fri Oct 2 11:38:52 2009 +0100
cnf: Actually run the program, rather than offer to install it again. Trivial copy and paste problem.
diff --git a/contrib/command-not-found/pk-command-not-found.c b/contrib/command-not-found/pk-command-not-found.c
index 813b1b6..4ea8718 100644
--- a/contrib/command-not-found/pk-command-not-found.c
+++ b/contrib/command-not-found/pk-command-not-found.c
@@ -538,6 +538,32 @@ out:
}
/**
+ * pk_cnf_spawn_command:
+ **/
+static gboolean
+pk_cnf_spawn_command (const gchar *exec, gchar **arguments)
+{
+ gboolean ret;
+ gchar *cmd;
+ gchar *args;
+ GError *error = NULL;
+
+ args = g_strjoinv (" ", arguments);
+ cmd = g_strjoin (" ", exec, args, NULL);
+ ret = g_spawn_command_line_async (cmd, &error);
+ if (!ret) {
+ /* TRANSLATORS: we failed to launch the executable, the error follows */
+ g_print ("%s '%s': %s", _("Failed to launch:"), cmd, error->message);
+ g_error_free (error);
+ goto out;
+ }
+out:
+ g_free (args);
+ g_free (cmd);
+ return ret;
+}
+
+/**
* pk_cnf_install_package_id:
**/
static gboolean
@@ -672,7 +698,7 @@ main (int argc, char *argv[])
/* run */
} else if (config->single_match == PK_CNF_POLICY_RUN) {
- pk_cnf_install_package_id (possible);
+ pk_cnf_spawn_command (possible, &argv[1]);
/* ask */
} else if (config->single_match == PK_CNF_POLICY_ASK) {
@@ -680,7 +706,7 @@ main (int argc, char *argv[])
text = g_strdup_printf ("%s %s", _("Run similar command:"), possible);
ret = pk_console_get_prompt (text, TRUE);
if (ret)
- pk_cnf_install_package_id (possible);
+ pk_cnf_spawn_command (possible, &argv[1]);
g_free (text);
}
goto out;
@@ -709,7 +735,7 @@ main (int argc, char *argv[])
/* run command */
possible = g_ptr_array_index (array, i);
- pk_cnf_install_package_id (possible);
+ pk_cnf_spawn_command (possible, &argv[1]);
}
goto out;
@@ -732,12 +758,14 @@ main (int argc, char *argv[])
if (ret) {
ret = pk_cnf_install_package_id (package_ids[0]);
if (ret)
- pk_cnf_install_package_id (argv[1]);
+ pk_cnf_spawn_command (argv[0], &argv[1]);
}
/* install */
} else if (config->single_install == PK_CNF_POLICY_INSTALL) {
- pk_cnf_install_package_id (package_ids[0]);
+ ret = pk_cnf_install_package_id (package_ids[0]);
+ if (ret)
+ pk_cnf_spawn_command (argv[0], &argv[1]);
}
g_strfreev (parts);
goto out;
@@ -768,7 +796,7 @@ main (int argc, char *argv[])
/* run command */
ret = pk_cnf_install_package_id (package_ids[i]);
if (ret)
- pk_cnf_install_package_id (argv[1]);
+ pk_cnf_spawn_command (argv[0], &argv[1]);
}
goto out;
}
commit 3b4700584517962b16d6065d92521a28c850c232
Author: warrink <warrink at fedoraproject.org>
Date: Thu Oct 1 23:12:41 2009 +0000
Sending translation for Dutch
diff --git a/po/nl.po b/po/nl.po
index d1a1ad9..149bcee 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: packagekit.master.nl\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-09-30 15:31+0000\n"
-"PO-Revision-Date: 2009-09-30 19:55+0200\n"
+"POT-Creation-Date: 2009-10-01 20:34+0000\n"
+"PO-Revision-Date: 2009-10-02 01:12+0200\n"
"Last-Translator: Geert Warrink <geert.warrink at onsnet.nu>\n"
"Language-Team: nl <nl at li.org>\n"
"MIME-Version: 1.0\n"
@@ -343,7 +343,7 @@ msgstr ""
#. TRANSLATORS: command line argument, if we should show debugging information
#. TRANSLATORS: if we should show debugging data
-#: ../client/pk-console.c:987 ../client/pk-generate-pack.c:223
+#: ../client/pk-console.c:989 ../client/pk-generate-pack.c:223
#: ../client/pk-monitor.c:281
#: ../contrib/command-not-found/pk-command-not-found.c:620
#: ../contrib/debuginfo-install/pk-debuginfo-install.c:512
@@ -352,132 +352,145 @@ msgid "Show extra debugging information"
msgstr "Extra debuginformatie tonen"
#. TRANSLATORS: command line argument, just show the version string
-#: ../client/pk-console.c:990 ../client/pk-monitor.c:283
+#: ../client/pk-console.c:992 ../client/pk-monitor.c:283
msgid "Show the program version and exit"
msgstr "Programmaversie tonen en sluiten"
#. TRANSLATORS: command line argument, use a filter to narrow down results
-#: ../client/pk-console.c:993
+#: ../client/pk-console.c:995
msgid "Set the filter, e.g. installed"
msgstr "Filter instellen, bijvoorbeeld geïnstalleerd"
#. TRANSLATORS: command line argument, work asynchronously
-#: ../client/pk-console.c:996
+#: ../client/pk-console.c:998
msgid "Exit without waiting for actions to complete"
msgstr "Afsluiten zonder te wachten tot de transacties zijn afgerond"
+#. command line argument, do we ask questions
+#: ../client/pk-console.c:1001
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:524
+msgid "Install the packages without asking for confirmation"
+msgstr "Installeer het pakket zonder goedkeuring te vragen"
+
+#. TRANSLATORS: command line argument, this command is not a priority
+#: ../client/pk-console.c:1004
+msgid "Run the command using idle network bandwidth and also using less power"
+msgstr ""
+"Voer het commando uit met gebruik van onbenutte netwerk bandbreedte en ook "
+"om minder vermogen te gebruiken"
+
#. TRANSLATORS: we failed to contact the daemon
-#: ../client/pk-console.c:1022
+#: ../client/pk-console.c:1030
msgid "Failed to contact PackageKit"
msgstr "Contact met PackageKit krijgen mislukte."
#. TRANSLATORS: The user specified an incorrect filter
-#: ../client/pk-console.c:1074
+#: ../client/pk-console.c:1086
msgid "The filter specified was invalid"
msgstr "De opgegeven filter was ongeldig"
#. TRANSLATORS: a search type can be name, details, file, etc
-#: ../client/pk-console.c:1093
+#: ../client/pk-console.c:1105
msgid "A search type is required, e.g. name"
msgstr "Een zoektype is verplicht, b.v. naam"
#. TRANSLATORS: the user needs to provide a search term
-#: ../client/pk-console.c:1100 ../client/pk-console.c:1112
-#: ../client/pk-console.c:1124 ../client/pk-console.c:1136
+#: ../client/pk-console.c:1112 ../client/pk-console.c:1124
+#: ../client/pk-console.c:1136 ../client/pk-console.c:1148
msgid "A search term is required"
msgstr "Een zoekterm is vereist"
#. TRANSLATORS: the search type was provided, but invalid
-#: ../client/pk-console.c:1146
+#: ../client/pk-console.c:1158
msgid "Invalid search type"
msgstr "Ongeldig zoektype"
#. TRANSLATORS: the user did not specify what they wanted to install
-#: ../client/pk-console.c:1152
+#: ../client/pk-console.c:1164
msgid "A package name to install is required"
msgstr "Een pakketnaam om te installeren is vereist"
#. TRANSLATORS: the user did not specify what they wanted to install
-#: ../client/pk-console.c:1161
+#: ../client/pk-console.c:1173
msgid "A filename to install is required"
msgstr "Een bestandsnaam om te installeren is vereist"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1173
+#: ../client/pk-console.c:1185
msgid "A type, key_id and package_id are required"
msgstr "Er moet een type worden opgegeven, key_id of package_id"
#. TRANSLATORS: the user did not specify what they wanted to remove
-#: ../client/pk-console.c:1184
+#: ../client/pk-console.c:1196
msgid "A package name to remove is required"
msgstr "Een te verwijderen pakketnaam is vereist"
#. TRANSLATORS: the user did not specify anything about what to download or where
-#: ../client/pk-console.c:1193
+#: ../client/pk-console.c:1205
msgid "A destination directory and the package names to download are required"
msgstr "Een doelmap en dan de namen van te downloaden pakketten zijn vereist"
#. TRANSLATORS: the directory does not exist, so we can't continue
-#: ../client/pk-console.c:1200
+#: ../client/pk-console.c:1212
msgid "Directory not found"
msgstr "Map niet gevonden"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1209
+#: ../client/pk-console.c:1221
msgid "A licence identifier (eula-id) is required"
msgstr "Een licentie indentificatie (eula-id) is vereis"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1220
+#: ../client/pk-console.c:1232
msgid "A transaction identifier (tid) is required"
msgstr "Een transactie indentificatie (tid) is vereist"
#. TRANSLATORS: The user did not specify a package name
-#: ../client/pk-console.c:1241
+#: ../client/pk-console.c:1253
msgid "A package name to resolve is required"
msgstr "Een pakketnaam om te gebruiken is vereist"
#. TRANSLATORS: The user did not specify a repository (software source) name
-#: ../client/pk-console.c:1252 ../client/pk-console.c:1263
+#: ../client/pk-console.c:1264 ../client/pk-console.c:1275
msgid "A repository name is required"
msgstr "Een naam van een repository is vereist"
#. TRANSLATORS: The user didn't provide any data
-#: ../client/pk-console.c:1274
+#: ../client/pk-console.c:1286
msgid "A repo name, parameter and value are required"
msgstr "Een repo naam, parameter en waarde zijn vereist"
#. TRANSLATORS: The user didn't specify what action to use
-#: ../client/pk-console.c:1291
+#: ../client/pk-console.c:1303
msgid "An action, e.g. 'update-system' is required"
msgstr "Een actie, b.v. 'update-system' is vereist"
#. TRANSLATORS: The user specified an invalid action
-#: ../client/pk-console.c:1298
+#: ../client/pk-console.c:1310
msgid "A correct role is required"
msgstr "Een correcte rol is vereist"
#. TRANSLATORS: The user did not provide a package name
#. TRANSLATORS: This is when the user fails to supply the package name
-#: ../client/pk-console.c:1308 ../client/pk-console.c:1323
-#: ../client/pk-console.c:1332 ../client/pk-console.c:1352
-#: ../client/pk-console.c:1361 ../client/pk-generate-pack.c:287
+#: ../client/pk-console.c:1320 ../client/pk-console.c:1335
+#: ../client/pk-console.c:1344 ../client/pk-console.c:1364
+#: ../client/pk-console.c:1373 ../client/pk-generate-pack.c:287
msgid "A package name is required"
msgstr "Een pakketnaam is vereist"
#. TRANSLATORS: each package "provides" certain things, e.g. mime(gstreamer-decoder-mp3), the user didn't specify it
-#: ../client/pk-console.c:1341
+#: ../client/pk-console.c:1353
msgid "A package provide string is required"
msgstr "Een pakket geleverde string is vereist"
#. TRANSLATORS: The user tried to use an unsupported option on the command line
-#: ../client/pk-console.c:1421
+#: ../client/pk-console.c:1433
#, c-format
msgid "Option '%s' is not supported"
msgstr "Optie '%s' wordt niet ondersteund"
#. TRANSLATORS: Generic failure of what they asked to do
-#: ../client/pk-console.c:1431
+#: ../client/pk-console.c:1443
msgid "Command failed"
msgstr "Opdracht mislukt"
@@ -775,11 +788,6 @@ msgstr "Installeer geen afhankelijkheden van de kern pakketten"
msgid "Do not display information or progress"
msgstr "Laat geen informatie zien over de voortgang"
-#. command line argument, do we ask questions
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:524
-msgid "Install the packages without asking for confirmation"
-msgstr "Installeer het pakket zonder goedkeuring te vragen"
-
#. TRANSLATORS: tool that gets called when the command is not found
#: ../contrib/debuginfo-install/pk-debuginfo-install.c:539
msgid "PackageKit Debuginfo Installer"
commit ea24ea64ccdbcf852074ac9154070b07a9dfbb9d
Author: kristho <kristho at fedoraproject.org>
Date: Thu Oct 1 22:17:05 2009 +0000
Sending translation for Danish
diff --git a/po/da.po b/po/da.po
index bc3a485..dc550b3 100644
--- a/po/da.po
+++ b/po/da.po
@@ -7,242 +7,242 @@ msgid ""
msgstr ""
"Project-Id-Version: packagekit\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-08-24 11:06+0100\n"
-"PO-Revision-Date: 2009-07-16 22:59+0200\n"
+"POT-Creation-Date: 2009-07-30 19:57+0000\n"
+"PO-Revision-Date: 2009-07-31 15:26+0200\n"
"Last-Translator: Kris Thomsen <lakristho at gmail.com>\n"
"Language-Team: Danish <dansk at dansk-gruppen.dk>\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"
#. TRANSLATORS: this is an atomic transaction
-#: ../client/pk-console.c:235
+#: ../client/pk-console.c:231
msgid "Transaction"
msgstr "Overførsel"
#. TRANSLATORS: this is the time the transaction was started in system timezone
-#: ../client/pk-console.c:237
+#: ../client/pk-console.c:233
msgid "System time"
msgstr "Systemtid"
#. TRANSLATORS: this is if the transaction succeeded or not
-#: ../client/pk-console.c:239
+#: ../client/pk-console.c:235
msgid "Succeeded"
msgstr "Gennemført"
#. TRANSLATORS: if the repo is enabled
-#: ../client/pk-console.c:239 ../client/pk-console.c:406
+#: ../client/pk-console.c:235 ../client/pk-console.c:402
msgid "True"
msgstr "Sandt"
-#: ../client/pk-console.c:239 ../client/pk-console.c:406
+#: ../client/pk-console.c:235 ../client/pk-console.c:402
msgid "False"
msgstr "Falskt"
#. TRANSLATORS: this is the transactions role, e.g. "update-system"
#. TRANSLATORS: the trasaction role, e.g. update-system
-#: ../client/pk-console.c:241 ../src/pk-polkit-action-lookup.c:327
+#: ../client/pk-console.c:237 ../src/pk-polkit-action-lookup.c:297
msgid "Role"
msgstr "Rolle"
#. TRANSLATORS: this is The duration of the transaction
-#: ../client/pk-console.c:246
+#: ../client/pk-console.c:242
msgid "Duration"
msgstr "Varighed"
-#: ../client/pk-console.c:246
+#: ../client/pk-console.c:242
msgid "(seconds)"
msgstr "(sekunder)"
#. TRANSLATORS: this is The command line used to do the action
#. TRANSLATORS: the command line of the thing that wants the authentication
-#: ../client/pk-console.c:250 ../src/pk-polkit-action-lookup.c:341
+#: ../client/pk-console.c:246 ../src/pk-polkit-action-lookup.c:311
msgid "Command line"
msgstr "Kommandolinje"
#. TRANSLATORS: this is the user ID of the user that started the action
-#: ../client/pk-console.c:252
+#: ../client/pk-console.c:248
msgid "User ID"
msgstr "Bruger-id"
#. TRANSLATORS: this is the username, e.g. hughsie
-#: ../client/pk-console.c:259
+#: ../client/pk-console.c:255
msgid "Username"
msgstr "Brugernavn"
#. TRANSLATORS: this is the users real name, e.g. "Richard Hughes"
-#: ../client/pk-console.c:263
+#: ../client/pk-console.c:259
msgid "Real name"
msgstr "Rigtige navn"
-#: ../client/pk-console.c:271
+#: ../client/pk-console.c:267
msgid "Affected packages:"
msgstr "Berørte pakker:"
-#: ../client/pk-console.c:273
+#: ../client/pk-console.c:269
msgid "Affected packages: None"
msgstr "Berørte pakker: Ingen"
#. TRANSLATORS: this is the distro, e.g. Fedora 10
-#: ../client/pk-console.c:298
+#: ../client/pk-console.c:294
msgid "Distribution"
msgstr "Distribution"
#. TRANSLATORS: this is type of update, stable or testing
-#: ../client/pk-console.c:300
+#: ../client/pk-console.c:296
msgid "Type"
msgstr "Type"
#. TRANSLATORS: this is any summary text describing the upgrade
#. TRANSLATORS: this is the summary of the group
-#: ../client/pk-console.c:302 ../client/pk-console.c:325
+#: ../client/pk-console.c:298 ../client/pk-console.c:321
msgid "Summary"
msgstr "Resumé"
#. TRANSLATORS: this is the group category name
-#: ../client/pk-console.c:314
+#: ../client/pk-console.c:310
msgid "Category"
msgstr "Kategori"
#. TRANSLATORS: this is group identifier
-#: ../client/pk-console.c:316
+#: ../client/pk-console.c:312
msgid "ID"
msgstr "Id"
#. TRANSLATORS: this is the parent group
-#: ../client/pk-console.c:319
+#: ../client/pk-console.c:315
msgid "Parent"
msgstr "Overliggende"
#. TRANSLATORS: this is the name of the parent group
-#: ../client/pk-console.c:322
+#: ../client/pk-console.c:318
msgid "Name"
msgstr "Navn"
#. TRANSLATORS: this is preferred icon for the group
-#: ../client/pk-console.c:328
+#: ../client/pk-console.c:324
msgid "Icon"
msgstr "Ikon"
#. TRANSLATORS: this is a header for the package that can be updated
-#: ../client/pk-console.c:343
+#: ../client/pk-console.c:339
msgid "Details about the update:"
msgstr "Detaljer om opdateringen:"
#. TRANSLATORS: details about the update, package name and version
#. TRANSLATORS: title, the names of the packages that the method is processing
-#: ../client/pk-console.c:345 ../src/pk-polkit-action-lookup.c:352
-#, fuzzy
+#: ../client/pk-console.c:341 ../src/pk-polkit-action-lookup.c:322
msgid "Package"
msgid_plural "Packages"
msgstr[0] "Pakke"
-msgstr[1] "Pakke"
+msgstr[1] "Pakker"
#. TRANSLATORS: details about the update, any packages that this update updates
-#: ../client/pk-console.c:348
+#: ../client/pk-console.c:344
msgid "Updates"
msgstr "Opdateringer"
#. TRANSLATORS: details about the update, any packages that this update obsoletes
-#: ../client/pk-console.c:352
+#: ../client/pk-console.c:348
msgid "Obsoletes"
msgstr "Forældede"
#. TRANSLATORS: details about the update, the vendor URLs
-#: ../client/pk-console.c:356
+#: ../client/pk-console.c:352
msgid "Vendor"
msgstr "Leverandør"
#. TRANSLATORS: details about the update, the bugzilla URLs
-#: ../client/pk-console.c:360
+#: ../client/pk-console.c:356
msgid "Bugzilla"
msgstr "Bugzilla"
#. TRANSLATORS: details about the update, the CVE URLs
-#: ../client/pk-console.c:364
+#: ../client/pk-console.c:360
msgid "CVE"
msgstr "CVE"
#. TRANSLATORS: details about the update, if the package requires a restart
-#: ../client/pk-console.c:368
+#: ../client/pk-console.c:364
msgid "Restart"
msgstr "Genstart"
#. TRANSLATORS: details about the update, any description of the update
-#: ../client/pk-console.c:372
+#: ../client/pk-console.c:368
msgid "Update text"
msgstr "Opdateringstekst"
#. TRANSLATORS: details about the update, the changelog for the package
-#: ../client/pk-console.c:376
+#: ../client/pk-console.c:372
msgid "Changes"
msgstr "Ãndringer"
#. TRANSLATORS: details about the update, the ongoing state of the update
-#: ../client/pk-console.c:380
+#: ../client/pk-console.c:376
msgid "State"
msgstr "Status"
#. TRANSLATORS: details about the update, date the update was issued
-#: ../client/pk-console.c:385
+#: ../client/pk-console.c:381
msgid "Issued"
msgstr "Udgivet"
#. TRANSLATORS: details about the update, date the update was updated
-#: ../client/pk-console.c:390
+#: ../client/pk-console.c:386
msgid "Updated"
msgstr "Opdateret"
-#: ../client/pk-console.c:477 ../client/pk-console.c:479
+#: ../client/pk-console.c:473 ../client/pk-console.c:475
msgid "Percentage"
msgstr "Procent"
-#: ../client/pk-console.c:479
+#: ../client/pk-console.c:475
msgid "Unknown"
msgstr "Ukendt"
#. TRANSLATORS: a package requires the system to be restarted
-#: ../client/pk-console.c:521
+#: ../client/pk-console.c:517
msgid "System restart required by:"
msgstr "Systemgenstart kræves af:"
#. TRANSLATORS: a package requires the session to be restarted
-#: ../client/pk-console.c:524
+#: ../client/pk-console.c:520
msgid "Session restart required:"
msgstr "Sessionsgenstart kræves:"
#. TRANSLATORS: a package requires the system to be restarted due to a security update
-#: ../client/pk-console.c:527
+#: ../client/pk-console.c:523
msgid "System restart (security) required by:"
msgstr "Systemgenstart (sikkerhed) kræves af:"
#. TRANSLATORS: a package requires the session to be restarted due to a security update
-#: ../client/pk-console.c:530
+#: ../client/pk-console.c:526
msgid "Session restart (security) required:"
msgstr "Sessionsgenstart (sikkerhed) kræves:"
#. TRANSLATORS: a package requires the application to be restarted
-#: ../client/pk-console.c:533
+#: ../client/pk-console.c:529
msgid "Application restart required by:"
msgstr "Programgenstart kræves af:"
#. TRANSLATORS: a package needs to restart their system
-#: ../client/pk-console.c:588
+#: ../client/pk-console.c:584
msgid "Please restart the computer to complete the update."
msgstr "Genstart venligst computeren for at fuldføre opdateringen."
#. TRANSLATORS: a package needs to restart the session
-#: ../client/pk-console.c:591
+#: ../client/pk-console.c:587
msgid "Please logout and login to complete the update."
msgstr "Log venligst ud og ind igen for at fuldføre opdateringen."
#. TRANSLATORS: a package needs to restart the application
-#: ../client/pk-console.c:594
+#: ../client/pk-console.c:590
msgid "Please restart the application as it is being used."
msgstr "Genstart venligst programmet, da det er i brug."
#. TRANSLATORS: a package needs to restart their system (due to security)
-#: ../client/pk-console.c:597
+#: ../client/pk-console.c:593
msgid ""
"Please restart the computer to complete the update as important security "
"updates have been installed."
@@ -251,7 +251,7 @@ msgstr ""
"sikkerhedsopdateringer er blevet installeret."
#. TRANSLATORS: a package needs to restart the session (due to security)
-#: ../client/pk-console.c:600
+#: ../client/pk-console.c:596
msgid ""
"Please logout and login to complete the update as important security updates "
"have been installed."
@@ -260,20 +260,20 @@ msgstr ""
"sikkerhedsopdateringer er blevet installeret."
#. TRANSLATORS: The package is already installed on the system
-#: ../client/pk-console.c:727
+#: ../client/pk-console.c:723
#, c-format
msgid "The package %s is already installed"
msgstr "Pakken %s er allerede installeret"
#. TRANSLATORS: The package name was not found in any software sources. The detailed error follows
-#: ../client/pk-console.c:735
+#: ../client/pk-console.c:731
#, c-format
msgid "The package %s could not be installed: %s"
msgstr "Pakken %s kunne ikke installeres: %s"
#. TRANSLATORS: There was a programming error that shouldn't happen. The detailed error follows
-#: ../client/pk-console.c:760 ../client/pk-console.c:783
-#: ../client/pk-console.c:879 ../client/pk-console.c:996
+#: ../client/pk-console.c:756 ../client/pk-console.c:779
+#: ../client/pk-console.c:875 ../client/pk-console.c:992
#: ../client/pk-tools-common.c:62 ../client/pk-tools-common.c:81
#: ../client/pk-tools-common.c:89
#, c-format
@@ -281,404 +281,403 @@ msgid "Internal error: %s"
msgstr "Intern fejl: %s"
#. TRANSLATORS: There was an error installing the packages. The detailed error follows
-#: ../client/pk-console.c:768 ../client/pk-console.c:1392
+#: ../client/pk-console.c:764 ../client/pk-console.c:1388
#, c-format
msgid "This tool could not install the packages: %s"
msgstr "Dette værktøj kunne ikke installere pakkerne: %s"
#. TRANSLATORS: There was an error installing the files. The detailed error follows
-#: ../client/pk-console.c:791
+#: ../client/pk-console.c:787
#, c-format
msgid "This tool could not install the files: %s"
msgstr "Dette værktøj kunne ikke installere filerne: %s"
#. TRANSLATORS: The package name was not found in the installed list. The detailed error follows
-#: ../client/pk-console.c:847
+#: ../client/pk-console.c:843
#, c-format
msgid "This tool could not remove %s: %s"
msgstr "Dette værktøj kunne ikke fjerne %s: %s"
#. TRANSLATORS: There was an error removing the packages. The detailed error follows
-#: ../client/pk-console.c:870 ../client/pk-console.c:908
-#: ../client/pk-console.c:941
+#: ../client/pk-console.c:866 ../client/pk-console.c:904
+#: ../client/pk-console.c:937
#, c-format
msgid "This tool could not remove the packages: %s"
msgstr "Dette værktøj kunne ikke fjerne pakkerne: %s"
#. TRANSLATORS: When removing, we might have to remove other dependencies
-#: ../client/pk-console.c:920
+#: ../client/pk-console.c:916
msgid "The following packages have to be removed:"
msgstr "Følgende pakker er nødt til at blive fjernet:"
#. TRANSLATORS: We are checking if it's okay to remove a list of packages
-#: ../client/pk-console.c:927
+#: ../client/pk-console.c:923
msgid "Proceed removing additional packages?"
msgstr "Fortsæt fjernelse af ekstra pakker?"
#. TRANSLATORS: We did not remove any packages
-#: ../client/pk-console.c:932
+#: ../client/pk-console.c:928
msgid "The package removal was canceled!"
msgstr "Fjernelsen af pakker blev annulleret!"
#. TRANSLATORS: The package name was not found in any software sources
-#: ../client/pk-console.c:973
+#: ../client/pk-console.c:969
#, c-format
msgid "This tool could not download the package %s as it could not be found"
msgstr "Dette værktøj kunne ikke hente pakken %s fordi den ikke kunne findes"
#. TRANSLATORS: Could not download the packages for some reason. The detailed error follows
-#: ../client/pk-console.c:1004
+#: ../client/pk-console.c:1000
#, c-format
msgid "This tool could not download the packages: %s"
msgstr "Dette værktøj kunne ikke hente pakkerne: %s"
#. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
-#: ../client/pk-console.c:1031 ../client/pk-console.c:1040
+#: ../client/pk-console.c:1027 ../client/pk-console.c:1036
#, c-format
msgid "This tool could not update %s: %s"
msgstr "Dette værktøj kunne ikke opdatere %s: %s"
#. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
-#: ../client/pk-console.c:1062 ../client/pk-console.c:1070
+#: ../client/pk-console.c:1058 ../client/pk-console.c:1066
#, c-format
msgid "This tool could not get the requirements for %s: %s"
msgstr "Dette værktøj kunne ikke hente kravene for %s: %s"
#. TRANSLATORS: There was an error getting the dependencies for the package. The detailed error follows
-#: ../client/pk-console.c:1092 ../client/pk-console.c:1100
+#: ../client/pk-console.c:1088 ../client/pk-console.c:1096
#, c-format
msgid "This tool could not get the dependencies for %s: %s"
msgstr "Dette værktøj kunne ikke hente afhængighederne for %s: %s"
#. TRANSLATORS: There was an error getting the details about the package. The detailed error follows
-#: ../client/pk-console.c:1122 ../client/pk-console.c:1130
+#: ../client/pk-console.c:1118 ../client/pk-console.c:1126
#, c-format
msgid "This tool could not get package details for %s: %s"
msgstr "Dette værktøj kunne ikke hente pakkedetaljer for %s: %s"
#. TRANSLATORS: The package name was not found in any software sources. The detailed error follows
-#: ../client/pk-console.c:1152
+#: ../client/pk-console.c:1148
#, c-format
msgid "This tool could not find the files for %s: %s"
msgstr "Dette værktøj kunne ikke finde filerne til %s: %s"
#. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
-#: ../client/pk-console.c:1160
+#: ../client/pk-console.c:1156
#, c-format
msgid "This tool could not get the file list for %s: %s"
msgstr "Dette værktøj kunne ikke hente fillisten for %s: %s"
#. TRANSLATORS: There was an error getting the list of packages. The filename follows
-#: ../client/pk-console.c:1182
+#: ../client/pk-console.c:1178
#, c-format
msgid "File already exists: %s"
msgstr "Fil findes allerede: %s"
#. TRANSLATORS: follows a list of packages to install
-#: ../client/pk-console.c:1187 ../client/pk-console.c:1243
-#: ../client/pk-console.c:1318
+#: ../client/pk-console.c:1183 ../client/pk-console.c:1239
+#: ../client/pk-console.c:1314
msgid "Getting package list"
msgstr "Henter pakkeliste"
#. TRANSLATORS: There was an error getting the list of packages. The detailed error follows
-#: ../client/pk-console.c:1193 ../client/pk-console.c:1249
-#: ../client/pk-console.c:1324
+#: ../client/pk-console.c:1189 ../client/pk-console.c:1245
+#: ../client/pk-console.c:1320
#, c-format
msgid "This tool could not get package list: %s"
msgstr "Dette værktøj kunne ikke hente pakkeliste: %s"
#. TRANSLATORS: There was an error saving the list
-#: ../client/pk-console.c:1204
+#: ../client/pk-console.c:1200
#, c-format
msgid "Failed to save to disk"
msgstr "Kunne ikke gemme på disk"
#. TRANSLATORS: There was an error getting the list. The filename follows
-#: ../client/pk-console.c:1238 ../client/pk-console.c:1313
+#: ../client/pk-console.c:1234 ../client/pk-console.c:1309
#, c-format
msgid "File does not exist: %s"
msgstr "Fil findes ikke: %s"
#. TRANSLATORS: header to a list of packages newly added
-#: ../client/pk-console.c:1270
+#: ../client/pk-console.c:1266
msgid "Packages to add"
msgstr "Pakker at tilføje"
#. TRANSLATORS: header to a list of packages removed
-#: ../client/pk-console.c:1278
+#: ../client/pk-console.c:1274
msgid "Packages to remove"
msgstr "Pakker at fjerne"
#. TRANSLATORS: We didn't find any differences
-#: ../client/pk-console.c:1346
+#: ../client/pk-console.c:1342
#, c-format
msgid "No new packages need to be installed"
msgstr "Ingen nye pakker behøver at blive installeret"
#. TRANSLATORS: follows a list of packages to install
-#: ../client/pk-console.c:1352
+#: ../client/pk-console.c:1348
msgid "To install"
msgstr "At installere"
#. TRANSLATORS: searching takes some time....
-#: ../client/pk-console.c:1364
+#: ../client/pk-console.c:1360
msgid "Searching for package: "
msgstr "Søger efter pakke: "
#. TRANSLATORS: package was not found -- this is the end of a string ended in ...
-#: ../client/pk-console.c:1368
+#: ../client/pk-console.c:1364
msgid "not found."
msgstr "ikke fundet."
#. TRANSLATORS: We didn't find any packages to install
-#: ../client/pk-console.c:1379
+#: ../client/pk-console.c:1375
#, c-format
msgid "No packages can be found to install"
msgstr "Ingen pakker kunne findes til installation"
#. TRANSLATORS: installing new packages from package list
#. TRANSLATORS: we are now installing the debuginfo packages we found earlier
-#: ../client/pk-console.c:1385
+#: ../client/pk-console.c:1381
#: ../contrib/debuginfo-install/pk-debuginfo-install.c:886
#, c-format
msgid "Installing packages"
msgstr "Installerer pakker"
#. TRANSLATORS: The package name was not found in any software sources. The detailed error follows
-#: ../client/pk-console.c:1421
+#: ../client/pk-console.c:1417
#, c-format
msgid "This tool could not find the update details for %s: %s"
msgstr "Dette værktøj kunne ikke finde opdateringsdetaljer for %s: %s"
#. TRANSLATORS: There was an error getting the details about the update for the package. The detailed error follows
-#: ../client/pk-console.c:1429
+#: ../client/pk-console.c:1425
#, c-format
msgid "This tool could not get the update details for %s: %s"
msgstr "Dette værktøj kunne ikke hente opdateringsdetaljer for %s: %s"
#. TRANSLATORS: This was an unhandled error, and we don't have _any_ context
-#: ../client/pk-console.c:1460
+#: ../client/pk-console.c:1456
msgid "Error:"
msgstr "Fejl:"
#. TRANSLATORS: This a list of details about the package
-#: ../client/pk-console.c:1474
+#: ../client/pk-console.c:1470
msgid "Package description"
msgstr "Pakkebeskrivelse"
#. TRANSLATORS: This a message (like a little note that may be of interest) from the transaction
-#: ../client/pk-console.c:1490
+#: ../client/pk-console.c:1486
msgid "Message:"
msgstr "Besked:"
#. TRANSLATORS: This a list files contained in the package
-#: ../client/pk-console.c:1518
+#: ../client/pk-console.c:1514
msgid "Package files"
msgstr "Pakkefiler"
#. TRANSLATORS: This where the package has no files
-#: ../client/pk-console.c:1526
+#: ../client/pk-console.c:1522
msgid "No files"
msgstr "Ingen filer"
#. TRANSLATORS: This a request for a GPG key signature from the backend, which the client will prompt for later
-#: ../client/pk-console.c:1549
+#: ../client/pk-console.c:1545
msgid "Repository signature required"
msgstr "Signatur til pakkearkiv kræves"
#. TRANSLATORS: This a prompt asking the user to import the security key
-#: ../client/pk-console.c:1559
+#: ../client/pk-console.c:1555
msgid "Do you accept this signature?"
msgstr "Accepterer du denne signatur?"
#. TRANSLATORS: This is where the user declined the security key
-#: ../client/pk-console.c:1563
+#: ../client/pk-console.c:1559
msgid "The signature was not accepted."
msgstr "Signaturen blev ikke accepteret."
#. TRANSLATORS: This a request for a EULA
-#: ../client/pk-console.c:1597
+#: ../client/pk-console.c:1593
msgid "End user license agreement required"
msgstr "Slutbruger licensaftale kræves"
#. TRANSLATORS: This a prompt asking the user to agree to the license
-#: ../client/pk-console.c:1604
+#: ../client/pk-console.c:1600
msgid "Do you agree to this license?"
msgstr "Accepterer du denne licens?"
#. TRANSLATORS: This is where the user declined the license
-#: ../client/pk-console.c:1608
+#: ../client/pk-console.c:1604
msgid "The license was refused."
msgstr "Licensen blev afvist."
#. TRANSLATORS: This is when the daemon crashed, and we are up shit creek without a paddle
-#: ../client/pk-console.c:1637
+#: ../client/pk-console.c:1633
msgid "The daemon crashed mid-transaction!"
msgstr "Dæmonen brød sammen under overførslen!"
#. TRANSLATORS: This is the header to the --help menu
-#: ../client/pk-console.c:1690
+#: ../client/pk-console.c:1686
msgid "PackageKit Console Interface"
msgstr "PackageKit konsolgrænseflade"
#. these are commands we can use with pkcon
-#: ../client/pk-console.c:1692
+#: ../client/pk-console.c:1688
msgid "Subcommands:"
msgstr "Underkommandoer:"
#. TRANSLATORS: command line argument, if we should show debugging information
#. TRANSLATORS: if we should show debugging data
-#: ../client/pk-console.c:1785 ../client/pk-generate-pack.c:185
+#: ../client/pk-console.c:1781 ../client/pk-generate-pack.c:185
#: ../client/pk-monitor.c:128
-#: ../contrib/command-not-found/pk-command-not-found.c:616
+#: ../contrib/command-not-found/pk-command-not-found.c:610
#: ../contrib/debuginfo-install/pk-debuginfo-install.c:550
-#: ../contrib/device-rebind/pk-device-rebind.c:293 ../src/pk-main.c:211
+#: ../src/pk-main.c:211
msgid "Show extra debugging information"
msgstr "Vis ekstra fejlsøgningsinformation"
#. TRANSLATORS: command line argument, just show the version string
-#: ../client/pk-console.c:1788 ../client/pk-monitor.c:130
+#: ../client/pk-console.c:1784 ../client/pk-monitor.c:130
msgid "Show the program version and exit"
msgstr "Vis programversionen og afslut"
#. TRANSLATORS: command line argument, use a filter to narrow down results
-#: ../client/pk-console.c:1791
+#: ../client/pk-console.c:1787
msgid "Set the filter, e.g. installed"
msgstr "Sæt filteret, f.eks. installeret"
#. TRANSLATORS: command line argument, work asynchronously
-#: ../client/pk-console.c:1794
+#: ../client/pk-console.c:1790
msgid "Exit without waiting for actions to complete"
msgstr "Afslut uden at vente på at handlingerne færdiggøres"
#. TRANSLATORS: This is when we could not connect to the system bus, and is fatal
-#: ../client/pk-console.c:1821
+#: ../client/pk-console.c:1817
msgid "This tool could not connect to system DBUS."
msgstr "Dette værktøj kunne ikke forbinde til system-DBUS."
#. TRANSLATORS: The user specified an incorrect filter
-#: ../client/pk-console.c:1911
+#: ../client/pk-console.c:1907
msgid "The filter specified was invalid"
msgstr "Filteret det blev angivet er ugyldigt"
#. TRANSLATORS: a search type can be name, details, file, etc
-#: ../client/pk-console.c:1930
+#: ../client/pk-console.c:1926
msgid "A search type is required, e.g. name"
msgstr "En søgetype kræves, f.eks. navn"
#. TRANSLATORS: the user needs to provide a search term
-#: ../client/pk-console.c:1937 ../client/pk-console.c:1946
-#: ../client/pk-console.c:1955 ../client/pk-console.c:1964
+#: ../client/pk-console.c:1933 ../client/pk-console.c:1942
+#: ../client/pk-console.c:1951 ../client/pk-console.c:1960
msgid "A search term is required"
msgstr "En søgeterm kræves"
#. TRANSLATORS: the search type was provided, but invalid
-#: ../client/pk-console.c:1971
+#: ../client/pk-console.c:1967
msgid "Invalid search type"
msgstr "Ugyldig søgetype"
#. TRANSLATORS: the user did not specify what they wanted to install
-#: ../client/pk-console.c:1977
+#: ../client/pk-console.c:1973
msgid "A package name or filename to install is required"
msgstr "Et pakkenavn eller filnavn at installere kræves"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1986
+#: ../client/pk-console.c:1982
msgid "A type, key_id and package_id are required"
msgstr "En type, nøgle_id og pakke_id kræves"
#. TRANSLATORS: the user did not specify what they wanted to remove
-#: ../client/pk-console.c:1995
+#: ../client/pk-console.c:1991
msgid "A package name to remove is required"
msgstr "Et pakkenavn til fjernelse kræves"
#. TRANSLATORS: the user did not specify anything about what to download or where
-#: ../client/pk-console.c:2003
-#, fuzzy
+#: ../client/pk-console.c:1999
msgid "A destination directory and the package names to download are required"
-msgstr "En destinationsmappe og derefter pakkenavnene til hentning kræves"
+msgstr "En destinationsmappe og pakkenavnene kræves for at blive hentet"
#. TRANSLATORS: the directory does not exist, so we can't continue
-#: ../client/pk-console.c:2010
+#: ../client/pk-console.c:2006
msgid "Directory not found"
msgstr "Mappe ikke fundet"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:2018
+#: ../client/pk-console.c:2014
msgid "A licence identifier (eula-id) is required"
msgstr "En licensgenkender (eula-id) kræves"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:2028
+#: ../client/pk-console.c:2024
msgid "A transaction identifier (tid) is required"
msgstr "En overførselsgenkender (tid) kræves"
#. TRANSLATORS: The user did not specify a package name
-#: ../client/pk-console.c:2045
+#: ../client/pk-console.c:2041
msgid "A package name to resolve is required"
msgstr "Et pakkenavn til at løse kræves"
#. TRANSLATORS: The user did not specify a repository (software source) name
-#: ../client/pk-console.c:2054 ../client/pk-console.c:2063
+#: ../client/pk-console.c:2050 ../client/pk-console.c:2059
msgid "A repository name is required"
msgstr "Et pakkearkivnavn kræves"
#. TRANSLATORS: The user didn't provide any data
-#: ../client/pk-console.c:2072
+#: ../client/pk-console.c:2068
msgid "A repo name, parameter and value are required"
msgstr "Et pakkearkivnavn, parameter og værdi kræves"
#. TRANSLATORS: The user didn't specify what action to use
-#: ../client/pk-console.c:2086
+#: ../client/pk-console.c:2082
msgid "An action, e.g. 'update-system' is required"
msgstr "En handling, f.eks. \"update-system\" kræves"
#. TRANSLATORS: The user specified an invalid action
-#: ../client/pk-console.c:2093
+#: ../client/pk-console.c:2089
msgid "A correct role is required"
msgstr "En korrekt rolle kræves"
#. TRANSLATORS: we keep a database updated with the time that an action was last executed
-#: ../client/pk-console.c:2100
+#: ../client/pk-console.c:2096
msgid "Failed to get the time since this action was last completed"
msgstr "Kunne ikke hente tid siden denne handling sidst blev gennemført"
#. TRANSLATORS: The user did not provide a package name
#. TRANSLATORS: This is when the user fails to supply the package name
-#: ../client/pk-console.c:2110 ../client/pk-console.c:2122
-#: ../client/pk-console.c:2131 ../client/pk-console.c:2149
-#: ../client/pk-console.c:2158 ../client/pk-generate-pack.c:241
+#: ../client/pk-console.c:2106 ../client/pk-console.c:2118
+#: ../client/pk-console.c:2127 ../client/pk-console.c:2145
+#: ../client/pk-console.c:2154 ../client/pk-generate-pack.c:241
msgid "A package name is required"
msgstr "Et pakkenavn kræves"
#. TRANSLATORS: each package "provides" certain things, e.g. mime(gstreamer-decoder-mp3), the user didn't specify it
-#: ../client/pk-console.c:2140
+#: ../client/pk-console.c:2136
msgid "A package provide string is required"
msgstr "En pakke udbydningsstreng kræves"
#. TRANSLATORS: The user didn't specify a filename to create as a list
-#: ../client/pk-console.c:2167
+#: ../client/pk-console.c:2163
msgid "A list file name to create is required"
msgstr "Et listefilnavn til at oprette kræves"
#. TRANSLATORS: The user didn't specify a filename to open as a list
-#: ../client/pk-console.c:2177 ../client/pk-console.c:2187
+#: ../client/pk-console.c:2173 ../client/pk-console.c:2183
msgid "A list file to open is required"
msgstr "En listefil til at åbne kræves"
#. TRANSLATORS: The user tried to use an unsupported option on the command line
-#: ../client/pk-console.c:2241
+#: ../client/pk-console.c:2237
#, c-format
msgid "Option '%s' is not supported"
msgstr "Indstilling \"%s\" er ikke understøttet"
#. TRANSLATORS: User does not have permission to do this
-#: ../client/pk-console.c:2254
+#: ../client/pk-console.c:2250
msgid "Incorrect privileges for this operation"
msgstr "Rettigheder for denne operation er ikke rigtige"
#. TRANSLATORS: Generic failure of what they asked to do
-#: ../client/pk-console.c:2257
+#: ../client/pk-console.c:2253
msgid "Command failed"
msgstr "Kommando fejlede"
@@ -809,7 +808,7 @@ msgstr "PackageKit overvåger"
#: ../client/pk-monitor.c:183
msgid "Cannot show the list of transactions"
-msgstr ""
+msgstr "Kan ikke vise listen over overførslerne"
#. TRANSLATORS: The package was not found in any software sources
#: ../client/pk-tools-common.c:118
@@ -832,151 +831,149 @@ msgstr "Vælg venligst den rigtige pakke: "
msgid "Please enter a number from 1 to %i: "
msgstr "Indtast et nummer fra 1 til %i: "
-#. TRANSLATORS: when we are getting data from the daemon
-#: ../contrib/browser-plugin/pk-plugin-install.c:466
-msgid "Getting package information..."
-msgstr "Henter information om pakke..."
-
-#. TRANSLATORS: run an applicaiton
-#: ../contrib/browser-plugin/pk-plugin-install.c:472
-#, c-format
-msgid "Run %s"
-msgstr "Kør %s"
-
-#. TRANSLATORS: show the installed version of a package
-#: ../contrib/browser-plugin/pk-plugin-install.c:478
-msgid "Installed version"
-msgstr "Installeret version"
-
-#. TRANSLATORS: run the application now
-#: ../contrib/browser-plugin/pk-plugin-install.c:486
-#, c-format
-msgid "Run version %s now"
-msgstr "Kør version %s nu"
-
-#. TRANSLATORS: run the application now
-#: ../contrib/browser-plugin/pk-plugin-install.c:492
-msgid "Run now"
-msgstr "Kør nu"
-
-#. TRANSLATORS: update to a new version of the package
-#: ../contrib/browser-plugin/pk-plugin-install.c:498
-#, c-format
-msgid "Update to version %s"
-msgstr "Opdatér til version %s"
-
-#. TRANSLATORS: To install a package
-#: ../contrib/browser-plugin/pk-plugin-install.c:504
-#, c-format
-msgid "Install %s now"
-msgstr "Installér %s nu"
-
-#. TRANSLATORS: the version of the package
-#: ../contrib/browser-plugin/pk-plugin-install.c:507
-msgid "Version"
-msgstr "Version"
-
-#. TRANSLATORS: noting found, so can't install
-#: ../contrib/browser-plugin/pk-plugin-install.c:512
-msgid "No packages found for your system"
-msgstr "Ingen pakker fundet til dit system"
-
-#. TRANSLATORS: package is being installed
-#: ../contrib/browser-plugin/pk-plugin-install.c:517
-msgid "Installing..."
-msgstr "Installerer..."
-
#. TRANSLATORS: downloading repo data so we can search
#: ../contrib/command-not-found/pk-command-not-found.c:349
msgid "Downloading details about the software sources."
-msgstr ""
+msgstr "Henter detaljer om softwarekilderne."
#. TRANSLATORS: downloading file lists so we can search
#: ../contrib/command-not-found/pk-command-not-found.c:353
msgid "Downloading filelists (this may take some time to complete)."
-msgstr ""
+msgstr "Henter fillister (dette kan tage noget tid at udføre)."
#. TRANSLATORS: waiting for native lock
#: ../contrib/command-not-found/pk-command-not-found.c:357
-#, fuzzy
msgid "Waiting for package manager lock."
-msgstr "Finder pakkenavn."
+msgstr "Venter på at pakkehåndteringsprogrammet låser."
#. TRANSLATORS: loading package cache so we can search
#: ../contrib/command-not-found/pk-command-not-found.c:361
-#, fuzzy
msgid "Loading list of packages."
-msgstr "Henter pakker"
+msgstr "Indlæser liste over pakker."
#. TRANSLATORS: we failed to find the package, this shouldn't happen
-#: ../contrib/command-not-found/pk-command-not-found.c:420
+#: ../contrib/command-not-found/pk-command-not-found.c:414
msgid "Failed to search for file"
msgstr "Kunne ikke søge efter fil"
#. TRANSLATORS: we failed to launch the executable, the error follows
-#: ../contrib/command-not-found/pk-command-not-found.c:557
+#: ../contrib/command-not-found/pk-command-not-found.c:551
msgid "Failed to launch:"
msgstr "Kunne ikke starte:"
#. TRANSLATORS: tool that gets called when the command is not found
-#: ../contrib/command-not-found/pk-command-not-found.c:632
+#: ../contrib/command-not-found/pk-command-not-found.c:626
msgid "PackageKit Command Not Found"
msgstr "PackageKit-kommando ikke fundet"
#. TRANSLATORS: the prefix of all the output telling the user why it's not executing
-#: ../contrib/command-not-found/pk-command-not-found.c:658
+#: ../contrib/command-not-found/pk-command-not-found.c:652
msgid "Command not found."
msgstr "Kommando ikke fundet."
#. TRANSLATORS: tell the user what we think the command is
-#: ../contrib/command-not-found/pk-command-not-found.c:665
+#: ../contrib/command-not-found/pk-command-not-found.c:659
msgid "Similar command is:"
msgstr "Lignende kommando er:"
#. TRANSLATORS: Ask the user if we should run the similar command
-#: ../contrib/command-not-found/pk-command-not-found.c:674
+#: ../contrib/command-not-found/pk-command-not-found.c:668
msgid "Run similar command:"
msgstr "Kør lignende kommando:"
#. TRANSLATORS: show the user a list of commands that they could have meant
#. TRANSLATORS: show the user a list of commands we could run
-#: ../contrib/command-not-found/pk-command-not-found.c:686
-#: ../contrib/command-not-found/pk-command-not-found.c:695
+#: ../contrib/command-not-found/pk-command-not-found.c:680
+#: ../contrib/command-not-found/pk-command-not-found.c:689
msgid "Similar commands are:"
msgstr "Lignende kommandoer er:"
#. TRANSLATORS: ask the user to choose a file to run
-#: ../contrib/command-not-found/pk-command-not-found.c:702
+#: ../contrib/command-not-found/pk-command-not-found.c:696
msgid "Please choose a command to run"
msgstr "Vælg venligst en kommando at køre"
#. TRANSLATORS: tell the user what package provides the command
-#: ../contrib/command-not-found/pk-command-not-found.c:721
+#: ../contrib/command-not-found/pk-command-not-found.c:715
msgid "The package providing this file is:"
msgstr "Pakken der udbyder denne fil er:"
#. TRANSLATORS: as the user if we want to install a package to provide the command
-#: ../contrib/command-not-found/pk-command-not-found.c:726
+#: ../contrib/command-not-found/pk-command-not-found.c:720
#, c-format
msgid "Install package '%s' to provide command '%s'?"
msgstr "Installér pakke \"%s\" for at udbyde kommando \"%s\"?"
#. TRANSLATORS: Show the user a list of packages that provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:747
+#: ../contrib/command-not-found/pk-command-not-found.c:741
msgid "Packages providing this file are:"
msgstr "Pakker der udbyder denne fil er:"
#. TRANSLATORS: Show the user a list of packages that they can install to provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:756
+#: ../contrib/command-not-found/pk-command-not-found.c:750
msgid "Suitable packages are:"
msgstr "Passende pakker er:"
#. get selection
#. TRANSLATORS: ask the user to choose a file to install
-#: ../contrib/command-not-found/pk-command-not-found.c:764
+#: ../contrib/command-not-found/pk-command-not-found.c:758
msgid "Please choose a package to install"
msgstr "Vælg venligst en pakke at installere"
+#. TRANSLATORS: when we are getting data from the daemon
+#: ../contrib/browser-plugin/pk-plugin-install.c:433
+msgid "Getting package information..."
+msgstr "Henter information om pakke..."
+
+#. TRANSLATORS: run an applicaiton
+#: ../contrib/browser-plugin/pk-plugin-install.c:439
+#, c-format
+msgid "Run %s"
+msgstr "Kør %s"
+
+#. TRANSLATORS: show the installed version of a package
+#: ../contrib/browser-plugin/pk-plugin-install.c:445
+msgid "Installed version"
+msgstr "Installeret version"
+
+#. TRANSLATORS: run the application now
+#: ../contrib/browser-plugin/pk-plugin-install.c:453
+#, c-format
+msgid "Run version %s now"
+msgstr "Kør version %s nu"
+
+#. TRANSLATORS: run the application now
+#: ../contrib/browser-plugin/pk-plugin-install.c:459
+msgid "Run now"
+msgstr "Kør nu"
+
+#. TRANSLATORS: update to a new version of the package
+#: ../contrib/browser-plugin/pk-plugin-install.c:465
+#, c-format
+msgid "Update to version %s"
+msgstr "Opdatér til version %s"
+
+#. TRANSLATORS: To install a package
+#: ../contrib/browser-plugin/pk-plugin-install.c:471
+#, c-format
+msgid "Install %s now"
+msgstr "Installér %s nu"
+
+#. TRANSLATORS: the version of the package
+#: ../contrib/browser-plugin/pk-plugin-install.c:474
+msgid "Version"
+msgstr "Version"
+
+#. TRANSLATORS: noting found, so can't install
+#: ../contrib/browser-plugin/pk-plugin-install.c:479
+msgid "No packages found for your system"
+msgstr "Ingen pakker fundet til dit system"
+
+#. TRANSLATORS: package is being installed
+#: ../contrib/browser-plugin/pk-plugin-install.c:484
+msgid "Installing..."
+msgstr "Installerer..."
+
#. TRANSLATORS: we are starting to install the packages
#: ../contrib/debuginfo-install/pk-debuginfo-install.c:187
msgid "Starting install"
@@ -1162,103 +1159,6 @@ msgstr "Kunne ikke deaktivere fejlsøgningspakkearkiverne: %s"
msgid "Disabled %i debugging sources."
msgstr "Deaktiverede %i fejlsøgningspakkearkiver."
-#. TRANSLATORS: couldn't open device to write
-#: ../contrib/device-rebind/pk-device-rebind.c:61
-#, fuzzy
-msgid "Failed to open file"
-msgstr "Kunne ikke søge efter fil"
-
-#. TRANSLATORS: could not write to the device
-#: ../contrib/device-rebind/pk-device-rebind.c:70
-#, fuzzy
-msgid "Failed to write to the file"
-msgstr "Kunne ikke søge efter fil"
-
-#. TRANSLATORS: we failed to release the current driver
-#: ../contrib/device-rebind/pk-device-rebind.c:110
-#: ../contrib/device-rebind/pk-device-rebind.c:147
-#, fuzzy
-msgid "Failed to write to device"
-msgstr "Kunne ikke gemme på disk"
-
-#. TRANSLATORS: the device could not be found in sysfs
-#: ../contrib/device-rebind/pk-device-rebind.c:175
-#, fuzzy
-msgid "Device could not be found"
-msgstr "Pakken kunne ikke findes"
-
-#. TRANSLATORS: we failed to release the current driver
-#: ../contrib/device-rebind/pk-device-rebind.c:202
-#, fuzzy
-msgid "Failed to unregister driver"
-msgstr "Kunne ikke oprette mappe:"
-
-#. TRANSLATORS: we failed to bind the old driver
-#: ../contrib/device-rebind/pk-device-rebind.c:211
-#, fuzzy
-msgid "Failed to register driver"
-msgstr "Kunne ikke oprette mappe:"
-
-#. TRANSLATORS: user did not specify a device sysfs path that exists
-#: ../contrib/device-rebind/pk-device-rebind.c:260
-#, fuzzy
-msgid "Device path not found"
-msgstr "Mappe ikke fundet"
-
-#. TRANSLATORS: user did not specify a valid device sysfs path
-#: ../contrib/device-rebind/pk-device-rebind.c:268
-msgid "Incorrect device path specified"
-msgstr ""
-
-#. command line argument, simulate what would be done, but don't actually do it
-#: ../contrib/device-rebind/pk-device-rebind.c:296
-#, fuzzy
-msgid "Don't actually touch the hardware, only simulate what would be done"
-msgstr "Installér ikke nogen pakker, lad kun som om de ville blive installeret"
-
-#. TRANSLATORS: command line option: a list of files to install
-#: ../contrib/device-rebind/pk-device-rebind.c:299
-msgid "Device paths"
-msgstr ""
-
-#. TRANSLATORS: tool that gets called when the device needs reloading after installing firmware
-#: ../contrib/device-rebind/pk-device-rebind.c:314
-#, fuzzy
-msgid "PackageKit Device Reloader"
-msgstr "PackageKit-servicepakke"
-
-#. TRANSLATORS: user did not specify a valid device sysfs path
-#: ../contrib/device-rebind/pk-device-rebind.c:322
-msgid "You need to specify at least one valid device path"
-msgstr ""
-
-#. TRANSLATORS: user did not specify a valid device sysfs path
-#: ../contrib/device-rebind/pk-device-rebind.c:332
-msgid "This script can only be used by the root user"
-msgstr ""
-
-#. TRANSLATORS: we're going to verify the path first
-#: ../contrib/device-rebind/pk-device-rebind.c:341
-msgid "Verifying device path"
-msgstr ""
-
-#. TRANSLATORS: user did not specify a device sysfs path that exists
-#: ../contrib/device-rebind/pk-device-rebind.c:346
-#, fuzzy
-msgid "Failed to verify device path"
-msgstr "Kunne ikke søge efter fil"
-
-#. TRANSLATORS: we're going to try
-#: ../contrib/device-rebind/pk-device-rebind.c:360
-msgid "Attempting to rebind device"
-msgstr ""
-
-#. TRANSLATORS: we failed to release the current driver
-#: ../contrib/device-rebind/pk-device-rebind.c:365
-#, fuzzy
-msgid "Failed to rebind device"
-msgstr "Kunne ikke oprette mappe:"
-
#: ../data/packagekit-catalog.xml.in.h:1
msgid "PackageKit Catalog"
msgstr "PackageKit-katalog"
@@ -1317,26 +1217,21 @@ msgid "Authentication is required to refresh the system sources"
msgstr "Godkendelse kræves for at opdatere systemkilderne"
#: ../policy/org.freedesktop.packagekit.policy.in.h:15
-#, fuzzy
-msgid "Authentication is required to reload the device with a new driver"
-msgstr "Godkendelse kræves for at opdatere systemkilderne"
-
-#: ../policy/org.freedesktop.packagekit.policy.in.h:16
msgid "Authentication is required to remove packages"
msgstr "Godkendelse kræves for at fjerne pakker"
-#: ../policy/org.freedesktop.packagekit.policy.in.h:17
+#: ../policy/org.freedesktop.packagekit.policy.in.h:16
msgid "Authentication is required to rollback a transaction"
msgstr "Godkendelse kræves for at rulle en transaktion tilbage"
-#: ../policy/org.freedesktop.packagekit.policy.in.h:18
+#: ../policy/org.freedesktop.packagekit.policy.in.h:17
msgid ""
"Authentication is required to set the network proxy used for downloading "
"packages"
msgstr ""
"Godkendelse kræves for at sætte netværksproxyen brugt til hentning af pakker"
-#: ../policy/org.freedesktop.packagekit.policy.in.h:19
+#: ../policy/org.freedesktop.packagekit.policy.in.h:18
msgid "Authentication is required to update packages"
msgstr "Godkendelse kræves for at opdatere pakker"
@@ -1345,7 +1240,7 @@ msgstr "Godkendelse kræves for at opdatere pakker"
#. authentication, but a different user id needs the admin password
#. to cancel another users task.
#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:25
+#: ../policy/org.freedesktop.packagekit.policy.in.h:24
msgid "Cancel foreign task"
msgstr "Annullér fremmed opgave"
@@ -1354,7 +1249,7 @@ msgstr "Annullér fremmed opgave"
#. software sources as this can be used to enable new updates or
#. install different versions of software.
#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:31
+#: ../policy/org.freedesktop.packagekit.policy.in.h:30
msgid "Change software source parameters"
msgstr "Ãndr softwarekildeparametre"
@@ -1364,7 +1259,7 @@ msgstr "Ãndr softwarekildeparametre"
#. - Paranoid users (or parents!) can change this to 'auth_admin' or
#. 'auth_admin_keep'.
#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:38
+#: ../policy/org.freedesktop.packagekit.policy.in.h:37
msgid "Install signed package"
msgstr "Installér signeret pakke"
@@ -1374,7 +1269,7 @@ msgstr "Installér signeret pakke"
#. password would be a massive security hole.
#. - This is not retained as each package should be authenticated.
#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:45
+#: ../policy/org.freedesktop.packagekit.policy.in.h:44
msgid "Install untrusted local file"
msgstr "Installér upålidelig lokal fil"
@@ -1382,22 +1277,11 @@ msgstr "Installér upålidelig lokal fil"
#. - Normal users do not require admin authentication to refresh the
#. cache, as this doesn't actually install or remove software.
#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:50
+#: ../policy/org.freedesktop.packagekit.policy.in.h:49
msgid "Refresh system sources"
msgstr "Opdatér systemkilder"
#. SECURITY:
-#. - Normal users require admin authentication to rebind a driver
-#. so that it works after we install firmware.
-#. - This should not be set to 'yes' as unprivileged users could then
-#. try to rebind drivers in use, for instance security authentication
-#. devices.
-#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:58
-msgid "Reload a device"
-msgstr ""
-
-#. SECURITY:
#. - Normal users require admin authentication to remove packages as
#. this can make the system unbootable or stop other applications from
#. working.
@@ -1406,7 +1290,7 @@ msgstr ""
#. be removed. If this is not possible, change this authentication to
#. 'auth_admin'.
#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:68
+#: ../policy/org.freedesktop.packagekit.policy.in.h:59
msgid "Remove package"
msgstr "Fjern pakke"
@@ -1415,7 +1299,7 @@ msgstr "Fjern pakke"
#. as this will change a large number of packages, and could expose the
#. system to previously patched security vulnerabilities.
#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:74
+#: ../policy/org.freedesktop.packagekit.policy.in.h:65
msgid "Rollback to a previous transaction"
msgstr "Rul tilbage til en tidligere overførsel"
@@ -1423,7 +1307,7 @@ msgstr "Rul tilbage til en tidligere overførsel"
#. - Normal users do not require admin authentication to set the proxy
#. used for downloading packages.
#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:79
+#: ../policy/org.freedesktop.packagekit.policy.in.h:70
msgid "Set network proxy"
msgstr "Sæt netværksproxy"
@@ -1433,7 +1317,7 @@ msgstr "Sæt netværksproxy"
#. without a secure authentication.
#. - This is not kept as each package should be authenticated.
#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:86
+#: ../policy/org.freedesktop.packagekit.policy.in.h:77
msgid "Trust a key used for signing packages"
msgstr "Betro en nøgle brugt til signering af pakker"
@@ -1444,7 +1328,7 @@ msgstr "Betro en nøgle brugt til signering af pakker"
#. - Changing this to anything other than 'yes' will break unattended
#. updates.
#.
-#: ../policy/org.freedesktop.packagekit.policy.in.h:94
+#: ../policy/org.freedesktop.packagekit.policy.in.h:85
msgid "Update packages"
msgstr "Opdatér pakker"
@@ -1517,48 +1401,33 @@ msgstr "Kan ikke forbinde til systembussen"
msgid "Error trying to start:"
msgstr "Kunne ikke starte:"
-#: ../src/pk-polkit-action-lookup.c:147
+#: ../src/pk-polkit-action-lookup.c:143
msgid "To install debugging packages, extra sources need to be enabled"
msgstr ""
"For at installere fejlsøgningspakker skal ekstra pakkearkiver aktiveres"
#. TRANSLATORS: is not GPG signed
-#: ../src/pk-polkit-action-lookup.c:168 ../src/pk-polkit-action-lookup.c:187
+#: ../src/pk-polkit-action-lookup.c:156 ../src/pk-polkit-action-lookup.c:175
msgid "The software is not from a trusted source."
msgstr "Softwaren er ikke fra en betroet kilde."
-#: ../src/pk-polkit-action-lookup.c:173
+#. TRANSLATORS: user has to trust provider -- I know, this sucks
+#: ../src/pk-polkit-action-lookup.c:160
msgid "Do not update this package unless you are sure it is safe to do so."
msgstr "Opdatér ikke denne pakke medmindre du er sikker på, at det er sikkert."
-#: ../src/pk-polkit-action-lookup.c:174
-#, fuzzy
-msgid "Do not update these packages unless you are sure it is safe to do so."
-msgstr "Opdatér ikke denne pakke medmindre du er sikker på, at det er sikkert."
-
-#: ../src/pk-polkit-action-lookup.c:192
-msgid "Do not install this package unless you are sure it is safe to do so."
-msgstr ""
-"Installér ikke denne pakke medmindre du er sikker på, at det er sikkert."
-
-#: ../src/pk-polkit-action-lookup.c:193
-#, fuzzy
-msgid "Do not install these packages unless you are sure it is safe to do so."
-msgstr ""
-"Installér ikke denne pakke medmindre du er sikker på, at det er sikkert."
-
#. TRANSLATORS: warn the user that all bets are off
-#: ../src/pk-polkit-action-lookup.c:199
+#: ../src/pk-polkit-action-lookup.c:164 ../src/pk-polkit-action-lookup.c:183
msgid "Malicious software can damage your computer or cause other harm."
msgstr "Ondsindet software kan ødelægge din computer eller gøre anden skade."
-#. TRANSLATORS: too many packages to list each one
-#: ../src/pk-polkit-action-lookup.c:274
-#, fuzzy
-msgid "Many packages"
-msgstr "Opdatér pakker"
+#. TRANSLATORS: user has to trust provider -- I know, this sucks
+#: ../src/pk-polkit-action-lookup.c:179
+msgid "Do not install this package unless you are sure it is safe to do so."
+msgstr ""
+"Installér ikke denne pakke medmindre du er sikker på, at det er sikkert."
#. TRANSLATORS: if the transaction is forced to install only trusted packages
-#: ../src/pk-polkit-action-lookup.c:334
+#: ../src/pk-polkit-action-lookup.c:304
msgid "Only trusted"
msgstr "Kun betroede"
commit 52a33cfac87a0867f0d3ca246cca926f6e147e0e
Author: raven <raven at fedoraproject.org>
Date: Thu Oct 1 18:45:58 2009 +0000
Sending translation for Polish
diff --git a/po/pl.po b/po/pl.po
index 8fdb73a..04956dc 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: pl\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-09-30 15:31+0000\n"
-"PO-Revision-Date: 2009-09-30 19:14+0200\n"
+"POT-Creation-Date: 2009-10-01 18:40+0000\n"
+"PO-Revision-Date: 2009-10-01 20:45+0200\n"
"Last-Translator: Piotr DrÄ
g <piotrdrag at gmail.com>\n"
"Language-Team: Polish <fedora-trans-pl at redhat.com>\n"
"MIME-Version: 1.0\n"
@@ -345,7 +345,7 @@ msgstr ""
#. TRANSLATORS: command line argument, if we should show debugging information
#. TRANSLATORS: if we should show debugging data
-#: ../client/pk-console.c:987 ../client/pk-generate-pack.c:223
+#: ../client/pk-console.c:989 ../client/pk-generate-pack.c:223
#: ../client/pk-monitor.c:281
#: ../contrib/command-not-found/pk-command-not-found.c:620
#: ../contrib/debuginfo-install/pk-debuginfo-install.c:512
@@ -354,132 +354,145 @@ msgid "Show extra debugging information"
msgstr "WyÅwietla dodatkowe informacje o debugowaniu"
#. TRANSLATORS: command line argument, just show the version string
-#: ../client/pk-console.c:990 ../client/pk-monitor.c:283
+#: ../client/pk-console.c:992 ../client/pk-monitor.c:283
msgid "Show the program version and exit"
msgstr "WyÅwietla wersjÄ programu i wyÅÄ
cza"
#. TRANSLATORS: command line argument, use a filter to narrow down results
-#: ../client/pk-console.c:993
+#: ../client/pk-console.c:995
msgid "Set the filter, e.g. installed"
msgstr "Ustawia filtr, np. zainstalowane"
#. TRANSLATORS: command line argument, work asynchronously
-#: ../client/pk-console.c:996
+#: ../client/pk-console.c:998
msgid "Exit without waiting for actions to complete"
msgstr "WyÅÄ
cza bez oczekiwania na zakoÅczenie dziaÅaÅ"
+#. command line argument, do we ask questions
+#: ../client/pk-console.c:1001
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:524
+msgid "Install the packages without asking for confirmation"
+msgstr "Instaluje pakiety bez proÅby o potwierdzenie"
+
+#. TRANSLATORS: command line argument, this command is not a priority
+#: ../client/pk-console.c:1004
+msgid "Run the command using idle network bandwidth and also using less power"
+msgstr ""
+"Wykonuje polecenie używajÄ
c bezczynnego poÅÄ
czenia sieciowego, a także "
+"zużywajÄ
c mniej energii"
+
#. TRANSLATORS: we failed to contact the daemon
-#: ../client/pk-console.c:1022
+#: ../client/pk-console.c:1030
msgid "Failed to contact PackageKit"
-msgstr "Skontaktowanie siÄ z PackageKit nie powiodÅo siÄ"
+msgstr "Skontaktowanie siÄ z usÅugÄ
PackageKit nie powiodÅo siÄ"
#. TRANSLATORS: The user specified an incorrect filter
-#: ../client/pk-console.c:1074
+#: ../client/pk-console.c:1086
msgid "The filter specified was invalid"
msgstr "Podany filtr jest nieprawidÅowy"
#. TRANSLATORS: a search type can be name, details, file, etc
-#: ../client/pk-console.c:1093
+#: ../client/pk-console.c:1105
msgid "A search type is required, e.g. name"
msgstr "Wymagany jest typ wyszukiwania, np. nazwa"
#. TRANSLATORS: the user needs to provide a search term
-#: ../client/pk-console.c:1100 ../client/pk-console.c:1112
-#: ../client/pk-console.c:1124 ../client/pk-console.c:1136
+#: ../client/pk-console.c:1112 ../client/pk-console.c:1124
+#: ../client/pk-console.c:1136 ../client/pk-console.c:1148
msgid "A search term is required"
msgstr "Wymagany jest wyszukiwany termin"
#. TRANSLATORS: the search type was provided, but invalid
-#: ../client/pk-console.c:1146
+#: ../client/pk-console.c:1158
msgid "Invalid search type"
msgstr "NieprawidÅowy typ wyszukiwania"
#. TRANSLATORS: the user did not specify what they wanted to install
-#: ../client/pk-console.c:1152
+#: ../client/pk-console.c:1164
msgid "A package name to install is required"
msgstr "Wymagana jest nazwa pakietu do zainstalowania"
#. TRANSLATORS: the user did not specify what they wanted to install
-#: ../client/pk-console.c:1161
+#: ../client/pk-console.c:1173
msgid "A filename to install is required"
msgstr "Wymagana jest nazwa pliku do zainstalowania"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1173
+#: ../client/pk-console.c:1185
msgid "A type, key_id and package_id are required"
msgstr "Wymagany jest typ, key_id i package_id"
#. TRANSLATORS: the user did not specify what they wanted to remove
-#: ../client/pk-console.c:1184
+#: ../client/pk-console.c:1196
msgid "A package name to remove is required"
msgstr "Wymagana jest nazwa pakietu do usuniÄcia"
#. TRANSLATORS: the user did not specify anything about what to download or where
-#: ../client/pk-console.c:1193
+#: ../client/pk-console.c:1205
msgid "A destination directory and the package names to download are required"
msgstr "Wymagany jest katalog docelowy i nazwy pakietów do pobrania"
#. TRANSLATORS: the directory does not exist, so we can't continue
-#: ../client/pk-console.c:1200
+#: ../client/pk-console.c:1212
msgid "Directory not found"
msgstr "Nie odnaleziono katalogu"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1209
+#: ../client/pk-console.c:1221
msgid "A licence identifier (eula-id) is required"
msgstr "Wymagany jest identyfikator licencji (eula-id)"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1220
+#: ../client/pk-console.c:1232
msgid "A transaction identifier (tid) is required"
msgstr "Wymagany jest identyfikator transakcji (tid)"
#. TRANSLATORS: The user did not specify a package name
-#: ../client/pk-console.c:1241
+#: ../client/pk-console.c:1253
msgid "A package name to resolve is required"
msgstr "Wymagana jest nazwa pakietu do rozwiÄ
zania"
#. TRANSLATORS: The user did not specify a repository (software source) name
-#: ../client/pk-console.c:1252 ../client/pk-console.c:1263
+#: ../client/pk-console.c:1264 ../client/pk-console.c:1275
msgid "A repository name is required"
msgstr "Wymagana jest nazwa repozytorium"
#. TRANSLATORS: The user didn't provide any data
-#: ../client/pk-console.c:1274
+#: ../client/pk-console.c:1286
msgid "A repo name, parameter and value are required"
msgstr "Wymagana jest nazwa, parametr i wartoÅÄ repozytorium"
#. TRANSLATORS: The user didn't specify what action to use
-#: ../client/pk-console.c:1291
+#: ../client/pk-console.c:1303
msgid "An action, e.g. 'update-system' is required"
msgstr "Wymagane jest dziaÅanie, np. \"update-system\""
#. TRANSLATORS: The user specified an invalid action
-#: ../client/pk-console.c:1298
+#: ../client/pk-console.c:1310
msgid "A correct role is required"
msgstr "Wymagana jest bieżÄ
ca rola"
#. TRANSLATORS: The user did not provide a package name
#. TRANSLATORS: This is when the user fails to supply the package name
-#: ../client/pk-console.c:1308 ../client/pk-console.c:1323
-#: ../client/pk-console.c:1332 ../client/pk-console.c:1352
-#: ../client/pk-console.c:1361 ../client/pk-generate-pack.c:287
+#: ../client/pk-console.c:1320 ../client/pk-console.c:1335
+#: ../client/pk-console.c:1344 ../client/pk-console.c:1364
+#: ../client/pk-console.c:1373 ../client/pk-generate-pack.c:287
msgid "A package name is required"
msgstr "Wymagana jest nazwa pakietu"
#. TRANSLATORS: each package "provides" certain things, e.g. mime(gstreamer-decoder-mp3), the user didn't specify it
-#: ../client/pk-console.c:1341
+#: ../client/pk-console.c:1353
msgid "A package provide string is required"
msgstr "Wymagany jest ÅaÅcuch dostarczania pakietu"
#. TRANSLATORS: The user tried to use an unsupported option on the command line
-#: ../client/pk-console.c:1421
+#: ../client/pk-console.c:1433
#, c-format
msgid "Option '%s' is not supported"
msgstr "Opcja \"%s\" nie jest obsÅugiwana"
#. TRANSLATORS: Generic failure of what they asked to do
-#: ../client/pk-console.c:1431
+#: ../client/pk-console.c:1443
msgid "Command failed"
msgstr "Polecenie nie powiodÅo siÄ"
@@ -538,8 +551,8 @@ msgid ""
"Service packs cannot be created as PackageKit was not built with libarchive "
"support."
msgstr ""
-"Nie można utworzyÄ pakietów serwisowych, ponieważ PackageKit zbudowano bez "
-"obsÅugi libarchive."
+"Nie można utworzyÄ pakietów serwisowych, ponieważ usÅugÄ PackageKit "
+"zbudowano bez obsÅugi biblioteki libarchive."
#. TRANSLATORS: the user specified an absolute path, but didn't get the extension correct
#: ../client/pk-generate-pack.c:348
@@ -774,11 +787,6 @@ msgstr "Nie instaluje zależnoÅci podstawowych pakietów"
msgid "Do not display information or progress"
msgstr "Nie wyÅwietla informacji lub postÄpu"
-#. command line argument, do we ask questions
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:524
-msgid "Install the packages without asking for confirmation"
-msgstr "Instaluje pakiety bez proÅby o potwierdzenie"
-
#. TRANSLATORS: tool that gets called when the command is not found
#: ../contrib/debuginfo-install/pk-debuginfo-install.c:539
msgid "PackageKit Debuginfo Installer"
commit 43ef07c7a6fcd4392416147324767cae950142fc
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 18:00:00 2009 +0100
trivial: Rename the 'idle' parameter to 'background' to better describe what it does
diff --git a/backends/yum/yumBackend.py b/backends/yum/yumBackend.py
index 1c8ca2a..9b5ccee 100755
--- a/backends/yum/yumBackend.py
+++ b/backends/yum/yumBackend.py
@@ -249,7 +249,7 @@ class PackageKitYumBackend(PackageKitBaseBackend, PackagekitPackage):
socket.setdefaulttimeout(timeout)
# use idle bandwidth by setting congestion control algorithm to TCP Low Priority
- if self.use_idle:
+ if self.background:
socket.TCP_CONGESTION = 13
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_CONGESTION, "lp")
diff --git a/client/pk-console.c b/client/pk-console.c
index ca8d469..01dd2ec 100644
--- a/client/pk-console.c
+++ b/client/pk-console.c
@@ -967,7 +967,7 @@ main (int argc, char *argv[])
gboolean ret;
GError *error = NULL;
gboolean verbose = FALSE;
- gboolean is_idle = FALSE;
+ gboolean background = FALSE;
gboolean noninteractive = FALSE;
gboolean program_version = FALSE;
GOptionContext *context;
@@ -999,7 +999,7 @@ main (int argc, char *argv[])
{ "noninteractive", 'y', 0, G_OPTION_ARG_NONE, &noninteractive,
/* command line argument, do we ask questions */
_("Install the packages without asking for confirmation"), NULL },
- { "idle", 'n', 0, G_OPTION_ARG_NONE, &is_idle,
+ { "background", 'n', 0, G_OPTION_ARG_NONE, &background,
/* TRANSLATORS: command line argument, this command is not a priority */
_("Run the command using idle network bandwidth and also using less power"), NULL},
{ NULL}
@@ -1074,7 +1074,7 @@ main (int argc, char *argv[])
/* create transactions */
task = pk_task_text_new ();
g_object_set (task,
- "idle", is_idle,
+ "background", background,
"simulate", !noninteractive,
NULL);
diff --git a/etc/PackageKit.conf.in b/etc/PackageKit.conf.in
index 83c20aa..9e3bca9 100644
--- a/etc/PackageKit.conf.in
+++ b/etc/PackageKit.conf.in
@@ -60,7 +60,7 @@ BackendSpawnNiceValue=0
# A niceness value of 0 will not attempt to set any priority.
#
# default=10
-BackendSpawnNiceValueIdle=10
+BackendSpawnNiceValueBackground=10
# Set the iopriority class of the spawned backend to idle.
# This ensures the process does not hog the disk when performing actions.
@@ -72,7 +72,7 @@ BackendSpawnIdleIO=true
# This ensures the process does not hog the disk when performing actions.
#
# default=true
-BackendSpawnIdleIOIdle=true
+BackendSpawnIdleIOBackground=true
# Set whether the spawned backends are allowed to be SIGKILLed if they do not
# respond to SIGQUIT. This ensures that Cancel() works as expected, but
diff --git a/lib/packagekit-glib2/pk-client.c b/lib/packagekit-glib2/pk-client.c
index 7a787f9..77b34a0 100644
--- a/lib/packagekit-glib2/pk-client.c
+++ b/lib/packagekit-glib2/pk-client.c
@@ -63,14 +63,14 @@ struct _PkClientPrivate
GPtrArray *calls;
PkControl *control;
gchar *locale;
- gboolean idle;
+ gboolean background;
gboolean interactive;
};
enum {
PROP_0,
PROP_LOCALE,
- PROP_IDLE,
+ PROP_BACKGROUND,
PROP_INTERACTIVE,
PROP_LAST
};
@@ -148,8 +148,8 @@ pk_client_get_property (GObject *object, guint prop_id, GValue *value, GParamSpe
case PROP_LOCALE:
g_value_set_string (value, priv->locale);
break;
- case PROP_IDLE:
- g_value_set_boolean (value, priv->idle);
+ case PROP_BACKGROUND:
+ g_value_set_boolean (value, priv->background);
break;
case PROP_INTERACTIVE:
g_value_set_boolean (value, priv->interactive);
@@ -174,8 +174,8 @@ pk_client_set_property (GObject *object, guint prop_id, const GValue *value, GPa
g_free (priv->locale);
priv->locale = g_strdup (g_value_get_string (value));
break;
- case PROP_IDLE:
- priv->idle = g_value_get_boolean (value);
+ case PROP_BACKGROUND:
+ priv->background = g_value_get_boolean (value);
break;
case PROP_INTERACTIVE:
priv->interactive = g_value_get_boolean (value);
@@ -1609,8 +1609,8 @@ pk_client_get_tid_cb (GObject *object, GAsyncResult *res, PkClientState *state)
g_ptr_array_add (array, hint);
}
- /* idle */
- hint = g_strdup_printf ("idle=%s", pk_client_bool_to_text (state->client->priv->idle));
+ /* background */
+ hint = g_strdup_printf ("background=%s", pk_client_bool_to_text (state->client->priv->background));
g_ptr_array_add (array, hint);
/* interactive */
@@ -3680,12 +3680,12 @@ pk_client_class_init (PkClientClass *klass)
g_object_class_install_property (object_class, PROP_LOCALE, pspec);
/**
- * PkClient:idle:
+ * PkClient:background:
*/
- pspec = g_param_spec_boolean ("idle", NULL, NULL,
+ pspec = g_param_spec_boolean ("background", NULL, NULL,
FALSE,
G_PARAM_READWRITE);
- g_object_class_install_property (object_class, PROP_IDLE, pspec);
+ g_object_class_install_property (object_class, PROP_BACKGROUND, pspec);
/**
* PkClient:interactive:
@@ -3707,7 +3707,7 @@ pk_client_init (PkClient *client)
GError *error = NULL;
client->priv = PK_CLIENT_GET_PRIVATE (client);
client->priv->calls = g_ptr_array_new ();
- client->priv->idle = FALSE;
+ client->priv->background = FALSE;
client->priv->interactive = TRUE;
/* check dbus connections, exit if not valid */
diff --git a/lib/python/packagekit/backend.py b/lib/python/packagekit/backend.py
index 8832ec5..9993e72 100644
--- a/lib/python/packagekit/backend.py
+++ b/lib/python/packagekit/backend.py
@@ -55,7 +55,7 @@ class PackageKitBaseBackend:
self._locked = False
self.lang = "C"
self.has_network = False
- self.use_idle = False
+ self.background = False
self.percentage_old = 0
self.sub_percentage_old = 0
@@ -72,12 +72,12 @@ class PackageKitBaseBackend:
except KeyError, e:
print "Error: No NETWORK envp"
- # try to get IDLE state
+ # try to get BACKGROUND state
try:
- if os.environ['IDLE'] == 'TRUE':
- self.use_idle = True
+ if os.environ['BACKGROUND'] == 'TRUE':
+ self.background = True
except KeyError, e:
- print "Error: No IDLE envp"
+ print "Error: No BACKGROUND envp"
def doLock(self):
''' Generic locking, overide and extend in child class'''
diff --git a/src/org.freedesktop.PackageKit.Transaction.xml b/src/org.freedesktop.PackageKit.Transaction.xml
index 54acec1..4e90bb0 100644
--- a/src/org.freedesktop.PackageKit.Transaction.xml
+++ b/src/org.freedesktop.PackageKit.Transaction.xml
@@ -184,11 +184,13 @@
</doc:definition>
</doc:item>
<doc:item>
- <doc:term>idle</doc:term>
+ <doc:term>background</doc:term>
<doc:definition>
- If the method was executed when the session was idle, valid
+ If the method should be executed as a background task, valid
values are <doc:tt>true</doc:tt> and <doc:tt>false</doc:tt>,
and other values will result in an error.
+ Background tasks are normally treated with a low priority than
+ regular tasks, and normally only use idle CPU and network.
</doc:definition>
</doc:item>
<doc:item>
diff --git a/src/pk-backend-spawn.c b/src/pk-backend-spawn.c
index c598f54..47877b6 100644
--- a/src/pk-backend-spawn.c
+++ b/src/pk-backend-spawn.c
@@ -678,7 +678,7 @@ pk_backend_spawn_helper_va_list (PkBackendSpawn *backend_spawn, const gchar *exe
gchar *filename;
gchar **argv;
gchar **envp;
- gboolean is_idle;
+ gboolean background;
#if PK_BUILD_LOCAL
const gchar *directory;
#endif
@@ -719,8 +719,8 @@ pk_backend_spawn_helper_va_list (PkBackendSpawn *backend_spawn, const gchar *exe
argv[0] = g_strdup (filename);
/* copy idle setting from backend to PkSpawn instance */
- g_object_get (backend_spawn->priv->backend, "idle", &is_idle, NULL);
- g_object_set (backend_spawn->priv->spawn, "idle", is_idle, NULL);
+ g_object_get (backend_spawn->priv->backend, "background", &background, NULL);
+ g_object_set (backend_spawn->priv->spawn, "background", background, NULL);
backend_spawn->priv->finished = FALSE;
envp = pk_backend_spawn_get_envp (backend_spawn);
diff --git a/src/pk-backend.c b/src/pk-backend.c
index 21270ca..fb49eb3 100644
--- a/src/pk-backend.c
+++ b/src/pk-backend.c
@@ -89,9 +89,9 @@ struct _PkBackendPrivate
gboolean set_signature;
gboolean simultaneous;
gboolean use_time;
- gchar *c_tid;
+ gchar *transaction_id;
gchar *locale;
- PkTristate is_idle;
+ PkTristate background;
gchar *name;
gchar *proxy_ftp;
gchar *proxy_http;
@@ -149,7 +149,7 @@ enum {
enum {
PROP_0,
- PROP_IDLE,
+ PROP_BACKGROUND,
PROP_STATUS,
PROP_ROLE,
PROP_TRANSACTION_ID,
@@ -1947,7 +1947,7 @@ pk_backend_not_implemented_yet (PkBackend *backend, const gchar *method)
g_return_val_if_fail (backend->priv->locked != FALSE, FALSE);
/* this function is only valid when we have a running transaction */
- if (backend->priv->c_tid != NULL)
+ if (backend->priv->transaction_id != NULL)
egg_warning ("only valid when we have a running transaction");
pk_backend_error_code (backend, PK_ERROR_ENUM_NOT_SUPPORTED, "the method '%s' is not implemented yet", method);
/* don't wait, do this now */
@@ -1986,9 +1986,9 @@ pk_backend_use_idle_bandwidth (PkBackend *backend)
return FALSE;
/* the session has set it one way or the other */
- if (backend->priv->is_idle == PK_TRISTATE_TRUE)
+ if (backend->priv->background == PK_TRISTATE_TRUE)
return TRUE;
- if (backend->priv->is_idle == PK_TRISTATE_FALSE)
+ if (backend->priv->background == PK_TRISTATE_FALSE)
return FALSE;
/* use a metric to try to guess a correct value */
@@ -2140,8 +2140,8 @@ pk_backend_get_property (GObject *object, guint prop_id, GValue *value, GParamSp
PkBackendPrivate *priv = backend->priv;
switch (prop_id) {
- case PROP_IDLE:
- g_value_set_boolean (value, priv->is_idle);
+ case PROP_BACKGROUND:
+ g_value_set_boolean (value, priv->background);
break;
case PROP_STATUS:
g_value_set_uint (value, priv->status);
@@ -2150,7 +2150,7 @@ pk_backend_get_property (GObject *object, guint prop_id, GValue *value, GParamSp
g_value_set_uint (value, priv->role);
break;
case PROP_TRANSACTION_ID:
- g_value_set_string (value, priv->c_tid);
+ g_value_set_string (value, priv->transaction_id);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -2168,8 +2168,8 @@ pk_backend_set_property (GObject *object, guint prop_id, const GValue *value, GP
PkBackendPrivate *priv = backend->priv;
switch (prop_id) {
- case PROP_IDLE:
- priv->is_idle = g_value_get_boolean (value);
+ case PROP_BACKGROUND:
+ priv->background = g_value_get_boolean (value);
break;
case PROP_STATUS:
priv->status = g_value_get_uint (value);
@@ -2178,9 +2178,9 @@ pk_backend_set_property (GObject *object, guint prop_id, const GValue *value, GP
priv->role = g_value_get_uint (value);
break;
case PROP_TRANSACTION_ID:
- g_free (priv->c_tid);
- priv->c_tid = g_value_dup_string (value);
- egg_debug ("setting backend tid as %s", priv->c_tid);
+ g_free (priv->transaction_id);
+ priv->transaction_id = g_value_dup_string (value);
+ egg_debug ("setting backend tid as %s", priv->transaction_id);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -2203,7 +2203,7 @@ pk_backend_finalize (GObject *object)
g_free (backend->priv->proxy_ftp);
g_free (backend->priv->name);
g_free (backend->priv->locale);
- g_free (backend->priv->c_tid);
+ g_free (backend->priv->transaction_id);
g_object_unref (backend->priv->results);
g_object_unref (backend->priv->time);
g_object_unref (backend->priv->network);
@@ -2230,12 +2230,12 @@ pk_backend_class_init (PkBackendClass *klass)
object_class->set_property = pk_backend_set_property;
/**
- * PkBackend:idle:
+ * PkBackend:background:
*/
- pspec = g_param_spec_boolean ("idle", NULL, NULL,
+ pspec = g_param_spec_boolean ("background", NULL, NULL,
FALSE,
G_PARAM_READWRITE);
- g_object_class_install_property (object_class, PROP_IDLE, pspec);
+ g_object_class_install_property (object_class, PROP_BACKGROUND, pspec);
/**
* PkBackend:status:
@@ -2367,7 +2367,7 @@ pk_backend_reset (PkBackend *backend)
/* we can't reset when we are running */
if (backend->priv->status == PK_STATUS_ENUM_RUNNING) {
- egg_warning ("cannot reset %s when running", backend->priv->c_tid);
+ egg_warning ("cannot reset %s when running", backend->priv->transaction_id);
return FALSE;
}
@@ -2796,7 +2796,7 @@ pk_backend_init (PkBackend *backend)
backend->priv->handle = NULL;
backend->priv->name = NULL;
backend->priv->locale = NULL;
- backend->priv->c_tid = NULL;
+ backend->priv->transaction_id = NULL;
backend->priv->proxy_http = NULL;
backend->priv->proxy_ftp = NULL;
backend->priv->file_changed_func = NULL;
diff --git a/src/pk-spawn.c b/src/pk-spawn.c
index 47a7592..0ba186f 100644
--- a/src/pk-spawn.c
+++ b/src/pk-spawn.c
@@ -66,7 +66,7 @@ struct PkSpawnPrivate
guint poll_id;
guint kill_id;
gboolean finished;
- gboolean is_idle;
+ gboolean background;
gboolean is_sending_exit;
gboolean is_changing_dispatcher;
gboolean allow_sigkill;
@@ -87,7 +87,7 @@ enum {
enum {
PROP_0,
- PROP_IDLE,
+ PROP_BACKGROUND,
PROP_ALLOW_SIGKILL,
PROP_LAST
};
@@ -510,8 +510,8 @@ pk_spawn_argv (PkSpawn *spawn, gchar **argv, gchar **envp)
/* get the nice value and ensure we are in the valid range */
key = "BackendSpawnNiceValue";
- if (spawn->priv->is_idle)
- key = "BackendSpawnNiceValueIdle";
+ if (spawn->priv->background)
+ key = "BackendSpawnNiceValueBackground";
nice_value = pk_conf_get_int (spawn->priv->conf, key);
nice_value = CLAMP(nice_value, -20, 19);
@@ -523,8 +523,8 @@ pk_spawn_argv (PkSpawn *spawn, gchar **argv, gchar **envp)
/* perhaps set idle IO priority */
key = "BackendSpawnIdleIO";
- if (spawn->priv->is_idle)
- key = "BackendSpawnIdleIOIdle";
+ if (spawn->priv->background)
+ key = "BackendSpawnIdleIOBackground";
idleio = pk_conf_get_bool (spawn->priv->conf, key);
if (idleio) {
egg_debug ("setting ioprio class to idle");
@@ -569,8 +569,8 @@ pk_spawn_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec
PkSpawnPrivate *priv = spawn->priv;
switch (prop_id) {
- case PROP_IDLE:
- g_value_set_boolean (value, priv->is_idle);
+ case PROP_BACKGROUND:
+ g_value_set_boolean (value, priv->background);
break;
case PROP_ALLOW_SIGKILL:
g_value_set_boolean (value, priv->allow_sigkill);
@@ -591,8 +591,8 @@ pk_spawn_set_property (GObject *object, guint prop_id, const GValue *value, GPar
PkSpawnPrivate *priv = spawn->priv;
switch (prop_id) {
- case PROP_IDLE:
- priv->is_idle = g_value_get_boolean (value);
+ case PROP_BACKGROUND:
+ priv->background = g_value_get_boolean (value);
break;
case PROP_ALLOW_SIGKILL:
priv->allow_sigkill = g_value_get_boolean (value);
@@ -618,12 +618,12 @@ pk_spawn_class_init (PkSpawnClass *klass)
object_class->set_property = pk_spawn_set_property;
/**
- * PkSpawn:idle:
+ * PkSpawn:background:
*/
- pspec = g_param_spec_boolean ("idle", NULL, NULL,
+ pspec = g_param_spec_boolean ("background", NULL, NULL,
FALSE,
G_PARAM_READWRITE);
- g_object_class_install_property (object_class, PROP_IDLE, pspec);
+ g_object_class_install_property (object_class, PROP_BACKGROUND, pspec);
/**
* PkSpawn:allow-sigkill:
@@ -676,7 +676,7 @@ pk_spawn_init (PkSpawn *spawn)
spawn->priv->allow_sigkill = TRUE;
spawn->priv->last_argv0 = NULL;
spawn->priv->last_envp = NULL;
- spawn->priv->is_idle = FALSE;
+ spawn->priv->background = FALSE;
spawn->priv->exit = PK_SPAWN_EXIT_TYPE_UNKNOWN;
spawn->priv->stdout_buf = g_string_new ("");
@@ -1024,7 +1024,7 @@ pk_spawn_test (EggTest *test)
file = egg_test_get_data_file ("pk-spawn-dispatcher.py");
path = g_strdup_printf ("%s\tsearch-name\tnone\tpower manager", file);
argv = g_strsplit (path, "\t", 0);
- envp = g_strsplit ("NETWORK=TRUE LANG=C IDLE=TRUE", " ", 0);
+ envp = g_strsplit ("NETWORK=TRUE LANG=C BACKGROUND=TRUE", " ", 0);
ret = pk_spawn_argv (spawn, argv, envp);
g_free (file);
g_free (path);
diff --git a/src/pk-transaction-list.c b/src/pk-transaction-list.c
index 2a28323..4453740 100644
--- a/src/pk-transaction-list.c
+++ b/src/pk-transaction-list.c
@@ -73,7 +73,7 @@ typedef struct {
guint commit_id;
gulong finished_id;
guint uid;
- gboolean is_idle;
+ gboolean background;
} PkTransactionItem;
enum {
@@ -232,10 +232,10 @@ pk_transaction_list_remove (PkTransactionList *tlist, const gchar *tid)
}
/**
- * pk_transaction_list_set_idle:
+ * pk_transaction_list_set_background:
**/
gboolean
-pk_transaction_list_set_idle (PkTransactionList *tlist, const gchar *tid, gboolean is_idle)
+pk_transaction_list_set_background (PkTransactionList *tlist, const gchar *tid, gboolean background)
{
PkTransactionItem *item;
@@ -251,8 +251,8 @@ pk_transaction_list_set_idle (PkTransactionList *tlist, const gchar *tid, gboole
egg_debug ("already finished, so waiting to timeout");
return FALSE;
}
- egg_debug ("%s is now idle: %i", tid, is_idle);
- item->is_idle = is_idle;
+ egg_debug ("%s is now background: %i", tid, background);
+ item->background = background;
return TRUE;
}
@@ -311,17 +311,17 @@ pk_transaction_list_get_next_item (PkTransactionList *tlist)
array = tlist->priv->array;
- /* first try the waiting non-idle transactions */
+ /* first try the waiting non-background transactions */
for (i=0; i<array->len; i++) {
item = (PkTransactionItem *) g_ptr_array_index (array, i);
if (item->committed &&
!item->running &&
!item->finished &&
- !item->is_idle)
+ !item->background)
goto out;
}
- /* then try the other waiting transactions (idle tasks) */
+ /* then try the other waiting transactions (background tasks) */
for (i=0; i<array->len; i++) {
item = (PkTransactionItem *) g_ptr_array_index (array, i);
if (item->committed &&
@@ -455,7 +455,7 @@ pk_transaction_list_create (PkTransactionList *tlist, const gchar *tid, const gc
item->running = FALSE;
item->finished = FALSE;
item->transaction = NULL;
- item->is_idle = FALSE;
+ item->background = FALSE;
item->commit_id = 0;
item->remove_id = 0;
item->idle_id = 0;
@@ -671,9 +671,9 @@ pk_transaction_list_get_state (PkTransactionList *tlist)
if (item->running && item->finished)
wrong++;
role = pk_transaction_priv_get_role (item->transaction);
- g_string_append_printf (string, "%0i\t%s\t%s\trunning[%i] committed[%i] finished[%i] idle[%i]\n", i,
+ g_string_append_printf (string, "%0i\t%s\t%s\trunning[%i] committed[%i] finished[%i] background[%i]\n", i,
pk_role_enum_to_text (role), item->tid, item->running,
- item->committed, item->finished, item->is_idle);
+ item->committed, item->finished, item->background);
}
/* wrong flags */
diff --git a/src/pk-transaction-list.h b/src/pk-transaction-list.h
index 915dabc..1a7e8f1 100644
--- a/src/pk-transaction-list.h
+++ b/src/pk-transaction-list.h
@@ -60,9 +60,9 @@ gboolean pk_transaction_list_create (PkTransactionList *tlist,
GError **error);
gboolean pk_transaction_list_remove (PkTransactionList *tlist,
const gchar *tid);
-gboolean pk_transaction_list_set_idle (PkTransactionList *tlist,
+gboolean pk_transaction_list_set_background (PkTransactionList *tlist,
const gchar *tid,
- gboolean is_idle);
+ gboolean background);
gboolean pk_transaction_list_commit (PkTransactionList *tlist,
const gchar *tid)
G_GNUC_WARN_UNUSED_RESULT;
diff --git a/src/pk-transaction.c b/src/pk-transaction.c
index 2a8edf9..9060eb6 100644
--- a/src/pk-transaction.c
+++ b/src/pk-transaction.c
@@ -100,7 +100,7 @@ struct PkTransactionPrivate
gboolean emit_signature_required;
gboolean emit_media_change_required;
gboolean caller_active;
- PkTristate is_idle;
+ PkTristate background;
gchar *locale;
guint uid;
EggDbusMonitor *monitor;
@@ -326,15 +326,15 @@ pk_transaction_get_text (PkTransaction *transaction)
static gboolean
pk_transaction_finish_invalidate_caches (PkTransaction *transaction)
{
- gchar *c_tid;
+ gchar *transaction_id;
GPtrArray *array;
g_return_val_if_fail (PK_IS_TRANSACTION (transaction), FALSE);
g_object_get (transaction->priv->backend,
- "transaction-id", &c_tid,
+ "transaction-id", &transaction_id,
NULL);
- if (c_tid == NULL) {
+ if (transaction_id == NULL) {
egg_warning ("could not get current tid from backend");
return FALSE;
}
@@ -362,7 +362,7 @@ pk_transaction_finish_invalidate_caches (PkTransaction *transaction)
pk_notify_wait_updates_changed (transaction->priv->notify,
PK_TRANSACTION_UPDATES_CHANGED_TIMEOUT);
}
- g_free (c_tid);
+ g_free (transaction_id);
return TRUE;
}
@@ -1369,7 +1369,7 @@ pk_transaction_set_running (PkTransaction *transaction)
/* assign */
g_object_set (priv->backend,
- "idle", priv->is_idle,
+ "background", priv->background,
"transaction-id", priv->tid,
NULL);
@@ -1653,11 +1653,11 @@ pk_transaction_commit (PkTransaction *transaction)
g_return_val_if_fail (transaction->priv->tid != NULL, FALSE);
/* set the idle really early as this affects scheduling */
- if (transaction->priv->is_idle == PK_TRISTATE_TRUE ||
- transaction->priv->is_idle == PK_TRISTATE_FALSE) {
- pk_transaction_list_set_idle (transaction->priv->transaction_list,
+ if (transaction->priv->background == PK_TRISTATE_TRUE ||
+ transaction->priv->background == PK_TRISTATE_FALSE) {
+ pk_transaction_list_set_background (transaction->priv->transaction_list,
transaction->priv->tid,
- transaction->priv->is_idle);
+ transaction->priv->background);
}
/* commit, so it appears in the JobList */
@@ -4327,17 +4327,17 @@ pk_transaction_set_hint (PkTransaction *transaction, const gchar *key, const gch
}
/* idle=true */
- if (g_strcmp0 (key, "idle") == 0) {
+ if (g_strcmp0 (key, "background") == 0) {
/* idle true */
if (g_strcmp0 (value, "true") == 0) {
- transaction->priv->is_idle = PK_TRISTATE_TRUE;
+ transaction->priv->background = PK_TRISTATE_TRUE;
goto out;
}
/* idle false */
if (g_strcmp0 (value, "false") == 0) {
- transaction->priv->is_idle = PK_TRISTATE_FALSE;
+ transaction->priv->background = PK_TRISTATE_FALSE;
goto out;
}
@@ -5271,7 +5271,7 @@ pk_transaction_init (PkTransaction *transaction)
transaction->priv->status = PK_STATUS_ENUM_WAIT;
transaction->priv->percentage = PK_BACKEND_PERCENTAGE_INVALID;
transaction->priv->subpercentage = PK_BACKEND_PERCENTAGE_INVALID;
- transaction->priv->is_idle = PK_TRISTATE_UNSET;
+ transaction->priv->background = PK_TRISTATE_UNSET;
transaction->priv->elapsed_time = 0;
transaction->priv->remaining_time = 0;
transaction->priv->backend = pk_backend_new ();
commit 3b0c4db06793e8c58d2245ebfde8d8a6d33b343b
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 14:51:22 2009 +0100
trivial: improve the grammar in one of the error messages
diff --git a/src/pk-engine.c b/src/pk-engine.c
index f3970b8..209cf4c 100644
--- a/src/pk-engine.c
+++ b/src/pk-engine.c
@@ -280,7 +280,7 @@ pk_engine_get_tid (PkEngine *engine, DBusGMethodInvocation *context)
ret = pk_transaction_list_create (engine->priv->transaction_list, new_tid, sender, &error_local);
if (!ret) {
- error = g_error_new (PK_ENGINE_ERROR, PK_ENGINE_ERROR_CANNOT_ALLOCATE_TID, "getting the tid failed: %s", error_local->message);
+ error = g_error_new (PK_ENGINE_ERROR, PK_ENGINE_ERROR_CANNOT_ALLOCATE_TID, "could not create transaction: %s", error_local->message);
dbus_g_method_return_error (context, error);
g_error_free (error_local);
goto out;
commit 65edf714cea6697097180cb3b13eb3383d7c6ce5
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 14:36:57 2009 +0100
trivial: remove pk_backend_xet_current_tid() and make it a property on PkBackend
diff --git a/src/pk-backend.c b/src/pk-backend.c
index c99f751..21270ca 100644
--- a/src/pk-backend.c
+++ b/src/pk-backend.c
@@ -152,6 +152,7 @@ enum {
PROP_IDLE,
PROP_STATUS,
PROP_ROLE,
+ PROP_TRANSACTION_ID,
PROP_LAST
};
@@ -2055,32 +2056,6 @@ pk_backend_get_author (PkBackend *backend)
}
/**
- * pk_backend_get_current_tid:
- */
-const gchar *
-pk_backend_get_current_tid (PkBackend *backend)
-{
- g_return_val_if_fail (PK_IS_BACKEND (backend), NULL);
- g_return_val_if_fail (backend->priv->locked != FALSE, NULL);
- return backend->priv->c_tid;
-}
-
-/**
- * pk_backend_set_current_tid:
- */
-gboolean
-pk_backend_set_current_tid (PkBackend *backend, const gchar *tid)
-{
- g_return_val_if_fail (PK_IS_BACKEND (backend), FALSE);
- g_return_val_if_fail (backend->priv->locked != FALSE, FALSE);
-
- egg_debug ("setting backend tid as %s", tid);
- g_free (backend->priv->c_tid);
- backend->priv->c_tid = g_strdup (tid);
- return TRUE;
-}
-
-/**
* pk_backend_accept_eula:
*/
gboolean
@@ -2174,6 +2149,9 @@ pk_backend_get_property (GObject *object, guint prop_id, GValue *value, GParamSp
case PROP_ROLE:
g_value_set_uint (value, priv->role);
break;
+ case PROP_TRANSACTION_ID:
+ g_value_set_string (value, priv->c_tid);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@@ -2199,6 +2177,11 @@ pk_backend_set_property (GObject *object, guint prop_id, const GValue *value, GP
case PROP_ROLE:
priv->role = g_value_get_uint (value);
break;
+ case PROP_TRANSACTION_ID:
+ g_free (priv->c_tid);
+ priv->c_tid = g_value_dup_string (value);
+ egg_debug ("setting backend tid as %s", priv->c_tid);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@@ -2270,6 +2253,14 @@ pk_backend_class_init (PkBackendClass *klass)
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_ROLE, pspec);
+ /**
+ * PkBackend:transaction-id:
+ */
+ pspec = g_param_spec_string ("transaction-id", NULL, NULL,
+ NULL,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (object_class, PROP_TRANSACTION_ID, pspec);
+
/* properties */
signals[SIGNAL_STATUS_CHANGED] =
g_signal_new ("status-changed",
diff --git a/src/pk-backend.h b/src/pk-backend.h
index 5881bcd..7c7a732 100644
--- a/src/pk-backend.h
+++ b/src/pk-backend.h
@@ -47,8 +47,6 @@ G_BEGIN_DECLS
typedef struct _PkBackend PkBackend;
/* set the state */
-gboolean pk_backend_set_current_tid (PkBackend *backend,
- const gchar *tid);
gboolean pk_backend_accept_eula (PkBackend *backend,
const gchar *eula_id);
gboolean pk_backend_is_eula_valid (PkBackend *backend,
@@ -73,7 +71,6 @@ gboolean pk_backend_set_locale (PkBackend *backend,
const gchar *code);
/* get the state */
-const gchar *pk_backend_get_current_tid (PkBackend *backend);
gboolean pk_backend_get_allow_cancel (PkBackend *backend);
gboolean pk_backend_get_progress (PkBackend *backend,
guint *percentage,
diff --git a/src/pk-transaction.c b/src/pk-transaction.c
index c7edaee..2a8edf9 100644
--- a/src/pk-transaction.c
+++ b/src/pk-transaction.c
@@ -326,12 +326,14 @@ pk_transaction_get_text (PkTransaction *transaction)
static gboolean
pk_transaction_finish_invalidate_caches (PkTransaction *transaction)
{
- const gchar *c_tid;
+ gchar *c_tid;
GPtrArray *array;
g_return_val_if_fail (PK_IS_TRANSACTION (transaction), FALSE);
- c_tid = pk_backend_get_current_tid (transaction->priv->backend);
+ g_object_get (transaction->priv->backend,
+ "transaction-id", &c_tid,
+ NULL);
if (c_tid == NULL) {
egg_warning ("could not get current tid from backend");
return FALSE;
@@ -360,6 +362,7 @@ pk_transaction_finish_invalidate_caches (PkTransaction *transaction)
pk_notify_wait_updates_changed (transaction->priv->notify,
PK_TRANSACTION_UPDATES_CHANGED_TIMEOUT);
}
+ g_free (c_tid);
return TRUE;
}
@@ -1365,9 +1368,9 @@ pk_transaction_set_running (PkTransaction *transaction)
pk_backend_reset (transaction->priv->backend);
/* assign */
- pk_backend_set_current_tid (priv->backend, priv->tid);
g_object_set (priv->backend,
"idle", priv->is_idle,
+ "transaction-id", priv->tid,
NULL);
/* if we didn't set a locale for this transaction, we would reuse the
commit e7c1b19a46f790f5606fc36937930d9bee0b1e08
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 14:18:35 2009 +0100
trivial: remove pk_backend_get_role() and make it a property on PkBackend
diff --git a/src/pk-backend.c b/src/pk-backend.c
index fcbaa98..c99f751 100644
--- a/src/pk-backend.c
+++ b/src/pk-backend.c
@@ -151,6 +151,7 @@ enum {
PROP_0,
PROP_IDLE,
PROP_STATUS,
+ PROP_ROLE,
PROP_LAST
};
@@ -789,17 +790,6 @@ pk_backend_set_status (PkBackend *backend, PkStatusEnum status)
}
/**
- * pk_backend_get_status:
- **/
-PkStatusEnum
-pk_backend_get_status (PkBackend *backend)
-{
- g_return_val_if_fail (PK_IS_BACKEND (backend), PK_STATUS_ENUM_UNKNOWN);
- g_return_val_if_fail (backend->priv->locked != FALSE, PK_STATUS_ENUM_UNKNOWN);
- return backend->priv->status;
-}
-
-/**
* pk_backend_package_emulate_finished:
**/
static gboolean
@@ -1804,17 +1794,6 @@ pk_backend_set_role (PkBackend *backend, PkRoleEnum role)
}
/**
- * pk_backend_get_role:
- **/
-PkRoleEnum
-pk_backend_get_role (PkBackend *backend)
-{
- g_return_val_if_fail (PK_IS_BACKEND (backend), PK_ROLE_ENUM_UNKNOWN);
- g_return_val_if_fail (backend->priv->locked != FALSE, PK_ROLE_ENUM_UNKNOWN);
- return backend->priv->role;
-}
-
-/**
* pk_backend_set_exit_code:
*
* Should only be used internally, or from PkRunner when setting CANCELLED.
@@ -2192,6 +2171,9 @@ pk_backend_get_property (GObject *object, guint prop_id, GValue *value, GParamSp
case PROP_STATUS:
g_value_set_uint (value, priv->status);
break;
+ case PROP_ROLE:
+ g_value_set_uint (value, priv->role);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@@ -2214,6 +2196,9 @@ pk_backend_set_property (GObject *object, guint prop_id, const GValue *value, GP
case PROP_STATUS:
priv->status = g_value_get_uint (value);
break;
+ case PROP_ROLE:
+ priv->role = g_value_get_uint (value);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@@ -2277,6 +2262,14 @@ pk_backend_class_init (PkBackendClass *klass)
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_STATUS, pspec);
+ /**
+ * PkBackend:role:
+ */
+ pspec = g_param_spec_uint ("role", NULL, NULL,
+ 0, G_MAXUINT, PK_STATUS_ENUM_UNKNOWN,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (object_class, PROP_ROLE, pspec);
+
/* properties */
signals[SIGNAL_STATUS_CHANGED] =
g_signal_new ("status-changed",
diff --git a/src/pk-backend.h b/src/pk-backend.h
index 58da5f5..5881bcd 100644
--- a/src/pk-backend.h
+++ b/src/pk-backend.h
@@ -74,7 +74,6 @@ gboolean pk_backend_set_locale (PkBackend *backend,
/* get the state */
const gchar *pk_backend_get_current_tid (PkBackend *backend);
-PkRoleEnum pk_backend_get_role (PkBackend *backend);
gboolean pk_backend_get_allow_cancel (PkBackend *backend);
gboolean pk_backend_get_progress (PkBackend *backend,
guint *percentage,
commit 1d6e08057b0f4aa24171b98cac1fbae5b58f8263
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 14:12:33 2009 +0100
trivial: remove pk_backend_get_status() and make it a property on PkBackend
diff --git a/src/pk-backend.c b/src/pk-backend.c
index 8984676..fcbaa98 100644
--- a/src/pk-backend.c
+++ b/src/pk-backend.c
@@ -150,6 +150,7 @@ enum {
enum {
PROP_0,
PROP_IDLE,
+ PROP_STATUS,
PROP_LAST
};
@@ -2188,6 +2189,9 @@ pk_backend_get_property (GObject *object, guint prop_id, GValue *value, GParamSp
case PROP_IDLE:
g_value_set_boolean (value, priv->is_idle);
break;
+ case PROP_STATUS:
+ g_value_set_uint (value, priv->status);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@@ -2207,6 +2211,9 @@ pk_backend_set_property (GObject *object, guint prop_id, const GValue *value, GP
case PROP_IDLE:
priv->is_idle = g_value_get_boolean (value);
break;
+ case PROP_STATUS:
+ priv->status = g_value_get_uint (value);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@@ -2262,6 +2269,14 @@ pk_backend_class_init (PkBackendClass *klass)
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_IDLE, pspec);
+ /**
+ * PkBackend:status:
+ */
+ pspec = g_param_spec_uint ("status", NULL, NULL,
+ 0, G_MAXUINT, PK_STATUS_ENUM_UNKNOWN,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (object_class, PROP_STATUS, pspec);
+
/* properties */
signals[SIGNAL_STATUS_CHANGED] =
g_signal_new ("status-changed",
diff --git a/src/pk-backend.h b/src/pk-backend.h
index 041fa9f..58da5f5 100644
--- a/src/pk-backend.h
+++ b/src/pk-backend.h
@@ -75,7 +75,6 @@ gboolean pk_backend_set_locale (PkBackend *backend,
/* get the state */
const gchar *pk_backend_get_current_tid (PkBackend *backend);
PkRoleEnum pk_backend_get_role (PkBackend *backend);
-PkStatusEnum pk_backend_get_status (PkBackend *backend);
gboolean pk_backend_get_allow_cancel (PkBackend *backend);
gboolean pk_backend_get_progress (PkBackend *backend,
guint *percentage,
commit 99c0ca829599e7012155dc61952fe772a6d0f2f7
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 14:07:14 2009 +0100
trivial: proxy the idle state from PkBackend to PkSpawn
diff --git a/src/pk-backend-spawn.c b/src/pk-backend-spawn.c
index b75e1d1..c598f54 100644
--- a/src/pk-backend-spawn.c
+++ b/src/pk-backend-spawn.c
@@ -678,6 +678,7 @@ pk_backend_spawn_helper_va_list (PkBackendSpawn *backend_spawn, const gchar *exe
gchar *filename;
gchar **argv;
gchar **envp;
+ gboolean is_idle;
#if PK_BUILD_LOCAL
const gchar *directory;
#endif
@@ -717,6 +718,10 @@ pk_backend_spawn_helper_va_list (PkBackendSpawn *backend_spawn, const gchar *exe
g_free (argv[0]);
argv[0] = g_strdup (filename);
+ /* copy idle setting from backend to PkSpawn instance */
+ g_object_get (backend_spawn->priv->backend, "idle", &is_idle, NULL);
+ g_object_set (backend_spawn->priv->spawn, "idle", is_idle, NULL);
+
backend_spawn->priv->finished = FALSE;
envp = pk_backend_spawn_get_envp (backend_spawn);
ret = pk_spawn_argv (backend_spawn->priv->spawn, argv, envp);
commit 1cd61ebb96d96bdcdfa3216908a31d70218b83f3
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 14:02:22 2009 +0100
trivial: remove pk_backend_set_is_idle() and make it a property on PkBackend
diff --git a/src/pk-backend.c b/src/pk-backend.c
index d2c9fc9..8984676 100644
--- a/src/pk-backend.c
+++ b/src/pk-backend.c
@@ -147,6 +147,12 @@ enum {
SIGNAL_LAST
};
+enum {
+ PROP_0,
+ PROP_IDLE,
+ PROP_LAST
+};
+
static guint signals[SIGNAL_LAST] = { 0 };
/**
@@ -509,17 +515,6 @@ pk_backend_set_proxy (PkBackend *backend, const gchar *proxy_http, const gchar *
}
/**
- * pk_backend_set_is_idle:
- **/
-gboolean
-pk_backend_set_is_idle (PkBackend *backend, PkTristate is_idle)
-{
- g_return_val_if_fail (PK_IS_BACKEND (backend), FALSE);
- backend->priv->is_idle = is_idle;
- return TRUE;
-}
-
-/**
* pk_backend_get_proxy_http:
*
* Return value: proxy string in the form username:password at server:port
@@ -2181,6 +2176,44 @@ pk_backend_file_monitor_changed_cb (PkFileMonitor *file_monitor, PkBackend *back
}
/**
+ * pk_backend_get_property:
+ **/
+static void
+pk_backend_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
+{
+ PkBackend *backend = PK_BACKEND (object);
+ PkBackendPrivate *priv = backend->priv;
+
+ switch (prop_id) {
+ case PROP_IDLE:
+ g_value_set_boolean (value, priv->is_idle);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
+ }
+}
+
+/**
+ * pk_backend_set_property:
+ **/
+static void
+pk_backend_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
+{
+ PkBackend *backend = PK_BACKEND (object);
+ PkBackendPrivate *priv = backend->priv;
+
+ switch (prop_id) {
+ case PROP_IDLE:
+ priv->is_idle = g_value_get_boolean (value);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
+ }
+}
+
+/**
* pk_backend_finalize:
**/
static void
@@ -2215,8 +2248,19 @@ pk_backend_finalize (GObject *object)
static void
pk_backend_class_init (PkBackendClass *klass)
{
+ GParamSpec *pspec;
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = pk_backend_finalize;
+ object_class->get_property = pk_backend_get_property;
+ object_class->set_property = pk_backend_set_property;
+
+ /**
+ * PkBackend:idle:
+ */
+ pspec = g_param_spec_boolean ("idle", NULL, NULL,
+ FALSE,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (object_class, PROP_IDLE, pspec);
/* properties */
signals[SIGNAL_STATUS_CHANGED] =
diff --git a/src/pk-backend.h b/src/pk-backend.h
index b0c2d50..041fa9f 100644
--- a/src/pk-backend.h
+++ b/src/pk-backend.h
@@ -71,8 +71,6 @@ gboolean pk_backend_set_simultaneous_mode (PkBackend *backend,
gboolean simultaneous);
gboolean pk_backend_set_locale (PkBackend *backend,
const gchar *code);
-gboolean pk_backend_set_is_idle (PkBackend *backend,
- PkTristate is_idle);
/* get the state */
const gchar *pk_backend_get_current_tid (PkBackend *backend);
diff --git a/src/pk-transaction.c b/src/pk-transaction.c
index ced8812..c7edaee 100644
--- a/src/pk-transaction.c
+++ b/src/pk-transaction.c
@@ -1366,7 +1366,9 @@ pk_transaction_set_running (PkTransaction *transaction)
/* assign */
pk_backend_set_current_tid (priv->backend, priv->tid);
- pk_backend_set_is_idle (priv->backend, priv->is_idle);
+ g_object_set (priv->backend,
+ "idle", priv->is_idle,
+ NULL);
/* if we didn't set a locale for this transaction, we would reuse the
* last set locale in the backend, or NULL if it was not ever set.
commit ec600e8d33b0cb9678cf26ddc90254f56a668fa1
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 13:34:30 2009 +0100
Remove pk_spawn_set_allow_sigkill() and make it a property on PkSpawn
diff --git a/src/pk-backend-spawn.c b/src/pk-backend-spawn.c
index be8cdf2..b75e1d1 100644
--- a/src/pk-backend-spawn.c
+++ b/src/pk-backend-spawn.c
@@ -845,17 +845,21 @@ pk_backend_spawn_helper (PkBackendSpawn *backend_spawn, const gchar *first_eleme
gboolean
pk_backend_spawn_set_allow_sigkill (PkBackendSpawn *backend_spawn, gboolean allow_sigkill)
{
- gboolean ret = FALSE;
+ gboolean ret = TRUE;
g_return_val_if_fail (PK_IS_BACKEND_SPAWN (backend_spawn), FALSE);
/* have we banned this in the config ile */
if (!backend_spawn->priv->allow_sigkill && allow_sigkill) {
egg_warning ("cannot set allow_cancel TRUE as BackendSpawnAllowSIGKILL is set to FALSE in PackageKit.conf");
+ ret = FALSE;
goto out;
}
- ret = pk_spawn_set_allow_sigkill (backend_spawn->priv->spawn, allow_sigkill);
+ /* set this property */
+ g_object_set (backend_spawn->priv->spawn,
+ "allow-sigkill", allow_sigkill,
+ NULL);
out:
return ret;
}
@@ -922,7 +926,9 @@ pk_backend_spawn_init (PkBackendSpawn *backend_spawn)
/* set if SIGKILL is allowed */
backend_spawn->priv->allow_sigkill = pk_conf_get_bool (backend_spawn->priv->conf, "BackendSpawnAllowSIGKILL");
- pk_spawn_set_allow_sigkill (backend_spawn->priv->spawn, backend_spawn->priv->allow_sigkill);
+ g_object_set (backend_spawn->priv->spawn,
+ "allow-sigkill", backend_spawn->priv->allow_sigkill,
+ NULL);
}
/**
diff --git a/src/pk-spawn.c b/src/pk-spawn.c
index 9b46d6e..47a7592 100644
--- a/src/pk-spawn.c
+++ b/src/pk-spawn.c
@@ -88,6 +88,7 @@ enum {
enum {
PROP_0,
PROP_IDLE,
+ PROP_ALLOW_SIGKILL,
PROP_LAST
};
@@ -337,24 +338,6 @@ pk_spawn_kill (PkSpawn *spawn)
}
/**
- * pk_spawn_set_allow_sigkill:
- *
- * Set whether the spawned backends are allowed to be SIGKILLed if they do not
- * respond to SIGQUIT. This ensures that Cancel() works as expected, but
- * somtimes can corrupt databases if they are open.
- **/
-gboolean
-pk_spawn_set_allow_sigkill (PkSpawn *spawn, gboolean allow_sigkill)
-{
- g_return_val_if_fail (PK_IS_SPAWN (spawn), FALSE);
-
- egg_debug ("setting SIGKILL: %i", allow_sigkill);
- spawn->priv->allow_sigkill = allow_sigkill;
-
- return TRUE;
-}
-
-/**
* pk_spawn_send_stdin:
*
* Send new comands to a running (but idle) dispatcher script
@@ -589,6 +572,9 @@ pk_spawn_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec
case PROP_IDLE:
g_value_set_boolean (value, priv->is_idle);
break;
+ case PROP_ALLOW_SIGKILL:
+ g_value_set_boolean (value, priv->allow_sigkill);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@@ -608,6 +594,9 @@ pk_spawn_set_property (GObject *object, guint prop_id, const GValue *value, GPar
case PROP_IDLE:
priv->is_idle = g_value_get_boolean (value);
break;
+ case PROP_ALLOW_SIGKILL:
+ priv->allow_sigkill = g_value_get_boolean (value);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@@ -636,6 +625,17 @@ pk_spawn_class_init (PkSpawnClass *klass)
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_IDLE, pspec);
+ /**
+ * PkSpawn:allow-sigkill:
+ * Set whether the spawned backends are allowed to be SIGKILLed if they do not
+ * respond to SIGQUIT. This ensures that Cancel() works as expected, but
+ * sometimes can corrupt databases if they are open.
+ */
+ pspec = g_param_spec_boolean ("allow-sigkill", NULL, NULL,
+ FALSE,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (object_class, PROP_ALLOW_SIGKILL, pspec);
+
signals [SIGNAL_EXIT] =
g_signal_new ("exit",
G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST,
@@ -950,7 +950,9 @@ pk_spawn_test (EggTest *test)
mexit = PK_SPAWN_EXIT_TYPE_UNKNOWN;
path = egg_test_get_data_file ("pk-spawn-test.sh");
argv = g_strsplit (path, " ", 0);
- pk_spawn_set_allow_sigkill (spawn, FALSE);
+ g_object_set (spawn,
+ "allow-sigkill", FALSE,
+ NULL);
ret = pk_spawn_argv (spawn, argv, NULL);
g_free (path);
g_strfreev (argv);
@@ -1022,7 +1024,7 @@ pk_spawn_test (EggTest *test)
file = egg_test_get_data_file ("pk-spawn-dispatcher.py");
path = g_strdup_printf ("%s\tsearch-name\tnone\tpower manager", file);
argv = g_strsplit (path, "\t", 0);
- envp = g_strsplit ("NETWORK=TRUE LANG=C", " ", 0);
+ envp = g_strsplit ("NETWORK=TRUE LANG=C IDLE=TRUE", " ", 0);
ret = pk_spawn_argv (spawn, argv, envp);
g_free (file);
g_free (path);
diff --git a/src/pk-spawn.h b/src/pk-spawn.h
index 8901fb0..6d81bab 100644
--- a/src/pk-spawn.h
+++ b/src/pk-spawn.h
@@ -73,8 +73,6 @@ gboolean pk_spawn_argv (PkSpawn *spawn,
gboolean pk_spawn_is_running (PkSpawn *spawn);
gboolean pk_spawn_kill (PkSpawn *spawn);
gboolean pk_spawn_exit (PkSpawn *spawn);
-gboolean pk_spawn_set_allow_sigkill (PkSpawn *spawn,
- gboolean allow_sigkill);
G_END_DECLS
commit c04e9f8a8eda2e783be70e94b30f44dde1088286
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 13:26:09 2009 +0100
Use different values of BackendSpawnNiceValue and BackendSpawnIdleIO when we are idle or not-idle
diff --git a/etc/PackageKit.conf.in b/etc/PackageKit.conf.in
index 30b2f15..83c20aa 100644
--- a/etc/PackageKit.conf.in
+++ b/etc/PackageKit.conf.in
@@ -50,14 +50,30 @@ BackendShutdownTimeout=5
# Values range from -20 (most favorable) to 19 (least favorable)
# A niceness value of 0 will not attempt to set any priority.
#
+# default=0
+BackendSpawnNiceValue=0
+
+# Set the priority of the spawned backend to this priority for low priority tasks.
+# This ensures the process does not hog the system when performing actions.
+#
+# Values range from -20 (most favorable) to 19 (least favorable)
+# A niceness value of 0 will not attempt to set any priority.
+#
# default=10
-BackendSpawnNiceValue=10
+BackendSpawnNiceValueIdle=10
# Set the iopriority class of the spawned backend to idle.
# This ensures the process does not hog the disk when performing actions.
+#
# default=true
BackendSpawnIdleIO=true
+# Set the iopriority class of the spawned backend to idle for low priority tasks.
+# This ensures the process does not hog the disk when performing actions.
+#
+# default=true
+BackendSpawnIdleIOIdle=true
+
# Set whether the spawned backends are allowed to be SIGKILLed if they do not
# respond to SIGQUIT. This ensures that Cancel() works as expected, but
# somtimes can corrupt databases if they are open.
diff --git a/src/pk-spawn.c b/src/pk-spawn.c
index 32dceac..9b46d6e 100644
--- a/src/pk-spawn.c
+++ b/src/pk-spawn.c
@@ -455,6 +455,7 @@ pk_spawn_argv (PkSpawn *spawn, gchar **argv, gchar **envp)
guint len;
gint nice_value;
gchar *command;
+ const gchar *key;
g_return_val_if_fail (PK_IS_SPAWN (spawn), FALSE);
g_return_val_if_fail (argv != NULL, FALSE);
@@ -525,7 +526,10 @@ pk_spawn_argv (PkSpawn *spawn, gchar **argv, gchar **envp)
NULL);
/* get the nice value and ensure we are in the valid range */
- nice_value = pk_conf_get_int (spawn->priv->conf, "BackendSpawnNiceValue");
+ key = "BackendSpawnNiceValue";
+ if (spawn->priv->is_idle)
+ key = "BackendSpawnNiceValueIdle";
+ nice_value = pk_conf_get_int (spawn->priv->conf, key);
nice_value = CLAMP(nice_value, -20, 19);
/* don't completely bog the system down */
@@ -535,7 +539,10 @@ pk_spawn_argv (PkSpawn *spawn, gchar **argv, gchar **envp)
}
/* perhaps set idle IO priority */
- idleio = pk_conf_get_bool (spawn->priv->conf, "BackendSpawnIdleIO");
+ key = "BackendSpawnIdleIO";
+ if (spawn->priv->is_idle)
+ key = "BackendSpawnIdleIOIdle";
+ idleio = pk_conf_get_bool (spawn->priv->conf, key);
if (idleio) {
egg_debug ("setting ioprio class to idle");
pk_ioprio_set_idle (spawn->priv->child_pid);
commit 28b454dee097a7768f737a9ea0c44a97e132b760
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 13:18:23 2009 +0100
glib2: add an 'idle' parameter to PkSpawn, which does nothing
diff --git a/src/pk-spawn.c b/src/pk-spawn.c
index bb0e872..32dceac 100644
--- a/src/pk-spawn.c
+++ b/src/pk-spawn.c
@@ -66,6 +66,7 @@ struct PkSpawnPrivate
guint poll_id;
guint kill_id;
gboolean finished;
+ gboolean is_idle;
gboolean is_sending_exit;
gboolean is_changing_dispatcher;
gboolean allow_sigkill;
@@ -78,13 +79,19 @@ struct PkSpawnPrivate
};
enum {
- PK_SPAWN_EXIT,
- PK_SPAWN_STDOUT,
- PK_SPAWN_STDERR,
- PK_SPAWN_LAST_SIGNAL
+ SIGNAL_EXIT,
+ SIGNAL_STDOUT,
+ SIGNAL_STDERR,
+ SIGNAL_LAST
};
-static guint signals [PK_SPAWN_LAST_SIGNAL] = { 0 };
+enum {
+ PROP_0,
+ PROP_IDLE,
+ PROP_LAST
+};
+
+static guint signals [SIGNAL_LAST] = { 0 };
G_DEFINE_TYPE (PkSpawn, pk_spawn, G_TYPE_OBJECT)
@@ -132,7 +139,7 @@ pk_spawn_emit_whole_lines (PkSpawn *spawn, GString *string)
bytes_processed = 0;
/* we only emit n-1 strings */
for (i=0; i<(size-1); i++) {
- g_signal_emit (spawn, signals [PK_SPAWN_STDOUT], 0, lines[i]);
+ g_signal_emit (spawn, signals [SIGNAL_STDOUT], 0, lines[i]);
/* ITS4: ignore, g_strsplit always NULL terminates */
bytes_processed += strlen (lines[i]) + 1;
}
@@ -186,7 +193,7 @@ pk_spawn_check_child (PkSpawn *spawn)
/* emit all lines on standard out in one callback, as it's all probably
* related to the error that just happened */
if (spawn->priv->stderr_buf->len != 0) {
- g_signal_emit (spawn, signals [PK_SPAWN_STDERR], 0, spawn->priv->stderr_buf->str);
+ g_signal_emit (spawn, signals [SIGNAL_STDERR], 0, spawn->priv->stderr_buf->str);
g_string_set_size (spawn->priv->stderr_buf, 0);
}
@@ -242,7 +249,7 @@ pk_spawn_check_child (PkSpawn *spawn)
/* don't emit if we just closed an invalid dispatcher */
egg_debug ("emitting exit %s", pk_spawn_exit_type_enum_to_text (spawn->priv->exit));
- g_signal_emit (spawn, signals [PK_SPAWN_EXIT], 0, spawn->priv->exit);
+ g_signal_emit (spawn, signals [SIGNAL_EXIT], 0, spawn->priv->exit);
return FALSE;
}
@@ -563,27 +570,76 @@ pk_spawn_argv (PkSpawn *spawn, gchar **argv, gchar **envp)
}
/**
+ * pk_spawn_get_property:
+ **/
+static void
+pk_spawn_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
+{
+ PkSpawn *spawn = PK_SPAWN (object);
+ PkSpawnPrivate *priv = spawn->priv;
+
+ switch (prop_id) {
+ case PROP_IDLE:
+ g_value_set_boolean (value, priv->is_idle);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
+ }
+}
+
+/**
+ * pk_spawn_set_property:
+ **/
+static void
+pk_spawn_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
+{
+ PkSpawn *spawn = PK_SPAWN (object);
+ PkSpawnPrivate *priv = spawn->priv;
+
+ switch (prop_id) {
+ case PROP_IDLE:
+ priv->is_idle = g_value_get_boolean (value);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
+ }
+}
+
+/**
* pk_spawn_class_init:
* @klass: The PkSpawnClass
**/
static void
pk_spawn_class_init (PkSpawnClass *klass)
{
+ GParamSpec *pspec;
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = pk_spawn_finalize;
-
- signals [PK_SPAWN_EXIT] =
+ object_class->get_property = pk_spawn_get_property;
+ object_class->set_property = pk_spawn_set_property;
+
+ /**
+ * PkSpawn:idle:
+ */
+ pspec = g_param_spec_boolean ("idle", NULL, NULL,
+ FALSE,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (object_class, PROP_IDLE, pspec);
+
+ signals [SIGNAL_EXIT] =
g_signal_new ("exit",
G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST,
0, NULL, NULL, g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT);
- signals [PK_SPAWN_STDOUT] =
+ signals [SIGNAL_STDOUT] =
g_signal_new ("stdout",
G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST,
0, NULL, NULL, g_cclosure_marshal_VOID__STRING,
G_TYPE_NONE, 1, G_TYPE_STRING);
- signals [PK_SPAWN_STDERR] =
+ signals [SIGNAL_STDERR] =
g_signal_new ("stderr",
G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST,
0, NULL, NULL, g_cclosure_marshal_VOID__STRING,
@@ -613,6 +669,7 @@ pk_spawn_init (PkSpawn *spawn)
spawn->priv->allow_sigkill = TRUE;
spawn->priv->last_argv0 = NULL;
spawn->priv->last_envp = NULL;
+ spawn->priv->is_idle = FALSE;
spawn->priv->exit = PK_SPAWN_EXIT_TYPE_UNKNOWN;
spawn->priv->stdout_buf = g_string_new ("");
commit b4fbd0a206904037bd28892019e3d03a33266105
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 11:56:37 2009 +0100
feature: Add --noninteractive and --idle command line switches to pkcon
diff --git a/client/pk-console.c b/client/pk-console.c
index 75fcf9f..ca8d469 100644
--- a/client/pk-console.c
+++ b/client/pk-console.c
@@ -967,6 +967,8 @@ main (int argc, char *argv[])
gboolean ret;
GError *error = NULL;
gboolean verbose = FALSE;
+ gboolean is_idle = FALSE;
+ gboolean noninteractive = FALSE;
gboolean program_version = FALSE;
GOptionContext *context;
gchar *options_help;
@@ -994,6 +996,12 @@ main (int argc, char *argv[])
{ "nowait", 'n', 0, G_OPTION_ARG_NONE, &nowait,
/* TRANSLATORS: command line argument, work asynchronously */
_("Exit without waiting for actions to complete"), NULL},
+ { "noninteractive", 'y', 0, G_OPTION_ARG_NONE, &noninteractive,
+ /* command line argument, do we ask questions */
+ _("Install the packages without asking for confirmation"), NULL },
+ { "idle", 'n', 0, G_OPTION_ARG_NONE, &is_idle,
+ /* TRANSLATORS: command line argument, this command is not a priority */
+ _("Run the command using idle network bandwidth and also using less power"), NULL},
{ NULL}
};
@@ -1065,6 +1073,10 @@ main (int argc, char *argv[])
/* create transactions */
task = pk_task_text_new ();
+ g_object_set (task,
+ "idle", is_idle,
+ "simulate", !noninteractive,
+ NULL);
/* check filter */
if (filter != NULL) {
commit 8f24d02258e227bf7330239ee6f8fe9accebf352
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 11:55:57 2009 +0100
feature: Schedule non-idle tasks before idle tasks
This should stop the background checks getting in the way of useful work when
there is a queue of transactions to process
diff --git a/src/pk-transaction-list.c b/src/pk-transaction-list.c
index 1d10ead..2a28323 100644
--- a/src/pk-transaction-list.c
+++ b/src/pk-transaction-list.c
@@ -73,6 +73,7 @@ typedef struct {
guint commit_id;
gulong finished_id;
guint uid;
+ gboolean is_idle;
} PkTransactionItem;
enum {
@@ -231,6 +232,31 @@ pk_transaction_list_remove (PkTransactionList *tlist, const gchar *tid)
}
/**
+ * pk_transaction_list_set_idle:
+ **/
+gboolean
+pk_transaction_list_set_idle (PkTransactionList *tlist, const gchar *tid, gboolean is_idle)
+{
+ PkTransactionItem *item;
+
+ g_return_val_if_fail (PK_IS_TRANSACTION_LIST (tlist), FALSE);
+ g_return_val_if_fail (tid != NULL, FALSE);
+
+ item = pk_transaction_list_get_from_tid (tlist, tid);
+ if (item == NULL) {
+ egg_warning ("could not get item");
+ return FALSE;
+ }
+ if (item->finished) {
+ egg_debug ("already finished, so waiting to timeout");
+ return FALSE;
+ }
+ egg_debug ("%s is now idle: %i", tid, is_idle);
+ item->is_idle = is_idle;
+ return TRUE;
+}
+
+/**
* pk_transaction_list_remove_item_cb:
**/
static gboolean
@@ -274,13 +300,48 @@ pk_transaction_list_run_item (PkTransactionList *tlist, PkTransactionItem *item)
}
/**
+ * pk_transaction_list_get_next_item:
+ **/
+static PkTransactionItem *
+pk_transaction_list_get_next_item (PkTransactionList *tlist)
+{
+ PkTransactionItem *item = NULL;
+ GPtrArray *array;
+ guint i;
+
+ array = tlist->priv->array;
+
+ /* first try the waiting non-idle transactions */
+ for (i=0; i<array->len; i++) {
+ item = (PkTransactionItem *) g_ptr_array_index (array, i);
+ if (item->committed &&
+ !item->running &&
+ !item->finished &&
+ !item->is_idle)
+ goto out;
+ }
+
+ /* then try the other waiting transactions (idle tasks) */
+ for (i=0; i<array->len; i++) {
+ item = (PkTransactionItem *) g_ptr_array_index (array, i);
+ if (item->committed &&
+ !item->running &&
+ !item->finished)
+ goto out;
+ }
+
+ /* nothing to run */
+ item = NULL;
+out:
+ return item;
+}
+
+/**
* pk_transaction_list_transaction_finished_cb:
**/
static void
pk_transaction_list_transaction_finished_cb (PkTransaction *transaction, const gchar *exit_text, guint time_ms, PkTransactionList *tlist)
{
- guint i;
- guint length;
guint timeout;
PkTransactionItem *item;
const gchar *tid;
@@ -320,16 +381,10 @@ pk_transaction_list_transaction_finished_cb (PkTransaction *transaction, const g
item->remove_id = g_timeout_add_seconds (timeout, (GSourceFunc) pk_transaction_list_remove_item_cb, item);
/* do the next transaction now if we have another queued */
- length = tlist->priv->array->len;
- for (i=0; i<length; i++) {
- item = (PkTransactionItem *) g_ptr_array_index (tlist->priv->array, i);
- if (item->committed &&
- !item->running &&
- !item->finished) {
- egg_debug ("running %s as previous one finished", item->tid);
- pk_transaction_list_run_item (tlist, item);
- break;
- }
+ item = pk_transaction_list_get_next_item (tlist);
+ if (item != NULL) {
+ egg_debug ("running %s as previous one finished", item->tid);
+ pk_transaction_list_run_item (tlist, item);
}
}
@@ -400,6 +455,7 @@ pk_transaction_list_create (PkTransactionList *tlist, const gchar *tid, const gc
item->running = FALSE;
item->finished = FALSE;
item->transaction = NULL;
+ item->is_idle = FALSE;
item->commit_id = 0;
item->remove_id = 0;
item->idle_id = 0;
@@ -615,9 +671,9 @@ pk_transaction_list_get_state (PkTransactionList *tlist)
if (item->running && item->finished)
wrong++;
role = pk_transaction_priv_get_role (item->transaction);
- g_string_append_printf (string, "%0i\t%s\t%s\trunning[%i] committed[%i] finished[%i]\n", i,
+ g_string_append_printf (string, "%0i\t%s\t%s\trunning[%i] committed[%i] finished[%i] idle[%i]\n", i,
pk_role_enum_to_text (role), item->tid, item->running,
- item->committed, item->finished);
+ item->committed, item->finished, item->is_idle);
}
/* wrong flags */
diff --git a/src/pk-transaction-list.h b/src/pk-transaction-list.h
index 9838895..915dabc 100644
--- a/src/pk-transaction-list.h
+++ b/src/pk-transaction-list.h
@@ -60,6 +60,9 @@ gboolean pk_transaction_list_create (PkTransactionList *tlist,
GError **error);
gboolean pk_transaction_list_remove (PkTransactionList *tlist,
const gchar *tid);
+gboolean pk_transaction_list_set_idle (PkTransactionList *tlist,
+ const gchar *tid,
+ gboolean is_idle);
gboolean pk_transaction_list_commit (PkTransactionList *tlist,
const gchar *tid)
G_GNUC_WARN_UNUSED_RESULT;
diff --git a/src/pk-transaction.c b/src/pk-transaction.c
index e9c8de7..ced8812 100644
--- a/src/pk-transaction.c
+++ b/src/pk-transaction.c
@@ -1647,6 +1647,14 @@ pk_transaction_commit (PkTransaction *transaction)
g_return_val_if_fail (PK_IS_TRANSACTION (transaction), FALSE);
g_return_val_if_fail (transaction->priv->tid != NULL, FALSE);
+ /* set the idle really early as this affects scheduling */
+ if (transaction->priv->is_idle == PK_TRISTATE_TRUE ||
+ transaction->priv->is_idle == PK_TRISTATE_FALSE) {
+ pk_transaction_list_set_idle (transaction->priv->transaction_list,
+ transaction->priv->tid,
+ transaction->priv->is_idle);
+ }
+
/* commit, so it appears in the JobList */
ret = pk_transaction_list_commit (transaction->priv->transaction_list,
transaction->priv->tid);
commit 5ac0d430898a21ded23d0ba685790e16c0b0baa3
Merge: 88b241c... 8d2717e...
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Oct 1 09:31:18 2009 +0100
Merge branch 'master' into set-hints
commit 8d2717eaf2c0793c3671edb2cc09abffd2ec94aa
Author: cyrushmh <cyrushmh at fedoraproject.org>
Date: Thu Oct 1 05:26:04 2009 +0000
Sending translation for Chinese (Simplified)
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 5b63a18..3fec175 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -2,142 +2,146 @@
# ç®ä½ä¸æç¿»è¯
# Copyright (C) 2008 THE 'S COPYRIGHT HOLDER
# This file is distributed under the same license as the package.
-#
-#
# Chen Yu <jcomee at gmail.com>, 2008.
# çé²(Gan Lu) <rhythm.gan at gmail.com>, 2008.
# zhou renren <zhourenren at gmail.com>,2009.
# Leah Liu <lliu at redhat.com>, 2009.
+# CyrusHMH <cyrushmh at vip.qq.com>, 2009.
msgid ""
msgstr ""
"Project-Id-Version: packagekit.master\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-08-24 11:06+0100\n"
-"PO-Revision-Date: 2009-04-01 21:53+1000\n"
-"Last-Translator: Leah Liu <lliu at redhat.com>\n"
-"Language-Team: Simplified Chinese <zh at li.org>\n"
+"POT-Creation-Date: 2009-09-30 20:46+0000\n"
+"PO-Revision-Date: 2009-10-01 13:22+0800\n"
+"Last-Translator: CyrusHMH <cyrushmh at vip.qq.com>\n"
+"Language-Team: cvsl10n\n"
+"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Virtaal 0.4.0\n"
#. TRANSLATORS: this is an atomic transaction
-#: ../client/pk-console.c:235
+#: ../client/pk-console.c:143
msgid "Transaction"
msgstr "å¤ç"
#. TRANSLATORS: this is the time the transaction was started in system timezone
-#: ../client/pk-console.c:237
+#: ../client/pk-console.c:145
msgid "System time"
msgstr "ç³»ç»æ¶é´"
#. TRANSLATORS: this is if the transaction succeeded or not
-#: ../client/pk-console.c:239
+#: ../client/pk-console.c:147
msgid "Succeeded"
msgstr "æå"
-#. TRANSLATORS: if the repo is enabled
-#: ../client/pk-console.c:239 ../client/pk-console.c:406
+#: ../client/pk-console.c:147
msgid "True"
msgstr "æ¯"
-#: ../client/pk-console.c:239 ../client/pk-console.c:406
+#: ../client/pk-console.c:147
msgid "False"
msgstr "å¦"
#. TRANSLATORS: this is the transactions role, e.g. "update-system"
#. TRANSLATORS: the trasaction role, e.g. update-system
-#: ../client/pk-console.c:241 ../src/pk-polkit-action-lookup.c:327
+#: ../client/pk-console.c:149 ../src/pk-polkit-action-lookup.c:336
msgid "Role"
msgstr "æä½"
#. TRANSLATORS: this is The duration of the transaction
-#: ../client/pk-console.c:246
+#: ../client/pk-console.c:154
msgid "Duration"
msgstr "æç»æ¶é´"
-#: ../client/pk-console.c:246
+#: ../client/pk-console.c:154
msgid "(seconds)"
msgstr "ç§"
#. TRANSLATORS: this is The command line used to do the action
#. TRANSLATORS: the command line of the thing that wants the authentication
-#: ../client/pk-console.c:250 ../src/pk-polkit-action-lookup.c:341
+#: ../client/pk-console.c:158 ../src/pk-polkit-action-lookup.c:350
msgid "Command line"
msgstr "å½ä»¤è¡"
#. TRANSLATORS: this is the user ID of the user that started the action
-#: ../client/pk-console.c:252
+#: ../client/pk-console.c:160
msgid "User ID"
msgstr "ç¨æ·ID"
#. TRANSLATORS: this is the username, e.g. hughsie
-#: ../client/pk-console.c:259
+#: ../client/pk-console.c:167
msgid "Username"
msgstr "ç¨æ·å"
#. TRANSLATORS: this is the users real name, e.g. "Richard Hughes"
-#: ../client/pk-console.c:263
+#: ../client/pk-console.c:171
msgid "Real name"
msgstr "çå®å§å"
-#: ../client/pk-console.c:271
+#: ../client/pk-console.c:179
msgid "Affected packages:"
msgstr "åå½±åç软件å
"
-#: ../client/pk-console.c:273
+#: ../client/pk-console.c:181
msgid "Affected packages: None"
msgstr "åå½±åç软件å
:æ "
#. TRANSLATORS: this is the distro, e.g. Fedora 10
-#: ../client/pk-console.c:298
+#: ../client/pk-console.c:201
msgid "Distribution"
msgstr "åå¸"
#. TRANSLATORS: this is type of update, stable or testing
-#: ../client/pk-console.c:300
+#: ../client/pk-console.c:203
msgid "Type"
msgstr "ç±»å"
#. TRANSLATORS: this is any summary text describing the upgrade
#. TRANSLATORS: this is the summary of the group
-#: ../client/pk-console.c:302 ../client/pk-console.c:325
+#: ../client/pk-console.c:205 ../client/pk-console.c:226
msgid "Summary"
msgstr "æè¦"
#. TRANSLATORS: this is the group category name
-#: ../client/pk-console.c:314
+#: ../client/pk-console.c:215
msgid "Category"
msgstr "åç±»"
#. TRANSLATORS: this is group identifier
-#: ../client/pk-console.c:316
+#: ../client/pk-console.c:217
msgid "ID"
msgstr "ID"
#. TRANSLATORS: this is the parent group
-#: ../client/pk-console.c:319
+#: ../client/pk-console.c:220
msgid "Parent"
msgstr "ä¸ä¸çº§"
#. TRANSLATORS: this is the name of the parent group
-#: ../client/pk-console.c:322
+#: ../client/pk-console.c:223
msgid "Name"
msgstr "ä¸ä¸çº§ç»å"
#. TRANSLATORS: this is preferred icon for the group
-#: ../client/pk-console.c:328
+#: ../client/pk-console.c:229
msgid "Icon"
msgstr "å¾æ "
#. TRANSLATORS: this is a header for the package that can be updated
-#: ../client/pk-console.c:343
+#: ../client/pk-console.c:243
msgid "Details about the update:"
msgstr "æ¬æ¬¡æ´æ°è¯¦æ
ï¼"
#. TRANSLATORS: details about the update, package name and version
+#. TRANSLATORS: the package that is not signed by a known key
+#. TRANSLATORS: the package name that was trying to be installed
#. TRANSLATORS: title, the names of the packages that the method is processing
-#: ../client/pk-console.c:345 ../src/pk-polkit-action-lookup.c:352
+#: ../client/pk-console.c:249 ../lib/packagekit-glib2/pk-task-text.c:107
+#: ../lib/packagekit-glib2/pk-task-text.c:174
+#: ../src/pk-polkit-action-lookup.c:361
#, fuzzy
msgid "Package"
msgid_plural "Packages"
@@ -145,112 +149,145 @@ msgstr[0] "软件å
"
msgstr[1] "软件å
"
#. TRANSLATORS: details about the update, any packages that this update updates
-#: ../client/pk-console.c:348
+#: ../client/pk-console.c:252
msgid "Updates"
msgstr "æ´æ°"
#. TRANSLATORS: details about the update, any packages that this update obsoletes
-#: ../client/pk-console.c:352
+#: ../client/pk-console.c:256
msgid "Obsoletes"
msgstr "è¿æ¶"
#. TRANSLATORS: details about the update, the vendor URLs
-#: ../client/pk-console.c:356
+#. TRANSLATORS: the vendor (e.g. vmware) that is providing the EULA
+#: ../client/pk-console.c:260 ../lib/packagekit-glib2/pk-task-text.c:177
msgid "Vendor"
msgstr "åå"
#. TRANSLATORS: details about the update, the bugzilla URLs
-#: ../client/pk-console.c:360
+#: ../client/pk-console.c:264
msgid "Bugzilla"
msgstr "Bugzilla"
#. TRANSLATORS: details about the update, the CVE URLs
-#: ../client/pk-console.c:364
+#: ../client/pk-console.c:268
msgid "CVE"
msgstr "CVE"
#. TRANSLATORS: details about the update, if the package requires a restart
-#: ../client/pk-console.c:368
+#: ../client/pk-console.c:272
msgid "Restart"
msgstr "éå¯"
#. TRANSLATORS: details about the update, any description of the update
-#: ../client/pk-console.c:372
+#: ../client/pk-console.c:276
msgid "Update text"
msgstr "æ´æ°ææ¡£"
#. TRANSLATORS: details about the update, the changelog for the package
-#: ../client/pk-console.c:376
+#: ../client/pk-console.c:280
msgid "Changes"
msgstr "åå"
#. TRANSLATORS: details about the update, the ongoing state of the update
-#: ../client/pk-console.c:380
+#: ../client/pk-console.c:284
msgid "State"
msgstr "ç¶æ"
#. TRANSLATORS: details about the update, date the update was issued
-#: ../client/pk-console.c:385
+#: ../client/pk-console.c:289
msgid "Issued"
msgstr "åå¸"
#. TRANSLATORS: details about the update, date the update was updated
-#: ../client/pk-console.c:390
+#. TRANSLATORS: The action of the package, in past tense
+#: ../client/pk-console.c:294 ../lib/packagekit-glib2/pk-console-shared.c:502
msgid "Updated"
msgstr "å·²æ´æ°"
-#: ../client/pk-console.c:477 ../client/pk-console.c:479
-msgid "Percentage"
-msgstr "ç¾åæ¯"
+#. TRANSLATORS: if the repo is enabled
+#: ../client/pk-console.c:312
+msgid "Enabled"
+msgstr "å¯ç¨"
-#: ../client/pk-console.c:479
-msgid "Unknown"
-msgstr "æªç¥"
+#. TRANSLATORS: if the repo is disabled
+#: ../client/pk-console.c:315
+msgid "Disabled"
+msgstr "ç¦ç¨"
#. TRANSLATORS: a package requires the system to be restarted
-#: ../client/pk-console.c:521
+#: ../client/pk-console.c:337
msgid "System restart required by:"
msgstr "è¦æ±ç³»ç»éå¯ç软件å
:"
#. TRANSLATORS: a package requires the session to be restarted
-#: ../client/pk-console.c:524
+#: ../client/pk-console.c:340
msgid "Session restart required:"
msgstr "è¦æ±ä¼è¯éå¯ç软件å
:"
#. TRANSLATORS: a package requires the system to be restarted due to a security update
-#: ../client/pk-console.c:527
+#: ../client/pk-console.c:343
#, fuzzy
msgid "System restart (security) required by:"
msgstr "è¦æ±ç³»ç»éå¯ç软件å
:"
#. TRANSLATORS: a package requires the session to be restarted due to a security update
-#: ../client/pk-console.c:530
+#: ../client/pk-console.c:346
#, fuzzy
msgid "Session restart (security) required:"
msgstr "è¦æ±ä¼è¯éå¯ç软件å
:"
#. TRANSLATORS: a package requires the application to be restarted
-#: ../client/pk-console.c:533
+#: ../client/pk-console.c:349
msgid "Application restart required by:"
msgstr "è¦æ±åºç¨ç¨åºéå¯ç软件å
:"
+#. TRANSLATORS: This a list of details about the package
+#: ../client/pk-console.c:366
+msgid "Package description"
+msgstr "软件å
æè¿°"
+
+#. TRANSLATORS: This a message (like a little note that may be of interest) from the transaction
+#: ../client/pk-console.c:384
+msgid "Message:"
+msgstr "éç¥:"
+
+#. TRANSLATORS: This where the package has no files
+#: ../client/pk-console.c:398
+msgid "No files"
+msgstr "没ææ件"
+
+#. TRANSLATORS: This a list files contained in the package
+#: ../client/pk-console.c:403
+msgid "Package files"
+msgstr "软件å
æ件"
+
+#. TRANSLATORS: we failed to get any results, which is pretty fatal in my book
+#: ../client/pk-console.c:475
+#, fuzzy
+msgid "Fatal error"
+msgstr "å
é¨é误ï¼%s"
+
+#. TRANSLATORS: the transaction failed in a way we could not expect
+#: ../client/pk-console.c:484
+#: ../contrib/command-not-found/pk-command-not-found.c:426
+#: ../contrib/command-not-found/pk-command-not-found.c:567
+#, fuzzy
+msgid "The transaction failed"
+msgstr "å¤ç"
+
#. TRANSLATORS: a package needs to restart their system
-#: ../client/pk-console.c:588
+#: ../client/pk-console.c:552
msgid "Please restart the computer to complete the update."
msgstr "请éæ°å¯å¨è®¡ç®æºä»¥å®ææ¬æ¬¡æ´æ°ã"
#. TRANSLATORS: a package needs to restart the session
-#: ../client/pk-console.c:591
+#: ../client/pk-console.c:555
msgid "Please logout and login to complete the update."
msgstr "请ç»åºå¹¶ç»å½ä»¥å®ææ¬æ¬¡æ´æ°ã"
-#. TRANSLATORS: a package needs to restart the application
-#: ../client/pk-console.c:594
-msgid "Please restart the application as it is being used."
-msgstr "请éæ°å¯å¨æ£å¨ä½¿ç¨ä¸çç¨åºã"
-
#. TRANSLATORS: a package needs to restart their system (due to security)
-#: ../client/pk-console.c:597
+#: ../client/pk-console.c:558
#, fuzzy
msgid ""
"Please restart the computer to complete the update as important security "
@@ -258,708 +295,451 @@ msgid ""
msgstr "请éæ°å¯å¨è®¡ç®æºä»¥å®ææ¬æ¬¡æ´æ°ã"
#. TRANSLATORS: a package needs to restart the session (due to security)
-#: ../client/pk-console.c:600
+#: ../client/pk-console.c:561
#, fuzzy
msgid ""
"Please logout and login to complete the update as important security updates "
"have been installed."
msgstr "请ç»åºå¹¶ç»å½ä»¥å®ææ¬æ¬¡æ´æ°ã"
-#. TRANSLATORS: The package is already installed on the system
-#: ../client/pk-console.c:727
-#, c-format
-msgid "The package %s is already installed"
-msgstr "该软件å
'%s' å·²ç»å®è£
"
-
-#. TRANSLATORS: The package name was not found in any software sources. The detailed error follows
-#: ../client/pk-console.c:735
-#, c-format
-msgid "The package %s could not be installed: %s"
-msgstr "该软件å
'%s' æ æ³å®è£
ï¼%s"
-
-#. TRANSLATORS: There was a programming error that shouldn't happen. The detailed error follows
-#: ../client/pk-console.c:760 ../client/pk-console.c:783
-#: ../client/pk-console.c:879 ../client/pk-console.c:996
-#: ../client/pk-tools-common.c:62 ../client/pk-tools-common.c:81
-#: ../client/pk-tools-common.c:89
-#, c-format
-msgid "Internal error: %s"
-msgstr "å
é¨é误ï¼%s"
-
-#. TRANSLATORS: There was an error installing the packages. The detailed error follows
-#: ../client/pk-console.c:768 ../client/pk-console.c:1392
-#, c-format
-msgid "This tool could not install the packages: %s"
+#. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
+#: ../client/pk-console.c:584
+#, fuzzy, c-format
+msgid "This tool could not find any available package: %s"
msgstr "该工å
·æ æ³å®è£
æ¬è½¯ä»¶å
ï¼%s"
-#. TRANSLATORS: There was an error installing the files. The detailed error follows
-#: ../client/pk-console.c:791
-#, c-format
-msgid "This tool could not install the files: %s"
-msgstr "æ¬å·¥å
·æ æ³å®è£
æ件ï¼%s"
-
-#. TRANSLATORS: The package name was not found in the installed list. The detailed error follows
-#: ../client/pk-console.c:847
-#, c-format
-msgid "This tool could not remove %s: %s"
-msgstr "该工å
·æ æ³å é¤ %sï¼%s"
-
-#. TRANSLATORS: There was an error removing the packages. The detailed error follows
-#: ../client/pk-console.c:870 ../client/pk-console.c:908
-#: ../client/pk-console.c:941
-#, c-format
-msgid "This tool could not remove the packages: %s"
-msgstr "该工å
·æ æ³å é¤æ¬è½¯ä»¶å
ï¼%s"
-
-#. TRANSLATORS: When removing, we might have to remove other dependencies
-#: ../client/pk-console.c:920
-msgid "The following packages have to be removed:"
-msgstr "ä¸å软件å
å¿
须被å é¤ï¼"
-
-#. TRANSLATORS: We are checking if it's okay to remove a list of packages
-#: ../client/pk-console.c:927
-msgid "Proceed removing additional packages?"
-msgstr "å¼å§è¿è¡å é¤é¢å¤ç软件å
åï¼"
-
-#. TRANSLATORS: We did not remove any packages
-#: ../client/pk-console.c:932
-msgid "The package removal was canceled!"
-msgstr "å·²åæ¶å é¤æ¬è½¯ä»¶å
ï¼"
-
-#. TRANSLATORS: The package name was not found in any software sources
-#: ../client/pk-console.c:973
-#, c-format
-msgid "This tool could not download the package %s as it could not be found"
-msgstr "æ¬å·¥å
·æ æ³ä¸è½½è½¯ä»¶å
'%s' (æ æ³æ¾å°)"
-
-#. TRANSLATORS: Could not download the packages for some reason. The detailed error follows
-#: ../client/pk-console.c:1004
-#, c-format
-msgid "This tool could not download the packages: %s"
-msgstr "æ¬å·¥å
·æ æ³ä¸è½½è¯¥è½¯ä»¶å
ï¼%s"
-
#. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
-#: ../client/pk-console.c:1031 ../client/pk-console.c:1040
-#, c-format
-msgid "This tool could not update %s: %s"
-msgstr "该工å
·æ æ³æ´æ° %sï¼%s"
+#: ../client/pk-console.c:612
+#, fuzzy, c-format
+msgid "This tool could not find the installed package: %s"
+msgstr "该工å
·æ æ³å®è£
æ¬è½¯ä»¶å
ï¼%s"
#. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
-#: ../client/pk-console.c:1062 ../client/pk-console.c:1070
-#, c-format
-msgid "This tool could not get the requirements for %s: %s"
-msgstr "æ¬å·¥å
·æ æ³å¾å° %s çéæ±ï¼%s "
+#: ../client/pk-console.c:640 ../client/pk-console.c:668
+#, fuzzy, c-format
+msgid "This tool could not find the package: %s"
+msgstr "该工å
·æ æ³å®è£
æ¬è½¯ä»¶å
ï¼%s"
+#. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
#. TRANSLATORS: There was an error getting the dependencies for the package. The detailed error follows
-#: ../client/pk-console.c:1092 ../client/pk-console.c:1100
-#, c-format
-msgid "This tool could not get the dependencies for %s: %s"
-msgstr "æ¬å·¥å
·æ æ³å¾å° %s çä¾èµå
³ç³»ï¼%s"
-
#. TRANSLATORS: There was an error getting the details about the package. The detailed error follows
-#: ../client/pk-console.c:1122 ../client/pk-console.c:1130
-#, c-format
-msgid "This tool could not get package details for %s: %s"
-msgstr "该工å
·æ æ³å¾å° %s ç软件å
详æ
ï¼%s"
-
#. TRANSLATORS: The package name was not found in any software sources. The detailed error follows
-#: ../client/pk-console.c:1152
-#, c-format
-msgid "This tool could not find the files for %s: %s"
-msgstr "该工å
·æ æ³æ¾å° %s çæ件ï¼%s"
-
-#. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
-#: ../client/pk-console.c:1160
-#, c-format
-msgid "This tool could not get the file list for %s: %s"
-msgstr "该工å
·æ æ³å¾å° %s çæ件æ¸
åï¼%s"
-
-#. TRANSLATORS: There was an error getting the list of packages. The filename follows
-#: ../client/pk-console.c:1182
-#, c-format
-msgid "File already exists: %s"
-msgstr "æ件已åå¨: %s"
-
-#. TRANSLATORS: follows a list of packages to install
-#: ../client/pk-console.c:1187 ../client/pk-console.c:1243
-#: ../client/pk-console.c:1318
-msgid "Getting package list"
-msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
-
-#. TRANSLATORS: There was an error getting the list of packages. The detailed error follows
-#: ../client/pk-console.c:1193 ../client/pk-console.c:1249
-#: ../client/pk-console.c:1324
-#, c-format
-msgid "This tool could not get package list: %s"
-msgstr "该工å
·æ æ³å¾å°è½¯ä»¶è¡¨å表ï¼%s"
-
-#. TRANSLATORS: There was an error saving the list
-#: ../client/pk-console.c:1204
-#, c-format
-msgid "Failed to save to disk"
-msgstr "åç失败"
-
-#. TRANSLATORS: There was an error getting the list. The filename follows
-#: ../client/pk-console.c:1238 ../client/pk-console.c:1313
-#, c-format
-msgid "File does not exist: %s"
-msgstr "æ件ä¸åå¨ : %s"
-
-#. TRANSLATORS: header to a list of packages newly added
-#: ../client/pk-console.c:1270
-msgid "Packages to add"
-msgstr "æ·»å 软件å
"
-
-#. TRANSLATORS: header to a list of packages removed
-#: ../client/pk-console.c:1278
-msgid "Packages to remove"
-msgstr "å é¤è½¯ä»¶å
"
-
-#. TRANSLATORS: We didn't find any differences
-#: ../client/pk-console.c:1346
-#, c-format
-msgid "No new packages need to be installed"
-msgstr "没ææ°ç软件å
å®è£
"
-
-#. TRANSLATORS: follows a list of packages to install
-#: ../client/pk-console.c:1352
-msgid "To install"
-msgstr "å®è£
"
-
-#. TRANSLATORS: searching takes some time....
-#: ../client/pk-console.c:1364
-msgid "Searching for package: "
-msgstr "æ索软件å
: "
-
-#. TRANSLATORS: package was not found -- this is the end of a string ended in ...
-#: ../client/pk-console.c:1368
-msgid "not found."
-msgstr "没ææ¾å°"
-
-#. TRANSLATORS: We didn't find any packages to install
-#: ../client/pk-console.c:1379
-#, c-format
-msgid "No packages can be found to install"
-msgstr "æ¾ä¸å°è½¯ä»¶å
å®è£
"
-
-#. TRANSLATORS: installing new packages from package list
-#. TRANSLATORS: we are now installing the debuginfo packages we found earlier
-#: ../client/pk-console.c:1385
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:886
-#, c-format
-msgid "Installing packages"
-msgstr "æ£å¨å®è£
软件å
..."
-
-#. TRANSLATORS: The package name was not found in any software sources. The detailed error follows
-#: ../client/pk-console.c:1421
-#, c-format
-msgid "This tool could not find the update details for %s: %s"
-msgstr "该工å
·æ æ³æ¾å° %s çæ´æ°è¯¦æ
ï¼%s"
-
-#. TRANSLATORS: There was an error getting the details about the update for the package. The detailed error follows
-#: ../client/pk-console.c:1429
-#, c-format
-msgid "This tool could not get the update details for %s: %s"
-msgstr "该工å
·æ æ³å¾å° %s çæ´æ°è¯¦æ
ï¼%s"
-
-#. TRANSLATORS: This was an unhandled error, and we don't have _any_ context
-#: ../client/pk-console.c:1460
-msgid "Error:"
-msgstr "é误ï¼"
-
-#. TRANSLATORS: This a list of details about the package
-#: ../client/pk-console.c:1474
-msgid "Package description"
-msgstr "软件å
æè¿°"
-
-#. TRANSLATORS: This a message (like a little note that may be of interest) from the transaction
-#: ../client/pk-console.c:1490
-msgid "Message:"
-msgstr ""
-
-#. TRANSLATORS: This a list files contained in the package
-#: ../client/pk-console.c:1518
-msgid "Package files"
-msgstr "软件å
æ件"
-
-#. TRANSLATORS: This where the package has no files
-#: ../client/pk-console.c:1526
-msgid "No files"
-msgstr "没ææ件"
-
-#. TRANSLATORS: This a request for a GPG key signature from the backend, which the client will prompt for later
-#: ../client/pk-console.c:1549
-msgid "Repository signature required"
-msgstr "è¦æ±è½¯ä»¶åºç¾å"
-
-#. TRANSLATORS: This a prompt asking the user to import the security key
-#: ../client/pk-console.c:1559
-msgid "Do you accept this signature?"
-msgstr "æ¨æ¥å该ç¾ååï¼"
-
-#. TRANSLATORS: This is where the user declined the security key
-#: ../client/pk-console.c:1563
-msgid "The signature was not accepted."
-msgstr "没ææ¥åç¾åã"
-
-#. TRANSLATORS: This a request for a EULA
-#: ../client/pk-console.c:1597
-msgid "End user license agreement required"
-msgstr "éè¦æç»ç¨æ·è®¸å¯åè®®"
-
-#. TRANSLATORS: This a prompt asking the user to agree to the license
-#: ../client/pk-console.c:1604
-msgid "Do you agree to this license?"
-msgstr "æ¨åææ¬è®¸å¯åï¼"
-
-#. TRANSLATORS: This is where the user declined the license
-#: ../client/pk-console.c:1608
-msgid "The license was refused."
-msgstr "æç»è¯¥è®¸å¯ã"
+#: ../client/pk-console.c:696 ../client/pk-console.c:724
+#: ../client/pk-console.c:752 ../client/pk-console.c:780
+#: ../client/pk-console.c:808
+#, fuzzy, c-format
+msgid "This tool could not find all the packages: %s"
+msgstr "该工å
·æ æ³å®è£
æ¬è½¯ä»¶å
ï¼%s"
#. TRANSLATORS: This is when the daemon crashed, and we are up shit creek without a paddle
-#: ../client/pk-console.c:1637
+#: ../client/pk-console.c:837
msgid "The daemon crashed mid-transaction!"
msgstr "åå°ç¨åºå¨äºå¡å¤çä¸æå´©æºï¼"
#. TRANSLATORS: This is the header to the --help menu
-#: ../client/pk-console.c:1690
+#: ../client/pk-console.c:871
msgid "PackageKit Console Interface"
msgstr "PackageKit ç»ç«¯çé¢"
#. these are commands we can use with pkcon
-#: ../client/pk-console.c:1692
+#: ../client/pk-console.c:873
msgid "Subcommands:"
msgstr "åå½ä»¤ï¼"
+#. TRANSLATORS: we keep a database updated with the time that an action was last executed
+#: ../client/pk-console.c:952
+msgid "Failed to get the time since this action was last completed"
+msgstr "æªè·å¾æåä¸æ¬¡æä½çæ¶é´"
+
#. TRANSLATORS: command line argument, if we should show debugging information
#. TRANSLATORS: if we should show debugging data
-#: ../client/pk-console.c:1785 ../client/pk-generate-pack.c:185
-#: ../client/pk-monitor.c:128
-#: ../contrib/command-not-found/pk-command-not-found.c:616
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:550
+#: ../client/pk-console.c:987 ../client/pk-generate-pack.c:223
+#: ../client/pk-monitor.c:281
+#: ../contrib/command-not-found/pk-command-not-found.c:620
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:512
#: ../contrib/device-rebind/pk-device-rebind.c:293 ../src/pk-main.c:211
msgid "Show extra debugging information"
msgstr "æ¾ç¤ºé¢å¤çè°è¯ä¿¡æ¯"
#. TRANSLATORS: command line argument, just show the version string
-#: ../client/pk-console.c:1788 ../client/pk-monitor.c:130
+#: ../client/pk-console.c:990 ../client/pk-monitor.c:283
msgid "Show the program version and exit"
msgstr "æ¾ç¤ºæ¬ç¨åºçæ¬å¹¶éåº"
#. TRANSLATORS: command line argument, use a filter to narrow down results
-#: ../client/pk-console.c:1791
+#: ../client/pk-console.c:993
msgid "Set the filter, e.g. installed"
msgstr "设置è¿æ»¤å¨ï¼ä¾å¦å·²å®è£
ç"
#. TRANSLATORS: command line argument, work asynchronously
-#: ../client/pk-console.c:1794
+#: ../client/pk-console.c:996
msgid "Exit without waiting for actions to complete"
msgstr "ä¸çæä½å®æå³éåº"
-#. TRANSLATORS: This is when we could not connect to the system bus, and is fatal
-#: ../client/pk-console.c:1821
-msgid "This tool could not connect to system DBUS."
-msgstr "该工å
·æ æ³è¿æ¥å°ç³»ç» DBUSã"
+#. TRANSLATORS: we failed to contact the daemon
+#: ../client/pk-console.c:1022
+#, fuzzy
+msgid "Failed to contact PackageKit"
+msgstr "æ æ³æå¼è½¯ä»¶å
æ¸
å"
#. TRANSLATORS: The user specified an incorrect filter
-#: ../client/pk-console.c:1911
+#: ../client/pk-console.c:1074
msgid "The filter specified was invalid"
msgstr "è¿æ»¤å¨æå®éæ³"
#. TRANSLATORS: a search type can be name, details, file, etc
-#: ../client/pk-console.c:1930
+#: ../client/pk-console.c:1093
msgid "A search type is required, e.g. name"
msgstr "æ¨éè¦æå®æ索类åï¼å¦è½¯ä»¶å
å"
#. TRANSLATORS: the user needs to provide a search term
-#: ../client/pk-console.c:1937 ../client/pk-console.c:1946
-#: ../client/pk-console.c:1955 ../client/pk-console.c:1964
+#: ../client/pk-console.c:1100 ../client/pk-console.c:1112
+#: ../client/pk-console.c:1124 ../client/pk-console.c:1136
msgid "A search term is required"
msgstr "æ¨éè¦æå®æç´¢æ¡ä»¶"
#. TRANSLATORS: the search type was provided, but invalid
-#: ../client/pk-console.c:1971
+#: ../client/pk-console.c:1146
msgid "Invalid search type"
msgstr "æ æçæ索类å"
#. TRANSLATORS: the user did not specify what they wanted to install
-#: ../client/pk-console.c:1977
-msgid "A package name or filename to install is required"
+#: ../client/pk-console.c:1152
+#, fuzzy
+msgid "A package name to install is required"
+msgstr "æ¨éè¦ä¸ºè§£ææå®ä¸ä¸ªè½¯ä»¶å
å"
+
+#. TRANSLATORS: the user did not specify what they wanted to install
+#: ../client/pk-console.c:1161
+#, fuzzy
+msgid "A filename to install is required"
msgstr "æ¨éè¦ä¸ºå®è£
æå®ä¸ä¸ªè½¯ä»¶å
åææ件å"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1986
+#: ../client/pk-console.c:1173
msgid "A type, key_id and package_id are required"
msgstr "éè¦æå®æ个类åï¼è¯ä¹¦IDæè
软件å
ID"
#. TRANSLATORS: the user did not specify what they wanted to remove
-#: ../client/pk-console.c:1995
+#: ../client/pk-console.c:1184
msgid "A package name to remove is required"
msgstr "æ¨éè¦ä¸ºå¸è½½æå®ä¸ä¸ªè½¯ä»¶å
å"
#. TRANSLATORS: the user did not specify anything about what to download or where
-#: ../client/pk-console.c:2003
+#: ../client/pk-console.c:1193
#, fuzzy
msgid "A destination directory and the package names to download are required"
msgstr "éè¦æå®ç®çå°ç®å½ä»¥å软件å
åæ¥ä¸è½½"
#. TRANSLATORS: the directory does not exist, so we can't continue
-#: ../client/pk-console.c:2010
+#: ../client/pk-console.c:1200
msgid "Directory not found"
msgstr "ç®å½æ²¡ææ¾å°"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:2018
+#: ../client/pk-console.c:1209
msgid "A licence identifier (eula-id) is required"
msgstr "éè¦æå®æ个许å¯è¯é´å« (eula-id)"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:2028
+#: ../client/pk-console.c:1220
msgid "A transaction identifier (tid) is required"
msgstr "éè¦äº¤ææ è¯ç¬¦ï¼tidï¼"
#. TRANSLATORS: The user did not specify a package name
-#: ../client/pk-console.c:2045
+#: ../client/pk-console.c:1241
msgid "A package name to resolve is required"
msgstr "æ¨éè¦ä¸ºè§£ææå®ä¸ä¸ªè½¯ä»¶å
å"
#. TRANSLATORS: The user did not specify a repository (software source) name
-#: ../client/pk-console.c:2054 ../client/pk-console.c:2063
+#: ../client/pk-console.c:1252 ../client/pk-console.c:1263
msgid "A repository name is required"
msgstr "è¦æ±è½¯ä»¶åºå"
#. TRANSLATORS: The user didn't provide any data
-#: ../client/pk-console.c:2072
+#: ../client/pk-console.c:1274
msgid "A repo name, parameter and value are required"
msgstr "æ¨éè¦æå®æ个软件åºååï¼åæ°æå¼"
#. TRANSLATORS: The user didn't specify what action to use
-#: ../client/pk-console.c:2086
+#: ../client/pk-console.c:1291
msgid "An action, e.g. 'update-system' is required"
msgstr "æ¨éè¦æå®æ个è¡å¨ï¼ä¾å¦âæ´æ°ç³»ç»â"
#. TRANSLATORS: The user specified an invalid action
-#: ../client/pk-console.c:2093
+#: ../client/pk-console.c:1298
msgid "A correct role is required"
msgstr "éè¦ä¸ä¸ªæ£ç¡®ååº"
-#. TRANSLATORS: we keep a database updated with the time that an action was last executed
-#: ../client/pk-console.c:2100
-msgid "Failed to get the time since this action was last completed"
-msgstr "æªè·å¾æåä¸æ¬¡æä½çæ¶é´"
-
#. TRANSLATORS: The user did not provide a package name
#. TRANSLATORS: This is when the user fails to supply the package name
-#: ../client/pk-console.c:2110 ../client/pk-console.c:2122
-#: ../client/pk-console.c:2131 ../client/pk-console.c:2149
-#: ../client/pk-console.c:2158 ../client/pk-generate-pack.c:241
+#: ../client/pk-console.c:1308 ../client/pk-console.c:1323
+#: ../client/pk-console.c:1332 ../client/pk-console.c:1352
+#: ../client/pk-console.c:1361 ../client/pk-generate-pack.c:287
msgid "A package name is required"
msgstr "éè¦è½¯ä»¶å
å"
#. TRANSLATORS: each package "provides" certain things, e.g. mime(gstreamer-decoder-mp3), the user didn't specify it
-#: ../client/pk-console.c:2140
+#: ../client/pk-console.c:1341
msgid "A package provide string is required"
msgstr "æ¨éè¦æå®ç¹å®åæ°"
-#. TRANSLATORS: The user didn't specify a filename to create as a list
-#: ../client/pk-console.c:2167
-msgid "A list file name to create is required"
-msgstr "éè¦å»ºç«ä¸ä¸ªæ件å表"
-
-#. TRANSLATORS: The user didn't specify a filename to open as a list
-#: ../client/pk-console.c:2177 ../client/pk-console.c:2187
-msgid "A list file to open is required"
-msgstr "éè¦æå¼ä¸ä¸ªæ件å表"
-
#. TRANSLATORS: The user tried to use an unsupported option on the command line
-#: ../client/pk-console.c:2241
+#: ../client/pk-console.c:1421
#, c-format
msgid "Option '%s' is not supported"
msgstr "ä¸æ¯æ '%s' é项"
-#. TRANSLATORS: User does not have permission to do this
-#: ../client/pk-console.c:2254
-msgid "Incorrect privileges for this operation"
-msgstr "æ¨æ²¡ææ¬æ¬¡æä½éè¦çå¿
è¦æé"
-
#. TRANSLATORS: Generic failure of what they asked to do
-#: ../client/pk-console.c:2257
+#: ../client/pk-console.c:1431
msgid "Command failed"
msgstr "å½ä»¤å¤±è´¥"
-#. TRANSLATORS: This is the state of the transaction
-#: ../client/pk-generate-pack.c:101
-msgid "Downloading"
-msgstr "æ£å¨ä¸è½½"
-
-#. TRANSLATORS: This is when the main packages are being downloaded
-#: ../client/pk-generate-pack.c:121
-msgid "Downloading packages"
-msgstr "æ£å¨ä¸è½½è½¯ä»¶å
"
-
-#. TRANSLATORS: This is when the dependency packages are being downloaded
-#: ../client/pk-generate-pack.c:126
-msgid "Downloading dependencies"
-msgstr "æ£å¨ä¸è½½ä¾èµå
³ç³»"
-
#. TRANSLATORS: we can exclude certain packages (glibc) when we know they'll exist on the target
-#: ../client/pk-generate-pack.c:188
+#: ../client/pk-generate-pack.c:226
msgid "Set the file name of dependencies to be excluded"
msgstr "设置å°è¢«é¤å¤çä¾èµå
³ç³»çæ件å"
#. TRANSLATORS: the output location
-#: ../client/pk-generate-pack.c:191
+#: ../client/pk-generate-pack.c:229
msgid ""
"The output file or directory (the current directory is used if ommitted)"
msgstr "è¾åºæ件æç®å½(使ç¨å½åç®å½å¦å¿è®°æå®)"
#. TRANSLATORS: put a list of packages in the pack
-#: ../client/pk-generate-pack.c:194
+#: ../client/pk-generate-pack.c:232
msgid "The package to be put into the service pack"
msgstr "å°æ¾å
¥æå¡å
ç软件å
"
#. TRANSLATORS: put all pending updates in the pack
-#: ../client/pk-generate-pack.c:197
+#: ../client/pk-generate-pack.c:235
msgid "Put all updates available in the service pack"
msgstr "å°ææå¯è·å¾çæ´æ°æ¾å
¥æå¡å
"
#. TRANSLATORS: This is when the user fails to supply the correct arguments
-#: ../client/pk-generate-pack.c:225
+#: ../client/pk-generate-pack.c:271
msgid "Neither --package or --updates option selected."
msgstr "è¦ä¹æ¯éå®äº --package é项ï¼è¦ä¹æ¯éå®äº --updates é项"
#. TRANSLATORS: This is when the user fails to supply just one argument
-#: ../client/pk-generate-pack.c:233
+#: ../client/pk-generate-pack.c:279
msgid "Both options selected."
msgstr "éå®äºä¸¤ä¸ªé项"
#. TRANSLATORS: This is when the user fails to supply the output
-#: ../client/pk-generate-pack.c:249
+#: ../client/pk-generate-pack.c:295
msgid "A output directory or file name is required"
msgstr "æ¨éè¦æå®è¾åºçç®å½åææ件å"
+#. TRANSLATORS: This is when the dameon is not-installed/broken and fails to startup
+#: ../client/pk-generate-pack.c:313
+msgid "The dameon failed to startup"
+msgstr "å¨dameonæªè½å¯å¨"
+
#. TRANSLATORS: This is when the backend doesn't have the capability to get-depends
#. TRANSLATORS: This is when the backend doesn't have the capability to download
-#: ../client/pk-generate-pack.c:267 ../client/pk-generate-pack.c:273
+#: ../client/pk-generate-pack.c:324 ../client/pk-generate-pack.c:330
msgid "The package manager cannot perform this type of operation."
msgstr "软件å
管çå¨ä¸è½å¤çå½åç±»åçæä½"
#. TRANSLATORS: This is when the distro didn't include libarchive support into PK
-#: ../client/pk-generate-pack.c:280
+#: ../client/pk-generate-pack.c:337
msgid ""
"Service packs cannot be created as PackageKit was not built with libarchive "
"support."
-msgstr ""
+msgstr "å¡å
ä¸è½è¢«å建为PackageKitä¸ç¬¦ålibarchiveæ¯æå建ã"
#. TRANSLATORS: the user specified an absolute path, but didn't get the extension correct
-#: ../client/pk-generate-pack.c:291
+#: ../client/pk-generate-pack.c:348
msgid "If specifying a file, the service pack name must end with"
msgstr "å¦ææå®ä¸ä¸ªæ件ï¼æ件åç¼åå¿
é¡»æ¯"
#. TRANSLATORS: This is when file already exists
-#: ../client/pk-generate-pack.c:307
+#: ../client/pk-generate-pack.c:364
msgid "A pack with the same name already exists, do you want to overwrite it?"
msgstr "å·²ç»æåå软件å
åå¨ï¼æ¨æ³è¦è¦çå®åï¼"
#. TRANSLATORS: This is when the pack was not overwritten
-#: ../client/pk-generate-pack.c:310
+#: ../client/pk-generate-pack.c:367
msgid "The pack was not overwritten."
msgstr "该软件å
没æ被è¦ç"
#. TRANSLATORS: This is when the temporary directory cannot be created, the directory name follows
-#: ../client/pk-generate-pack.c:323
+#: ../client/pk-generate-pack.c:380
msgid "Failed to create directory:"
msgstr "æ æ³å建ç®å½"
#. TRANSLATORS: This is when the list of packages from the remote computer cannot be opened
-#: ../client/pk-generate-pack.c:333
+#: ../client/pk-generate-pack.c:392
msgid "Failed to open package list."
msgstr "æ æ³æå¼è½¯ä»¶å
æ¸
å"
#. TRANSLATORS: The package name is being matched up to available packages
-#: ../client/pk-generate-pack.c:344
+#: ../client/pk-generate-pack.c:401
msgid "Finding package name."
msgstr "æ£å¨å¯»æ¾è½¯ä»¶å
å"
#. TRANSLATORS: This is when the package cannot be found in any software source. The detailed error follows
-#: ../client/pk-generate-pack.c:348
+#: ../client/pk-generate-pack.c:405
#, c-format
msgid "Failed to find package '%s': %s"
msgstr "æ æ³æ¾å°è½¯ä»¶å
'%s': %s"
#. TRANSLATORS: This is telling the user we are in the process of making the pack
-#: ../client/pk-generate-pack.c:365
+#: ../client/pk-generate-pack.c:413
msgid "Creating service pack..."
msgstr "æ£å¨å建æå¡å
..."
#. TRANSLATORS: we succeeded in making the file
-#: ../client/pk-generate-pack.c:372
+#: ../client/pk-generate-pack.c:428
#, c-format
msgid "Service pack created '%s'"
msgstr "æå¡å
å·²å建 '%s'"
#. TRANSLATORS: we failed to make te file
-#: ../client/pk-generate-pack.c:377
+#: ../client/pk-generate-pack.c:433
#, c-format
msgid "Failed to create '%s': %s"
msgstr "æ æ³å建 '%s': %s"
+#: ../client/pk-monitor.c:211
+#, fuzzy
+msgid "Failed to get daemon state"
+msgstr "æ æ³æå¼è½¯ä»¶å
æ¸
å"
+
#. TRANSLATORS: this is a program that monitors PackageKit
-#: ../client/pk-monitor.c:146
+#: ../client/pk-monitor.c:299
msgid "PackageKit Monitor"
msgstr "PackageKit çè§å¨"
-#: ../client/pk-monitor.c:183
-msgid "Cannot show the list of transactions"
-msgstr ""
-
-#. TRANSLATORS: The package was not found in any software sources
-#: ../client/pk-tools-common.c:118
-#, c-format
-msgid "The package could not be found"
-msgstr "æ æ³æ¾å°è¯¥è½¯ä»¶å
"
-
-#. TRANSLATORS: more than one package could be found that matched, to follow is a list of possible packages
-#: ../client/pk-tools-common.c:130
-msgid "More than one package matches:"
-msgstr "è¶
è¿ä¸ä¸ªè½¯ä»¶å
符åï¼"
-
-#. TRANSLATORS: This finds out which package in the list to use
-#: ../client/pk-tools-common.c:137
-msgid "Please choose the correct package: "
-msgstr "请éæ©æ£ç¡®ç软件å
ï¼"
-
-#: ../client/pk-tools-common.c:162
-#, c-format
-msgid "Please enter a number from 1 to %i: "
-msgstr "请è¾å
¥ä»1å° %i çæ°åï¼"
-
#. TRANSLATORS: when we are getting data from the daemon
-#: ../contrib/browser-plugin/pk-plugin-install.c:466
+#: ../contrib/browser-plugin/pk-plugin-install.c:491
msgid "Getting package information..."
msgstr "æ£å¨è·å¾è½¯ä»¶å
ä¿¡æ¯..."
#. TRANSLATORS: run an applicaiton
-#: ../contrib/browser-plugin/pk-plugin-install.c:472
+#: ../contrib/browser-plugin/pk-plugin-install.c:497
#, c-format
msgid "Run %s"
msgstr "è¿è¡ %s"
#. TRANSLATORS: show the installed version of a package
-#: ../contrib/browser-plugin/pk-plugin-install.c:478
+#: ../contrib/browser-plugin/pk-plugin-install.c:503
msgid "Installed version"
msgstr "å·²å®è£
çæ¬"
#. TRANSLATORS: run the application now
-#: ../contrib/browser-plugin/pk-plugin-install.c:486
+#: ../contrib/browser-plugin/pk-plugin-install.c:511
#, c-format
msgid "Run version %s now"
msgstr "ç°å¨è¿è¡çæ¬ %s"
#. TRANSLATORS: run the application now
-#: ../contrib/browser-plugin/pk-plugin-install.c:492
+#: ../contrib/browser-plugin/pk-plugin-install.c:517
msgid "Run now"
msgstr "ç°å¨è¿è¡"
#. TRANSLATORS: update to a new version of the package
-#: ../contrib/browser-plugin/pk-plugin-install.c:498
+#: ../contrib/browser-plugin/pk-plugin-install.c:523
#, c-format
msgid "Update to version %s"
msgstr "æ´æ°å°çæ¬ %s"
#. TRANSLATORS: To install a package
-#: ../contrib/browser-plugin/pk-plugin-install.c:504
+#: ../contrib/browser-plugin/pk-plugin-install.c:529
#, c-format
msgid "Install %s now"
msgstr "ç°å¨å®è£
%s "
#. TRANSLATORS: the version of the package
-#: ../contrib/browser-plugin/pk-plugin-install.c:507
+#: ../contrib/browser-plugin/pk-plugin-install.c:532
msgid "Version"
msgstr "çæ¬"
#. TRANSLATORS: noting found, so can't install
-#: ../contrib/browser-plugin/pk-plugin-install.c:512
+#: ../contrib/browser-plugin/pk-plugin-install.c:537
msgid "No packages found for your system"
msgstr "没æ为æ¨ç³»ç»åç°è½¯ä»¶å
"
#. TRANSLATORS: package is being installed
-#: ../contrib/browser-plugin/pk-plugin-install.c:517
+#: ../contrib/browser-plugin/pk-plugin-install.c:542
msgid "Installing..."
msgstr "æ£å¨å®è£
..."
#. TRANSLATORS: downloading repo data so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:349
+#: ../contrib/command-not-found/pk-command-not-found.c:361
msgid "Downloading details about the software sources."
msgstr ""
+"\t\n"
+"ä¸è½½æå
³è½¯ä»¶æ¥æºç详ç»æ
åµã"
#. TRANSLATORS: downloading file lists so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:353
+#: ../contrib/command-not-found/pk-command-not-found.c:365
msgid "Downloading filelists (this may take some time to complete)."
msgstr ""
#. TRANSLATORS: waiting for native lock
-#: ../contrib/command-not-found/pk-command-not-found.c:357
+#: ../contrib/command-not-found/pk-command-not-found.c:369
#, fuzzy
msgid "Waiting for package manager lock."
msgstr "æ£å¨å¯»æ¾è½¯ä»¶å
å"
#. TRANSLATORS: loading package cache so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:361
+#: ../contrib/command-not-found/pk-command-not-found.c:373
#, fuzzy
msgid "Loading list of packages."
msgstr "æ£å¨ä¸è½½è½¯ä»¶å
"
#. TRANSLATORS: we failed to find the package, this shouldn't happen
-#: ../contrib/command-not-found/pk-command-not-found.c:420
+#: ../contrib/command-not-found/pk-command-not-found.c:417
msgid "Failed to search for file"
msgstr "æªæ¾å°è¯¥è½¯ä»¶å
"
-#. TRANSLATORS: we failed to launch the executable, the error follows
-#: ../contrib/command-not-found/pk-command-not-found.c:557
-msgid "Failed to launch:"
-msgstr "æ æ³æ§è¡"
+#. TRANSLATORS: we failed to install the package
+#: ../contrib/command-not-found/pk-command-not-found.c:558
+#, fuzzy
+msgid "Failed to install packages"
+msgstr "该工å
·æ æ³å®è£
æ¬è½¯ä»¶å
ï¼%s"
#. TRANSLATORS: tool that gets called when the command is not found
-#: ../contrib/command-not-found/pk-command-not-found.c:632
+#: ../contrib/command-not-found/pk-command-not-found.c:636
msgid "PackageKit Command Not Found"
msgstr "PackageKit å½ä»¤æ²¡ææ¾å°"
#. TRANSLATORS: the prefix of all the output telling the user why it's not executing
-#: ../contrib/command-not-found/pk-command-not-found.c:658
+#: ../contrib/command-not-found/pk-command-not-found.c:664
msgid "Command not found."
msgstr "å½ä»¤æªæ¾å°"
#. TRANSLATORS: tell the user what we think the command is
-#: ../contrib/command-not-found/pk-command-not-found.c:665
+#: ../contrib/command-not-found/pk-command-not-found.c:671
msgid "Similar command is:"
msgstr "å¯è½å½ä»¤æ¯:"
#. TRANSLATORS: Ask the user if we should run the similar command
-#: ../contrib/command-not-found/pk-command-not-found.c:674
+#: ../contrib/command-not-found/pk-command-not-found.c:680
msgid "Run similar command:"
msgstr "æ§è¡å¯è½çå½ä»¤:"
#. TRANSLATORS: show the user a list of commands that they could have meant
#. TRANSLATORS: show the user a list of commands we could run
-#: ../contrib/command-not-found/pk-command-not-found.c:686
-#: ../contrib/command-not-found/pk-command-not-found.c:695
+#: ../contrib/command-not-found/pk-command-not-found.c:692
+#: ../contrib/command-not-found/pk-command-not-found.c:701
msgid "Similar commands are:"
msgstr "å¯è½å½ä»¤æ¯ï¼"
#. TRANSLATORS: ask the user to choose a file to run
-#: ../contrib/command-not-found/pk-command-not-found.c:702
+#: ../contrib/command-not-found/pk-command-not-found.c:708
msgid "Please choose a command to run"
msgstr "请éæ©ä¸æ¡å½ä»¤æ§è¡"
#. TRANSLATORS: tell the user what package provides the command
-#: ../contrib/command-not-found/pk-command-not-found.c:721
+#: ../contrib/command-not-found/pk-command-not-found.c:724
msgid "The package providing this file is:"
msgstr "æä¾è¯¥å½ä»¤ç软件å
æ¯:"
#. TRANSLATORS: as the user if we want to install a package to provide the command
-#: ../contrib/command-not-found/pk-command-not-found.c:726
+#: ../contrib/command-not-found/pk-command-not-found.c:729
#, c-format
msgid "Install package '%s' to provide command '%s'?"
msgstr "å®è£
å
'%s' æä¾å½ä»¤ '%s'"
@@ -970,202 +750,222 @@ msgid "Packages providing this file are:"
msgstr "æä¾è¯¥å½ä»¤ç软件å
æ:"
#. TRANSLATORS: Show the user a list of packages that they can install to provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:756
+#: ../contrib/command-not-found/pk-command-not-found.c:757
msgid "Suitable packages are:"
msgstr "éåç软件å
æ¯:"
#. get selection
#. TRANSLATORS: ask the user to choose a file to install
-#: ../contrib/command-not-found/pk-command-not-found.c:764
+#: ../contrib/command-not-found/pk-command-not-found.c:766
msgid "Please choose a package to install"
msgstr "请éæ©è¦å®è£
çæ个软件å
"
#. TRANSLATORS: we are starting to install the packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:187
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:197
#, fuzzy
msgid "Starting install"
msgstr "å®è£
"
#. TRANSLATORS: we couldn't find the package name, non-fatal
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:397
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:409
#, fuzzy, c-format
msgid "Failed to find the package %s, or already installed: %s"
msgstr "该软件å
'%s' å·²ç»å®è£
"
#. command line argument, simulate what would be done, but don't actually do it
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:553
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:515
msgid ""
"Don't actually install any packages, only simulate what would be installed"
msgstr ""
+"\t\n"
+"å®é
ä¸æ²¡æå®è£
ä»»ä½è½¯ä»¶å
ï¼åªæ¯æ¨¡æå®è£
ä»ä¹"
#. command line argument, do we skip packages that depend on the ones specified
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:556
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:518
msgid "Do not install dependencies of the core packages"
msgstr ""
+"\t\n"
+"ä¸è¦å®è£
çæ ¸å¿è½¯ä»¶å
çä¾èµå
³ç³»"
#. command line argument, do we operate quietly
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:559
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:521
msgid "Do not display information or progress"
+msgstr "ä¸æ¾ç¤ºä¿¡æ¯æè¿å±"
+
+#. command line argument, do we ask questions
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:524
+msgid "Install the packages without asking for confirmation"
msgstr ""
#. TRANSLATORS: tool that gets called when the command is not found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:577
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:539
#, fuzzy
msgid "PackageKit Debuginfo Installer"
msgstr "PackageKit ç»ç«¯çé¢"
#. TRANSLATORS: the use needs to specify a list of package names on the command line
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:589
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:554
#, fuzzy, c-format
msgid "ERROR: Specify package names to install."
msgstr "没ææ°ç软件å
å®è£
"
#. TRANSLATORS: we are getting the list of repositories
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:623
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:590
#, fuzzy, c-format
msgid "Getting sources list"
msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+#. TRANSLATORS: operation was not successful
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:600
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:675
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:759
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:803
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:870
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:914
+msgid "FAILED."
+msgstr "失败.."
+
#. TRANSLATORS: all completed 100%
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:641
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:681
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:716
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:800
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:844
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:911
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:955
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:615
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:655
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:690
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:774
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:818
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:885
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:929
#, c-format
msgid "OK."
-msgstr ""
+msgstr "æå.."
#. TRANSLATORS: tell the user what we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:644
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:618
#, c-format
msgid "Found %i enabled and %i disabled sources."
-msgstr ""
+msgstr "æ¾å° %i enabled å %i disabled æ¥æºã"
#. TRANSLATORS: we're finding repositories that match out pattern
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:651
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:625
#, c-format
msgid "Finding debugging sources"
-msgstr ""
+msgstr "寻æ¾è°è¯æº"
#. TRANSLATORS: tell the user what we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:684
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:658
#, c-format
msgid "Found %i disabled debuginfo repos."
-msgstr ""
+msgstr "æ¾å° %i disabled debuginfo reposã"
#. TRANSLATORS: we're now enabling all the debug sources we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:691
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:665
#, c-format
msgid "Enabling debugging sources"
-msgstr ""
-
-#. TRANSLATORS: operation was not successful
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:701
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:785
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:829
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:896
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:940
-msgid "FAILED."
-msgstr ""
+msgstr "寻æ¾è°è¯æº"
#. TRANSLATORS: tell the user how many we enabled
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:719
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:693
#, c-format
msgid "Enabled %i debugging sources."
-msgstr ""
+msgstr "å¯ç¨ %i è°è¯æº"
#. TRANSLATORS: we're now finding packages that match in all the repos
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:726
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:700
#, fuzzy, c-format
msgid "Finding debugging packages"
msgstr "æ£å¨å¯»æ¾è½¯ä»¶å
å"
#. TRANSLATORS: we couldn't find the package name, non-fatal
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:738
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:712
#, fuzzy, c-format
msgid "Failed to find the package %s: %s"
msgstr "æ æ³æ¾å°è½¯ä»¶å
'%s': %s"
#. TRANSLATORS: we couldn't find the debuginfo package name, non-fatal
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:761
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:735
#, fuzzy, c-format
msgid "Failed to find the debuginfo package %s: %s"
msgstr "æ æ³æ¾å°è½¯ä»¶å
'%s': %s"
#. TRANSLATORS: no debuginfo packages could be found to be installed
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:789
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:763
#, fuzzy, c-format
msgid "Found no packages to install."
msgstr "没ææ°ç软件å
å®è£
"
#. TRANSLATORS: tell the user we found some packages, and then list them
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:803
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:777
#, fuzzy, c-format
msgid "Found %i packages:"
msgstr "æ£å¨ä¸è½½è½¯ä»¶å
"
#. TRANSLATORS: tell the user we are searching for deps
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:819
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:793
#, c-format
msgid "Finding packages that depend on these packages"
-msgstr ""
+msgstr "åç°è¿ä¸è½¯ä»¶å
ä¾èµè¿äºè½¯ä»¶å
"
#. TRANSLATORS: could not install, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:832
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:806
#, fuzzy, c-format
msgid "Could not find dependant packages: %s"
msgstr "æ æ³æ¾å°è½¯ä»¶å
'%s': %s"
#. TRANSLATORS: tell the user we found some more packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:848
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:822
#, c-format
msgid "Found %i extra packages."
-msgstr ""
+msgstr "æ¾å° %i é¢å¤ç软件å
ã"
#. TRANSLATORS: tell the user we found some more packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:852
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:826
#, fuzzy, c-format
msgid "No extra packages required."
msgstr "éè¦è½¯ä»¶å
å"
#. TRANSLATORS: tell the user we found some packages (and deps), and then list them
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:861
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:835
#, fuzzy, c-format
msgid "Found %i packages to install:"
msgstr "没ææ°ç软件å
å®è£
"
#. TRANSLATORS: simulate mode is a testing mode where we quit before the action
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:874
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:848
#, fuzzy, c-format
msgid "Not installing packages in simulate mode"
msgstr "æ£å¨å®è£
软件å
..."
+#. TRANSLATORS: we are now installing the debuginfo packages we found earlier
+#. TRANSLATORS: transaction state, installing packages
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:860
+#: ../lib/packagekit-glib2/pk-console-shared.c:274
+#, c-format
+msgid "Installing packages"
+msgstr "æ£å¨å®è£
软件å
..."
+
#. TRANSLATORS: could not install, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:899
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:873
#, fuzzy, c-format
msgid "Could not install packages: %s"
msgstr "该工å
·æ æ³å®è£
æ¬è½¯ä»¶å
ï¼%s"
#. TRANSLATORS: we are now disabling all debuginfo repos we previously enabled
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:931
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:905
#, c-format
msgid "Disabling sources previously enabled"
msgstr ""
+"\t\n"
+"ç¦ç¨æºä»¥åå¯ç¨"
#. TRANSLATORS: no debuginfo packages could be found to be installed, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:943
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:917
#, c-format
msgid "Could not disable the debugging sources: %s"
-msgstr ""
+msgstr "æ æ³ç¦ç¨è°è¯æ¥æºï¼%s"
#. TRANSLATORS: we disabled all the debugging repos that we enabled before
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:958
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:932
#, c-format
msgid "Disabled %i debugging sources."
-msgstr ""
+msgstr "å¯ç¨ %i è°è¯æº"
#. TRANSLATORS: couldn't open device to write
#: ../contrib/device-rebind/pk-device-rebind.c:61
@@ -1213,17 +1013,19 @@ msgstr "ç®å½æ²¡ææ¾å°"
#. TRANSLATORS: user did not specify a valid device sysfs path
#: ../contrib/device-rebind/pk-device-rebind.c:268
msgid "Incorrect device path specified"
-msgstr ""
+msgstr "设å¤æå®çè·¯å¾ä¸æ£ç¡®"
#. command line argument, simulate what would be done, but don't actually do it
#: ../contrib/device-rebind/pk-device-rebind.c:296
msgid "Don't actually touch the hardware, only simulate what would be done"
-msgstr ""
+msgstr "å®é
ä¸æ²¡ææ¥è§¦ç¡¬ä»¶ï¼åªæ模æåä»ä¹"
#. TRANSLATORS: command line option: a list of files to install
#: ../contrib/device-rebind/pk-device-rebind.c:299
msgid "Device paths"
msgstr ""
+"\t\n"
+"设å¤è·¯å¾"
#. TRANSLATORS: tool that gets called when the device needs reloading after installing firmware
#: ../contrib/device-rebind/pk-device-rebind.c:314
@@ -1235,16 +1037,20 @@ msgstr "PackageKit æå¡å
"
#: ../contrib/device-rebind/pk-device-rebind.c:322
msgid "You need to specify at least one valid device path"
msgstr ""
+"\t\n"
+"ä½ éè¦æå®è³å°ä¸ä¸ªææç设å¤è·¯å¾"
#. TRANSLATORS: user did not specify a valid device sysfs path
#: ../contrib/device-rebind/pk-device-rebind.c:332
msgid "This script can only be used by the root user"
msgstr ""
+"\t\n"
+"æ¤èæ¬åªè½ç¨äºrootç¨æ·"
#. TRANSLATORS: we're going to verify the path first
#: ../contrib/device-rebind/pk-device-rebind.c:341
msgid "Verifying device path"
-msgstr ""
+msgstr "éªè¯è®¾å¤è·¯å¾"
#. TRANSLATORS: user did not specify a device sysfs path that exists
#: ../contrib/device-rebind/pk-device-rebind.c:346
@@ -1256,6 +1062,8 @@ msgstr "æªæ¾å°è¯¥è½¯ä»¶å
"
#: ../contrib/device-rebind/pk-device-rebind.c:360
msgid "Attempting to rebind device"
msgstr ""
+"\t\n"
+"è¯å¾éæ°ç»å®è®¾å¤"
#. TRANSLATORS: we failed to release the current driver
#: ../contrib/device-rebind/pk-device-rebind.c:365
@@ -1275,6 +1083,705 @@ msgstr "PackageKit 软件å
æ¸
å"
msgid "PackageKit Service Pack"
msgstr "PackageKit æå¡å
"
+#: ../lib/packagekit-glib2/pk-console-shared.c:59
+#, c-format
+msgid "Please enter a number from 1 to %i: "
+msgstr "请è¾å
¥ä»1å° %i çæ°åï¼"
+
+#. TRANSLATORS: more than one package could be found that matched, to follow is a list of possible packages
+#: ../lib/packagekit-glib2/pk-console-shared.c:181
+msgid "More than one package matches:"
+msgstr "è¶
è¿ä¸ä¸ªè½¯ä»¶å
符åï¼"
+
+#. TRANSLATORS: This finds out which package in the list to use
+#: ../lib/packagekit-glib2/pk-console-shared.c:190
+msgid "Please choose the correct package: "
+msgstr "请éæ©æ£ç¡®ç软件å
ï¼"
+
+#. TRANSLATORS: This is when the transaction status is not known
+#: ../lib/packagekit-glib2/pk-console-shared.c:242
+#, fuzzy
+msgid "Unknown state"
+msgstr "æªç¥"
+
+#. TRANSLATORS: transaction state, the daemon is in the process of starting
+#: ../lib/packagekit-glib2/pk-console-shared.c:246
+#, fuzzy
+msgid "Starting"
+msgstr "å®è£
"
+
+#. TRANSLATORS: transaction state, the transaction is waiting for another to complete
+#: ../lib/packagekit-glib2/pk-console-shared.c:250
+msgid "Waiting in queue"
+msgstr "çå¾
éå"
+
+#. TRANSLATORS: transaction state, just started
+#: ../lib/packagekit-glib2/pk-console-shared.c:254
+msgid "Running"
+msgstr ""
+"\t\n"
+"è¿è¡ä¸"
+
+#. TRANSLATORS: transaction state, is querying data
+#: ../lib/packagekit-glib2/pk-console-shared.c:258
+msgid "Querying"
+msgstr ""
+"\t\n"
+"æ¥è¯¢ä¸"
+
+#. TRANSLATORS: transaction state, getting data from a server
+#: ../lib/packagekit-glib2/pk-console-shared.c:262
+#, fuzzy
+msgid "Getting information"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
ä¿¡æ¯..."
+
+#. TRANSLATORS: transaction state, removing packages
+#: ../lib/packagekit-glib2/pk-console-shared.c:266
+#, fuzzy
+msgid "Removing packages"
+msgstr "å é¤è½¯ä»¶å
"
+
+#. TRANSLATORS: transaction state, downloading package files
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:270
+#: ../lib/packagekit-glib2/pk-console-shared.c:648
+msgid "Downloading packages"
+msgstr "æ£å¨ä¸è½½è½¯ä»¶å
"
+
+#. TRANSLATORS: transaction state, refreshing internal lists
+#: ../lib/packagekit-glib2/pk-console-shared.c:278
+#, fuzzy
+msgid "Refreshing software list"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: transaction state, installing updates
+#: ../lib/packagekit-glib2/pk-console-shared.c:282
+#, fuzzy
+msgid "Installing updates"
+msgstr "æ£å¨å®è£
软件å
..."
+
+#. TRANSLATORS: transaction state, removing old packages, and cleaning config files
+#: ../lib/packagekit-glib2/pk-console-shared.c:286
+#, fuzzy
+msgid "Cleaning up packages"
+msgstr "æ£å¨ä¸è½½è½¯ä»¶å
"
+
+#. TRANSLATORS: transaction state, obsoleting old packages
+#: ../lib/packagekit-glib2/pk-console-shared.c:290
+#, fuzzy
+msgid "Obsoleting packages"
+msgstr "æ£å¨å®è£
软件å
..."
+
+#. TRANSLATORS: transaction state, checking the transaction before we do it
+#: ../lib/packagekit-glib2/pk-console-shared.c:294
+#, fuzzy
+msgid "Resolving dependencies"
+msgstr "æ£å¨ä¸è½½ä¾èµå
³ç³»"
+
+#. TRANSLATORS: transaction state, checking if we have all the security keys for the operation
+#: ../lib/packagekit-glib2/pk-console-shared.c:298
+msgid "Checking signatures"
+msgstr "æ£æ¥ç¾å"
+
+#. TRANSLATORS: transaction state, when we return to a previous system state
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:302
+#: ../lib/packagekit-glib2/pk-console-shared.c:608
+msgid "Rolling back"
+msgstr "åæ»"
+
+#. TRANSLATORS: transaction state, when we're doing a test transaction
+#: ../lib/packagekit-glib2/pk-console-shared.c:306
+#, fuzzy
+msgid "Testing changes"
+msgstr "æ£å¨å®è£
软件å
..."
+
+#. TRANSLATORS: transaction state, when we're writing to the system package database
+#: ../lib/packagekit-glib2/pk-console-shared.c:310
+msgid "Committing changes"
+msgstr ""
+"\t\n"
+"æ交æ´æ¹"
+
+#. TRANSLATORS: transaction state, requesting data from a server
+#: ../lib/packagekit-glib2/pk-console-shared.c:314
+msgid "Requesting data"
+msgstr "请æ±æ°æ®"
+
+#. TRANSLATORS: transaction state, all done!
+#: ../lib/packagekit-glib2/pk-console-shared.c:318
+msgid "Finished"
+msgstr "å®æ.."
+
+#. TRANSLATORS: transaction state, in the process of cancelling
+#: ../lib/packagekit-glib2/pk-console-shared.c:322
+msgid "Cancelling"
+msgstr "å é¤ä¸"
+
+#. TRANSLATORS: transaction state, downloading metadata
+#: ../lib/packagekit-glib2/pk-console-shared.c:326
+msgid "Downloading repository information"
+msgstr ""
+"\t\n"
+"ä¸è½½èµæåº"
+
+#. TRANSLATORS: transaction state, downloading metadata
+#: ../lib/packagekit-glib2/pk-console-shared.c:330
+#, fuzzy
+msgid "Downloading list of packages"
+msgstr "æ£å¨ä¸è½½è½¯ä»¶å
"
+
+#. TRANSLATORS: transaction state, downloading metadata
+#: ../lib/packagekit-glib2/pk-console-shared.c:334
+#, fuzzy
+msgid "Downloading file lists"
+msgstr "æ£å¨ä¸è½½"
+
+#. TRANSLATORS: transaction state, downloading metadata
+#: ../lib/packagekit-glib2/pk-console-shared.c:338
+#, fuzzy
+msgid "Downloading lists of changes"
+msgstr "æ£å¨ä¸è½½è½¯ä»¶å
"
+
+#. TRANSLATORS: transaction state, downloading metadata
+#: ../lib/packagekit-glib2/pk-console-shared.c:342
+#, fuzzy
+msgid "Downloading groups"
+msgstr "æ£å¨ä¸è½½"
+
+#. TRANSLATORS: transaction state, downloading metadata
+#: ../lib/packagekit-glib2/pk-console-shared.c:346
+#, fuzzy
+msgid "Downloading update information"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
ä¿¡æ¯..."
+
+#. TRANSLATORS: transaction state, repackaging delta files
+#: ../lib/packagekit-glib2/pk-console-shared.c:350
+#, fuzzy
+msgid "Repackaging files"
+msgstr "软件å
æ件"
+
+#. TRANSLATORS: transaction state, loading databases
+#: ../lib/packagekit-glib2/pk-console-shared.c:354
+#, fuzzy
+msgid "Loading cache"
+msgstr "æ£å¨ä¸è½½è½¯ä»¶å
"
+
+#. TRANSLATORS: transaction state, scanning for running processes
+#: ../lib/packagekit-glib2/pk-console-shared.c:358
+msgid "Scanning applications"
+msgstr "æ«æåºç¨"
+
+#. TRANSLATORS: transaction state, generating a list of packages installed on the system
+#: ../lib/packagekit-glib2/pk-console-shared.c:362
+#, fuzzy
+msgid "Generating package lists"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: transaction state, when we're waiting for the native tools to exit
+#: ../lib/packagekit-glib2/pk-console-shared.c:366
+#, fuzzy
+msgid "Waiting for package manager lock"
+msgstr "æ£å¨å¯»æ¾è½¯ä»¶å
å"
+
+#. TRANSLATORS: transaction state, waiting for user to type in a password
+#: ../lib/packagekit-glib2/pk-console-shared.c:370
+msgid "Waiting for authentication"
+msgstr ""
+"\t\n"
+"çå¾
éªè¯"
+
+#. TRANSLATORS: transaction state, we are updating the list of processes
+#: ../lib/packagekit-glib2/pk-console-shared.c:374
+msgid "Updating running applications"
+msgstr ""
+"\t\n"
+"æ´æ°è¿è¡çåºç¨ç¨åº"
+
+#. TRANSLATORS: transaction state, we are checking executable files currently in use
+#: ../lib/packagekit-glib2/pk-console-shared.c:378
+msgid "Checking applications in use"
+msgstr "æ£æ¥ä¸ä½¿ç¨çåºç¨"
+
+#. TRANSLATORS: transaction state, we are checking for libraries currently in use
+#: ../lib/packagekit-glib2/pk-console-shared.c:382
+msgid "Checking libraries in use"
+msgstr "æ£æ¥ä½¿ç¨çåº"
+
+#. TRANSLATORS: transaction state, we are copying package files before or after the transaction
+#: ../lib/packagekit-glib2/pk-console-shared.c:386
+#, fuzzy
+msgid "Copying files"
+msgstr "没ææ件"
+
+#. TRANSLATORS: The type of update
+#: ../lib/packagekit-glib2/pk-console-shared.c:404
+msgid "Trivial"
+msgstr "ç¹ç"
+
+#. TRANSLATORS: The type of update
+#: ../lib/packagekit-glib2/pk-console-shared.c:408
+msgid "Normal"
+msgstr "æ£å¸¸"
+
+#. TRANSLATORS: The type of update
+#: ../lib/packagekit-glib2/pk-console-shared.c:412
+msgid "Important"
+msgstr "éè¦"
+
+#. TRANSLATORS: The type of update
+#: ../lib/packagekit-glib2/pk-console-shared.c:416
+msgid "Security"
+msgstr "å®å
¨æ§"
+
+#. TRANSLATORS: The type of update
+#: ../lib/packagekit-glib2/pk-console-shared.c:420
+msgid "Bug fix "
+msgstr ""
+"\t\n"
+"Bugä¿®å¤ "
+
+#. TRANSLATORS: The type of update
+#: ../lib/packagekit-glib2/pk-console-shared.c:424
+msgid "Enhancement"
+msgstr "å¢å¼º"
+
+#. TRANSLATORS: The type of update
+#: ../lib/packagekit-glib2/pk-console-shared.c:428
+msgid "Blocked"
+msgstr ""
+"\t\n"
+"å°é"
+
+#. TRANSLATORS: The state of a package
+#. TRANSLATORS: The action of the package, in past tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:433
+#: ../lib/packagekit-glib2/pk-console-shared.c:506
+#, fuzzy
+msgid "Installed"
+msgstr "å·²å®è£
çæ¬"
+
+#. TRANSLATORS: The state of a package, i.e. not installed
+#: ../lib/packagekit-glib2/pk-console-shared.c:438
+msgid "Available"
+msgstr ""
+"\t\n"
+"å¯ç¨ç"
+
+#. TRANSLATORS: The action of the package, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:456
+msgid "Downloading"
+msgstr "æ£å¨ä¸è½½"
+
+#. TRANSLATORS: The action of the package, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:460
+#, fuzzy
+msgid "Updating"
+msgstr "æ´æ°"
+
+#. TRANSLATORS: The action of the package, in present tense
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:464
+#: ../lib/packagekit-glib2/pk-console-shared.c:584
+#, fuzzy
+msgid "Installing"
+msgstr "æ£å¨å®è£
..."
+
+#. TRANSLATORS: The action of the package, in present tense
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:468
+#: ../lib/packagekit-glib2/pk-console-shared.c:580
+msgid "Removing"
+msgstr "å é¤ä¸"
+
+#. TRANSLATORS: The action of the package, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:472
+msgid "Cleaning up"
+msgstr ""
+"\t\n"
+"æ¸
ç"
+
+#. TRANSLATORS: The action of the package, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:476
+#, fuzzy
+msgid "Obsoleting"
+msgstr "è¿æ¶"
+
+#. TRANSLATORS: The action of the package, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:480
+#, fuzzy
+msgid "Reinstalling"
+msgstr "æ£å¨å®è£
..."
+
+#. TRANSLATORS: The action of the package, in past tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:498
+#, fuzzy
+msgid "Downloaded"
+msgstr "æ£å¨ä¸è½½"
+
+#. TRANSLATORS: The action of the package, in past tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:510
+msgid "Removed"
+msgstr "å·²å é¤"
+
+#. TRANSLATORS: The action of the package, in past tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:514
+msgid "Cleaned up"
+msgstr "å·²æ¸
ç"
+
+#. TRANSLATORS: The action of the package, in past tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:518
+#, fuzzy
+msgid "Obsoleted"
+msgstr "è¿æ¶"
+
+#. TRANSLATORS: The action of the package, in past tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:522
+#, fuzzy
+msgid "Reinstalled"
+msgstr "å®è£
"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:540
+msgid "Unknown role type"
+msgstr ""
+"\t\n"
+"æªç¥çä»»å¡ç±»å"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:544
+#, fuzzy
+msgid "Getting dependencies"
+msgstr "æ£å¨ä¸è½½ä¾èµå
³ç³»"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:548
+#, fuzzy
+msgid "Getting update details"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:552
+#, fuzzy
+msgid "Getting details"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:556
+#, fuzzy
+msgid "Getting requires"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:560
+#, fuzzy
+msgid "Getting updates"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:564
+msgid "Searching by details"
+msgstr "æç´¢ç详ç»ä¿¡æ¯"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:568
+#, fuzzy
+msgid "Searching by file"
+msgstr "æ索软件å
: "
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:572
+#, fuzzy
+msgid "Searching groups"
+msgstr "æ索软件å
: "
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:576
+#, fuzzy
+msgid "Searching by name"
+msgstr "æ索软件å
: "
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:588
+#, fuzzy
+msgid "Installing files"
+msgstr "æ£å¨å®è£
软件å
..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:592
+msgid "Refreshing cache"
+msgstr "å·æ°ç¼å"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:596
+#, fuzzy
+msgid "Updating packages"
+msgstr "æ´æ°è½¯ä»¶å
"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:600
+#, fuzzy
+msgid "Updating system"
+msgstr "æ´æ°ææ¡£"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:604
+msgid "Canceling"
+msgstr "å é¤ä¸"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:612
+#, fuzzy
+msgid "Getting repositories"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:616
+msgid "Enabling repository"
+msgstr "å¯ç¨åº"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:620
+#, fuzzy
+msgid "Setting data"
+msgstr "å®è£
"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:624
+msgid "Resolving"
+msgstr ""
+"\t \t\n"
+"解å³ä¸"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:628
+#, fuzzy
+msgid "Getting file list"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:632
+#, fuzzy
+msgid "Getting provides"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:636
+#, fuzzy
+msgid "Installing signature"
+msgstr "æ£å¨å®è£
软件å
..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:640
+#, fuzzy
+msgid "Getting packages"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:644
+#, fuzzy
+msgid "Accepting EULA"
+msgstr "æ¥å EULA"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:652
+#, fuzzy
+msgid "Getting upgrades"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:656
+#, fuzzy
+msgid "Getting categories"
+msgstr "æ£å¨è·å¾è½¯ä»¶å
å表..."
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:660
+#, fuzzy
+msgid "Getting transactions"
+msgstr "å¤ç"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:664
+#: ../lib/packagekit-glib2/pk-console-shared.c:668
+#, fuzzy
+msgid "Simulating install"
+msgstr "å®è£
"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:672
+msgid "Simulating remove"
+msgstr ""
+"\t\n"
+"模æå é¤"
+
+#. TRANSLATORS: The role of the transaction, in present tense
+#: ../lib/packagekit-glib2/pk-console-shared.c:676
+msgid "Simulating update"
+msgstr "模æå级"
+
+#. TRANSLATORS: ask the user if they are comfortable installing insecure packages
+#: ../lib/packagekit-glib2/pk-task-text.c:66
+msgid "Do you want to allow installing of unsigned software?"
+msgstr "ä½ æ³å
许æªç¾åç软件å®è£
ï¼"
+
+#. TRANSLATORS: tell the user we've not done anything
+#: ../lib/packagekit-glib2/pk-task-text.c:71
+#, fuzzy
+msgid "The unsigned software will not be installed."
+msgstr "该软件å
'%s' æ æ³å®è£
ï¼%s"
+
+#. TRANSLATORS: the package repository is signed by a key that is not recognised
+#: ../lib/packagekit-glib2/pk-task-text.c:104
+#, fuzzy
+msgid "Software source signature required"
+msgstr "è¦æ±è½¯ä»¶åºç¾å"
+
+#. TRANSLATORS: the package repository name
+#: ../lib/packagekit-glib2/pk-task-text.c:110
+#, fuzzy
+msgid "Software source name"
+msgstr "æ´æ¹è½¯ä»¶æºåæ°"
+
+#. TRANSLATORS: the key URL
+#: ../lib/packagekit-glib2/pk-task-text.c:113
+msgid "Key URL"
+msgstr "å
³é®ç½å"
+
+#. TRANSLATORS: the username of the key
+#: ../lib/packagekit-glib2/pk-task-text.c:116
+msgid "Key user"
+msgstr "å
³é®ç¨æ·"
+
+#. TRANSLATORS: the key ID, usually a few hex digits
+#: ../lib/packagekit-glib2/pk-task-text.c:119
+#, fuzzy
+msgid "Key ID"
+msgstr "ç¨æ·ID"
+
+#. TRANSLATORS: the key fingerprint, again, yet more hex
+#: ../lib/packagekit-glib2/pk-task-text.c:122
+msgid "Key fingerprint"
+msgstr "å¯é¥çæ纹"
+
+#. TRANSLATORS: the timestamp (a bit like a machine readable time)
+#: ../lib/packagekit-glib2/pk-task-text.c:125
+msgid "Key Timestamp"
+msgstr ""
+"\t\n"
+"å
³é®æ¶é´æ³"
+
+#. TRANSLATORS: ask the user if they want to import
+#: ../lib/packagekit-glib2/pk-task-text.c:131
+msgid "Do you accept this signature?"
+msgstr "æ¨æ¥å该ç¾ååï¼"
+
+#. TRANSLATORS: tell the user we've not done anything
+#: ../lib/packagekit-glib2/pk-task-text.c:136
+msgid "The signature was not accepted."
+msgstr "没ææ¥åç¾åã"
+
+#. TRANSLATORS: this is another name for a software licence that has to be read before installing
+#: ../lib/packagekit-glib2/pk-task-text.c:171
+#, fuzzy
+msgid "End user licence agreement required"
+msgstr "éè¦æç»ç¨æ·è®¸å¯åè®®"
+
+#. TRANSLATORS: the EULA text itself (long and boring)
+#: ../lib/packagekit-glib2/pk-task-text.c:180
+msgid "Agreement"
+msgstr "åæ"
+
+#. TRANSLATORS: ask the user if they've read and accepted the EULA
+#: ../lib/packagekit-glib2/pk-task-text.c:186
+#, fuzzy
+msgid "Do you accept this agreement?"
+msgstr "æ¨æ¥å该ç¾ååï¼"
+
+#. TRANSLATORS: tell the user we've not done anything
+#: ../lib/packagekit-glib2/pk-task-text.c:191
+#, fuzzy
+msgid "The agreement was not accepted."
+msgstr "没ææ¥åç¾åã"
+
+#. TRANSLATORS: the user needs to change media inserted into the computer
+#: ../lib/packagekit-glib2/pk-task-text.c:221
+#, fuzzy
+msgid "Media change required"
+msgstr "éè¦è½¯ä»¶å
å"
+
+#. TRANSLATORS: the type, e.g. DVD, CD, etc
+#: ../lib/packagekit-glib2/pk-task-text.c:224
+msgid "Media type"
+msgstr "åªä½ç±»å"
+
+#. TRANSLATORS: the media label, usually like 'disk-1of3'
+#: ../lib/packagekit-glib2/pk-task-text.c:227
+msgid "Media label"
+msgstr ""
+"\t\n"
+"åªä½æ ç¾"
+
+#. TRANSLATORS: the media description, usually like 'Fedora 12 disk 5'
+#: ../lib/packagekit-glib2/pk-task-text.c:230
+msgid "Text"
+msgstr "ä¸ä¸æ¥"
+
+#. TRANSLATORS: ask the user to insert the media
+#: ../lib/packagekit-glib2/pk-task-text.c:234
+#, fuzzy
+msgid "Please insert the correct media"
+msgstr "请éæ©æ£ç¡®ç软件å
ï¼"
+
+#. TRANSLATORS: tell the user we've not done anything as they are lazy
+#: ../lib/packagekit-glib2/pk-task-text.c:239
+#, fuzzy
+msgid "The correct media was not inserted."
+msgstr "没ææ¥åç¾åã"
+
+#. TRANSLATORS: When processing, we might have to remove other dependencies
+#: ../lib/packagekit-glib2/pk-task-text.c:254
+msgid "The following packages have to be removed:"
+msgstr "ä¸å软件å
å¿
须被å é¤ï¼"
+
+#. TRANSLATORS: When processing, we might have to install other dependencies
+#: ../lib/packagekit-glib2/pk-task-text.c:259
+#, fuzzy
+msgid "The following packages have to be installed:"
+msgstr "ä¸å软件å
å¿
须被å é¤ï¼"
+
+#. TRANSLATORS: When processing, we might have to update other dependencies
+#: ../lib/packagekit-glib2/pk-task-text.c:264
+#, fuzzy
+msgid "The following packages have to be updated:"
+msgstr "ä¸å软件å
å¿
须被å é¤ï¼"
+
+#. TRANSLATORS: When processing, we might have to reinstall other dependencies
+#: ../lib/packagekit-glib2/pk-task-text.c:269
+#, fuzzy
+msgid "The following packages have to be reinstalled:"
+msgstr "ä¸å软件å
å¿
须被å é¤ï¼"
+
+#. TRANSLATORS: When processing, we might have to downgrade other dependencies
+#: ../lib/packagekit-glib2/pk-task-text.c:274
+#, fuzzy
+msgid "The following packages have to be downgraded:"
+msgstr "ä¸å软件å
å¿
须被å é¤ï¼"
+
+#. TRANSLATORS: ask the user if the proposed changes are okay
+#: ../lib/packagekit-glib2/pk-task-text.c:333
+msgid "Proceed with changes?"
+msgstr ""
+"\t \t\n"
+"æååè¿è¡ï¼"
+
+#. TRANSLATORS: tell the user we didn't do anything
+#: ../lib/packagekit-glib2/pk-task-text.c:338
+msgid "The transaction did not proceed."
+msgstr ""
+"\t\n"
+"è¿é¡¹äº¤æ没æ继ç»è¿è¡ã"
+
#. SECURITY:
#. - Normal users do not require admin authentication to accept new
#. licence agreements.
@@ -1394,7 +1901,7 @@ msgstr "å·æ°ç³»ç»æº"
#.
#: ../policy/org.freedesktop.packagekit.policy.in.h:58
msgid "Reload a device"
-msgstr ""
+msgstr "éæ°å è½½è£
ç½®"
#. SECURITY:
#. - Normal users require admin authentication to remove packages as
@@ -1514,44 +2021,152 @@ msgstr "æ æ³è¿æ¥å°ç³»ç»æ»çº¿"
msgid "Error trying to start:"
msgstr "å°è¯å¯å¨æ¶åºé:"
-#: ../src/pk-polkit-action-lookup.c:147
+#: ../src/pk-polkit-action-lookup.c:150
#, fuzzy
msgid "To install debugging packages, extra sources need to be enabled"
msgstr "没ææ°ç软件å
å®è£
"
#. TRANSLATORS: is not GPG signed
-#: ../src/pk-polkit-action-lookup.c:168 ../src/pk-polkit-action-lookup.c:187
+#: ../src/pk-polkit-action-lookup.c:171 ../src/pk-polkit-action-lookup.c:190
msgid "The software is not from a trusted source."
-msgstr ""
+msgstr "该软件æ¯ä¸æ¯æ¥èªå¯é æ¥æºã"
-#: ../src/pk-polkit-action-lookup.c:173
+#: ../src/pk-polkit-action-lookup.c:176
msgid "Do not update this package unless you are sure it is safe to do so."
-msgstr ""
+msgstr "ä¸æ´æ°è¿ä¸ªå
ï¼é¤éæ¨ç¡®ä¿¡å®æ¯å®å
¨çè¿æ ·åã"
-#: ../src/pk-polkit-action-lookup.c:174
+#: ../src/pk-polkit-action-lookup.c:177
msgid "Do not update these packages unless you are sure it is safe to do so."
-msgstr ""
+msgstr "ä¸æ´æ°è¿äºç¨åºå
ï¼é¤éä½ ç¡®å®å®æ¯å®å
¨çè¿æ ·åã"
-#: ../src/pk-polkit-action-lookup.c:192
+#: ../src/pk-polkit-action-lookup.c:195
msgid "Do not install this package unless you are sure it is safe to do so."
-msgstr ""
+msgstr "ä¸è¦å®è£
æ¤å
ï¼é¤éæ¨ç¡®ä¿¡å®æ¯å®å
¨çè¿æ ·åã"
-#: ../src/pk-polkit-action-lookup.c:193
+#: ../src/pk-polkit-action-lookup.c:196
msgid "Do not install these packages unless you are sure it is safe to do so."
-msgstr ""
+msgstr "ä¸è¦å®è£
è¿äºç¨åºå
ï¼é¤éä½ ç¡®å®å®æ¯å®å
¨çè¿æ ·åã"
#. TRANSLATORS: warn the user that all bets are off
-#: ../src/pk-polkit-action-lookup.c:199
+#: ../src/pk-polkit-action-lookup.c:202
msgid "Malicious software can damage your computer or cause other harm."
-msgstr ""
+msgstr "æ¶æ软件å¯è½ä¼æ害æ¨ç计ç®æºæé æå
¶ä»ä¼¤å®³ã"
#. TRANSLATORS: too many packages to list each one
-#: ../src/pk-polkit-action-lookup.c:274
+#: ../src/pk-polkit-action-lookup.c:277
#, fuzzy
msgid "Many packages"
msgstr "æ´æ°è½¯ä»¶å
"
#. TRANSLATORS: if the transaction is forced to install only trusted packages
-#: ../src/pk-polkit-action-lookup.c:334
+#: ../src/pk-polkit-action-lookup.c:343
msgid "Only trusted"
-msgstr ""
+msgstr "åªæåä¿¡ä»»"
+
+#~ msgid "Percentage"
+#~ msgstr "ç¾åæ¯"
+
+#~ msgid "Please restart the application as it is being used."
+#~ msgstr "请éæ°å¯å¨æ£å¨ä½¿ç¨ä¸çç¨åºã"
+
+#~ msgid "The package %s is already installed"
+#~ msgstr "该软件å
'%s' å·²ç»å®è£
"
+
+#~ msgid "This tool could not install the files: %s"
+#~ msgstr "æ¬å·¥å
·æ æ³å®è£
æ件ï¼%s"
+
+#~ msgid "This tool could not remove %s: %s"
+#~ msgstr "该工å
·æ æ³å é¤ %sï¼%s"
+
+#~ msgid "This tool could not remove the packages: %s"
+#~ msgstr "该工å
·æ æ³å é¤æ¬è½¯ä»¶å
ï¼%s"
+
+#~ msgid "Proceed removing additional packages?"
+#~ msgstr "å¼å§è¿è¡å é¤é¢å¤ç软件å
åï¼"
+
+#~ msgid "The package removal was canceled!"
+#~ msgstr "å·²åæ¶å é¤æ¬è½¯ä»¶å
ï¼"
+
+#~ msgid "This tool could not download the package %s as it could not be found"
+#~ msgstr "æ¬å·¥å
·æ æ³ä¸è½½è½¯ä»¶å
'%s' (æ æ³æ¾å°)"
+
+#~ msgid "This tool could not download the packages: %s"
+#~ msgstr "æ¬å·¥å
·æ æ³ä¸è½½è¯¥è½¯ä»¶å
ï¼%s"
+
+#~ msgid "This tool could not update %s: %s"
+#~ msgstr "该工å
·æ æ³æ´æ° %sï¼%s"
+
+#~ msgid "This tool could not get the requirements for %s: %s"
+#~ msgstr "æ¬å·¥å
·æ æ³å¾å° %s çéæ±ï¼%s "
+
+#~ msgid "This tool could not get the dependencies for %s: %s"
+#~ msgstr "æ¬å·¥å
·æ æ³å¾å° %s çä¾èµå
³ç³»ï¼%s"
+
+#~ msgid "This tool could not get package details for %s: %s"
+#~ msgstr "该工å
·æ æ³å¾å° %s ç软件å
详æ
ï¼%s"
+
+#~ msgid "This tool could not find the files for %s: %s"
+#~ msgstr "该工å
·æ æ³æ¾å° %s çæ件ï¼%s"
+
+#~ msgid "This tool could not get the file list for %s: %s"
+#~ msgstr "该工å
·æ æ³å¾å° %s çæ件æ¸
åï¼%s"
+
+#~ msgid "File already exists: %s"
+#~ msgstr "æ件已åå¨: %s"
+
+#~ msgid "This tool could not get package list: %s"
+#~ msgstr "该工å
·æ æ³å¾å°è½¯ä»¶è¡¨å表ï¼%s"
+
+#~ msgid "Failed to save to disk"
+#~ msgstr "åç失败"
+
+#~ msgid "File does not exist: %s"
+#~ msgstr "æ件ä¸åå¨ : %s"
+
+#~ msgid "Packages to add"
+#~ msgstr "æ·»å 软件å
"
+
+#~ msgid "Packages to remove"
+#~ msgstr "å é¤è½¯ä»¶å
"
+
+#~ msgid "No new packages need to be installed"
+#~ msgstr "没ææ°ç软件å
å®è£
"
+
+#~ msgid "not found."
+#~ msgstr "没ææ¾å°"
+
+#~ msgid "No packages can be found to install"
+#~ msgstr "æ¾ä¸å°è½¯ä»¶å
å®è£
"
+
+#~ msgid "This tool could not find the update details for %s: %s"
+#~ msgstr "该工å
·æ æ³æ¾å° %s çæ´æ°è¯¦æ
ï¼%s"
+
+#~ msgid "This tool could not get the update details for %s: %s"
+#~ msgstr "该工å
·æ æ³å¾å° %s çæ´æ°è¯¦æ
ï¼%s"
+
+#~ msgid "Error:"
+#~ msgstr "é误ï¼"
+
+#~ msgid "Do you agree to this license?"
+#~ msgstr "æ¨åææ¬è®¸å¯åï¼"
+
+#~ msgid "The license was refused."
+#~ msgstr "æç»è¯¥è®¸å¯ã"
+
+#~ msgid "This tool could not connect to system DBUS."
+#~ msgstr "该工å
·æ æ³è¿æ¥å°ç³»ç» DBUSã"
+
+#~ msgid "A list file name to create is required"
+#~ msgstr "éè¦å»ºç«ä¸ä¸ªæ件å表"
+
+#~ msgid "A list file to open is required"
+#~ msgstr "éè¦æå¼ä¸ä¸ªæ件å表"
+
+#~ msgid "Incorrect privileges for this operation"
+#~ msgstr "æ¨æ²¡ææ¬æ¬¡æä½éè¦çå¿
è¦æé"
+
+#~ msgid "The package could not be found"
+#~ msgstr "æ æ³æ¾å°è¯¥è½¯ä»¶å
"
+
+#~ msgid "Failed to launch:"
+#~ msgstr "æ æ³æ§è¡"
commit a936e5083bcbb445e0fced1a16ed5d4c5cec6604
Author: warrink <warrink at fedoraproject.org>
Date: Wed Sep 30 17:55:34 2009 +0000
Sending translation for Dutch
diff --git a/po/nl.po b/po/nl.po
index f9b288c..d1a1ad9 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: packagekit.master.nl\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-09-25 08:37+0000\n"
-"PO-Revision-Date: 2009-09-25 14:46+0200\n"
+"POT-Creation-Date: 2009-09-30 15:31+0000\n"
+"PO-Revision-Date: 2009-09-30 19:55+0200\n"
"Last-Translator: Geert Warrink <geert.warrink at onsnet.nu>\n"
"Language-Team: nl <nl at li.org>\n"
"MIME-Version: 1.0\n"
@@ -133,8 +133,8 @@ msgstr "Details van de vernieuwing:"
#. TRANSLATORS: the package that is not signed by a known key
#. TRANSLATORS: the package name that was trying to be installed
#. TRANSLATORS: title, the names of the packages that the method is processing
-#: ../client/pk-console.c:249 ../lib/packagekit-glib2/pk-task-text.c:105
-#: ../lib/packagekit-glib2/pk-task-text.c:172
+#: ../client/pk-console.c:249 ../lib/packagekit-glib2/pk-task-text.c:107
+#: ../lib/packagekit-glib2/pk-task-text.c:174
#: ../src/pk-polkit-action-lookup.c:361
msgid "Package"
msgid_plural "Packages"
@@ -153,7 +153,7 @@ msgstr "Verouderde pakketten"
#. TRANSLATORS: details about the update, the vendor URLs
#. TRANSLATORS: the vendor (e.g. vmware) that is providing the EULA
-#: ../client/pk-console.c:260 ../lib/packagekit-glib2/pk-task-text.c:175
+#: ../client/pk-console.c:260 ../lib/packagekit-glib2/pk-task-text.c:177
msgid "Vendor"
msgstr "Verkoper"
@@ -194,7 +194,7 @@ msgstr "Uitgegeven"
#. TRANSLATORS: details about the update, date the update was updated
#. TRANSLATORS: The action of the package, in past tense
-#: ../client/pk-console.c:294 ../lib/packagekit-glib2/pk-console-shared.c:498
+#: ../client/pk-console.c:294 ../lib/packagekit-glib2/pk-console-shared.c:502
msgid "Updated"
msgstr "Vernieuwd"
@@ -260,8 +260,8 @@ msgstr "Fatale fout"
#. TRANSLATORS: the transaction failed in a way we could not expect
#: ../client/pk-console.c:484
-#: ../contrib/command-not-found/pk-command-not-found.c:422
-#: ../contrib/command-not-found/pk-command-not-found.c:563
+#: ../contrib/command-not-found/pk-command-not-found.c:426
+#: ../contrib/command-not-found/pk-command-not-found.c:567
msgid "The transaction failed"
msgstr "De transactie faalde"
@@ -344,15 +344,15 @@ msgstr ""
#. TRANSLATORS: command line argument, if we should show debugging information
#. TRANSLATORS: if we should show debugging data
#: ../client/pk-console.c:987 ../client/pk-generate-pack.c:223
-#: ../client/pk-monitor.c:276
-#: ../contrib/command-not-found/pk-command-not-found.c:616
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:511
+#: ../client/pk-monitor.c:281
+#: ../contrib/command-not-found/pk-command-not-found.c:620
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:512
#: ../contrib/device-rebind/pk-device-rebind.c:293 ../src/pk-main.c:211
msgid "Show extra debugging information"
msgstr "Extra debuginformatie tonen"
#. TRANSLATORS: command line argument, just show the version string
-#: ../client/pk-console.c:990 ../client/pk-monitor.c:278
+#: ../client/pk-console.c:990 ../client/pk-monitor.c:283
msgid "Show the program version and exit"
msgstr "Programmaversie tonen en sluiten"
@@ -594,12 +594,12 @@ msgstr "Servicepack aangemaakt '%s'"
msgid "Failed to create '%s': %s"
msgstr "'%s' aanmaken niet gelukt: %s"
-#: ../client/pk-monitor.c:206
+#: ../client/pk-monitor.c:211
msgid "Failed to get daemon state"
msgstr "Daemon toestand verkrijgen mislukte."
#. TRANSLATORS: this is a program that monitors PackageKit
-#: ../client/pk-monitor.c:294
+#: ../client/pk-monitor.c:299
msgid "PackageKit Monitor"
msgstr "PackageKit-monitor"
@@ -658,91 +658,91 @@ msgid "Installing..."
msgstr "Aan het installeren......"
#. TRANSLATORS: downloading repo data so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:357
+#: ../contrib/command-not-found/pk-command-not-found.c:361
msgid "Downloading details about the software sources."
msgstr "Download details over de software bronnen."
#. TRANSLATORS: downloading file lists so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:361
+#: ../contrib/command-not-found/pk-command-not-found.c:365
msgid "Downloading filelists (this may take some time to complete)."
msgstr "Bestands lijsten downloaden (dit kan enige tijd duren)."
#. TRANSLATORS: waiting for native lock
-#: ../contrib/command-not-found/pk-command-not-found.c:365
+#: ../contrib/command-not-found/pk-command-not-found.c:369
msgid "Waiting for package manager lock."
msgstr "Wachten op pakket beheerder blokkering."
#. TRANSLATORS: loading package cache so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:369
+#: ../contrib/command-not-found/pk-command-not-found.c:373
msgid "Loading list of packages."
msgstr "Lijst van pakketten downloaden."
#. TRANSLATORS: we failed to find the package, this shouldn't happen
-#: ../contrib/command-not-found/pk-command-not-found.c:413
+#: ../contrib/command-not-found/pk-command-not-found.c:417
msgid "Failed to search for file"
msgstr "Zoeken naar bestand niet gelukt"
#. TRANSLATORS: we failed to install the package
-#: ../contrib/command-not-found/pk-command-not-found.c:554
+#: ../contrib/command-not-found/pk-command-not-found.c:558
msgid "Failed to install packages"
msgstr "Kon pakketen niet installeren"
#. TRANSLATORS: tool that gets called when the command is not found
-#: ../contrib/command-not-found/pk-command-not-found.c:632
+#: ../contrib/command-not-found/pk-command-not-found.c:636
msgid "PackageKit Command Not Found"
msgstr "PackageKit Command niet gevonden"
#. TRANSLATORS: the prefix of all the output telling the user why it's not executing
-#: ../contrib/command-not-found/pk-command-not-found.c:660
+#: ../contrib/command-not-found/pk-command-not-found.c:664
msgid "Command not found."
msgstr "Commando niet gevonden."
#. TRANSLATORS: tell the user what we think the command is
-#: ../contrib/command-not-found/pk-command-not-found.c:667
+#: ../contrib/command-not-found/pk-command-not-found.c:671
msgid "Similar command is:"
msgstr "Een gelijkend commando is:"
#. TRANSLATORS: Ask the user if we should run the similar command
-#: ../contrib/command-not-found/pk-command-not-found.c:676
+#: ../contrib/command-not-found/pk-command-not-found.c:680
msgid "Run similar command:"
msgstr "Start gelijkend commando:"
#. TRANSLATORS: show the user a list of commands that they could have meant
#. TRANSLATORS: show the user a list of commands we could run
-#: ../contrib/command-not-found/pk-command-not-found.c:688
-#: ../contrib/command-not-found/pk-command-not-found.c:697
+#: ../contrib/command-not-found/pk-command-not-found.c:692
+#: ../contrib/command-not-found/pk-command-not-found.c:701
msgid "Similar commands are:"
msgstr "Gelijkende commando's zijn:"
#. TRANSLATORS: ask the user to choose a file to run
-#: ../contrib/command-not-found/pk-command-not-found.c:704
+#: ../contrib/command-not-found/pk-command-not-found.c:708
msgid "Please choose a command to run"
msgstr "Kies alstublieft een commando om te starten"
#. TRANSLATORS: tell the user what package provides the command
-#: ../contrib/command-not-found/pk-command-not-found.c:720
+#: ../contrib/command-not-found/pk-command-not-found.c:724
msgid "The package providing this file is:"
msgstr "Het pakket dat dit bestand levert is:"
#. TRANSLATORS: as the user if we want to install a package to provide the command
-#: ../contrib/command-not-found/pk-command-not-found.c:725
+#: ../contrib/command-not-found/pk-command-not-found.c:729
#, c-format
msgid "Install package '%s' to provide command '%s'?"
msgstr "Pakket '%s' installeren om commando '%s' te verkrijgen?"
#. TRANSLATORS: Show the user a list of packages that provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:743
+#: ../contrib/command-not-found/pk-command-not-found.c:747
msgid "Packages providing this file are:"
msgstr "Pakketten die dit bestand leveren zijn:"
#. TRANSLATORS: Show the user a list of packages that they can install to provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:753
+#: ../contrib/command-not-found/pk-command-not-found.c:757
msgid "Suitable packages are:"
msgstr "Geschikte pakketten zijn:"
#. get selection
#. TRANSLATORS: ask the user to choose a file to install
-#: ../contrib/command-not-found/pk-command-not-found.c:762
+#: ../contrib/command-not-found/pk-command-not-found.c:766
msgid "Please choose a package to install"
msgstr "Kies alstublieft een pakket om te installeren"
@@ -758,7 +758,7 @@ msgid "Failed to find the package %s, or already installed: %s"
msgstr "Pakket %s vinden is mislukt, of is reeds geïnstalleerd: %s"
#. command line argument, simulate what would be done, but don't actually do it
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:514
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:515
msgid ""
"Don't actually install any packages, only simulate what would be installed"
msgstr ""
@@ -766,178 +766,183 @@ msgstr ""
"worden"
#. command line argument, do we skip packages that depend on the ones specified
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:517
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:518
msgid "Do not install dependencies of the core packages"
msgstr "Installeer geen afhankelijkheden van de kern pakketten"
#. command line argument, do we operate quietly
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:520
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:521
msgid "Do not display information or progress"
msgstr "Laat geen informatie zien over de voortgang"
+#. command line argument, do we ask questions
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:524
+msgid "Install the packages without asking for confirmation"
+msgstr "Installeer het pakket zonder goedkeuring te vragen"
+
#. TRANSLATORS: tool that gets called when the command is not found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:535
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:539
msgid "PackageKit Debuginfo Installer"
msgstr "PackageKit debuginfo installer"
#. TRANSLATORS: the use needs to specify a list of package names on the command line
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:550
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:554
#, c-format
msgid "ERROR: Specify package names to install."
msgstr "FOUT: Specificeer de te installeren pakket namen."
#. TRANSLATORS: we are getting the list of repositories
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:579
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:590
#, c-format
msgid "Getting sources list"
msgstr "Ophalen bronnen lijst"
#. TRANSLATORS: operation was not successful
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:589
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:664
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:748
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:792
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:859
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:903
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:600
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:675
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:759
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:803
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:870
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:914
msgid "FAILED."
msgstr "MISLUKT."
#. TRANSLATORS: all completed 100%
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:604
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:644
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:679
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:763
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:807
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:874
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:918
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:615
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:655
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:690
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:774
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:818
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:885
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:929
#, c-format
msgid "OK."
msgstr "OK."
#. TRANSLATORS: tell the user what we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:607
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:618
#, c-format
msgid "Found %i enabled and %i disabled sources."
msgstr "Vond %i aangezette en %i uitgezette bronnen."
#. TRANSLATORS: we're finding repositories that match out pattern
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:614
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:625
#, c-format
msgid "Finding debugging sources"
msgstr "Zoeken naar debug bronnen"
#. TRANSLATORS: tell the user what we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:647
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:658
#, c-format
msgid "Found %i disabled debuginfo repos."
msgstr "Vond %i uitgezette debuginfo repo's"
#. TRANSLATORS: we're now enabling all the debug sources we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:654
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:665
#, c-format
msgid "Enabling debugging sources"
msgstr "Debug bronnen aanzetten"
#. TRANSLATORS: tell the user how many we enabled
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:682
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:693
#, c-format
msgid "Enabled %i debugging sources."
msgstr "%i debug bronnen aangezet."
#. TRANSLATORS: we're now finding packages that match in all the repos
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:689
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:700
#, c-format
msgid "Finding debugging packages"
msgstr "Zoeken naar debug pakketten"
#. TRANSLATORS: we couldn't find the package name, non-fatal
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:701
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:712
#, c-format
msgid "Failed to find the package %s: %s"
msgstr "Pakket %s vinden mislukte: %s"
#. TRANSLATORS: we couldn't find the debuginfo package name, non-fatal
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:724
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:735
#, c-format
msgid "Failed to find the debuginfo package %s: %s"
msgstr "Debug info pakket %s niet gevonden: %s"
#. TRANSLATORS: no debuginfo packages could be found to be installed
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:752
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:763
#, c-format
msgid "Found no packages to install."
msgstr "Geen pakketten gevonden om te installeren."
#. TRANSLATORS: tell the user we found some packages, and then list them
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:766
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:777
#, c-format
msgid "Found %i packages:"
msgstr "Vond %i pakketten:"
#. TRANSLATORS: tell the user we are searching for deps
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:782
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:793
#, c-format
msgid "Finding packages that depend on these packages"
msgstr "Zoeken naar pakketten die afhangen van deze pakketten"
#. TRANSLATORS: could not install, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:795
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:806
#, c-format
msgid "Could not find dependant packages: %s"
msgstr "Kon geen afhankelijke pakketten vinden: %s"
#. TRANSLATORS: tell the user we found some more packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:811
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:822
#, c-format
msgid "Found %i extra packages."
msgstr "Vond %i extra pakketten."
#. TRANSLATORS: tell the user we found some more packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:815
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:826
#, c-format
msgid "No extra packages required."
msgstr "Geen extra pakketten vereist."
#. TRANSLATORS: tell the user we found some packages (and deps), and then list them
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:824
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:835
#, c-format
msgid "Found %i packages to install:"
msgstr "Vond %i pakketten om te installeren:"
#. TRANSLATORS: simulate mode is a testing mode where we quit before the action
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:837
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:848
#, c-format
msgid "Not installing packages in simulate mode"
msgstr "Pakketten niet installeren in de simulatie mode"
#. TRANSLATORS: we are now installing the debuginfo packages we found earlier
#. TRANSLATORS: transaction state, installing packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:849
-#: ../lib/packagekit-glib2/pk-console-shared.c:270
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:860
+#: ../lib/packagekit-glib2/pk-console-shared.c:274
#, c-format
msgid "Installing packages"
msgstr "Pakketten installeren"
#. TRANSLATORS: could not install, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:862
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:873
#, c-format
msgid "Could not install packages: %s"
msgstr "Kon pakketen %s niet installeren."
#. TRANSLATORS: we are now disabling all debuginfo repos we previously enabled
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:894
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:905
#, c-format
msgid "Disabling sources previously enabled"
msgstr "Uitzetten van bronnen die eerst aangezet waren"
#. TRANSLATORS: no debuginfo packages could be found to be installed, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:906
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:917
#, c-format
msgid "Could not disable the debugging sources: %s"
msgstr "Kon de debug bronnen %s niet uitzetten"
#. TRANSLATORS: we disabled all the debugging repos that we enabled before
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:921
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:932
#, c-format
msgid "Disabled %i debugging sources."
msgstr "%i debug bronnen uitgezet."
@@ -1040,604 +1045,604 @@ msgstr "PackageKit Pakketlijst"
msgid "PackageKit Service Pack"
msgstr "PackageKit-servicepack"
-#: ../lib/packagekit-glib2/pk-console-shared.c:55
+#: ../lib/packagekit-glib2/pk-console-shared.c:59
#, c-format
msgid "Please enter a number from 1 to %i: "
msgstr "Voer een nummer in van 1 tot %i: "
#. TRANSLATORS: more than one package could be found that matched, to follow is a list of possible packages
-#: ../lib/packagekit-glib2/pk-console-shared.c:177
+#: ../lib/packagekit-glib2/pk-console-shared.c:181
msgid "More than one package matches:"
msgstr "Er zijn meerdere pakketten die overeenkomen:"
#. TRANSLATORS: This finds out which package in the list to use
-#: ../lib/packagekit-glib2/pk-console-shared.c:186
+#: ../lib/packagekit-glib2/pk-console-shared.c:190
msgid "Please choose the correct package: "
msgstr "Kies alstublieft het juiste pakket: "
#. TRANSLATORS: This is when the transaction status is not known
-#: ../lib/packagekit-glib2/pk-console-shared.c:238
+#: ../lib/packagekit-glib2/pk-console-shared.c:242
msgid "Unknown state"
msgstr "Onbekende toestand"
#. TRANSLATORS: transaction state, the daemon is in the process of starting
-#: ../lib/packagekit-glib2/pk-console-shared.c:242
+#: ../lib/packagekit-glib2/pk-console-shared.c:246
msgid "Starting"
msgstr "Opstarten"
#. TRANSLATORS: transaction state, the transaction is waiting for another to complete
-#: ../lib/packagekit-glib2/pk-console-shared.c:246
+#: ../lib/packagekit-glib2/pk-console-shared.c:250
msgid "Waiting in queue"
msgstr "Wachten in wachtrij"
#. TRANSLATORS: transaction state, just started
-#: ../lib/packagekit-glib2/pk-console-shared.c:250
+#: ../lib/packagekit-glib2/pk-console-shared.c:254
msgid "Running"
msgstr "Draaiende"
#. TRANSLATORS: transaction state, is querying data
-#: ../lib/packagekit-glib2/pk-console-shared.c:254
+#: ../lib/packagekit-glib2/pk-console-shared.c:258
msgid "Querying"
msgstr "Informatie ophalen"
#. TRANSLATORS: transaction state, getting data from a server
-#: ../lib/packagekit-glib2/pk-console-shared.c:258
+#: ../lib/packagekit-glib2/pk-console-shared.c:262
msgid "Getting information"
msgstr "Informatie krijgen"
#. TRANSLATORS: transaction state, removing packages
-#: ../lib/packagekit-glib2/pk-console-shared.c:262
+#: ../lib/packagekit-glib2/pk-console-shared.c:266
msgid "Removing packages"
msgstr "Pakketten verwijderen"
#. TRANSLATORS: transaction state, downloading package files
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:266
-#: ../lib/packagekit-glib2/pk-console-shared.c:644
+#: ../lib/packagekit-glib2/pk-console-shared.c:270
+#: ../lib/packagekit-glib2/pk-console-shared.c:648
msgid "Downloading packages"
msgstr "Pakketten aan het downloaden"
#. TRANSLATORS: transaction state, refreshing internal lists
-#: ../lib/packagekit-glib2/pk-console-shared.c:274
+#: ../lib/packagekit-glib2/pk-console-shared.c:278
msgid "Refreshing software list"
msgstr "Software lijst verversen"
#. TRANSLATORS: transaction state, installing updates
-#: ../lib/packagekit-glib2/pk-console-shared.c:278
+#: ../lib/packagekit-glib2/pk-console-shared.c:282
msgid "Installing updates"
msgstr "Vernieuwingen installeren"
#. TRANSLATORS: transaction state, removing old packages, and cleaning config files
-#: ../lib/packagekit-glib2/pk-console-shared.c:282
+#: ../lib/packagekit-glib2/pk-console-shared.c:286
msgid "Cleaning up packages"
msgstr "Pakketten opschonen"
#. TRANSLATORS: transaction state, obsoleting old packages
-#: ../lib/packagekit-glib2/pk-console-shared.c:286
+#: ../lib/packagekit-glib2/pk-console-shared.c:290
msgid "Obsoleting packages"
msgstr "Pakketten achterhaald maken"
#. TRANSLATORS: transaction state, checking the transaction before we do it
-#: ../lib/packagekit-glib2/pk-console-shared.c:290
+#: ../lib/packagekit-glib2/pk-console-shared.c:294
msgid "Resolving dependencies"
msgstr "Afhankelijkheden oplossen"
#. TRANSLATORS: transaction state, checking if we have all the security keys for the operation
-#: ../lib/packagekit-glib2/pk-console-shared.c:294
+#: ../lib/packagekit-glib2/pk-console-shared.c:298
msgid "Checking signatures"
msgstr "Ondertekeningen controleren"
#. TRANSLATORS: transaction state, when we return to a previous system state
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:298
-#: ../lib/packagekit-glib2/pk-console-shared.c:604
+#: ../lib/packagekit-glib2/pk-console-shared.c:302
+#: ../lib/packagekit-glib2/pk-console-shared.c:608
msgid "Rolling back"
msgstr "Terug draaien"
#. TRANSLATORS: transaction state, when we're doing a test transaction
-#: ../lib/packagekit-glib2/pk-console-shared.c:302
+#: ../lib/packagekit-glib2/pk-console-shared.c:306
msgid "Testing changes"
msgstr "Veranderingen testen"
#. TRANSLATORS: transaction state, when we're writing to the system package database
-#: ../lib/packagekit-glib2/pk-console-shared.c:306
+#: ../lib/packagekit-glib2/pk-console-shared.c:310
msgid "Committing changes"
msgstr "Veranderingen beschikbaar maken"
#. TRANSLATORS: transaction state, requesting data from a server
-#: ../lib/packagekit-glib2/pk-console-shared.c:310
+#: ../lib/packagekit-glib2/pk-console-shared.c:314
msgid "Requesting data"
msgstr "Data aanvragen"
#. TRANSLATORS: transaction state, all done!
-#: ../lib/packagekit-glib2/pk-console-shared.c:314
+#: ../lib/packagekit-glib2/pk-console-shared.c:318
msgid "Finished"
msgstr "Klaar"
#. TRANSLATORS: transaction state, in the process of cancelling
-#: ../lib/packagekit-glib2/pk-console-shared.c:318
+#: ../lib/packagekit-glib2/pk-console-shared.c:322
msgid "Cancelling"
msgstr "Afbreken"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:322
+#: ../lib/packagekit-glib2/pk-console-shared.c:326
msgid "Downloading repository information"
msgstr "Repository informatie downloaden"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:326
+#: ../lib/packagekit-glib2/pk-console-shared.c:330
msgid "Downloading list of packages"
msgstr "Lijst van pakketten downloaden"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:330
+#: ../lib/packagekit-glib2/pk-console-shared.c:334
msgid "Downloading file lists"
msgstr "Bestandslijsten downloaden"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:334
+#: ../lib/packagekit-glib2/pk-console-shared.c:338
msgid "Downloading lists of changes"
msgstr "Lijst van veranderingen downloaden."
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:338
+#: ../lib/packagekit-glib2/pk-console-shared.c:342
msgid "Downloading groups"
msgstr "Groepen downloaden"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:342
+#: ../lib/packagekit-glib2/pk-console-shared.c:346
msgid "Downloading update information"
msgstr "Pakketinformatie downloaden"
#. TRANSLATORS: transaction state, repackaging delta files
-#: ../lib/packagekit-glib2/pk-console-shared.c:346
+#: ../lib/packagekit-glib2/pk-console-shared.c:350
msgid "Repackaging files"
msgstr "Bestanden opnieuw inpakken"
#. TRANSLATORS: transaction state, loading databases
-#: ../lib/packagekit-glib2/pk-console-shared.c:350
+#: ../lib/packagekit-glib2/pk-console-shared.c:354
msgid "Loading cache"
msgstr "Cache laden"
#. TRANSLATORS: transaction state, scanning for running processes
-#: ../lib/packagekit-glib2/pk-console-shared.c:354
+#: ../lib/packagekit-glib2/pk-console-shared.c:358
msgid "Scanning applications"
msgstr "Toepassingen doorzoeken"
#. TRANSLATORS: transaction state, generating a list of packages installed on the system
-#: ../lib/packagekit-glib2/pk-console-shared.c:358
+#: ../lib/packagekit-glib2/pk-console-shared.c:362
msgid "Generating package lists"
msgstr "Pakketlijst aanmaken"
#. TRANSLATORS: transaction state, when we're waiting for the native tools to exit
-#: ../lib/packagekit-glib2/pk-console-shared.c:362
+#: ../lib/packagekit-glib2/pk-console-shared.c:366
msgid "Waiting for package manager lock"
msgstr "Wachten op pakket beheerder blokkering"
#. TRANSLATORS: transaction state, waiting for user to type in a password
-#: ../lib/packagekit-glib2/pk-console-shared.c:366
+#: ../lib/packagekit-glib2/pk-console-shared.c:370
msgid "Waiting for authentication"
msgstr "Wachten op authenticatie"
#. TRANSLATORS: transaction state, we are updating the list of processes
-#: ../lib/packagekit-glib2/pk-console-shared.c:370
+#: ../lib/packagekit-glib2/pk-console-shared.c:374
msgid "Updating running applications"
msgstr "Draaiende toepassingen vernieuwen"
#. TRANSLATORS: transaction state, we are checking executable files currently in use
-#: ../lib/packagekit-glib2/pk-console-shared.c:374
+#: ../lib/packagekit-glib2/pk-console-shared.c:378
msgid "Checking applications in use"
msgstr "Controleren van toepassingen in gebruik"
#. TRANSLATORS: transaction state, we are checking for libraries currently in use
-#: ../lib/packagekit-glib2/pk-console-shared.c:378
+#: ../lib/packagekit-glib2/pk-console-shared.c:382
msgid "Checking libraries in use"
msgstr "Controleren van bibliotheken in gebruik"
#. TRANSLATORS: transaction state, we are copying package files before or after the transaction
-#: ../lib/packagekit-glib2/pk-console-shared.c:382
+#: ../lib/packagekit-glib2/pk-console-shared.c:386
msgid "Copying files"
msgstr "Bestanden kopiëren"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:400
+#: ../lib/packagekit-glib2/pk-console-shared.c:404
msgid "Trivial"
msgstr "Triviaal"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:404
+#: ../lib/packagekit-glib2/pk-console-shared.c:408
msgid "Normal"
msgstr "Normaal"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:408
+#: ../lib/packagekit-glib2/pk-console-shared.c:412
msgid "Important"
msgstr "Belangrijk"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:412
+#: ../lib/packagekit-glib2/pk-console-shared.c:416
msgid "Security"
msgstr "Beveiliging"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:416
+#: ../lib/packagekit-glib2/pk-console-shared.c:420
msgid "Bug fix "
msgstr "Fout reparatie"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:420
+#: ../lib/packagekit-glib2/pk-console-shared.c:424
msgid "Enhancement"
msgstr "Verbetering"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:424
+#: ../lib/packagekit-glib2/pk-console-shared.c:428
msgid "Blocked"
msgstr "Geblokkeerd"
#. TRANSLATORS: The state of a package
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:429
-#: ../lib/packagekit-glib2/pk-console-shared.c:502
+#: ../lib/packagekit-glib2/pk-console-shared.c:433
+#: ../lib/packagekit-glib2/pk-console-shared.c:506
msgid "Installed"
msgstr "Geïnstalleerd"
#. TRANSLATORS: The state of a package, i.e. not installed
-#: ../lib/packagekit-glib2/pk-console-shared.c:434
+#: ../lib/packagekit-glib2/pk-console-shared.c:438
msgid "Available"
msgstr "Beschikbaar"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:452
+#: ../lib/packagekit-glib2/pk-console-shared.c:456
msgid "Downloading"
msgstr "Downloaden"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:456
+#: ../lib/packagekit-glib2/pk-console-shared.c:460
msgid "Updating"
msgstr "Vernieuwen"
#. TRANSLATORS: The action of the package, in present tense
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:460
-#: ../lib/packagekit-glib2/pk-console-shared.c:580
+#: ../lib/packagekit-glib2/pk-console-shared.c:464
+#: ../lib/packagekit-glib2/pk-console-shared.c:584
msgid "Installing"
msgstr "Installeren"
#. TRANSLATORS: The action of the package, in present tense
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:464
-#: ../lib/packagekit-glib2/pk-console-shared.c:576
+#: ../lib/packagekit-glib2/pk-console-shared.c:468
+#: ../lib/packagekit-glib2/pk-console-shared.c:580
msgid "Removing"
msgstr "Verwijderen"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:468
+#: ../lib/packagekit-glib2/pk-console-shared.c:472
msgid "Cleaning up"
msgstr "Opschonen"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:472
+#: ../lib/packagekit-glib2/pk-console-shared.c:476
msgid "Obsoleting"
msgstr "Verouderd maken"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:476
+#: ../lib/packagekit-glib2/pk-console-shared.c:480
msgid "Reinstalling"
msgstr "Hergeïnstalleerd"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:494
+#: ../lib/packagekit-glib2/pk-console-shared.c:498
msgid "Downloaded"
msgstr "Downloaden"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:506
+#: ../lib/packagekit-glib2/pk-console-shared.c:510
msgid "Removed"
msgstr "Verwijderd"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:510
+#: ../lib/packagekit-glib2/pk-console-shared.c:514
msgid "Cleaned up"
msgstr "Opgeruimd"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:514
+#: ../lib/packagekit-glib2/pk-console-shared.c:518
msgid "Obsoleted"
msgstr "Verouderd"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:518
+#: ../lib/packagekit-glib2/pk-console-shared.c:522
msgid "Reinstalled"
msgstr "Herge"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:536
+#: ../lib/packagekit-glib2/pk-console-shared.c:540
msgid "Unknown role type"
msgstr "Onbekend rol type"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:540
+#: ../lib/packagekit-glib2/pk-console-shared.c:544
msgid "Getting dependencies"
msgstr "Afhankelijkheden ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:544
+#: ../lib/packagekit-glib2/pk-console-shared.c:548
msgid "Getting update details"
msgstr "Vernieuwings details ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:548
+#: ../lib/packagekit-glib2/pk-console-shared.c:552
msgid "Getting details"
msgstr "Details ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:552
+#: ../lib/packagekit-glib2/pk-console-shared.c:556
msgid "Getting requires"
msgstr "Vereisten ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:556
+#: ../lib/packagekit-glib2/pk-console-shared.c:560
msgid "Getting updates"
msgstr "Vernieuwingen ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:560
+#: ../lib/packagekit-glib2/pk-console-shared.c:564
msgid "Searching by details"
msgstr "Opzoeken volgens details"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:564
+#: ../lib/packagekit-glib2/pk-console-shared.c:568
msgid "Searching by file"
msgstr "Opzoeken volgens bestand"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:568
+#: ../lib/packagekit-glib2/pk-console-shared.c:572
msgid "Searching groups"
msgstr "Opzoeken volgens groepen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:572
+#: ../lib/packagekit-glib2/pk-console-shared.c:576
msgid "Searching by name"
msgstr "Opzoeken volgens naam"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:584
+#: ../lib/packagekit-glib2/pk-console-shared.c:588
msgid "Installing files"
msgstr "Bestanden installeren"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:588
+#: ../lib/packagekit-glib2/pk-console-shared.c:592
msgid "Refreshing cache"
msgstr "Cache verversen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:592
+#: ../lib/packagekit-glib2/pk-console-shared.c:596
msgid "Updating packages"
msgstr "Pakketten vernieuwen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:596
+#: ../lib/packagekit-glib2/pk-console-shared.c:600
msgid "Updating system"
msgstr "Systeem vernieuwen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:600
+#: ../lib/packagekit-glib2/pk-console-shared.c:604
msgid "Canceling"
msgstr "Afbreken"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:608
+#: ../lib/packagekit-glib2/pk-console-shared.c:612
msgid "Getting repositories"
msgstr "Repositories ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:612
+#: ../lib/packagekit-glib2/pk-console-shared.c:616
msgid "Enabling repository"
msgstr "Repository aanzetten"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:616
+#: ../lib/packagekit-glib2/pk-console-shared.c:620
msgid "Setting data"
msgstr "Data instellen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:620
+#: ../lib/packagekit-glib2/pk-console-shared.c:624
msgid "Resolving"
msgstr "Oplossen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:624
+#: ../lib/packagekit-glib2/pk-console-shared.c:628
msgid "Getting file list"
msgstr "Bestandslijst ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:628
+#: ../lib/packagekit-glib2/pk-console-shared.c:632
msgid "Getting provides"
msgstr "Voorzieningen ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:632
+#: ../lib/packagekit-glib2/pk-console-shared.c:636
msgid "Installing signature"
msgstr "Onderstekening installeren"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:636
+#: ../lib/packagekit-glib2/pk-console-shared.c:640
msgid "Getting packages"
msgstr "Pakketten ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:640
+#: ../lib/packagekit-glib2/pk-console-shared.c:644
msgid "Accepting EULA"
msgstr "EULA accepteren"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:648
+#: ../lib/packagekit-glib2/pk-console-shared.c:652
msgid "Getting upgrades"
msgstr "Vernieuwingen ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:652
+#: ../lib/packagekit-glib2/pk-console-shared.c:656
msgid "Getting categories"
msgstr "Categorieën ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:656
+#: ../lib/packagekit-glib2/pk-console-shared.c:660
msgid "Getting transactions"
msgstr "Transcaties ophalen"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:660
#: ../lib/packagekit-glib2/pk-console-shared.c:664
+#: ../lib/packagekit-glib2/pk-console-shared.c:668
msgid "Simulating install"
msgstr "Installatie simuleren"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:668
+#: ../lib/packagekit-glib2/pk-console-shared.c:672
msgid "Simulating remove"
msgstr "Verwijderen simuleren"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:672
+#: ../lib/packagekit-glib2/pk-console-shared.c:676
msgid "Simulating update"
msgstr "Vernieuwing simuleren"
#. TRANSLATORS: ask the user if they are comfortable installing insecure packages
-#: ../lib/packagekit-glib2/pk-task-text.c:64
+#: ../lib/packagekit-glib2/pk-task-text.c:66
msgid "Do you want to allow installing of unsigned software?"
msgstr "Wil het installeren van niet ondertekende software toestaan?"
#. TRANSLATORS: tell the user we've not done anything
-#: ../lib/packagekit-glib2/pk-task-text.c:69
+#: ../lib/packagekit-glib2/pk-task-text.c:71
msgid "The unsigned software will not be installed."
msgstr "De niet ondertekende software wordt niet geïnstalleerd."
#. TRANSLATORS: the package repository is signed by a key that is not recognised
-#: ../lib/packagekit-glib2/pk-task-text.c:102
+#: ../lib/packagekit-glib2/pk-task-text.c:104
msgid "Software source signature required"
msgstr "Softeare bron ondertekening vereist"
#. TRANSLATORS: the package repository name
-#: ../lib/packagekit-glib2/pk-task-text.c:108
+#: ../lib/packagekit-glib2/pk-task-text.c:110
msgid "Software source name"
msgstr "Softwarebron naam"
#. TRANSLATORS: the key URL
-#: ../lib/packagekit-glib2/pk-task-text.c:111
+#: ../lib/packagekit-glib2/pk-task-text.c:113
msgid "Key URL"
msgstr "Sleutel URL"
#. TRANSLATORS: the username of the key
-#: ../lib/packagekit-glib2/pk-task-text.c:114
+#: ../lib/packagekit-glib2/pk-task-text.c:116
msgid "Key user"
msgstr "Sleutel gebruiker"
#. TRANSLATORS: the key ID, usually a few hex digits
-#: ../lib/packagekit-glib2/pk-task-text.c:117
+#: ../lib/packagekit-glib2/pk-task-text.c:119
msgid "Key ID"
msgstr "Sleutel ID"
#. TRANSLATORS: the key fingerprint, again, yet more hex
-#: ../lib/packagekit-glib2/pk-task-text.c:120
+#: ../lib/packagekit-glib2/pk-task-text.c:122
msgid "Key fingerprint"
msgstr "Sleutel vingerafdruk"
#. TRANSLATORS: the timestamp (a bit like a machine readable time)
-#: ../lib/packagekit-glib2/pk-task-text.c:123
+#: ../lib/packagekit-glib2/pk-task-text.c:125
msgid "Key Timestamp"
msgstr "Sleutel tijdstempel"
#. TRANSLATORS: ask the user if they want to import
-#: ../lib/packagekit-glib2/pk-task-text.c:129
+#: ../lib/packagekit-glib2/pk-task-text.c:131
msgid "Do you accept this signature?"
msgstr "Accepteert u deze signatuur?"
#. TRANSLATORS: tell the user we've not done anything
-#: ../lib/packagekit-glib2/pk-task-text.c:134
+#: ../lib/packagekit-glib2/pk-task-text.c:136
msgid "The signature was not accepted."
msgstr "De signatuur werd niet geaccepteerd"
#. TRANSLATORS: this is another name for a software licence that has to be read before installing
-#: ../lib/packagekit-glib2/pk-task-text.c:169
+#: ../lib/packagekit-glib2/pk-task-text.c:171
msgid "End user licence agreement required"
msgstr "Eindgebruiker licentie overeenkomst vereist"
#. TRANSLATORS: the EULA text itself (long and boring)
-#: ../lib/packagekit-glib2/pk-task-text.c:178
+#: ../lib/packagekit-glib2/pk-task-text.c:180
msgid "Agreement"
msgstr "Overeenkomst"
#. TRANSLATORS: ask the user if they've read and accepted the EULA
-#: ../lib/packagekit-glib2/pk-task-text.c:184
+#: ../lib/packagekit-glib2/pk-task-text.c:186
msgid "Do you accept this agreement?"
msgstr "Accepteer je deze overeenkomst?"
#. TRANSLATORS: tell the user we've not done anything
-#: ../lib/packagekit-glib2/pk-task-text.c:189
+#: ../lib/packagekit-glib2/pk-task-text.c:191
msgid "The agreement was not accepted."
msgstr "De overeenkomst werd niet geaccepteerd"
#. TRANSLATORS: the user needs to change media inserted into the computer
-#: ../lib/packagekit-glib2/pk-task-text.c:219
+#: ../lib/packagekit-glib2/pk-task-text.c:221
msgid "Media change required"
msgstr "Media verandering vereist."
#. TRANSLATORS: the type, e.g. DVD, CD, etc
-#: ../lib/packagekit-glib2/pk-task-text.c:222
+#: ../lib/packagekit-glib2/pk-task-text.c:224
msgid "Media type"
msgstr "Media type"
#. TRANSLATORS: the media label, usually like 'disk-1of3'
-#: ../lib/packagekit-glib2/pk-task-text.c:225
+#: ../lib/packagekit-glib2/pk-task-text.c:227
msgid "Media label"
msgstr "Media label"
#. TRANSLATORS: the media description, usually like 'Fedora 12 disk 5'
-#: ../lib/packagekit-glib2/pk-task-text.c:228
+#: ../lib/packagekit-glib2/pk-task-text.c:230
msgid "Text"
msgstr "Tekst"
#. TRANSLATORS: ask the user to insert the media
-#: ../lib/packagekit-glib2/pk-task-text.c:232
+#: ../lib/packagekit-glib2/pk-task-text.c:234
msgid "Please insert the correct media"
msgstr "Breng a.u.b de juiste media in"
#. TRANSLATORS: tell the user we've not done anything as they are lazy
-#: ../lib/packagekit-glib2/pk-task-text.c:237
+#: ../lib/packagekit-glib2/pk-task-text.c:239
msgid "The correct media was not inserted."
msgstr "De juiste media was niet ingebracht."
#. TRANSLATORS: When processing, we might have to remove other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:252
+#: ../lib/packagekit-glib2/pk-task-text.c:254
msgid "The following packages have to be removed:"
msgstr "De volgende pakketten moeten worden verwijderd:"
#. TRANSLATORS: When processing, we might have to install other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:257
+#: ../lib/packagekit-glib2/pk-task-text.c:259
msgid "The following packages have to be installed:"
msgstr "De volgende pakketten moeten worden geïnstalleerd"
#. TRANSLATORS: When processing, we might have to update other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:262
+#: ../lib/packagekit-glib2/pk-task-text.c:264
msgid "The following packages have to be updated:"
msgstr "De volgende pakketten moeten worden vernieuwd:"
#. TRANSLATORS: When processing, we might have to reinstall other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:267
+#: ../lib/packagekit-glib2/pk-task-text.c:269
msgid "The following packages have to be reinstalled:"
msgstr "De volgende pakketten moeten opnieuw geïnstalleerd worden:"
#. TRANSLATORS: When processing, we might have to downgrade other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:272
+#: ../lib/packagekit-glib2/pk-task-text.c:274
msgid "The following packages have to be downgraded:"
msgstr "De volgende pakketten moeten gedegradeerd worden:"
#. TRANSLATORS: ask the user if the proposed changes are okay
-#: ../lib/packagekit-glib2/pk-task-text.c:331
+#: ../lib/packagekit-glib2/pk-task-text.c:333
msgid "Proceed with changes?"
msgstr "Doorgaan met veranderingen?"
#. TRANSLATORS: tell the user we didn't do anything
-#: ../lib/packagekit-glib2/pk-task-text.c:336
+#: ../lib/packagekit-glib2/pk-task-text.c:338
msgid "The transaction did not proceed."
msgstr "De transactie ging niet verder."
commit 6ea83c7a57f410271956f74023e3cfd030a3afce
Author: raven <raven at fedoraproject.org>
Date: Wed Sep 30 17:14:49 2009 +0000
Sending translation for Polish
diff --git a/po/pl.po b/po/pl.po
index 2f4d2d3..8fdb73a 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: pl\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-09-25 08:37+0000\n"
-"PO-Revision-Date: 2009-09-25 10:48+0200\n"
+"POT-Creation-Date: 2009-09-30 15:31+0000\n"
+"PO-Revision-Date: 2009-09-30 19:14+0200\n"
"Last-Translator: Piotr DrÄ
g <piotrdrag at gmail.com>\n"
"Language-Team: Polish <fedora-trans-pl at redhat.com>\n"
"MIME-Version: 1.0\n"
@@ -132,8 +132,8 @@ msgstr "SzczegóÅy aktualizacji:"
#. TRANSLATORS: the package that is not signed by a known key
#. TRANSLATORS: the package name that was trying to be installed
#. TRANSLATORS: title, the names of the packages that the method is processing
-#: ../client/pk-console.c:249 ../lib/packagekit-glib2/pk-task-text.c:105
-#: ../lib/packagekit-glib2/pk-task-text.c:172
+#: ../client/pk-console.c:249 ../lib/packagekit-glib2/pk-task-text.c:107
+#: ../lib/packagekit-glib2/pk-task-text.c:174
#: ../src/pk-polkit-action-lookup.c:361
msgid "Package"
msgid_plural "Packages"
@@ -153,7 +153,7 @@ msgstr "ZastÄpuje"
#. TRANSLATORS: details about the update, the vendor URLs
#. TRANSLATORS: the vendor (e.g. vmware) that is providing the EULA
-#: ../client/pk-console.c:260 ../lib/packagekit-glib2/pk-task-text.c:175
+#: ../client/pk-console.c:260 ../lib/packagekit-glib2/pk-task-text.c:177
msgid "Vendor"
msgstr "Producent"
@@ -194,7 +194,7 @@ msgstr "Wydano"
#. TRANSLATORS: details about the update, date the update was updated
#. TRANSLATORS: The action of the package, in past tense
-#: ../client/pk-console.c:294 ../lib/packagekit-glib2/pk-console-shared.c:498
+#: ../client/pk-console.c:294 ../lib/packagekit-glib2/pk-console-shared.c:502
msgid "Updated"
msgstr "Zaktualizowano"
@@ -260,8 +260,8 @@ msgstr "Krytyczny bÅÄ
d"
#. TRANSLATORS: the transaction failed in a way we could not expect
#: ../client/pk-console.c:484
-#: ../contrib/command-not-found/pk-command-not-found.c:422
-#: ../contrib/command-not-found/pk-command-not-found.c:563
+#: ../contrib/command-not-found/pk-command-not-found.c:426
+#: ../contrib/command-not-found/pk-command-not-found.c:567
msgid "The transaction failed"
msgstr "Transakcja nie powiodÅa siÄ"
@@ -346,15 +346,15 @@ msgstr ""
#. TRANSLATORS: command line argument, if we should show debugging information
#. TRANSLATORS: if we should show debugging data
#: ../client/pk-console.c:987 ../client/pk-generate-pack.c:223
-#: ../client/pk-monitor.c:276
-#: ../contrib/command-not-found/pk-command-not-found.c:616
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:511
+#: ../client/pk-monitor.c:281
+#: ../contrib/command-not-found/pk-command-not-found.c:620
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:512
#: ../contrib/device-rebind/pk-device-rebind.c:293 ../src/pk-main.c:211
msgid "Show extra debugging information"
msgstr "WyÅwietla dodatkowe informacje o debugowaniu"
#. TRANSLATORS: command line argument, just show the version string
-#: ../client/pk-console.c:990 ../client/pk-monitor.c:278
+#: ../client/pk-console.c:990 ../client/pk-monitor.c:283
msgid "Show the program version and exit"
msgstr "WyÅwietla wersjÄ programu i wyÅÄ
cza"
@@ -594,12 +594,12 @@ msgstr "Utworzono pakiet serwisowy \"%s\""
msgid "Failed to create '%s': %s"
msgstr "Utworzenie \"%s\" nie powiodÅo siÄ: %s"
-#: ../client/pk-monitor.c:206
+#: ../client/pk-monitor.c:211
msgid "Failed to get daemon state"
msgstr "Uzyskanie stanu demona nie powiodÅo siÄ"
#. TRANSLATORS: this is a program that monitors PackageKit
-#: ../client/pk-monitor.c:294
+#: ../client/pk-monitor.c:299
msgid "PackageKit Monitor"
msgstr "Monitor PackageKit"
@@ -658,91 +658,91 @@ msgid "Installing..."
msgstr "Instalowanie..."
#. TRANSLATORS: downloading repo data so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:357
+#: ../contrib/command-not-found/pk-command-not-found.c:361
msgid "Downloading details about the software sources."
msgstr "Pobieranie szczegóÅów o źródÅach oprogramowania."
#. TRANSLATORS: downloading file lists so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:361
+#: ../contrib/command-not-found/pk-command-not-found.c:365
msgid "Downloading filelists (this may take some time to complete)."
msgstr "Pobieranie list plików (może to zajÄ
Ä trochÄ czasu)."
#. TRANSLATORS: waiting for native lock
-#: ../contrib/command-not-found/pk-command-not-found.c:365
+#: ../contrib/command-not-found/pk-command-not-found.c:369
msgid "Waiting for package manager lock."
msgstr "Oczekiwanie na blokadÄ menedżera pakietów."
#. TRANSLATORS: loading package cache so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:369
+#: ../contrib/command-not-found/pk-command-not-found.c:373
msgid "Loading list of packages."
msgstr "Wczytywanie listy pakietów."
#. TRANSLATORS: we failed to find the package, this shouldn't happen
-#: ../contrib/command-not-found/pk-command-not-found.c:413
+#: ../contrib/command-not-found/pk-command-not-found.c:417
msgid "Failed to search for file"
msgstr "Odnalezienie pliku nie powiodÅo siÄ"
#. TRANSLATORS: we failed to install the package
-#: ../contrib/command-not-found/pk-command-not-found.c:554
+#: ../contrib/command-not-found/pk-command-not-found.c:558
msgid "Failed to install packages"
msgstr "Zainstalowanie pakietów nie powiodÅo siÄ"
#. TRANSLATORS: tool that gets called when the command is not found
-#: ../contrib/command-not-found/pk-command-not-found.c:632
+#: ../contrib/command-not-found/pk-command-not-found.c:636
msgid "PackageKit Command Not Found"
msgstr "Nie odnaleziono polecenia PackageKit"
#. TRANSLATORS: the prefix of all the output telling the user why it's not executing
-#: ../contrib/command-not-found/pk-command-not-found.c:660
+#: ../contrib/command-not-found/pk-command-not-found.c:664
msgid "Command not found."
msgstr "Nie odnaleziono polecenia."
#. TRANSLATORS: tell the user what we think the command is
-#: ../contrib/command-not-found/pk-command-not-found.c:667
+#: ../contrib/command-not-found/pk-command-not-found.c:671
msgid "Similar command is:"
msgstr "Podobne polecenie:"
#. TRANSLATORS: Ask the user if we should run the similar command
-#: ../contrib/command-not-found/pk-command-not-found.c:676
+#: ../contrib/command-not-found/pk-command-not-found.c:680
msgid "Run similar command:"
msgstr "Wykonaj podobne polecenie:"
#. TRANSLATORS: show the user a list of commands that they could have meant
#. TRANSLATORS: show the user a list of commands we could run
-#: ../contrib/command-not-found/pk-command-not-found.c:688
-#: ../contrib/command-not-found/pk-command-not-found.c:697
+#: ../contrib/command-not-found/pk-command-not-found.c:692
+#: ../contrib/command-not-found/pk-command-not-found.c:701
msgid "Similar commands are:"
msgstr "Podobne polecenia:"
#. TRANSLATORS: ask the user to choose a file to run
-#: ../contrib/command-not-found/pk-command-not-found.c:704
+#: ../contrib/command-not-found/pk-command-not-found.c:708
msgid "Please choose a command to run"
msgstr "ProszÄ wybraÄ polecenie do wykonania"
#. TRANSLATORS: tell the user what package provides the command
-#: ../contrib/command-not-found/pk-command-not-found.c:720
+#: ../contrib/command-not-found/pk-command-not-found.c:724
msgid "The package providing this file is:"
msgstr "Pakiet dostarczajÄ
cy ten plik:"
#. TRANSLATORS: as the user if we want to install a package to provide the command
-#: ../contrib/command-not-found/pk-command-not-found.c:725
+#: ../contrib/command-not-found/pk-command-not-found.c:729
#, c-format
msgid "Install package '%s' to provide command '%s'?"
msgstr "ZainstalowaÄ pakiet \"%s\", aby dostarczyÄ polecenie \"%s\"?"
#. TRANSLATORS: Show the user a list of packages that provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:743
+#: ../contrib/command-not-found/pk-command-not-found.c:747
msgid "Packages providing this file are:"
msgstr "Pakiety dostarczajÄ
ce ten plik:"
#. TRANSLATORS: Show the user a list of packages that they can install to provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:753
+#: ../contrib/command-not-found/pk-command-not-found.c:757
msgid "Suitable packages are:"
msgstr "Odpowiednie pakiety:"
#. get selection
#. TRANSLATORS: ask the user to choose a file to install
-#: ../contrib/command-not-found/pk-command-not-found.c:762
+#: ../contrib/command-not-found/pk-command-not-found.c:766
msgid "Please choose a package to install"
msgstr "ProszÄ wybraÄ pakiet do zainstalowania"
@@ -759,184 +759,189 @@ msgstr ""
"Odnalezienie pakietu %s nie powiodÅo siÄ lub jest już zainstalowany: %s"
#. command line argument, simulate what would be done, but don't actually do it
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:514
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:515
msgid ""
"Don't actually install any packages, only simulate what would be installed"
msgstr "Nie instaluje żadnych pakietów, tylko symuluje instalacjÄ"
#. command line argument, do we skip packages that depend on the ones specified
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:517
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:518
msgid "Do not install dependencies of the core packages"
msgstr "Nie instaluje zależnoÅci podstawowych pakietów"
#. command line argument, do we operate quietly
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:520
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:521
msgid "Do not display information or progress"
msgstr "Nie wyÅwietla informacji lub postÄpu"
+#. command line argument, do we ask questions
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:524
+msgid "Install the packages without asking for confirmation"
+msgstr "Instaluje pakiety bez proÅby o potwierdzenie"
+
#. TRANSLATORS: tool that gets called when the command is not found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:535
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:539
msgid "PackageKit Debuginfo Installer"
msgstr "Instalator pakietów debugowania PackageKit"
#. TRANSLATORS: the use needs to specify a list of package names on the command line
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:550
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:554
#, c-format
msgid "ERROR: Specify package names to install."
msgstr "BÅÄD: proszÄ podaÄ nazwy pakietów do zainstalowania."
#. TRANSLATORS: we are getting the list of repositories
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:579
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:590
#, c-format
msgid "Getting sources list"
msgstr "Pobieranie listy źródeÅ"
#. TRANSLATORS: operation was not successful
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:589
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:664
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:748
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:792
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:859
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:903
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:600
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:675
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:759
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:803
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:870
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:914
msgid "FAILED."
msgstr "NIEUDANE."
#. TRANSLATORS: all completed 100%
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:604
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:644
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:679
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:763
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:807
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:874
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:918
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:615
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:655
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:690
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:774
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:818
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:885
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:929
#, c-format
msgid "OK."
msgstr "OK."
#. TRANSLATORS: tell the user what we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:607
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:618
#, c-format
msgid "Found %i enabled and %i disabled sources."
msgstr "Odnaleziono %i wÅÄ
czone i %i wyÅÄ
czone źródÅa."
#. TRANSLATORS: we're finding repositories that match out pattern
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:614
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:625
#, c-format
msgid "Finding debugging sources"
msgstr "Wyszukiwanie źródeŠpakietów debugowania"
#. TRANSLATORS: tell the user what we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:647
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:658
#, c-format
msgid "Found %i disabled debuginfo repos."
msgstr "Odnaleziono %i wyÅÄ
czone repozytoria pakietów debugowania."
#. TRANSLATORS: we're now enabling all the debug sources we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:654
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:665
#, c-format
msgid "Enabling debugging sources"
msgstr "WÅÄ
czanie źródeŠpakietów debugowania"
#. TRANSLATORS: tell the user how many we enabled
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:682
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:693
#, c-format
msgid "Enabled %i debugging sources."
msgstr "WÅÄ
czono %i źródÅa pakietów debugowania."
#. TRANSLATORS: we're now finding packages that match in all the repos
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:689
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:700
#, c-format
msgid "Finding debugging packages"
msgstr "Wyszukiwanie źródeŠpakietów debugowania"
#. TRANSLATORS: we couldn't find the package name, non-fatal
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:701
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:712
#, c-format
msgid "Failed to find the package %s: %s"
msgstr "Odnalezienie pakietu %s nie powiodÅo siÄ: %s"
#. TRANSLATORS: we couldn't find the debuginfo package name, non-fatal
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:724
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:735
#, c-format
msgid "Failed to find the debuginfo package %s: %s"
msgstr "Odnalezienie pakietu debugowania %s nie powiodÅo siÄ: %s"
#. TRANSLATORS: no debuginfo packages could be found to be installed
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:752
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:763
#, c-format
msgid "Found no packages to install."
msgstr "Nie odnaleziono pakietów do zainstalowania."
#. TRANSLATORS: tell the user we found some packages, and then list them
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:766
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:777
#, c-format
msgid "Found %i packages:"
msgstr "Odnaleziono %i pakiety:"
#. TRANSLATORS: tell the user we are searching for deps
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:782
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:793
#, c-format
msgid "Finding packages that depend on these packages"
msgstr "Wyszukiwanie pakietów zależnych od tych pakietów"
#. TRANSLATORS: could not install, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:795
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:806
#, c-format
msgid "Could not find dependant packages: %s"
msgstr "Nie można odnaleÅºÄ zależnych pakietów: %s"
#. TRANSLATORS: tell the user we found some more packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:811
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:822
#, c-format
msgid "Found %i extra packages."
msgstr "Odnaleziono %i dodatkowe pakiety."
#. TRANSLATORS: tell the user we found some more packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:815
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:826
#, c-format
msgid "No extra packages required."
msgstr "Dodatkowe pakiety nie sÄ
wymagane."
#. TRANSLATORS: tell the user we found some packages (and deps), and then list them
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:824
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:835
#, c-format
msgid "Found %i packages to install:"
msgstr "Odnaleziono %i pakiety do zainstalowania:"
#. TRANSLATORS: simulate mode is a testing mode where we quit before the action
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:837
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:848
#, c-format
msgid "Not installing packages in simulate mode"
msgstr "Pakiety nie zostanÄ
zainstalowane w trybie symulacji"
#. TRANSLATORS: we are now installing the debuginfo packages we found earlier
#. TRANSLATORS: transaction state, installing packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:849
-#: ../lib/packagekit-glib2/pk-console-shared.c:270
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:860
+#: ../lib/packagekit-glib2/pk-console-shared.c:274
#, c-format
msgid "Installing packages"
msgstr "Instalowanie pakietów"
#. TRANSLATORS: could not install, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:862
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:873
#, c-format
msgid "Could not install packages: %s"
msgstr "Nie można zainstalowaÄ pakietów: %s"
#. TRANSLATORS: we are now disabling all debuginfo repos we previously enabled
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:894
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:905
#, c-format
msgid "Disabling sources previously enabled"
msgstr "WyÅÄ
czanie źródeÅ poprzednio wÅÄ
czonych"
#. TRANSLATORS: no debuginfo packages could be found to be installed, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:906
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:917
#, c-format
msgid "Could not disable the debugging sources: %s"
msgstr "Nie można wyÅÄ
czyÄ ÅºródeÅ pakietów debugowania: %s"
#. TRANSLATORS: we disabled all the debugging repos that we enabled before
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:921
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:932
#, c-format
msgid "Disabled %i debugging sources."
msgstr "WyÅÄ
czono %i źródÅa pakietów debugowania."
@@ -1039,604 +1044,604 @@ msgstr "Lista pakietów PackageKit"
msgid "PackageKit Service Pack"
msgstr "Pakiet serwisowy PackageKit"
-#: ../lib/packagekit-glib2/pk-console-shared.c:55
+#: ../lib/packagekit-glib2/pk-console-shared.c:59
#, c-format
msgid "Please enter a number from 1 to %i: "
msgstr "ProszÄ podaÄ numer od 1 do %i: "
#. TRANSLATORS: more than one package could be found that matched, to follow is a list of possible packages
-#: ../lib/packagekit-glib2/pk-console-shared.c:177
+#: ../lib/packagekit-glib2/pk-console-shared.c:181
msgid "More than one package matches:"
msgstr "Pasuje wiÄcej niż jeden pakiet:"
#. TRANSLATORS: This finds out which package in the list to use
-#: ../lib/packagekit-glib2/pk-console-shared.c:186
+#: ../lib/packagekit-glib2/pk-console-shared.c:190
msgid "Please choose the correct package: "
msgstr "ProszÄ wybraÄ poprawny pakiet: "
#. TRANSLATORS: This is when the transaction status is not known
-#: ../lib/packagekit-glib2/pk-console-shared.c:238
+#: ../lib/packagekit-glib2/pk-console-shared.c:242
msgid "Unknown state"
msgstr "Nieznany stan"
#. TRANSLATORS: transaction state, the daemon is in the process of starting
-#: ../lib/packagekit-glib2/pk-console-shared.c:242
+#: ../lib/packagekit-glib2/pk-console-shared.c:246
msgid "Starting"
msgstr "Rozpoczynanie"
#. TRANSLATORS: transaction state, the transaction is waiting for another to complete
-#: ../lib/packagekit-glib2/pk-console-shared.c:246
+#: ../lib/packagekit-glib2/pk-console-shared.c:250
msgid "Waiting in queue"
msgstr "Oczekiwanie w kolejce"
#. TRANSLATORS: transaction state, just started
-#: ../lib/packagekit-glib2/pk-console-shared.c:250
+#: ../lib/packagekit-glib2/pk-console-shared.c:254
msgid "Running"
msgstr "Wykonywanie"
#. TRANSLATORS: transaction state, is querying data
-#: ../lib/packagekit-glib2/pk-console-shared.c:254
+#: ../lib/packagekit-glib2/pk-console-shared.c:258
msgid "Querying"
msgstr "Odpytywanie"
#. TRANSLATORS: transaction state, getting data from a server
-#: ../lib/packagekit-glib2/pk-console-shared.c:258
+#: ../lib/packagekit-glib2/pk-console-shared.c:262
msgid "Getting information"
msgstr "Pobieranie informacji"
#. TRANSLATORS: transaction state, removing packages
-#: ../lib/packagekit-glib2/pk-console-shared.c:262
+#: ../lib/packagekit-glib2/pk-console-shared.c:266
msgid "Removing packages"
msgstr "Usuwanie pakietu"
#. TRANSLATORS: transaction state, downloading package files
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:266
-#: ../lib/packagekit-glib2/pk-console-shared.c:644
+#: ../lib/packagekit-glib2/pk-console-shared.c:270
+#: ../lib/packagekit-glib2/pk-console-shared.c:648
msgid "Downloading packages"
msgstr "Pobieranie pakietów"
#. TRANSLATORS: transaction state, refreshing internal lists
-#: ../lib/packagekit-glib2/pk-console-shared.c:274
+#: ../lib/packagekit-glib2/pk-console-shared.c:278
msgid "Refreshing software list"
msgstr "OdÅwieżanie listy oprogramowania"
#. TRANSLATORS: transaction state, installing updates
-#: ../lib/packagekit-glib2/pk-console-shared.c:278
+#: ../lib/packagekit-glib2/pk-console-shared.c:282
msgid "Installing updates"
msgstr "Instalowanie aktualizacji"
#. TRANSLATORS: transaction state, removing old packages, and cleaning config files
-#: ../lib/packagekit-glib2/pk-console-shared.c:282
+#: ../lib/packagekit-glib2/pk-console-shared.c:286
msgid "Cleaning up packages"
msgstr "Czyszczenie pakietów"
#. TRANSLATORS: transaction state, obsoleting old packages
-#: ../lib/packagekit-glib2/pk-console-shared.c:286
+#: ../lib/packagekit-glib2/pk-console-shared.c:290
msgid "Obsoleting packages"
msgstr "ZastÄpowanie pakietów"
#. TRANSLATORS: transaction state, checking the transaction before we do it
-#: ../lib/packagekit-glib2/pk-console-shared.c:290
+#: ../lib/packagekit-glib2/pk-console-shared.c:294
msgid "Resolving dependencies"
msgstr "RozwiÄ
zywanie zależnoÅci"
#. TRANSLATORS: transaction state, checking if we have all the security keys for the operation
-#: ../lib/packagekit-glib2/pk-console-shared.c:294
+#: ../lib/packagekit-glib2/pk-console-shared.c:298
msgid "Checking signatures"
msgstr "Sprawdzanie podpisów"
#. TRANSLATORS: transaction state, when we return to a previous system state
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:298
-#: ../lib/packagekit-glib2/pk-console-shared.c:604
+#: ../lib/packagekit-glib2/pk-console-shared.c:302
+#: ../lib/packagekit-glib2/pk-console-shared.c:608
msgid "Rolling back"
msgstr "Przywracanie"
#. TRANSLATORS: transaction state, when we're doing a test transaction
-#: ../lib/packagekit-glib2/pk-console-shared.c:302
+#: ../lib/packagekit-glib2/pk-console-shared.c:306
msgid "Testing changes"
msgstr "Testowanie zmian"
#. TRANSLATORS: transaction state, when we're writing to the system package database
-#: ../lib/packagekit-glib2/pk-console-shared.c:306
+#: ../lib/packagekit-glib2/pk-console-shared.c:310
msgid "Committing changes"
msgstr "Wprowadzanie zmian"
#. TRANSLATORS: transaction state, requesting data from a server
-#: ../lib/packagekit-glib2/pk-console-shared.c:310
+#: ../lib/packagekit-glib2/pk-console-shared.c:314
msgid "Requesting data"
msgstr "Å»Ä
danie danych"
#. TRANSLATORS: transaction state, all done!
-#: ../lib/packagekit-glib2/pk-console-shared.c:314
+#: ../lib/packagekit-glib2/pk-console-shared.c:318
msgid "Finished"
msgstr "UkoÅczono"
#. TRANSLATORS: transaction state, in the process of cancelling
-#: ../lib/packagekit-glib2/pk-console-shared.c:318
+#: ../lib/packagekit-glib2/pk-console-shared.c:322
msgid "Cancelling"
msgstr "Anulowanie"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:322
+#: ../lib/packagekit-glib2/pk-console-shared.c:326
msgid "Downloading repository information"
msgstr "Pobieranie informacji o repozytorium"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:326
+#: ../lib/packagekit-glib2/pk-console-shared.c:330
msgid "Downloading list of packages"
msgstr "Pobieranie listy pakietów"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:330
+#: ../lib/packagekit-glib2/pk-console-shared.c:334
msgid "Downloading file lists"
msgstr "Pobieranie list plików"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:334
+#: ../lib/packagekit-glib2/pk-console-shared.c:338
msgid "Downloading lists of changes"
msgstr "Pobieranie listy zmian"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:338
+#: ../lib/packagekit-glib2/pk-console-shared.c:342
msgid "Downloading groups"
msgstr "Pobieranie grup"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:342
+#: ../lib/packagekit-glib2/pk-console-shared.c:346
msgid "Downloading update information"
msgstr "Pobieranie informacji o aktualizacji"
#. TRANSLATORS: transaction state, repackaging delta files
-#: ../lib/packagekit-glib2/pk-console-shared.c:346
+#: ../lib/packagekit-glib2/pk-console-shared.c:350
msgid "Repackaging files"
msgstr "Ponowne umieszczanie plików w pakietach"
#. TRANSLATORS: transaction state, loading databases
-#: ../lib/packagekit-glib2/pk-console-shared.c:350
+#: ../lib/packagekit-glib2/pk-console-shared.c:354
msgid "Loading cache"
msgstr "Wczytywanie pamiÄci podrÄcznej"
#. TRANSLATORS: transaction state, scanning for running processes
-#: ../lib/packagekit-glib2/pk-console-shared.c:354
+#: ../lib/packagekit-glib2/pk-console-shared.c:358
msgid "Scanning applications"
msgstr "Skanowanie programów"
#. TRANSLATORS: transaction state, generating a list of packages installed on the system
-#: ../lib/packagekit-glib2/pk-console-shared.c:358
+#: ../lib/packagekit-glib2/pk-console-shared.c:362
msgid "Generating package lists"
msgstr "Tworzenie list pakietów"
#. TRANSLATORS: transaction state, when we're waiting for the native tools to exit
-#: ../lib/packagekit-glib2/pk-console-shared.c:362
+#: ../lib/packagekit-glib2/pk-console-shared.c:366
msgid "Waiting for package manager lock"
msgstr "Oczekiwanie na blokadÄ menedżera pakietów"
#. TRANSLATORS: transaction state, waiting for user to type in a password
-#: ../lib/packagekit-glib2/pk-console-shared.c:366
+#: ../lib/packagekit-glib2/pk-console-shared.c:370
msgid "Waiting for authentication"
msgstr "Oczekiwanie na uwierzytelnienie"
#. TRANSLATORS: transaction state, we are updating the list of processes
-#: ../lib/packagekit-glib2/pk-console-shared.c:370
+#: ../lib/packagekit-glib2/pk-console-shared.c:374
msgid "Updating running applications"
msgstr "Aktualizowanie uruchomionych programów"
#. TRANSLATORS: transaction state, we are checking executable files currently in use
-#: ../lib/packagekit-glib2/pk-console-shared.c:374
+#: ../lib/packagekit-glib2/pk-console-shared.c:378
msgid "Checking applications in use"
msgstr "Sprawdzanie używanych programów"
#. TRANSLATORS: transaction state, we are checking for libraries currently in use
-#: ../lib/packagekit-glib2/pk-console-shared.c:378
+#: ../lib/packagekit-glib2/pk-console-shared.c:382
msgid "Checking libraries in use"
msgstr "Sprawdzanie używanych bibliotek"
#. TRANSLATORS: transaction state, we are copying package files before or after the transaction
-#: ../lib/packagekit-glib2/pk-console-shared.c:382
+#: ../lib/packagekit-glib2/pk-console-shared.c:386
msgid "Copying files"
msgstr "Kopiowanie plików"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:400
+#: ../lib/packagekit-glib2/pk-console-shared.c:404
msgid "Trivial"
msgstr "Drobna"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:404
+#: ../lib/packagekit-glib2/pk-console-shared.c:408
msgid "Normal"
msgstr "Normalna"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:408
+#: ../lib/packagekit-glib2/pk-console-shared.c:412
msgid "Important"
msgstr "Ważna"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:412
+#: ../lib/packagekit-glib2/pk-console-shared.c:416
msgid "Security"
msgstr "BezpieczeÅstwa"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:416
+#: ../lib/packagekit-glib2/pk-console-shared.c:420
msgid "Bug fix "
msgstr "NaprawiajÄ
ca bÅÄdy"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:420
+#: ../lib/packagekit-glib2/pk-console-shared.c:424
msgid "Enhancement"
msgstr "Ulepszenie"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:424
+#: ../lib/packagekit-glib2/pk-console-shared.c:428
msgid "Blocked"
msgstr "Zablokowana"
#. TRANSLATORS: The state of a package
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:429
-#: ../lib/packagekit-glib2/pk-console-shared.c:502
+#: ../lib/packagekit-glib2/pk-console-shared.c:433
+#: ../lib/packagekit-glib2/pk-console-shared.c:506
msgid "Installed"
msgstr "Zainstalowana"
#. TRANSLATORS: The state of a package, i.e. not installed
-#: ../lib/packagekit-glib2/pk-console-shared.c:434
+#: ../lib/packagekit-glib2/pk-console-shared.c:438
msgid "Available"
msgstr "DostÄpna"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:452
+#: ../lib/packagekit-glib2/pk-console-shared.c:456
msgid "Downloading"
msgstr "Pobieranie"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:456
+#: ../lib/packagekit-glib2/pk-console-shared.c:460
msgid "Updating"
msgstr "Aktualizowanie"
#. TRANSLATORS: The action of the package, in present tense
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:460
-#: ../lib/packagekit-glib2/pk-console-shared.c:580
+#: ../lib/packagekit-glib2/pk-console-shared.c:464
+#: ../lib/packagekit-glib2/pk-console-shared.c:584
msgid "Installing"
msgstr "Instalowanie"
#. TRANSLATORS: The action of the package, in present tense
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:464
-#: ../lib/packagekit-glib2/pk-console-shared.c:576
+#: ../lib/packagekit-glib2/pk-console-shared.c:468
+#: ../lib/packagekit-glib2/pk-console-shared.c:580
msgid "Removing"
msgstr "Usuwanie"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:468
+#: ../lib/packagekit-glib2/pk-console-shared.c:472
msgid "Cleaning up"
msgstr "Czyszczenie"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:472
+#: ../lib/packagekit-glib2/pk-console-shared.c:476
msgid "Obsoleting"
msgstr "ZastÄpowanie"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:476
+#: ../lib/packagekit-glib2/pk-console-shared.c:480
msgid "Reinstalling"
msgstr "Ponowne instalowanie"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:494
+#: ../lib/packagekit-glib2/pk-console-shared.c:498
msgid "Downloaded"
msgstr "Pobierano"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:506
+#: ../lib/packagekit-glib2/pk-console-shared.c:510
msgid "Removed"
msgstr "UsuniÄto"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:510
+#: ../lib/packagekit-glib2/pk-console-shared.c:514
msgid "Cleaned up"
msgstr "Wyczyszczono"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:514
+#: ../lib/packagekit-glib2/pk-console-shared.c:518
msgid "Obsoleted"
msgstr "ZastÄ
piono"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:518
+#: ../lib/packagekit-glib2/pk-console-shared.c:522
msgid "Reinstalled"
msgstr "Zainstalowano ponownie"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:536
+#: ../lib/packagekit-glib2/pk-console-shared.c:540
msgid "Unknown role type"
msgstr "Nieznany typ roli"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:540
+#: ../lib/packagekit-glib2/pk-console-shared.c:544
msgid "Getting dependencies"
msgstr "Pobieranie zależnoÅci"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:544
+#: ../lib/packagekit-glib2/pk-console-shared.c:548
msgid "Getting update details"
msgstr "Pobieranie szczegóÅów aktualizacji"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:548
+#: ../lib/packagekit-glib2/pk-console-shared.c:552
msgid "Getting details"
msgstr "Pobieranie szczegóÅów"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:552
+#: ../lib/packagekit-glib2/pk-console-shared.c:556
msgid "Getting requires"
msgstr "Pobieranie wymagaÅ"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:556
+#: ../lib/packagekit-glib2/pk-console-shared.c:560
msgid "Getting updates"
msgstr "Pobieranie aktualizacji"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:560
+#: ../lib/packagekit-glib2/pk-console-shared.c:564
msgid "Searching by details"
msgstr "Wyszukiwanie wedÅug szczegóÅów"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:564
+#: ../lib/packagekit-glib2/pk-console-shared.c:568
msgid "Searching by file"
msgstr "Wyszukiwanie wedÅug plików"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:568
+#: ../lib/packagekit-glib2/pk-console-shared.c:572
msgid "Searching groups"
msgstr "Wyszukiwanie grup"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:572
+#: ../lib/packagekit-glib2/pk-console-shared.c:576
msgid "Searching by name"
msgstr "Wyszukiwanie wedÅug nazw"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:584
+#: ../lib/packagekit-glib2/pk-console-shared.c:588
msgid "Installing files"
msgstr "Instalowanie plików"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:588
+#: ../lib/packagekit-glib2/pk-console-shared.c:592
msgid "Refreshing cache"
msgstr "OdÅwieżanie pamiÄci podrÄcznej"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:592
+#: ../lib/packagekit-glib2/pk-console-shared.c:596
msgid "Updating packages"
msgstr "Aktualizowanie pakietów"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:596
+#: ../lib/packagekit-glib2/pk-console-shared.c:600
msgid "Updating system"
msgstr "Aktualizowanie systemu"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:600
+#: ../lib/packagekit-glib2/pk-console-shared.c:604
msgid "Canceling"
msgstr "Anulowanie"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:608
+#: ../lib/packagekit-glib2/pk-console-shared.c:612
msgid "Getting repositories"
msgstr "Pobieranie repozytoriów"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:612
+#: ../lib/packagekit-glib2/pk-console-shared.c:616
msgid "Enabling repository"
msgstr "WÅÄ
czanie repozytorium"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:616
+#: ../lib/packagekit-glib2/pk-console-shared.c:620
msgid "Setting data"
msgstr "Ustawianie danych"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:620
+#: ../lib/packagekit-glib2/pk-console-shared.c:624
msgid "Resolving"
msgstr "RozwiÄ
zywanie"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:624
+#: ../lib/packagekit-glib2/pk-console-shared.c:628
msgid "Getting file list"
msgstr "Pobieranie listy plików"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:628
+#: ../lib/packagekit-glib2/pk-console-shared.c:632
msgid "Getting provides"
msgstr "Pobieranie dostarczanych"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:632
+#: ../lib/packagekit-glib2/pk-console-shared.c:636
msgid "Installing signature"
msgstr "Instalowanie podpisu"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:636
+#: ../lib/packagekit-glib2/pk-console-shared.c:640
msgid "Getting packages"
msgstr "Pobieranie pakietów"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:640
+#: ../lib/packagekit-glib2/pk-console-shared.c:644
msgid "Accepting EULA"
msgstr "Akceptowanie licencji"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:648
+#: ../lib/packagekit-glib2/pk-console-shared.c:652
msgid "Getting upgrades"
msgstr "Pobieranie aktualizacji"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:652
+#: ../lib/packagekit-glib2/pk-console-shared.c:656
msgid "Getting categories"
msgstr "Pobieranie kategorii"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:656
+#: ../lib/packagekit-glib2/pk-console-shared.c:660
msgid "Getting transactions"
msgstr "Pobieranie transakcji"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:660
#: ../lib/packagekit-glib2/pk-console-shared.c:664
+#: ../lib/packagekit-glib2/pk-console-shared.c:668
msgid "Simulating install"
msgstr "Symulowanie instalacji"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:668
+#: ../lib/packagekit-glib2/pk-console-shared.c:672
msgid "Simulating remove"
msgstr "Symulowanie usuniÄcia"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:672
+#: ../lib/packagekit-glib2/pk-console-shared.c:676
msgid "Simulating update"
msgstr "Symulowanie aktualizacji"
#. TRANSLATORS: ask the user if they are comfortable installing insecure packages
-#: ../lib/packagekit-glib2/pk-task-text.c:64
+#: ../lib/packagekit-glib2/pk-task-text.c:66
msgid "Do you want to allow installing of unsigned software?"
msgstr "PozwoliÄ na instalowanie niepodpisanego oprogramowania?"
#. TRANSLATORS: tell the user we've not done anything
-#: ../lib/packagekit-glib2/pk-task-text.c:69
+#: ../lib/packagekit-glib2/pk-task-text.c:71
msgid "The unsigned software will not be installed."
msgstr "Niepodpisane oprogramowanie nie zostanie zainstalowane."
#. TRANSLATORS: the package repository is signed by a key that is not recognised
-#: ../lib/packagekit-glib2/pk-task-text.c:102
+#: ../lib/packagekit-glib2/pk-task-text.c:104
msgid "Software source signature required"
msgstr "Wymagany jest podpis źródÅa oprogramowania"
#. TRANSLATORS: the package repository name
-#: ../lib/packagekit-glib2/pk-task-text.c:108
+#: ../lib/packagekit-glib2/pk-task-text.c:110
msgid "Software source name"
msgstr "Nazwa źródÅa oprogramowania"
#. TRANSLATORS: the key URL
-#: ../lib/packagekit-glib2/pk-task-text.c:111
+#: ../lib/packagekit-glib2/pk-task-text.c:113
msgid "Key URL"
msgstr "Adres URL klucza"
#. TRANSLATORS: the username of the key
-#: ../lib/packagekit-glib2/pk-task-text.c:114
+#: ../lib/packagekit-glib2/pk-task-text.c:116
msgid "Key user"
msgstr "Użytkownika klucza"
#. TRANSLATORS: the key ID, usually a few hex digits
-#: ../lib/packagekit-glib2/pk-task-text.c:117
+#: ../lib/packagekit-glib2/pk-task-text.c:119
msgid "Key ID"
msgstr "Identyfikator klucza"
#. TRANSLATORS: the key fingerprint, again, yet more hex
-#: ../lib/packagekit-glib2/pk-task-text.c:120
+#: ../lib/packagekit-glib2/pk-task-text.c:122
msgid "Key fingerprint"
msgstr "Odcisk klucza"
#. TRANSLATORS: the timestamp (a bit like a machine readable time)
-#: ../lib/packagekit-glib2/pk-task-text.c:123
+#: ../lib/packagekit-glib2/pk-task-text.c:125
msgid "Key Timestamp"
msgstr "Czas klucza"
#. TRANSLATORS: ask the user if they want to import
-#: ../lib/packagekit-glib2/pk-task-text.c:129
+#: ../lib/packagekit-glib2/pk-task-text.c:131
msgid "Do you accept this signature?"
msgstr "ZaakceptowaÄ ten podpis?"
#. TRANSLATORS: tell the user we've not done anything
-#: ../lib/packagekit-glib2/pk-task-text.c:134
+#: ../lib/packagekit-glib2/pk-task-text.c:136
msgid "The signature was not accepted."
msgstr "Podpis nie zostaÅ zaakceptowany."
#. TRANSLATORS: this is another name for a software licence that has to be read before installing
-#: ../lib/packagekit-glib2/pk-task-text.c:169
+#: ../lib/packagekit-glib2/pk-task-text.c:171
msgid "End user licence agreement required"
msgstr "Wymagana jest umowa licencyjna użytkownika koÅcowego"
#. TRANSLATORS: the EULA text itself (long and boring)
-#: ../lib/packagekit-glib2/pk-task-text.c:178
+#: ../lib/packagekit-glib2/pk-task-text.c:180
msgid "Agreement"
msgstr "Umowa"
#. TRANSLATORS: ask the user if they've read and accepted the EULA
-#: ../lib/packagekit-glib2/pk-task-text.c:184
+#: ../lib/packagekit-glib2/pk-task-text.c:186
msgid "Do you accept this agreement?"
msgstr "ZaakceptowaÄ tÄ umowÄ?"
#. TRANSLATORS: tell the user we've not done anything
-#: ../lib/packagekit-glib2/pk-task-text.c:189
+#: ../lib/packagekit-glib2/pk-task-text.c:191
msgid "The agreement was not accepted."
msgstr "Umowa nie zostaÅa zaakceptowana."
#. TRANSLATORS: the user needs to change media inserted into the computer
-#: ../lib/packagekit-glib2/pk-task-text.c:219
+#: ../lib/packagekit-glib2/pk-task-text.c:221
msgid "Media change required"
msgstr "Wymagana jest zmiana noÅnika"
#. TRANSLATORS: the type, e.g. DVD, CD, etc
-#: ../lib/packagekit-glib2/pk-task-text.c:222
+#: ../lib/packagekit-glib2/pk-task-text.c:224
msgid "Media type"
msgstr "Typ noÅnika"
#. TRANSLATORS: the media label, usually like 'disk-1of3'
-#: ../lib/packagekit-glib2/pk-task-text.c:225
+#: ../lib/packagekit-glib2/pk-task-text.c:227
msgid "Media label"
msgstr "Etykieta noÅnika"
#. TRANSLATORS: the media description, usually like 'Fedora 12 disk 5'
-#: ../lib/packagekit-glib2/pk-task-text.c:228
+#: ../lib/packagekit-glib2/pk-task-text.c:230
msgid "Text"
msgstr "Tekst"
#. TRANSLATORS: ask the user to insert the media
-#: ../lib/packagekit-glib2/pk-task-text.c:232
+#: ../lib/packagekit-glib2/pk-task-text.c:234
msgid "Please insert the correct media"
msgstr "ProszÄ wÅożyÄ poprawny noÅnik"
#. TRANSLATORS: tell the user we've not done anything as they are lazy
-#: ../lib/packagekit-glib2/pk-task-text.c:237
+#: ../lib/packagekit-glib2/pk-task-text.c:239
msgid "The correct media was not inserted."
msgstr "Nie wÅożono poprawnego noÅnika."
#. TRANSLATORS: When processing, we might have to remove other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:252
+#: ../lib/packagekit-glib2/pk-task-text.c:254
msgid "The following packages have to be removed:"
msgstr "NastÄpujÄ
ce pakiety muszÄ
zostaÄ usuniÄte:"
#. TRANSLATORS: When processing, we might have to install other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:257
+#: ../lib/packagekit-glib2/pk-task-text.c:259
msgid "The following packages have to be installed:"
msgstr "NastÄpujÄ
ce pakiety muszÄ
zostaÄ zainstalowane:"
#. TRANSLATORS: When processing, we might have to update other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:262
+#: ../lib/packagekit-glib2/pk-task-text.c:264
msgid "The following packages have to be updated:"
msgstr "NastÄpujÄ
ce pakiety muszÄ
zostaÄ zaktualizowane:"
#. TRANSLATORS: When processing, we might have to reinstall other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:267
+#: ../lib/packagekit-glib2/pk-task-text.c:269
msgid "The following packages have to be reinstalled:"
msgstr "NastÄpujÄ
ce pakiety muszÄ
zostaÄ ponownie zainstalowane:"
#. TRANSLATORS: When processing, we might have to downgrade other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:272
+#: ../lib/packagekit-glib2/pk-task-text.c:274
msgid "The following packages have to be downgraded:"
msgstr "NastÄpujÄ
ce pakiety muszÄ
zostaÄ zainstalowane w starszych wersjach:"
#. TRANSLATORS: ask the user if the proposed changes are okay
-#: ../lib/packagekit-glib2/pk-task-text.c:331
+#: ../lib/packagekit-glib2/pk-task-text.c:333
msgid "Proceed with changes?"
msgstr "KontynuowaÄ wprowadzanie zmian?"
#. TRANSLATORS: tell the user we didn't do anything
-#: ../lib/packagekit-glib2/pk-task-text.c:336
+#: ../lib/packagekit-glib2/pk-task-text.c:338
msgid "The transaction did not proceed."
msgstr "Transakcja nie bÄdzie kontynuowana."
commit 88b241c899a4a9b6e3bc1c49629fd8df531bbffd
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Sep 30 16:39:54 2009 +0100
glib2: use SetHints() rather than SetLocale(), and pass the idle and interactive hints
diff --git a/lib/packagekit-glib2/pk-client.c b/lib/packagekit-glib2/pk-client.c
index 3703254..7a787f9 100644
--- a/lib/packagekit-glib2/pk-client.c
+++ b/lib/packagekit-glib2/pk-client.c
@@ -1288,10 +1288,10 @@ pk_client_set_role (PkClientState *state, PkRoleEnum role)
}
/**
- * pk_client_set_locale_cb:
+ * pk_client_set_hints_cb:
**/
static void
-pk_client_set_locale_cb (DBusGProxy *proxy, DBusGProxyCall *call, PkClientState *state)
+pk_client_set_hints_cb (DBusGProxy *proxy, DBusGProxyCall *call, PkClientState *state)
{
gchar *filters_text = NULL;
const gchar *enum_text;
@@ -1310,7 +1310,7 @@ pk_client_set_locale_cb (DBusGProxy *proxy, DBusGProxyCall *call, PkClientState
}
/* finished this call */
- egg_debug ("set locale, ended DBus call: %p (%p)", state, state->call);
+ egg_debug ("set hints, ended DBus call: %p (%p)", state, state->call);
state->call = NULL;
/* we'll have results from now on */
@@ -1552,6 +1552,17 @@ out:
}
/**
+ * pk_client_bool_to_text:
+ **/
+static const gchar *
+pk_client_bool_to_text (gboolean value)
+{
+ if (value)
+ return "true";
+ return "false";
+}
+
+/**
* pk_client_get_tid_cb:
**/
static void
@@ -1559,6 +1570,9 @@ pk_client_get_tid_cb (GObject *object, GAsyncResult *res, PkClientState *state)
{
PkControl *control = PK_CONTROL (object);
GError *error = NULL;
+ gchar *hint;
+ gchar **hints;
+ GPtrArray *array;
state->tid = pk_control_get_tid_finish (control, res, &error);
if (state->tid == NULL) {
@@ -1586,10 +1600,28 @@ pk_client_get_tid_cb (GObject *object, GAsyncResult *res, PkClientState *state)
if (state->proxy_props == NULL)
egg_error ("Cannot connect to PackageKit on %s", state->tid);
- /* set locale */
- state->call = dbus_g_proxy_begin_call (state->proxy, "SetLocale",
- (DBusGProxyCallNotify) pk_client_set_locale_cb, state, NULL,
- G_TYPE_STRING, state->client->priv->locale,
+ /* get hints */
+ array = g_ptr_array_new_with_free_func (g_free);
+
+ /* locale */
+ if (state->client->priv->locale != NULL) {
+ hint = g_strdup_printf ("locale=%s", state->client->priv->locale);
+ g_ptr_array_add (array, hint);
+ }
+
+ /* idle */
+ hint = g_strdup_printf ("idle=%s", pk_client_bool_to_text (state->client->priv->idle));
+ g_ptr_array_add (array, hint);
+
+ /* interactive */
+ hint = g_strdup_printf ("interactive=%s", pk_client_bool_to_text (state->client->priv->interactive));
+ g_ptr_array_add (array, hint);
+
+ /* set hints */
+ hints = pk_ptr_array_to_strv (array);
+ state->call = dbus_g_proxy_begin_call (state->proxy, "SetHints",
+ (DBusGProxyCallNotify) pk_client_set_hints_cb, state, NULL,
+ G_TYPE_STRV, hints,
G_TYPE_INVALID);
if (state->call == NULL)
egg_error ("failed to setup call, maybe OOM or no connection");
@@ -1600,6 +1632,8 @@ pk_client_get_tid_cb (GObject *object, GAsyncResult *res, PkClientState *state)
egg_debug ("state array add %p", state);
/* we've sent this async */
+ g_ptr_array_unref (array);
+ g_strfreev (hints);
}
/**
commit 716a49d580081cb29d1c38ad2f356fb28cc69bd6
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Sep 30 16:29:16 2009 +0100
glib2: add two properties to PkClient, idle and interactive
diff --git a/lib/packagekit-glib2/pk-client.c b/lib/packagekit-glib2/pk-client.c
index e90426a..3703254 100644
--- a/lib/packagekit-glib2/pk-client.c
+++ b/lib/packagekit-glib2/pk-client.c
@@ -63,11 +63,15 @@ struct _PkClientPrivate
GPtrArray *calls;
PkControl *control;
gchar *locale;
+ gboolean idle;
+ gboolean interactive;
};
enum {
PROP_0,
PROP_LOCALE,
+ PROP_IDLE,
+ PROP_INTERACTIVE,
PROP_LAST
};
@@ -144,6 +148,12 @@ pk_client_get_property (GObject *object, guint prop_id, GValue *value, GParamSpe
case PROP_LOCALE:
g_value_set_string (value, priv->locale);
break;
+ case PROP_IDLE:
+ g_value_set_boolean (value, priv->idle);
+ break;
+ case PROP_INTERACTIVE:
+ g_value_set_boolean (value, priv->interactive);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@@ -164,6 +174,12 @@ pk_client_set_property (GObject *object, guint prop_id, const GValue *value, GPa
g_free (priv->locale);
priv->locale = g_strdup (g_value_get_string (value));
break;
+ case PROP_IDLE:
+ priv->idle = g_value_get_boolean (value);
+ break;
+ case PROP_INTERACTIVE:
+ priv->interactive = g_value_get_boolean (value);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@@ -3629,6 +3645,22 @@ pk_client_class_init (PkClientClass *klass)
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_LOCALE, pspec);
+ /**
+ * PkClient:idle:
+ */
+ pspec = g_param_spec_boolean ("idle", NULL, NULL,
+ FALSE,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (object_class, PROP_IDLE, pspec);
+
+ /**
+ * PkClient:interactive:
+ */
+ pspec = g_param_spec_boolean ("interactive", NULL, NULL,
+ TRUE,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (object_class, PROP_INTERACTIVE, pspec);
+
g_type_class_add_private (klass, sizeof (PkClientPrivate));
}
@@ -3641,6 +3673,8 @@ pk_client_init (PkClient *client)
GError *error = NULL;
client->priv = PK_CLIENT_GET_PRIVATE (client);
client->priv->calls = g_ptr_array_new ();
+ client->priv->idle = FALSE;
+ client->priv->interactive = TRUE;
/* check dbus connections, exit if not valid */
client->priv->connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
commit 1ff25e9dbd10f7837f8ddcefb433df5a21bf7652
Merge: 878f227... 0c5c33d...
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Sep 30 16:22:49 2009 +0100
Merge branch 'master' into set-hints
commit 878f2276c82b896c6dfc05cbf6ac2d9c7fab28bc
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Sep 30 15:39:31 2009 +0100
glib2: export the locale as a read-write property on PkClient
diff --git a/lib/packagekit-glib2/pk-client.c b/lib/packagekit-glib2/pk-client.c
index 7cfd559..e90426a 100644
--- a/lib/packagekit-glib2/pk-client.c
+++ b/lib/packagekit-glib2/pk-client.c
@@ -65,6 +65,12 @@ struct _PkClientPrivate
gchar *locale;
};
+enum {
+ PROP_0,
+ PROP_LOCALE,
+ PROP_LAST
+};
+
G_DEFINE_TYPE (PkClient, pk_client, G_TYPE_OBJECT)
typedef struct {
@@ -126,6 +132,45 @@ pk_client_error_quark (void)
}
/**
+ * pk_client_get_property:
+ **/
+static void
+pk_client_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
+{
+ PkClient *client = PK_CLIENT (object);
+ PkClientPrivate *priv = client->priv;
+
+ switch (prop_id) {
+ case PROP_LOCALE:
+ g_value_set_string (value, priv->locale);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
+ }
+}
+
+/**
+ * pk_client_set_property:
+ **/
+static void
+pk_client_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
+{
+ PkClient *client = PK_CLIENT (object);
+ PkClientPrivate *priv = client->priv;
+
+ switch (prop_id) {
+ case PROP_LOCALE:
+ g_free (priv->locale);
+ priv->locale = g_strdup (g_value_get_string (value));
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
+ }
+}
+
+/**
* pk_client_fixup_dbus_error:
**/
static void
@@ -3570,8 +3615,19 @@ pk_client_cancel_all_dbus_methods (PkClient *client)
static void
pk_client_class_init (PkClientClass *klass)
{
+ GParamSpec *pspec;
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = pk_client_finalize;
+ object_class->get_property = pk_client_get_property;
+ object_class->set_property = pk_client_set_property;
+
+ /**
+ * PkClient:locale:
+ */
+ pspec = g_param_spec_string ("locale", NULL, NULL,
+ NULL,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (object_class, PROP_LOCALE, pspec);
g_type_class_add_private (klass, sizeof (PkClientPrivate));
}
commit 4fd21559143c012ca8ae8b9f90e50fcff77f4fea
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Sep 30 15:15:49 2009 +0100
trivial: cache the locale at startup time in PkClient
diff --git a/lib/packagekit-glib2/pk-client.c b/lib/packagekit-glib2/pk-client.c
index eec90cd..7cfd559 100644
--- a/lib/packagekit-glib2/pk-client.c
+++ b/lib/packagekit-glib2/pk-client.c
@@ -62,6 +62,7 @@ struct _PkClientPrivate
DBusGConnection *connection;
GPtrArray *calls;
PkControl *control;
+ gchar *locale;
};
G_DEFINE_TYPE (PkClient, pk_client, G_TYPE_OBJECT)
@@ -1497,7 +1498,6 @@ pk_client_get_tid_cb (GObject *object, GAsyncResult *res, PkClientState *state)
{
PkControl *control = PK_CONTROL (object);
GError *error = NULL;
- const gchar *locale;
state->tid = pk_control_get_tid_finish (control, res, &error);
if (state->tid == NULL) {
@@ -1526,10 +1526,9 @@ pk_client_get_tid_cb (GObject *object, GAsyncResult *res, PkClientState *state)
egg_error ("Cannot connect to PackageKit on %s", state->tid);
/* set locale */
- locale = (const gchar *) setlocale (LC_ALL, NULL);
state->call = dbus_g_proxy_begin_call (state->proxy, "SetLocale",
(DBusGProxyCallNotify) pk_client_set_locale_cb, state, NULL,
- G_TYPE_STRING, locale,
+ G_TYPE_STRING, state->client->priv->locale,
G_TYPE_INVALID);
if (state->call == NULL)
egg_error ("failed to setup call, maybe OOM or no connection");
@@ -3661,6 +3660,9 @@ pk_client_init (PkClient *client)
dbus_g_object_register_marshaller (pk_marshal_VOID__STRING_STRING_STRING_STRING_STRING,
G_TYPE_NONE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,
G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INVALID);
+
+ /* cache locale */
+ client->priv->locale = g_strdup (setlocale (LC_ALL, NULL));
}
/**
@@ -3675,6 +3677,7 @@ pk_client_finalize (GObject *object)
/* ensure we cancel any in-flight DBus calls */
pk_client_cancel_all_dbus_methods (client);
+ g_free (client->priv->locale);
g_object_unref (priv->control);
g_ptr_array_unref (priv->calls);
commit 3ee32c65ab0b876b19a42e4f6f36cc9d04d6ec47
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Sep 30 15:08:47 2009 +0100
Store the is-idle information in the backend and use it as a policy choice
diff --git a/lib/packagekit-glib2/pk-common.h b/lib/packagekit-glib2/pk-common.h
index 84e332c..996608a 100644
--- a/lib/packagekit-glib2/pk-common.h
+++ b/lib/packagekit-glib2/pk-common.h
@@ -74,6 +74,13 @@ G_BEGIN_DECLS
*/
#define PK_SYSTEM_PACKAGE_LIST_FILENAME "/var/lib/PackageKit/system.package-list"
+/* a boolean with unset */
+typedef enum {
+ PK_TRISTATE_FALSE = FALSE,
+ PK_TRISTATE_TRUE = TRUE,
+ PK_TRISTATE_UNSET
+} PkTristate;
+
void pk_common_test (gpointer user_data);
gchar **pk_ptr_array_to_strv (GPtrArray *array)
G_GNUC_WARN_UNUSED_RESULT;
diff --git a/src/pk-backend.c b/src/pk-backend.c
index 4517bc2..d2c9fc9 100644
--- a/src/pk-backend.c
+++ b/src/pk-backend.c
@@ -46,7 +46,6 @@
#include "pk-backend.h"
#include "pk-conf.h"
#include "pk-store.h"
-#include "pk-shared.h"
#include "pk-time.h"
#include "pk-file-monitor.h"
@@ -92,6 +91,7 @@ struct _PkBackendPrivate
gboolean use_time;
gchar *c_tid;
gchar *locale;
+ PkTristate is_idle;
gchar *name;
gchar *proxy_ftp;
gchar *proxy_http;
@@ -509,6 +509,17 @@ pk_backend_set_proxy (PkBackend *backend, const gchar *proxy_http, const gchar *
}
/**
+ * pk_backend_set_is_idle:
+ **/
+gboolean
+pk_backend_set_is_idle (PkBackend *backend, PkTristate is_idle)
+{
+ g_return_val_if_fail (PK_IS_BACKEND (backend), FALSE);
+ backend->priv->is_idle = is_idle;
+ return TRUE;
+}
+
+/**
* pk_backend_get_proxy_http:
*
* Return value: proxy string in the form username:password at server:port
@@ -1998,8 +2009,15 @@ pk_backend_use_idle_bandwidth (PkBackend *backend)
if (!ret)
return FALSE;
- /* for now, hardcode */
- if (backend->priv->role == PK_ROLE_ENUM_GET_UPDATES)
+ /* the session has set it one way or the other */
+ if (backend->priv->is_idle == PK_TRISTATE_TRUE)
+ return TRUE;
+ if (backend->priv->is_idle == PK_TRISTATE_FALSE)
+ return FALSE;
+
+ /* use a metric to try to guess a correct value */
+ if (backend->priv->role == PK_ROLE_ENUM_GET_UPDATES ||
+ backend->priv->role == PK_ROLE_ENUM_REFRESH_CACHE)
return TRUE;
return FALSE;
}
diff --git a/src/pk-backend.h b/src/pk-backend.h
index a451d91..b0c2d50 100644
--- a/src/pk-backend.h
+++ b/src/pk-backend.h
@@ -27,6 +27,7 @@
/* these include the includes the backends should be using */
#include <packagekit-glib2/pk-enum.h>
+#include <packagekit-glib2/pk-common.h>
#include <packagekit-glib2/pk-bitfield.h>
#include <packagekit-glib2/pk-package-id.h>
#include <packagekit-glib2/pk-package-ids.h>
@@ -70,6 +71,8 @@ gboolean pk_backend_set_simultaneous_mode (PkBackend *backend,
gboolean simultaneous);
gboolean pk_backend_set_locale (PkBackend *backend,
const gchar *code);
+gboolean pk_backend_set_is_idle (PkBackend *backend,
+ PkTristate is_idle);
/* get the state */
const gchar *pk_backend_get_current_tid (PkBackend *backend);
diff --git a/src/pk-shared.h b/src/pk-shared.h
index 7d298ef..7f867e9 100644
--- a/src/pk-shared.h
+++ b/src/pk-shared.h
@@ -26,13 +26,6 @@
G_BEGIN_DECLS
-/* a boolean with unset */
-typedef enum {
- PK_TRISTATE_FALSE = FALSE,
- PK_TRISTATE_TRUE = TRUE,
- PK_TRISTATE_UNSET
-} PkTristate;
-
gboolean pk_directory_remove_contents (const gchar *directory);
G_END_DECLS
diff --git a/src/pk-transaction.c b/src/pk-transaction.c
index 8385e80..e9c8de7 100644
--- a/src/pk-transaction.c
+++ b/src/pk-transaction.c
@@ -100,7 +100,7 @@ struct PkTransactionPrivate
gboolean emit_signature_required;
gboolean emit_media_change_required;
gboolean caller_active;
- gboolean is_idle; //TODO: need tristate
+ PkTristate is_idle;
gchar *locale;
guint uid;
EggDbusMonitor *monitor;
@@ -1366,6 +1366,7 @@ pk_transaction_set_running (PkTransaction *transaction)
/* assign */
pk_backend_set_current_tid (priv->backend, priv->tid);
+ pk_backend_set_is_idle (priv->backend, priv->is_idle);
/* if we didn't set a locale for this transaction, we would reuse the
* last set locale in the backend, or NULL if it was not ever set.
@@ -4317,13 +4318,13 @@ pk_transaction_set_hint (PkTransaction *transaction, const gchar *key, const gch
/* idle true */
if (g_strcmp0 (value, "true") == 0) {
- transaction->priv->is_idle = TRUE; //TODO: need tristate
+ transaction->priv->is_idle = PK_TRISTATE_TRUE;
goto out;
}
/* idle false */
if (g_strcmp0 (value, "false") == 0) {
- transaction->priv->is_idle = FALSE; //TODO: need tristate
+ transaction->priv->is_idle = PK_TRISTATE_FALSE;
goto out;
}
@@ -5257,6 +5258,7 @@ pk_transaction_init (PkTransaction *transaction)
transaction->priv->status = PK_STATUS_ENUM_WAIT;
transaction->priv->percentage = PK_BACKEND_PERCENTAGE_INVALID;
transaction->priv->subpercentage = PK_BACKEND_PERCENTAGE_INVALID;
+ transaction->priv->is_idle = PK_TRISTATE_UNSET;
transaction->priv->elapsed_time = 0;
transaction->priv->remaining_time = 0;
transaction->priv->backend = pk_backend_new ();
commit eda13a5a9b0a312c785510f924807f7d8464e598
Merge: 381137f... 629c373...
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Sep 30 14:29:38 2009 +0100
Merge branch 'master' into set-hints
commit 381137f72642a583204cf9f73d44764be40729c2
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Sep 30 14:25:41 2009 +0100
spec: Deprecate SetLocale and add another method to replace it, SetHints
diff --git a/src/org.freedesktop.PackageKit.Transaction.xml b/src/org.freedesktop.PackageKit.Transaction.xml
index f32202c..54acec1 100644
--- a/src/org.freedesktop.PackageKit.Transaction.xml
+++ b/src/org.freedesktop.PackageKit.Transaction.xml
@@ -132,6 +132,10 @@
the package manager so that summaries and descriptions can be
correctly localised.
</doc:para>
+ <doc:para>
+ THIS FUNCTION IS DEPRECATED. It will be removed in a future release.
+ Use <doc:tt>SetHints("locale=$code")</doc:tt> instead.
+ </doc:para>
</doc:description>
</doc:doc>
<arg type="s" name="code" direction="in">
@@ -146,6 +150,67 @@
</method>
<!--*****************************************************************************************-->
+ <method name="SetHints">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <doc:doc>
+ <doc:description>
+ <doc:para>
+ This method allows the calling session to set transaction hints for
+ the package manager which can change as the transaction runs.
+ </doc:para>
+ <doc:para>
+ This method can be sent before the transaction has been run or
+ whilst it is running. There is no limit to the number of times this
+ method can be sent, although some backends may only use the values
+ that were set before the transaction was started.
+ </doc:para>
+ </doc:description>
+ </doc:doc>
+ <arg type="as" name="hints" direction="in">
+ <doc:doc>
+ <doc:summary>
+ <doc:para>
+ The values as an array of strings, for example
+ <doc:tt>['locale=en_GB.utf8','idle=true','interactive=false']</doc:tt>.
+ </doc:para>
+ <doc:para>
+ The following parameter values are understood:
+ </doc:para>
+ <doc:list>
+ <doc:item>
+ <doc:term>locale</doc:term>
+ <doc:definition>
+ The locale code, for example <doc:tt>en_GB</doc:tt>.
+ </doc:definition>
+ </doc:item>
+ <doc:item>
+ <doc:term>idle</doc:term>
+ <doc:definition>
+ If the method was executed when the session was idle, valid
+ values are <doc:tt>true</doc:tt> and <doc:tt>false</doc:tt>,
+ and other values will result in an error.
+ </doc:definition>
+ </doc:item>
+ <doc:item>
+ <doc:term>interactive</doc:term>
+ <doc:definition>
+ If the method can ask interactive questions whilst running,
+ valid values are <doc:tt>true</doc:tt> and <doc:tt>false</doc:tt>,
+ and other values will result in an error.
+ </doc:definition>
+ </doc:item>
+ </doc:list>
+ <doc:para>
+ Other values will cause a verbose warning in the daemon, but will
+ not cause the method to fail. This will preserve forward and
+ backwards compatibility for future API versions.
+ </doc:para>
+ </doc:summary>
+ </doc:doc>
+ </arg>
+ </method>
+
+ <!--*****************************************************************************************-->
<method name="AcceptEula">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<doc:doc>
diff --git a/src/pk-transaction.c b/src/pk-transaction.c
index fd57b86..8385e80 100644
--- a/src/pk-transaction.c
+++ b/src/pk-transaction.c
@@ -100,6 +100,7 @@ struct PkTransactionPrivate
gboolean emit_signature_required;
gboolean emit_media_change_required;
gboolean caller_active;
+ gboolean is_idle; //TODO: need tristate
gchar *locale;
guint uid;
EggDbusMonitor *monitor;
@@ -4286,6 +4287,113 @@ pk_transaction_set_locale (PkTransaction *transaction, const gchar *code, DBusGM
}
/**
+ * pk_transaction_set_hint:
+ *
+ * Only return FALSE on error, not invalid parameter name
+ */
+static gboolean
+pk_transaction_set_hint (PkTransaction *transaction, const gchar *key, const gchar *value, GError **error)
+{
+ gboolean ret = TRUE;
+
+ /* locale=en_GB.utf8 */
+ if (g_strcmp0 (key, "locale") == 0) {
+
+ /* already set */
+ if (transaction->priv->locale != NULL) {
+ *error = g_error_new (PK_TRANSACTION_ERROR, PK_TRANSACTION_ERROR_NOT_SUPPORTED,
+ "Already set locale to %s", transaction->priv->locale);
+ ret = FALSE;
+ goto out;
+ }
+
+ /* success */
+ transaction->priv->locale = g_strdup (value);
+ goto out;
+ }
+
+ /* idle=true */
+ if (g_strcmp0 (key, "idle") == 0) {
+
+ /* idle true */
+ if (g_strcmp0 (value, "true") == 0) {
+ transaction->priv->is_idle = TRUE; //TODO: need tristate
+ goto out;
+ }
+
+ /* idle false */
+ if (g_strcmp0 (value, "false") == 0) {
+ transaction->priv->is_idle = FALSE; //TODO: need tristate
+ goto out;
+ }
+
+ /* nothing recognised */
+ *error = g_error_new (PK_TRANSACTION_ERROR, PK_TRANSACTION_ERROR_NOT_SUPPORTED,
+ "idle hint expects true or false, not %s", value);
+ ret = FALSE;
+ goto out;
+ }
+ /* to preserve forwards and backwards compatibility, we ignore extra options here */
+ egg_warning ("unknown option: %s with value %s", key, value);
+out:
+ return ret;
+}
+
+/**
+ * pk_transaction_set_hints:
+ */
+void
+pk_transaction_set_hints (PkTransaction *transaction, gchar **hints, DBusGMethodInvocation *context)
+{
+ GError *error;
+ gboolean ret;
+ guint i;
+ gchar **sections;
+ gchar *dbg;
+
+ g_return_if_fail (PK_IS_TRANSACTION (transaction));
+ g_return_if_fail (transaction->priv->tid != NULL);
+
+ dbg = g_strjoinv (", ", hints);
+ egg_debug ("SetHints method called: %s", dbg);
+ g_free (dbg);
+
+ /* check if the sender is the same */
+ ret = pk_transaction_verify_sender (transaction, context, &error);
+ if (!ret) {
+ /* don't release tid */
+ pk_transaction_dbus_return_error (context, error);
+ return;
+ }
+
+ /* parse */
+ for (i=0; hints[i] != NULL; i++) {
+ sections = g_strsplit (hints[i], "=", 3);
+ if (g_strv_length (sections) == 2) {
+ ret = pk_transaction_set_hint (transaction, sections[0], sections[1], &error);
+ } else {
+ error = g_error_new (PK_TRANSACTION_ERROR, PK_TRANSACTION_ERROR_NOT_SUPPORTED,
+ "Could not parse '%s'", hints[i]);
+ ret = FALSE;
+ }
+ g_strfreev (sections);
+
+ /* we failed, so abort current list */
+ if (!ret)
+ break;
+ }
+
+ /* we failed to parse */
+ if (!ret) {
+ pk_transaction_dbus_return_error (context, error);
+ return;
+ }
+
+ /* return from async with success */
+ pk_transaction_dbus_return (context);
+}
+
+/**
* pk_transaction_simulate_install_files:
**/
void
diff --git a/src/pk-transaction.h b/src/pk-transaction.h
index f5cdadc..a454144 100644
--- a/src/pk-transaction.h
+++ b/src/pk-transaction.h
@@ -219,6 +219,9 @@ void pk_transaction_search_name (PkTransaction *transaction,
void pk_transaction_set_locale (PkTransaction *transaction,
const gchar *code,
DBusGMethodInvocation *context);
+void pk_transaction_set_hints (PkTransaction *transaction,
+ gchar **hints,
+ DBusGMethodInvocation *context);
void pk_transaction_simulate_install_files (PkTransaction *transaction,
gchar **full_paths,
DBusGMethodInvocation *context);
More information about the PackageKit-commit
mailing list