~packagekit/packagekit/ubuntu-maverick

« back to all changes in this revision

Viewing changes to debian/patches/branch_update.diff

  • Committer: Jonathan Riddell
  • Date: 2010-08-25 23:43:59 UTC
  • Revision ID: jriddell@canonical.com-20100825234359-qnt0hx2tehg0jnw2
* Add branch_update.diff from Daniel Nicoletti for updates to aptcc:
 - downloadSpeed is now emmited
 - when downloading multiple files at the same time
   do it properly
 - Installing progress was highly improved
 - Detection of update type is fixed and improved
 - Turn off autoremove
* In defaults.patch set MaximumItemsToResolve=5000, aptcc is fast
  enough to handle a large number
* Fix typo in packagekit-backend-aptcc description
* Build-dep on gobject-introspection because autoconf is being autoconfy

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: packagekit-0.6.7/backends/aptcc/acqprogress.cpp
 
2
===================================================================
 
3
--- packagekit-0.6.7.orig/backends/aptcc/acqprogress.cpp        2010-08-25 23:31:22.363452000 +0100
 
4
+++ packagekit-0.6.7/backends/aptcc/acqprogress.cpp     2010-08-25 23:31:36.379452000 +0100
 
5
@@ -3,7 +3,7 @@
 
6
 // $Id: acqprogress.cc,v 1.24 2003/04/27 01:56:48 doogie Exp $
 
7
 /* ######################################################################
 
8
 
 
9
-   Acquire Progress - Command line progress meter 
 
10
+   Acquire Progress - Command line progress meter
 
11
 
 
12
    ##################################################################### */
 
13
                                                                        /*}}}*/
 
14
@@ -39,7 +39,6 @@
 
15
 void AcqPackageKitStatus::Start()
 
16
 {
 
17
    pkgAcquireStatus::Start();
 
18
-   BlankLine[0] = 0;
 
19
    ID = 1;
 
20
 };
 
21
                                                                        /*}}}*/
 
22
@@ -48,13 +47,6 @@
 
23
 /* */
 
24
 void AcqPackageKitStatus::IMSHit(pkgAcquire::ItemDesc &Itm)
 
25
 {
 
26
-//    if (Quiet <= 0)
 
27
-//       cout << '\r' << BlankLine << '\r';
 
28
-// 
 
29
-//    cout << /*_*/("Hit ") << Itm.Description;
 
30
-//    if (Itm.Owner->FileSize != 0)
 
31
-//       cout << " [" << SizeToStr(Itm.Owner->FileSize) << "B]";
 
32
-//    cout << endl;
 
33
    Update = true;
 
34
 };
 
35
                                                                        /*}}}*/
 
36
@@ -68,17 +60,6 @@
 
37
       return;
 
38
 
 
39
    Itm.Owner->ID = ID++;
 
40
-
 
41
-//    if (Quiet > 1)
 
42
-//       return;
 
43
-// 
 
44
-//    if (Quiet <= 0)
 
45
-//       cout << '\r' << BlankLine << '\r';
 
46
-// 
 
47
-//    cout << /*_*/("Get:") << Itm.Owner->ID << ' ' << Itm.Description;
 
48
-//    if (Itm.Owner->FileSize != 0)
 
49
-//       cout << " [" << SizeToStr(Itm.Owner->FileSize) << "B]";
 
50
-//    cout << endl;
 
51
 };
 
52
                                                                        /*}}}*/
 
53
 // AcqPackageKitStatus::Done - Completed a download                            /*{{{*/
 
54
@@ -113,40 +94,37 @@
 
55
 
 
56
        Update = true;
 
57
 };
 
58
+
 
59
                                                                        /*}}}*/
 
60
-// AcqPackageKitStatus::Stop - Finished downloading                            /*{{{*/
 
61
+// AcqTextStatus::Stop - Finished downloading                          /*{{{*/
 
62
 // ---------------------------------------------------------------------
 
63
 /* This prints out the bytes downloaded and the overall average line
 
64
    speed */
 
65
 void AcqPackageKitStatus::Stop()
 
66
 {
 
67
-   pkgAcquireStatus::Stop();
 
68
-
 
69
-   if (FetchedBytes != 0 && _error->PendingError() == false)
 
70
-      ioprintf(cout,/*_*/("Fetched %sB in %s (%sB/s)\n"),
 
71
-              SizeToStr(FetchedBytes).c_str(),
 
72
-              TimeToStr(ElapsedTime).c_str(),
 
73
-              SizeToStr(CurrentCPS).c_str());
 
74
+       pkgAcquireStatus::Stop();
 
75
+       // the items that still on the set are finished
 
76
+       for (set<string>::iterator it = currentPackages.begin();
 
77
+            it != currentPackages.end();
 
78
+            it++ )
 
79
+       {
 
80
+               emit_package(*it, true);
 
81
+       }
 
82
 }
 
83
+
 
84
                                                                        /*}}}*/
 
85
 // AcqPackageKitStatus::Pulse - Regular event pulse                            /*{{{*/
 
86
 // ---------------------------------------------------------------------
 
87
 /* This draws the current progress. Each line has an overall percent
 
88
-   meter and a per active item status meter along with an overall 
 
89
+   meter and a per active item status meter along with an overall
 
90
    bandwidth and ETA indicator. */
 
91
 bool AcqPackageKitStatus::Pulse(pkgAcquire *Owner)
 
92
 {
 
93
        pkgAcquireStatus::Pulse(Owner);
 
94
 
 
95
-       enum {Long = 0,Medium,Short} Mode = Long;
 
96
-
 
97
-       char Buffer[sizeof(BlankLine)];
 
98
-       char *End = Buffer + sizeof(Buffer);
 
99
-       char *S = Buffer;
 
100
-
 
101
        unsigned long percent_done;
 
102
        percent_done = long(double((CurrentBytes + CurrentItems)*100.0)/double(TotalBytes+TotalItems));
 
103
-       
 
104
+
 
105
        // Emit the percent done
 
106
        if (last_percent != percent_done) {
 
107
                if (last_percent < percent_done) {
 
108
@@ -158,6 +136,7 @@
 
109
                last_percent = percent_done;
 
110
        }
 
111
 
 
112
+       set<string> localCurrentPackages = currentPackages;;
 
113
        for (pkgAcquire::Worker *I = Owner->WorkersBegin(); I != 0;
 
114
                I = Owner->WorkerStep(I))
 
115
        {
 
116
@@ -166,12 +145,14 @@
 
117
                {
 
118
                        continue;
 
119
                }
 
120
-               emit_package(I->CurrentItem->ShortDesc);
 
121
+               emit_package(I->CurrentItem->ShortDesc, false);
 
122
+               localCurrentPackages.erase(I->CurrentItem->ShortDesc);
 
123
 
 
124
                // Add the total size and percent
 
125
                if (I->TotalSize > 0 && I->CurrentItem->Owner->Complete == false)
 
126
                {
 
127
                        unsigned long sub_percent;
 
128
+                       // TODO PackageKit needs to emit package with progress.
 
129
                        sub_percent = long(double(I->CurrentSize*100.0)/double(I->TotalSize));
 
130
                        if (last_sub_percent != sub_percent) {
 
131
                                if (last_sub_percent < sub_percent) {
 
132
@@ -182,38 +163,23 @@
 
133
                                }
 
134
                                last_sub_percent = sub_percent;
 
135
                        }
 
136
-               } else {
 
137
-                       if (last_sub_percent != PK_BACKEND_PERCENTAGE_INVALID) {
 
138
-                               pk_backend_set_sub_percentage(m_backend,
 
139
-                                                             PK_BACKEND_PERCENTAGE_INVALID);
 
140
-                               last_sub_percent = PK_BACKEND_PERCENTAGE_INVALID;
 
141
-                       }
 
142
                }
 
143
        }
 
144
 
 
145
-       /* Put in the ETA and cps meter, block off signals to prevent strangeness
 
146
-           during resizing */
 
147
-       sigset_t Sigs,OldSigs;
 
148
-       sigemptyset(&Sigs);
 
149
-       sigaddset(&Sigs,SIGWINCH);
 
150
-       sigprocmask(SIG_BLOCK,&Sigs,&OldSigs);
 
151
-
 
152
-//     if (CurrentCPS != 0)
 
153
-//     {
 
154
-//             char Tmp[300];
 
155
-//             unsigned long ETA = (unsigned long)((TotalBytes - CurrentBytes)/CurrentCPS);
 
156
-//             sprintf(Tmp," %sB/s %s",SizeToStr(CurrentCPS).c_str(),TimeToStr(ETA).c_str());
 
157
-//             unsigned int Len = strlen(Buffer);
 
158
-//             unsigned int LenT = strlen(Tmp);
 
159
-//     //       if (Len + LenT < ScreenWidth)
 
160
-//     //       {
 
161
-//     //       memset(Buffer + Len,' ',ScreenWidth - Len);
 
162
-//     //       strcpy(Buffer + ScreenWidth - LenT,Tmp);
 
163
-//     //       }
 
164
-//     }
 
165
-       Buffer[/*ScreenWidth*/1024] = 0;
 
166
-       BlankLine[/*ScreenWidth*/1024] = 0;
 
167
-       sigprocmask(SIG_SETMASK,&OldSigs,0);
 
168
+       // the items that still on the set are finished
 
169
+       for (set<string>::iterator it = localCurrentPackages.begin();
 
170
+            it != localCurrentPackages.end();
 
171
+            it++ )
 
172
+       {
 
173
+               emit_package(*it, true);
 
174
+       }
 
175
+
 
176
+       double localCPS = (CurrentCPS >= 0) ? CurrentCPS : -1 * CurrentCPS;
 
177
+       if (localCPS != last_CPS)
 
178
+       {
 
179
+               last_CPS = localCPS;
 
180
+               pk_backend_set_speed(m_backend, (int) last_CPS);
 
181
+       }
 
182
 
 
183
        Update = false;
 
184
 
 
185
@@ -253,11 +219,11 @@
 
186
        packages.push_back(packagePair);
 
187
 }
 
188
 
 
189
-void AcqPackageKitStatus::emit_package(const string &name)
 
190
+void AcqPackageKitStatus::emit_package(const string &name, bool finished)
 
191
 {
 
192
        if (name.compare(last_package_name) != 0 && packages.size()) {
 
193
                // find the package
 
194
-               for(vector<pair<pkgCache::PkgIterator, pkgCache::VerIterator> >::iterator it = packages.begin();
 
195
+               for (vector<pair<pkgCache::PkgIterator, pkgCache::VerIterator> >::iterator it = packages.begin();
 
196
                            it != packages.end(); ++it)
 
197
                {
 
198
                        if (_cancelled) {
 
199
@@ -267,8 +233,16 @@
 
200
                        if (name.compare(it->first.Name()) == 0) {
 
201
                                m_apt->emit_package(it->first,
 
202
                                                    it->second,
 
203
-                                                   PK_INFO_ENUM_UNKNOWN, PK_INFO_ENUM_DOWNLOADING);
 
204
+                                                   PK_INFO_ENUM_UNKNOWN,
 
205
+                                                       finished ? PK_INFO_ENUM_FINISHED : PK_INFO_ENUM_DOWNLOADING);
 
206
                                last_package_name = name;
 
207
+
 
208
+                               // Find the downloading item
 
209
+                               if (finished) {
 
210
+                                       currentPackages.erase(name);
 
211
+                               } else {
 
212
+                                       currentPackages.insert(name);
 
213
+                               }
 
214
                                break;
 
215
                        }
 
216
                }
 
217
Index: packagekit-0.6.7/backends/aptcc/acqprogress.h
 
218
===================================================================
 
219
--- packagekit-0.6.7.orig/backends/aptcc/acqprogress.h  2010-08-25 23:31:22.387452000 +0100
 
220
+++ packagekit-0.6.7/backends/aptcc/acqprogress.h       2010-08-25 23:31:36.379452000 +0100
 
221
@@ -3,7 +3,7 @@
 
222
 // $Id: acqprogress.h,v 1.5 2003/02/02 22:24:11 jgg Exp $
 
223
 /* ######################################################################
 
224
 
 
225
-   Acquire Progress - Command line progress meter 
 
226
+   Acquire Progress - Command line progress meter
 
227
 
 
228
    ##################################################################### */
 
229
                                                                        /*}}}*/
 
230
@@ -17,23 +17,10 @@
 
231
 
 
232
 class AcqPackageKitStatus : public pkgAcquireStatus
 
233
 {
 
234
-       PkBackend *m_backend;
 
235
-       char BlankLine[1024];
 
236
-       unsigned long ID;
 
237
-       unsigned long Quiet;
 
238
-       bool &_cancelled;
 
239
-
 
240
-       unsigned long last_percent;
 
241
-       unsigned long last_sub_percent;
 
242
-       string last_package_name;
 
243
-       aptcc *m_apt;
 
244
-
 
245
-       vector<pair<pkgCache::PkgIterator, pkgCache::VerIterator> > packages;
 
246
-
 
247
-       void emit_package(const string &name);
 
248
-
 
249
 public:
 
250
-       virtual bool MediaChange(string Media,string Drive);
 
251
+       AcqPackageKitStatus(aptcc *apt, PkBackend *backend, bool &cancelled);
 
252
+
 
253
+       virtual bool MediaChange(string Media, string Drive);
 
254
        virtual void IMSHit(pkgAcquire::ItemDesc &Itm);
 
255
        virtual void Fetch(pkgAcquire::ItemDesc &Itm);
 
256
        virtual void Done(pkgAcquire::ItemDesc &Itm);
 
257
@@ -45,7 +32,21 @@
 
258
 
 
259
        void addPackagePair(pair<pkgCache::PkgIterator, pkgCache::VerIterator> packagePair);
 
260
 
 
261
-       AcqPackageKitStatus(aptcc *apt, PkBackend *backend, bool &cancelled);
 
262
+private:
 
263
+       PkBackend *m_backend;
 
264
+       unsigned long ID;
 
265
+       bool &_cancelled;
 
266
+
 
267
+       unsigned long last_percent;
 
268
+       unsigned long last_sub_percent;
 
269
+       double        last_CPS;
 
270
+       string        last_package_name;
 
271
+       aptcc         *m_apt;
 
272
+
 
273
+       vector<pair<pkgCache::PkgIterator, pkgCache::VerIterator> > packages;
 
274
+       set<string> currentPackages;
 
275
+
 
276
+       void emit_package(const string &name, bool finished);
 
277
 };
 
278
 
 
279
 #endif
 
280
Index: packagekit-0.6.7/backends/aptcc/apt.cpp
 
281
===================================================================
 
282
--- packagekit-0.6.7.orig/backends/aptcc/apt.cpp        2010-08-25 23:31:32.263452000 +0100
 
283
+++ packagekit-0.6.7/backends/aptcc/apt.cpp     2010-08-25 23:31:36.407452000 +0100
 
284
@@ -57,7 +57,8 @@
 
285
        Policy(0),
 
286
        m_backend(backend),
 
287
        _cancel(cancel),
 
288
-       m_terminalTimeout(120)
 
289
+       m_terminalTimeout(120),
 
290
+       m_lastSubProgress(0)
 
291
 {
 
292
        _cancel = false;
 
293
 }
 
294
@@ -380,8 +381,7 @@
 
295
 void aptcc::emitUpdates(vector<pair<pkgCache::PkgIterator, pkgCache::VerIterator> > &output,
 
296
                         PkBitfield filters)
 
297
 {
 
298
-       // the default update info
 
299
-       PkInfoEnum state = PK_INFO_ENUM_NORMAL;
 
300
+       PkInfoEnum state;
 
301
        // Sort so we can remove the duplicated entries
 
302
        sort(output.begin(), output.end(), compare());
 
303
        // Remove the duplicated entries
 
304
@@ -397,6 +397,9 @@
 
305
                        break;
 
306
                }
 
307
 
 
308
+               // the default update info
 
309
+               state = PK_INFO_ENUM_NORMAL;
 
310
+
 
311
                // let find what kind of upgrade this is
 
312
                pkgCache::VerFileIterator vf = i->second.FileList();
 
313
                std::string origin  = vf.File().Origin();
 
314
@@ -412,7 +415,8 @@
 
315
                        } else if (ends_with(archive, "-updates")) {
 
316
                                state = PK_INFO_ENUM_BUGFIX;
 
317
                        }
 
318
-               } else if (origin.compare("Backports.org archive") == 0) {
 
319
+               } else if (origin.compare("Backports.org archive") == 0 ||
 
320
+                                  ends_with(origin, "-backports")) {
 
321
                        state = PK_INFO_ENUM_ENHANCEMENT;
 
322
                }
 
323
 
 
324
@@ -491,7 +495,7 @@
 
325
                        }
 
326
                        g_free(itemreg);
 
327
                } else {
 
328
-                       egg_debug("Did not match: %", value);
 
329
+                       egg_debug("Did not match: %s", value);
 
330
                }
 
331
        }
 
332
        regfree(&pkre);
 
333
@@ -1196,11 +1200,11 @@
 
334
                        }
 
335
                        //cout << "got line: " << line << endl;
 
336
 
 
337
-                       gchar **split = g_strsplit(line, ":",5);
 
338
-                       gchar *status = g_strstrip(split[0]);
 
339
-                       gchar *pkg = g_strstrip(split[1]);
 
340
+                       gchar **split  = g_strsplit(line, ":",5);
 
341
+                       gchar *status  = g_strstrip(split[0]);
 
342
+                       gchar *pkg     = g_strstrip(split[1]);
 
343
                        gchar *percent = g_strstrip(split[2]);
 
344
-                       gchar *str = g_strdup(g_strstrip(split[3]));
 
345
+                       gchar *str     = g_strdup(g_strstrip(split[3]));
 
346
 
 
347
                        // major problem here, we got unexpected input. should _never_ happen
 
348
                        if(!(pkg && status)) {
 
349
@@ -1247,38 +1251,113 @@
 
350
                                pk_backend_message(m_backend,
 
351
                                                   PK_MESSAGE_ENUM_CONFIG_FILES_CHANGED,
 
352
                                                   confmsg);
 
353
-                               write(writeFd, "N\n", 2);
 
354
+                               if (write(writeFd, "N\n", 2) != 2) {
 
355
+                                       // TODO we need a DPKG patch to use debconf
 
356
+                                       egg_debug("Failed to write");
 
357
+                               }
 
358
                        } else if (strstr(status, "pmstatus") != NULL) {
 
359
+                               // INSTALL & UPDATE
 
360
+                               // - Running dpkg
 
361
+                               // loops ALL
 
362
+                               // -  0 Installing pkg (sometimes this is skiped)
 
363
+                               // - 25 Preparing pkg
 
364
+                               // - 50 Unpacking pkg
 
365
+                               // - 75 Preparing to configure pkg
 
366
+                               //   ** Some pkgs have
 
367
+                               //   - Running post-installation
 
368
+                               //   - Running dpkg
 
369
+                               // reloops all
 
370
+                               // -   0 Configuring pkg
 
371
+                               // - +25 Configuring pkg (SOMETIMES)
 
372
+                               // - 100 Installed pkg
 
373
+                               // after all
 
374
+                               // - Running post-installation
 
375
+
 
376
+                               // REMOVE
 
377
+                               // - Running dpkg
 
378
+                               // loops
 
379
+                               // - 25  Removing pkg
 
380
+                               // - 50  Preparing for removal of pkg
 
381
+                               // - 75  Removing pkg
 
382
+                               // - 100 Removed pkg
 
383
+                               // after all
 
384
+                               // - Running post-installation
 
385
+
 
386
                                // Let's start parsing the status:
 
387
-                               if (starts_with(str, "Preparing")) {
 
388
+                               if (starts_with(str, "Preparing to configure")) {
 
389
+                                       // Preparing to Install/configure
 
390
+                                       cout << "Found Preparing to configure! " << line << endl;
 
391
+                                       // The next item might be Configuring so better it be 100
 
392
+                                       m_lastSubProgress = 100;
 
393
+                                       emitTransactionPackage(pkg, PK_INFO_ENUM_PREPARING);
 
394
+                                       pk_backend_set_sub_percentage(m_backend, 75);
 
395
+                               } else if (starts_with(str, "Preparing for removal")) {
 
396
+                                       // Preparing to Install/configure
 
397
+                                       cout << "Found Preparing for removal! " << line << endl;
 
398
+                                       m_lastSubProgress = 50;
 
399
+                                       emitTransactionPackage(pkg, PK_INFO_ENUM_REMOVING);
 
400
+                                       pk_backend_set_sub_percentage(m_backend, m_lastSubProgress);
 
401
+                               } else if (starts_with(str, "Preparing")) {
 
402
                                        // Preparing to Install/configure
 
403
                                        cout << "Found Preparing! " << line << endl;
 
404
+                                       // if last package is different then finish it
 
405
+                                       if (!m_lastPackage.empty() && m_lastPackage.compare(pkg) != 0) {
 
406
+                                               cout << "FINISH the last package: " << m_lastPackage << endl;
 
407
+                                               emitTransactionPackage(m_lastPackage, PK_INFO_ENUM_FINISHED);
 
408
+                                       }
 
409
                                        emitTransactionPackage(pkg, PK_INFO_ENUM_PREPARING);
 
410
+                                       pk_backend_set_sub_percentage(m_backend, 25);
 
411
                                } else if (starts_with(str, "Unpacking")) {
 
412
                                        cout << "Found Unpacking! " << line << endl;
 
413
                                        emitTransactionPackage(pkg, PK_INFO_ENUM_DECOMPRESSING);
 
414
+                                       pk_backend_set_sub_percentage(m_backend, 50);
 
415
                                } else if (starts_with(str, "Configuring")) {
 
416
                                        // Installing Package
 
417
                                        cout << "Found Configuring! " << line << endl;
 
418
+                                       if (m_lastSubProgress >= 100 && !m_lastPackage.empty()) {
 
419
+                                               cout << "FINISH the last package: " << m_lastPackage << endl;
 
420
+                                               emitTransactionPackage(m_lastPackage, PK_INFO_ENUM_FINISHED);
 
421
+                                               m_lastSubProgress = 0;
 
422
+                                       }
 
423
                                        emitTransactionPackage(pkg, PK_INFO_ENUM_INSTALLING);
 
424
+                                       pk_backend_set_sub_percentage(m_backend, m_lastSubProgress);
 
425
+                                       m_lastSubProgress += 25;
 
426
                                } else if (starts_with(str, "Running dpkg")) {
 
427
                                        cout << "Found Running dpkg! " << line << endl;
 
428
                                } else if (starts_with(str, "Running")) {
 
429
                                        cout << "Found Running! " << line << endl;
 
430
-                                       emitTransactionPackage(pkg, PK_INFO_ENUM_CLEANUP);
 
431
+                                       pk_backend_set_status (m_backend, PK_STATUS_ENUM_COMMIT);
 
432
                                } else if (starts_with(str, "Installing")) {
 
433
                                        cout << "Found Installing! " << line << endl;
 
434
+                                       // FINISH the last package
 
435
+                                       if (!m_lastPackage.empty()) {
 
436
+                                               cout << "FINISH the last package: " << m_lastPackage << endl;
 
437
+                                               emitTransactionPackage(m_lastPackage, PK_INFO_ENUM_FINISHED);
 
438
+                                       }
 
439
+                                       m_lastSubProgress = 0;
 
440
                                        emitTransactionPackage(pkg, PK_INFO_ENUM_INSTALLING);
 
441
+                                       pk_backend_set_sub_percentage(m_backend, 0);
 
442
                                } else if (starts_with(str, "Removing")) {
 
443
                                        cout << "Found Removing! " << line << endl;
 
444
+                                       if (m_lastSubProgress >= 100 && !m_lastPackage.empty()) {
 
445
+                                               cout << "FINISH the last package: " << m_lastPackage << endl;
 
446
+                                               emitTransactionPackage(m_lastPackage, PK_INFO_ENUM_FINISHED);
 
447
+                                       }
 
448
+                                       m_lastSubProgress += 25;
 
449
                                        emitTransactionPackage(pkg, PK_INFO_ENUM_REMOVING);
 
450
+                                       pk_backend_set_sub_percentage(m_backend, m_lastSubProgress);
 
451
                                } else if (starts_with(str, "Installed") ||
 
452
-                                          starts_with(str, "Removed")) {
 
453
+                                              starts_with(str, "Removed")) {
 
454
                                        cout << "Found FINISHED! " << line << endl;
 
455
+                                       m_lastSubProgress = 100;
 
456
                                        emitTransactionPackage(pkg, PK_INFO_ENUM_FINISHED);
 
457
                                } else {
 
458
                                        cout << ">>>Unmaped value<<< :" << line << endl;
 
459
                                }
 
460
+
 
461
+                               if (!starts_with(str, "Running")) {
 
462
+                                       m_lastPackage = pkg;
 
463
+                               }
 
464
                                m_startCounting = true;
 
465
                        } else {
 
466
                                m_startCounting = true;
 
467
@@ -1322,7 +1401,7 @@
 
468
 /* Remove unused automatic packages */
 
469
 bool aptcc::DoAutomaticRemove(pkgCacheFile &Cache)
 
470
 {
 
471
-       bool doAutoRemove = _config->FindB("APT::Get::AutomaticRemove", true);
 
472
+       bool doAutoRemove = _config->FindB("APT::Get::AutomaticRemove", false);
 
473
        pkgDepCache::ActionGroup group(*Cache);
 
474
 
 
475
        if (_config->FindB("APT::Get::Remove",true) == false &&
 
476
@@ -1375,11 +1454,10 @@
 
477
                // failed to open cache, try checkDeps then..
 
478
                // || Cache.CheckDeps(CmdL.FileSize() != 1) == false
 
479
                if (WithLock == false || (timeout <= 0)) {
 
480
-                       pk_backend_error_code(m_backend,
 
481
-                                             PK_ERROR_ENUM_NO_CACHE,
 
482
-                                             "Could not open package cache.");
 
483
+                       show_errors(m_backend, PK_ERROR_ENUM_CANNOT_GET_LOCK);
 
484
                        return false;
 
485
                } else {
 
486
+                       _error->Discard();
 
487
                        pk_backend_set_status (m_backend, PK_STATUS_ENUM_WAITING_FOR_LOCK);
 
488
                        sleep(1);
 
489
                        timeout--;
 
490
@@ -1563,7 +1641,7 @@
 
491
        {
 
492
            cout << DebBytes << ',' << Cache->DebSize() << endl;
 
493
 cout << "How odd.. The sizes didn't match, email apt@packages.debian.org";
 
494
-               _error->Warning("How odd.. The sizes didn't match, email apt@packages.debian.org");
 
495
+/*             _error->Warning("How odd.. The sizes didn't match, email apt@packages.debian.org");*/
 
496
        }
 
497
 
 
498
        // Number of bytes
 
499
@@ -1613,6 +1691,8 @@
 
500
                return false;
 
501
        }
 
502
 
 
503
+       pk_backend_set_status (m_backend, PK_STATUS_ENUM_DOWNLOAD);
 
504
+       pk_backend_set_simultaneous_mode(m_backend, true);
 
505
        // Download and check if we can continue
 
506
        if (fetcher.Run() != pkgAcquire::Continue
 
507
            && _cancel == false)
 
508
@@ -1621,12 +1701,16 @@
 
509
                show_errors(m_backend, PK_ERROR_ENUM_PACKAGE_DOWNLOAD_FAILED);
 
510
                return false;
 
511
        }
 
512
+       pk_backend_set_simultaneous_mode(m_backend, false);
 
513
 
 
514
        if (_error->PendingError() == true) {
 
515
                cout << "PendingError download" << endl;
 
516
                return false;
 
517
        }
 
518
 
 
519
+       // Right now it's not safe to cancel
 
520
+       pk_backend_set_allow_cancel (m_backend, false);
 
521
+
 
522
        // TODO true or false?
 
523
        if (_cancel) {
 
524
                return true;
 
525
Index: packagekit-0.6.7/backends/aptcc/apt.h
 
526
===================================================================
 
527
--- packagekit-0.6.7.orig/backends/aptcc/apt.h  2010-08-25 23:31:32.287452000 +0100
 
528
+++ packagekit-0.6.7/backends/aptcc/apt.h       2010-08-25 23:31:36.407452000 +0100
 
529
@@ -146,6 +146,7 @@
 
530
                          bool Remove,
 
531
                          bool BrokenFix,
 
532
                          unsigned int &ExpectedInst);
 
533
+
 
534
        /**
 
535
         *  interprets dpkg status fd
 
536
        */
 
537
@@ -157,8 +158,11 @@
 
538
        vector<pair<pkgCache::PkgIterator, pkgCache::VerIterator> > m_pkgs;
 
539
        void populateInternalPackages(pkgCacheFile &Cache);
 
540
        void emitTransactionPackage(string name, PkInfoEnum state);
 
541
-       time_t m_lastTermAction;
 
542
-       bool m_startCounting;
 
543
+       time_t     m_lastTermAction;
 
544
+       string     m_lastPackage;
 
545
+       uint       m_lastSubProgress;
 
546
+       PkInfoEnum m_state;
 
547
+       bool       m_startCounting;
 
548
        // when the internal terminal timesout after no activity
 
549
        int m_terminalTimeout;
 
550
        pid_t m_child_pid;
 
551
Index: packagekit-0.6.7/configure.ac
 
552
===================================================================
 
553
--- packagekit-0.6.7.orig/configure.ac  2010-08-25 23:31:32.303452000 +0100
 
554
+++ packagekit-0.6.7/configure.ac       2010-08-25 23:31:36.411452000 +0100
 
555
@@ -3,7 +3,7 @@
 
556
 
 
557
 m4_define([pk_major_version], [0])
 
558
 m4_define([pk_minor_version], [6])
 
559
-m4_define([pk_micro_version], [7])
 
560
+m4_define([pk_micro_version], [8])
 
561
 m4_define([pk_version],
 
562
           [pk_major_version.pk_minor_version.pk_micro_version])
 
563
 
 
564
@@ -585,9 +585,20 @@
 
565
 AC_SUBST(security_framework, "$with_security_framework")
 
566
 
 
567
 if test x$with_security_framework = xpolkit; then
 
568
+       # polkit >= 0.97 uses polkit_authority_get_sync() rather than
 
569
+       # polkit_authority_get
 
570
        PKG_CHECK_MODULES(POLKIT, \
 
571
                          polkit-backend-1 \
 
572
-                         polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED)
 
573
+                         polkit-gobject-1 >= 0.97,
 
574
+                         has_new_polkit=yes,
 
575
+                         has_new_polkit=no)
 
576
+       if test x$has_new_polkit = xno; then
 
577
+               PKG_CHECK_MODULES(POLKIT, \
 
578
+                                 polkit-backend-1 \
 
579
+                                 polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED)
 
580
+       else
 
581
+               AC_DEFINE(USE_SECURITY_POLKIT_NEW, 1, [if we should use PolicyKit's new API])
 
582
+       fi
 
583
        AC_DEFINE(USE_SECURITY_POLKIT, 1, [if we should use PolicyKit])
 
584
 elif test x$with_security_framework = xdummy; then
 
585
        AC_DEFINE(USE_SECURITY_DUMMY, 1, [if we should use a dummy security framework])
 
586
Index: packagekit-0.6.7/po/sv.po
 
587
===================================================================
 
588
--- packagekit-0.6.7.orig/po/sv.po      2010-08-25 23:31:32.327452000 +0100
 
589
+++ packagekit-0.6.7/po/sv.po   2010-08-25 23:31:36.411452000 +0100
 
590
@@ -7,8 +7,8 @@
 
591
 msgstr ""
 
592
 "Project-Id-Version: packagekit\n"
 
593
 "Report-Msgid-Bugs-To: \n"
 
594
-"POT-Creation-Date: 2010-03-01 15:24+0000\n"
 
595
-"PO-Revision-Date: 2010-03-01 18:26+0100\n"
 
596
+"POT-Creation-Date: 2010-08-11 10:35+0000\n"
 
597
+"PO-Revision-Date: 2010-08-12 01:19+0100\n"
 
598
 "Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
 
599
 "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
 
600
 "MIME-Version: 1.0\n"
 
601
@@ -18,119 +18,119 @@
 
602
 
 
603
 #. TRANSLATORS: this is an atomic transaction
 
604
 #. TRANSLATORS: the role is the point of the transaction, e.g. update-system
 
605
-#: ../client/pk-console.c:175
 
606
-#: ../client/pk-console.c:597
 
607
+#: ../client/pk-console.c:176
 
608
+#: ../client/pk-console.c:598
 
609
 msgid "Transaction"
 
610
 msgstr "Transaktion"
 
611
 
 
612
 #. TRANSLATORS: this is the time the transaction was started in system timezone
 
613
-#: ../client/pk-console.c:177
 
614
+#: ../client/pk-console.c:178
 
615
 msgid "System time"
 
616
 msgstr "Systemtid"
 
617
 
 
618
 #. TRANSLATORS: this is if the transaction succeeded or not
 
619
-#: ../client/pk-console.c:179
 
620
+#: ../client/pk-console.c:180
 
621
 msgid "Succeeded"
 
622
 msgstr "Lyckades"
 
623
 
 
624
-#: ../client/pk-console.c:179
 
625
+#: ../client/pk-console.c:180
 
626
 msgid "True"
 
627
 msgstr "Sant"
 
628
 
 
629
-#: ../client/pk-console.c:179
 
630
+#: ../client/pk-console.c:180
 
631
 msgid "False"
 
632
 msgstr "Falskt"
 
633
 
 
634
 #. TRANSLATORS: this is the transactions role, e.g. "update-system"
 
635
 #. TRANSLATORS: the trasaction role, e.g. update-system
 
636
-#: ../client/pk-console.c:181
 
637
+#: ../client/pk-console.c:182
 
638
 #: ../src/pk-polkit-action-lookup.c:332
 
639
 msgid "Role"
 
640
 msgstr "Roll"
 
641
 
 
642
 #. TRANSLATORS: this is The duration of the transaction
 
643
-#: ../client/pk-console.c:186
 
644
+#: ../client/pk-console.c:187
 
645
 msgid "Duration"
 
646
 msgstr "Längd"
 
647
 
 
648
-#: ../client/pk-console.c:186
 
649
+#: ../client/pk-console.c:187
 
650
 msgid "(seconds)"
 
651
 msgstr "(sekunder)"
 
652
 
 
653
 #. TRANSLATORS: this is The command line used to do the action
 
654
 #. TRANSLATORS: the command line of the thing that wants the authentication
 
655
-#: ../client/pk-console.c:190
 
656
+#: ../client/pk-console.c:191
 
657
 #: ../src/pk-polkit-action-lookup.c:346
 
658
 msgid "Command line"
 
659
 msgstr "Kommandorad"
 
660
 
 
661
 #. TRANSLATORS: this is the user ID of the user that started the action
 
662
-#: ../client/pk-console.c:192
 
663
+#: ../client/pk-console.c:193
 
664
 msgid "User ID"
 
665
 msgstr "Användar-id"
 
666
 
 
667
 #. TRANSLATORS: this is the username, e.g. hughsie
 
668
-#: ../client/pk-console.c:199
 
669
+#: ../client/pk-console.c:200
 
670
 msgid "Username"
 
671
 msgstr "Användarnamn"
 
672
 
 
673
 #. TRANSLATORS: this is the users real name, e.g. "Richard Hughes"
 
674
-#: ../client/pk-console.c:203
 
675
+#: ../client/pk-console.c:204
 
676
 msgid "Real name"
 
677
 msgstr "Verkligt namn"
 
678
 
 
679
-#: ../client/pk-console.c:211
 
680
+#: ../client/pk-console.c:212
 
681
 msgid "Affected packages:"
 
682
 msgstr "Påverkade paket:"
 
683
 
 
684
-#: ../client/pk-console.c:213
 
685
+#: ../client/pk-console.c:214
 
686
 msgid "Affected packages: None"
 
687
 msgstr "Påverkade paket: Inga"
 
688
 
 
689
 #. TRANSLATORS: this is the distro, e.g. Fedora 10
 
690
-#: ../client/pk-console.c:248
 
691
+#: ../client/pk-console.c:249
 
692
 msgid "Distribution"
 
693
 msgstr "Distribution"
 
694
 
 
695
 #. TRANSLATORS: this is type of update, stable or testing
 
696
-#: ../client/pk-console.c:250
 
697
+#: ../client/pk-console.c:251
 
698
 msgid "Type"
 
699
 msgstr "Typ"
 
700
 
 
701
 #. TRANSLATORS: this is any summary text describing the upgrade
 
702
 #. TRANSLATORS: this is the summary of the group
 
703
-#: ../client/pk-console.c:252
 
704
-#: ../client/pk-console.c:291
 
705
+#: ../client/pk-console.c:253
 
706
+#: ../client/pk-console.c:292
 
707
 msgid "Summary"
 
708
 msgstr "Sammandrag"
 
709
 
 
710
 #. TRANSLATORS: this is the group category name
 
711
-#: ../client/pk-console.c:280
 
712
+#: ../client/pk-console.c:281
 
713
 msgid "Category"
 
714
 msgstr "Kategori"
 
715
 
 
716
 #. TRANSLATORS: this is group identifier
 
717
-#: ../client/pk-console.c:282
 
718
+#: ../client/pk-console.c:283
 
719
 msgid "ID"
 
720
 msgstr "ID"
 
721
 
 
722
 #. TRANSLATORS: this is the parent group
 
723
-#: ../client/pk-console.c:285
 
724
+#: ../client/pk-console.c:286
 
725
 msgid "Parent"
 
726
 msgstr "Förälder"
 
727
 
 
728
 #. TRANSLATORS: this is the name of the parent group
 
729
-#: ../client/pk-console.c:288
 
730
+#: ../client/pk-console.c:289
 
731
 msgid "Name"
 
732
 msgstr "Namn"
 
733
 
 
734
 #. TRANSLATORS: this is preferred icon for the group
 
735
-#: ../client/pk-console.c:294
 
736
+#: ../client/pk-console.c:295
 
737
 msgid "Icon"
 
738
 msgstr "Ikon"
 
739
 
 
740
 #. TRANSLATORS: this is a header for the package that can be updated
 
741
-#: ../client/pk-console.c:340
 
742
+#: ../client/pk-console.c:341
 
743
 msgid "Details about the update:"
 
744
 msgstr "Detaljer om uppdateringen:"
 
745
 
 
746
@@ -139,8 +139,8 @@
 
747
 #. TRANSLATORS: the package that is not signed by a known key
 
748
 #. TRANSLATORS: the package name that was trying to be installed
 
749
 #. TRANSLATORS: title, the names of the packages that the method is processing
 
750
-#: ../client/pk-console.c:346
 
751
-#: ../client/pk-console.c:616
 
752
+#: ../client/pk-console.c:347
 
753
+#: ../client/pk-console.c:617
 
754
 #: ../lib/packagekit-glib2/pk-task-text.c:126
 
755
 #: ../lib/packagekit-glib2/pk-task-text.c:208
 
756
 #: ../src/pk-polkit-action-lookup.c:357
 
757
@@ -150,192 +150,196 @@
 
758
 msgstr[1] "Paket"
 
759
 
 
760
 #. TRANSLATORS: details about the update, any packages that this update updates
 
761
-#: ../client/pk-console.c:349
 
762
+#: ../client/pk-console.c:350
 
763
 msgid "Updates"
 
764
 msgstr "Uppdaterar"
 
765
 
 
766
 #. TRANSLATORS: details about the update, any packages that this update obsoletes
 
767
-#: ../client/pk-console.c:353
 
768
+#: ../client/pk-console.c:354
 
769
 msgid "Obsoletes"
 
770
 msgstr "Föräldrar"
 
771
 
 
772
 #. TRANSLATORS: details about the update, the vendor URLs
 
773
 #. TRANSLATORS: the vendor (e.g. vmware) that is providing the EULA
 
774
-#: ../client/pk-console.c:357
 
775
+#: ../client/pk-console.c:358
 
776
 #: ../lib/packagekit-glib2/pk-task-text.c:211
 
777
 msgid "Vendor"
 
778
 msgstr "Leverantör"
 
779
 
 
780
 #. TRANSLATORS: details about the update, the bugzilla URLs
 
781
-#: ../client/pk-console.c:361
 
782
+#: ../client/pk-console.c:362
 
783
 msgid "Bugzilla"
 
784
 msgstr "Bugzilla"
 
785
 
 
786
 #. TRANSLATORS: details about the update, the CVE URLs
 
787
-#: ../client/pk-console.c:365
 
788
+#: ../client/pk-console.c:366
 
789
 msgid "CVE"
 
790
 msgstr "CVE"
 
791
 
 
792
 #. TRANSLATORS: details about the update, if the package requires a restart
 
793
-#: ../client/pk-console.c:369
 
794
+#: ../client/pk-console.c:370
 
795
 msgid "Restart"
 
796
 msgstr "Omstart"
 
797
 
 
798
 #. TRANSLATORS: details about the update, any description of the update
 
799
-#: ../client/pk-console.c:373
 
800
+#: ../client/pk-console.c:374
 
801
 msgid "Update text"
 
802
 msgstr "Uppdateringstext"
 
803
 
 
804
 #. TRANSLATORS: details about the update, the changelog for the package
 
805
-#: ../client/pk-console.c:377
 
806
+#: ../client/pk-console.c:378
 
807
 msgid "Changes"
 
808
 msgstr "Ändringar"
 
809
 
 
810
 #. TRANSLATORS: details about the update, the ongoing state of the update
 
811
-#: ../client/pk-console.c:381
 
812
+#: ../client/pk-console.c:382
 
813
 msgid "State"
 
814
 msgstr "Tillstånd"
 
815
 
 
816
 #. TRANSLATORS: details about the update, date the update was issued
 
817
-#: ../client/pk-console.c:385
 
818
+#: ../client/pk-console.c:386
 
819
 msgid "Issued"
 
820
 msgstr "Utfärdad"
 
821
 
 
822
 #. TRANSLATORS: details about the update, date the update was updated
 
823
 #. TRANSLATORS: The action of the package, in past tense
 
824
-#: ../client/pk-console.c:389
 
825
-#: ../lib/packagekit-glib2/pk-console-shared.c:510
 
826
+#: ../client/pk-console.c:390
 
827
+#: ../lib/packagekit-glib2/pk-console-shared.c:517
 
828
 msgid "Updated"
 
829
 msgstr "Uppdaterad"
 
830
 
 
831
 #. TRANSLATORS: if the repo is enabled
 
832
-#: ../client/pk-console.c:425
 
833
+#: ../client/pk-console.c:426
 
834
 msgid "Enabled"
 
835
 msgstr "Aktiverad"
 
836
 
 
837
 #. TRANSLATORS: if the repo is disabled
 
838
-#: ../client/pk-console.c:428
 
839
+#: ../client/pk-console.c:429
 
840
 msgid "Disabled"
 
841
 msgstr "Inaktiverad"
 
842
 
 
843
 #. TRANSLATORS: a package requires the system to be restarted
 
844
-#: ../client/pk-console.c:460
 
845
+#: ../client/pk-console.c:461
 
846
 msgid "System restart required by:"
 
847
 msgstr "Omstart av systemet krävs:"
 
848
 
 
849
 #. TRANSLATORS: a package requires the session to be restarted
 
850
-#: ../client/pk-console.c:463
 
851
+#: ../client/pk-console.c:464
 
852
 msgid "Session restart required:"
 
853
 msgstr "Omstart av sessionen krävs:"
 
854
 
 
855
 #. TRANSLATORS: a package requires the system to be restarted due to a security update
 
856
-#: ../client/pk-console.c:466
 
857
+#: ../client/pk-console.c:467
 
858
 msgid "System restart (security) required by:"
 
859
 msgstr "Omstart av systemet (säkerhet) krävs av:"
 
860
 
 
861
 #. TRANSLATORS: a package requires the session to be restarted due to a security update
 
862
-#: ../client/pk-console.c:469
 
863
+#: ../client/pk-console.c:470
 
864
 msgid "Session restart (security) required:"
 
865
 msgstr "Omstart av sessionen (säkerhet) krävs:"
 
866
 
 
867
 #. TRANSLATORS: a package requires the application to be restarted
 
868
-#: ../client/pk-console.c:472
 
869
+#: ../client/pk-console.c:473
 
870
 msgid "Application restart required by:"
 
871
 msgstr "Omstart av program krävs av:"
 
872
 
 
873
 #. TRANSLATORS: This a list of details about the package
 
874
-#: ../client/pk-console.c:507
 
875
+#: ../client/pk-console.c:508
 
876
 msgid "Package description"
 
877
 msgstr "Paketbeskrivning"
 
878
 
 
879
 #. TRANSLATORS: This a message (like a little note that may be of interest) from the transaction
 
880
-#: ../client/pk-console.c:538
 
881
+#: ../client/pk-console.c:539
 
882
 msgid "Message:"
 
883
 msgstr "Meddelande:"
 
884
 
 
885
 #. TRANSLATORS: This where the package has no files
 
886
-#: ../client/pk-console.c:559
 
887
+#: ../client/pk-console.c:560
 
888
 msgid "No files"
 
889
 msgstr "Inga filer"
 
890
 
 
891
 #. TRANSLATORS: This a list files contained in the package
 
892
-#: ../client/pk-console.c:564
 
893
+#: ../client/pk-console.c:565
 
894
 msgid "Package files"
 
895
 msgstr "Paketfiler"
 
896
 
 
897
 #. TRANSLATORS: the percentage complete of the transaction
 
898
-#: ../client/pk-console.c:632
 
899
+#: ../client/pk-console.c:633
 
900
 msgid "Percentage"
 
901
 msgstr "Procentandel"
 
902
 
 
903
 #. TRANSLATORS: the status of the transaction (e.g. downloading)
 
904
-#: ../client/pk-console.c:650
 
905
+#: ../client/pk-console.c:651
 
906
 msgid "Status"
 
907
 msgstr "Status"
 
908
 
 
909
 #. TRANSLATORS: the results from the transaction
 
910
-#: ../client/pk-console.c:679
 
911
+#: ../client/pk-console.c:680
 
912
 msgid "Results:"
 
913
 msgstr "Resultat:"
 
914
 
 
915
 #. TRANSLATORS: we failed to get any results, which is pretty fatal in my book
 
916
-#: ../client/pk-console.c:686
 
917
+#: ../client/pk-console.c:687
 
918
 msgid "Fatal error"
 
919
 msgstr "Ödesdigert fel"
 
920
 
 
921
 #. TRANSLATORS: the transaction failed in a way we could not expect
 
922
-#: ../client/pk-console.c:695
 
923
-#: ../contrib/command-not-found/pk-command-not-found.c:432
 
924
-#: ../contrib/command-not-found/pk-command-not-found.c:603
 
925
+#: ../client/pk-console.c:696
 
926
+#: ../contrib/command-not-found/pk-command-not-found.c:454
 
927
+#: ../contrib/command-not-found/pk-command-not-found.c:634
 
928
 msgid "The transaction failed"
 
929
 msgstr "Transaktionen misslyckades"
 
930
 
 
931
 #. TRANSLATORS: print a message when there are no updates
 
932
-#: ../client/pk-console.c:726
 
933
+#: ../client/pk-console.c:727
 
934
 msgid "There are no updates available at this time."
 
935
 msgstr "Det finns inga uppdateringar tillgängliga just nu."
 
936
 
 
937
+#: ../client/pk-console.c:750
 
938
+msgid "There are no upgrades available at this time."
 
939
+msgstr "Det finns inga uppgraderingar tillgängliga just nu."
 
940
+
 
941
 #. TRANSLATORS: a package needs to restart their system
 
942
-#: ../client/pk-console.c:814
 
943
+#: ../client/pk-console.c:817
 
944
 msgid "Please restart the computer to complete the update."
 
945
 msgstr "Starta om datorn för att färdigställa uppdateringen."
 
946
 
 
947
 #. TRANSLATORS: a package needs to restart the session
 
948
-#: ../client/pk-console.c:817
 
949
+#: ../client/pk-console.c:820
 
950
 msgid "Please logout and login to complete the update."
 
951
 msgstr "Logga ut och logga in igen för att färdigställa uppdateringen."
 
952
 
 
953
 #. TRANSLATORS: a package needs to restart their system (due to security)
 
954
-#: ../client/pk-console.c:820
 
955
+#: ../client/pk-console.c:823
 
956
 msgid "Please restart the computer to complete the update as important security updates have been installed."
 
957
 msgstr "Starta om datorn för att färdigställa uppdateringen eftersom viktiga säkerhetsuppdateringar har installerats."
 
958
 
 
959
 #. TRANSLATORS: a package needs to restart the session (due to security)
 
960
-#: ../client/pk-console.c:823
 
961
+#: ../client/pk-console.c:826
 
962
 msgid "Please logout and login to complete the update as important security updates have been installed."
 
963
 msgstr "Logga ut och logga in igen för att färdigställa uppdateringen eftersom viktiga säkerhetsuppdateringar har installerats."
 
964
 
 
965
 #. TRANSLATORS: The user used 'pkcon install dave.rpm' rather than 'pkcon install-local dave.rpm'
 
966
-#: ../client/pk-console.c:849
 
967
+#: ../client/pk-console.c:852
 
968
 #, c-format
 
969
-msgid "Extected package name, actually got file. Try using 'pkcon install-local %s' instead."
 
970
-msgstr "Förväntade paketnamn men fick filen. Prova använda \"pkcon install-local %s\" istället."
 
971
+msgid "Expected package name, actually got file. Try using 'pkcon install-local %s' instead."
 
972
+msgstr "Förväntade paketnamn men fick fil. Prova att använda \"pkcon install-local %s\" istället."
 
973
 
 
974
 #. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
 
975
-#: ../client/pk-console.c:857
 
976
+#: ../client/pk-console.c:860
 
977
 #, c-format
 
978
 msgid "This tool could not find any available package: %s"
 
979
 msgstr "Detta verktyg kunde inte hitta några tillgängliga paket: %s"
 
980
 
 
981
 #. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
 
982
-#: ../client/pk-console.c:885
 
983
+#: ../client/pk-console.c:888
 
984
 #, c-format
 
985
 msgid "This tool could not find the installed package: %s"
 
986
 msgstr "Detta verktyg kunde inte hitta det installerade paketet: %s"
 
987
 
 
988
 #. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
 
989
-#: ../client/pk-console.c:913
 
990
-#: ../client/pk-console.c:941
 
991
+#: ../client/pk-console.c:916
 
992
+#: ../client/pk-console.c:944
 
993
 #, c-format
 
994
 msgid "This tool could not find the package: %s"
 
995
 msgstr "Detta verktyg kunde inte hitta paketet: %s"
 
996
@@ -344,185 +348,200 @@
 
997
 #. TRANSLATORS: There was an error getting the dependencies for the package. The detailed error follows
 
998
 #. TRANSLATORS: There was an error getting the details about the package. The detailed error follows
 
999
 #. TRANSLATORS: The package name was not found in any software sources. The detailed error follows
 
1000
-#: ../client/pk-console.c:969
 
1001
-#: ../client/pk-console.c:997
 
1002
-#: ../client/pk-console.c:1025
 
1003
-#: ../client/pk-console.c:1053
 
1004
-#: ../client/pk-console.c:1081
 
1005
+#: ../client/pk-console.c:972
 
1006
+#: ../client/pk-console.c:1000
 
1007
+#: ../client/pk-console.c:1028
 
1008
+#: ../client/pk-console.c:1056
 
1009
+#: ../client/pk-console.c:1084
 
1010
 #, c-format
 
1011
 msgid "This tool could not find all the packages: %s"
 
1012
 msgstr "Detta verktyg kunde inte hitta alla paketen: %s"
 
1013
 
 
1014
 #. TRANSLATORS: This is when the daemon crashed, and we are up shit creek without a paddle
 
1015
-#: ../client/pk-console.c:1110
 
1016
+#: ../client/pk-console.c:1113
 
1017
 msgid "The daemon crashed mid-transaction!"
 
1018
 msgstr "Bakgrundsprocessen kraschade mitt under transaktionen!"
 
1019
 
 
1020
 #. TRANSLATORS: This is the header to the --help menu
 
1021
-#: ../client/pk-console.c:1144
 
1022
+#: ../client/pk-console.c:1147
 
1023
 msgid "PackageKit Console Interface"
 
1024
 msgstr "Konsollgränssnitt för PackageKit"
 
1025
 
 
1026
 #. these are commands we can use with pkcon
 
1027
-#: ../client/pk-console.c:1146
 
1028
+#: ../client/pk-console.c:1149
 
1029
 msgid "Subcommands:"
 
1030
 msgstr "Underkommandon:"
 
1031
 
 
1032
 #. TRANSLATORS: we keep a database updated with the time that an action was last executed
 
1033
-#: ../client/pk-console.c:1225
 
1034
+#: ../client/pk-console.c:1228
 
1035
 msgid "Failed to get the time since this action was last completed"
 
1036
 msgstr "Misslyckades med att få tiden sedan denna åtgärd senast färdigställdes"
 
1037
 
 
1038
 #. TRANSLATORS: command line argument, just show the version string
 
1039
-#: ../client/pk-console.c:1261
 
1040
-#: ../client/pk-monitor.c:306
 
1041
+#: ../client/pk-console.c:1268
 
1042
+#: ../client/pk-monitor.c:373
 
1043
 msgid "Show the program version and exit"
 
1044
 msgstr "Visa programversion och avsluta"
 
1045
 
 
1046
 #. TRANSLATORS: command line argument, use a filter to narrow down results
 
1047
-#: ../client/pk-console.c:1264
 
1048
+#: ../client/pk-console.c:1271
 
1049
 msgid "Set the filter, e.g. installed"
 
1050
 msgstr "Ange filtret, t.ex. installed"
 
1051
 
 
1052
+#. TRANSLATORS: command line argument, use a non-standard install prefix
 
1053
+#: ../client/pk-console.c:1274
 
1054
+msgid "Set the install root, e.g. '/' or '/mnt/ltsp'"
 
1055
+msgstr "Ställ in installationsroten, t.ex. \"/\" eller \"/mnt/ltsp\""
 
1056
+
 
1057
 #. TRANSLATORS: command line argument, work asynchronously
 
1058
-#: ../client/pk-console.c:1267
 
1059
+#: ../client/pk-console.c:1277
 
1060
 msgid "Exit without waiting for actions to complete"
 
1061
 msgstr "Avsluta utan att vänta på att åtgärder ska färdigställas"
 
1062
 
 
1063
 #. command line argument, do we ask questions
 
1064
-#: ../client/pk-console.c:1270
 
1065
+#: ../client/pk-console.c:1280
 
1066
 #: ../contrib/debuginfo-install/pk-debuginfo-install.c:527
 
1067
 msgid "Install the packages without asking for confirmation"
 
1068
 msgstr "Installera paketen utan att fråga efter bekräftelse"
 
1069
 
 
1070
 #. TRANSLATORS: command line argument, this command is not a priority
 
1071
-#: ../client/pk-console.c:1273
 
1072
+#: ../client/pk-console.c:1283
 
1073
 msgid "Run the command using idle network bandwidth and also using less power"
 
1074
 msgstr "Kör kommandot med inaktiv nätverksbandbredd och även med mindre ström"
 
1075
 
 
1076
 #. TRANSLATORS: command line argument, just output without fancy formatting
 
1077
-#: ../client/pk-console.c:1276
 
1078
+#: ../client/pk-console.c:1286
 
1079
 msgid "Print to screen a machine readable output, rather than using animated widgets"
 
1080
 msgstr "Skriv ut maskinläsbart utdata på skärmen istället för att använda animerade widgetar"
 
1081
 
 
1082
 #. TRANSLATORS: we failed to contact the daemon
 
1083
-#: ../client/pk-console.c:1298
 
1084
+#: ../client/pk-console.c:1308
 
1085
 msgid "Failed to contact PackageKit"
 
1086
 msgstr "Misslyckades med att kontakta PackageKit"
 
1087
 
 
1088
 #. TRANSLATORS: The user specified an incorrect filter
 
1089
-#: ../client/pk-console.c:1356
 
1090
+#: ../client/pk-console.c:1370
 
1091
+msgid "The proxy could not be set"
 
1092
+msgstr "Proxyservern kunde inte ställas in"
 
1093
+
 
1094
+#. TRANSLATORS: The user specified an incorrect filter
 
1095
+#: ../client/pk-console.c:1382
 
1096
+msgid "The install root could not be set"
 
1097
+msgstr "Installationsroten kunde inte ställas in"
 
1098
+
 
1099
+#. TRANSLATORS: The user specified an incorrect filter
 
1100
+#: ../client/pk-console.c:1394
 
1101
 msgid "The filter specified was invalid"
 
1102
 msgstr "Angivet filter var ogiltigt"
 
1103
 
 
1104
 #. TRANSLATORS: a search type can be name, details, file, etc
 
1105
-#: ../client/pk-console.c:1375
 
1106
+#: ../client/pk-console.c:1413
 
1107
 msgid "A search type is required, e.g. name"
 
1108
 msgstr "En söktyp krävs, t.ex. namn"
 
1109
 
 
1110
 #. TRANSLATORS: the user needs to provide a search term
 
1111
-#: ../client/pk-console.c:1382
 
1112
-#: ../client/pk-console.c:1394
 
1113
-#: ../client/pk-console.c:1406
 
1114
-#: ../client/pk-console.c:1418
 
1115
+#: ../client/pk-console.c:1420
 
1116
+#: ../client/pk-console.c:1432
 
1117
+#: ../client/pk-console.c:1444
 
1118
+#: ../client/pk-console.c:1456
 
1119
 msgid "A search term is required"
 
1120
 msgstr "Ett sökvillkor krävs"
 
1121
 
 
1122
 #. TRANSLATORS: the search type was provided, but invalid
 
1123
-#: ../client/pk-console.c:1428
 
1124
+#: ../client/pk-console.c:1466
 
1125
 msgid "Invalid search type"
 
1126
 msgstr "Ogiltig söktyp"
 
1127
 
 
1128
 #. TRANSLATORS: the user did not specify what they wanted to install
 
1129
-#: ../client/pk-console.c:1434
 
1130
+#: ../client/pk-console.c:1472
 
1131
 msgid "A package name to install is required"
 
1132
 msgstr "Ett paketnamn att installera krävs"
 
1133
 
 
1134
 #. TRANSLATORS: the user did not specify what they wanted to install
 
1135
-#: ../client/pk-console.c:1443
 
1136
+#: ../client/pk-console.c:1481
 
1137
 msgid "A filename to install is required"
 
1138
 msgstr "Ett filnamn att installera krävs"
 
1139
 
 
1140
 #. TRANSLATORS: geeky error, 99.9999% of users won't see this
 
1141
-#: ../client/pk-console.c:1455
 
1142
+#: ../client/pk-console.c:1493
 
1143
 msgid "A type, key_id and package_id are required"
 
1144
 msgstr "En type, key_id och package_id krävs"
 
1145
 
 
1146
 #. TRANSLATORS: the user did not specify what they wanted to remove
 
1147
-#: ../client/pk-console.c:1466
 
1148
+#: ../client/pk-console.c:1504
 
1149
 msgid "A package name to remove is required"
 
1150
 msgstr "Ett paketnamn att ta bort krävs"
 
1151
 
 
1152
 #. TRANSLATORS: the user did not specify anything about what to download or where
 
1153
-#: ../client/pk-console.c:1475
 
1154
+#: ../client/pk-console.c:1513
 
1155
 msgid "A destination directory and the package names to download are required"
 
1156
 msgstr "En målkatalog och paketnamn att hämta ner krävs"
 
1157
 
 
1158
 #. TRANSLATORS: the directory does not exist, so we can't continue
 
1159
-#: ../client/pk-console.c:1482
 
1160
+#: ../client/pk-console.c:1520
 
1161
 msgid "Directory not found"
 
1162
 msgstr "Katalogen hittades inte"
 
1163
 
 
1164
 #. TRANSLATORS: geeky error, 99.9999% of users won't see this
 
1165
-#: ../client/pk-console.c:1491
 
1166
+#: ../client/pk-console.c:1529
 
1167
 msgid "A licence identifier (eula-id) is required"
 
1168
 msgstr "En licensidentifierare (eula-id) krävs"
 
1169
 
 
1170
 #. TRANSLATORS: geeky error, 99.9999% of users won't see this
 
1171
-#: ../client/pk-console.c:1502
 
1172
+#: ../client/pk-console.c:1540
 
1173
 msgid "A transaction identifier (tid) is required"
 
1174
 msgstr "En transaktionsidentifierare (tid) krävs"
 
1175
 
 
1176
 #. TRANSLATORS: The user did not specify a package name
 
1177
-#: ../client/pk-console.c:1523
 
1178
+#: ../client/pk-console.c:1561
 
1179
 msgid "A package name to resolve is required"
 
1180
 msgstr "Ett paketnamn att slå upp krävs"
 
1181
 
 
1182
 #. TRANSLATORS: The user did not specify a repository (software source) name
 
1183
-#: ../client/pk-console.c:1534
 
1184
-#: ../client/pk-console.c:1545
 
1185
+#: ../client/pk-console.c:1572
 
1186
+#: ../client/pk-console.c:1583
 
1187
 msgid "A repository name is required"
 
1188
 msgstr "Ett förrådsnamn krävs"
 
1189
 
 
1190
 #. TRANSLATORS: The user didn't provide any data
 
1191
-#: ../client/pk-console.c:1556
 
1192
+#: ../client/pk-console.c:1594
 
1193
 msgid "A repo name, parameter and value are required"
 
1194
 msgstr "Ett förrådsnamn, parameter och värde krävs"
 
1195
 
 
1196
 #. TRANSLATORS: The user didn't specify what action to use
 
1197
-#: ../client/pk-console.c:1573
 
1198
+#: ../client/pk-console.c:1611
 
1199
 msgid "An action, e.g. 'update-system' is required"
 
1200
 msgstr "En åtgärd, t.ex. \"update-system\" krävs"
 
1201
 
 
1202
 #. TRANSLATORS: The user specified an invalid action
 
1203
-#: ../client/pk-console.c:1580
 
1204
+#: ../client/pk-console.c:1618
 
1205
 msgid "A correct role is required"
 
1206
 msgstr "En korrekt roll krävs"
 
1207
 
 
1208
 #. TRANSLATORS: The user did not provide a package name
 
1209
 #. TRANSLATORS: This is when the user fails to supply the package name
 
1210
-#: ../client/pk-console.c:1590
 
1211
-#: ../client/pk-console.c:1605
 
1212
-#: ../client/pk-console.c:1614
 
1213
-#: ../client/pk-console.c:1634
 
1214
+#: ../client/pk-console.c:1628
 
1215
 #: ../client/pk-console.c:1643
 
1216
+#: ../client/pk-console.c:1652
 
1217
+#: ../client/pk-console.c:1672
 
1218
+#: ../client/pk-console.c:1681
 
1219
 #: ../client/pk-generate-pack.c:316
 
1220
 msgid "A package name is required"
 
1221
 msgstr "Ett paketnamn krävs"
 
1222
 
 
1223
 #. TRANSLATORS: each package "provides" certain things, e.g. mime(gstreamer-decoder-mp3), the user didn't specify it
 
1224
-#: ../client/pk-console.c:1623
 
1225
+#: ../client/pk-console.c:1661
 
1226
 msgid "A package provide string is required"
 
1227
 msgstr "En sträng för vad paketet tillhandahåller krävs"
 
1228
 
 
1229
 #. TRANSLATORS: The user tried to use an unsupported option on the command line
 
1230
-#: ../client/pk-console.c:1703
 
1231
+#: ../client/pk-console.c:1742
 
1232
 #, c-format
 
1233
 msgid "Option '%s' is not supported"
 
1234
 msgstr "Flaggan \"%s\" stöds inte"
 
1235
 
 
1236
 #. TRANSLATORS: Generic failure of what they asked to do
 
1237
-#: ../client/pk-console.c:1713
 
1238
+#: ../client/pk-console.c:1752
 
1239
 msgid "Command failed"
 
1240
 msgstr "Kommandot misslyckades"
 
1241
 
 
1242
@@ -533,8 +552,8 @@
 
1243
 
 
1244
 #. TRANSLATORS: the output location
 
1245
 #: ../client/pk-generate-pack.c:258
 
1246
-msgid "The output file or directory (the current directory is used if ommitted)"
 
1247
-msgstr "Fil eller katalog för utdata (den aktuella katalogen används om den inte anges)"
 
1248
+msgid "The output file or directory (the current directory is used if omitted)"
 
1249
+msgstr "Fil eller katalog för utdata (aktuell katalog används om inte angiven)"
 
1250
 
 
1251
 #. TRANSLATORS: put a list of packages in the pack
 
1252
 #: ../client/pk-generate-pack.c:261
 
1253
@@ -561,10 +580,10 @@
 
1254
 msgid "A output directory or file name is required"
 
1255
 msgstr "En utmatningskatalog eller filnamn krävs"
 
1256
 
 
1257
-#. TRANSLATORS: This is when the dameon is not-installed/broken and fails to startup
 
1258
+#. TRANSLATORS: This is when the daemon is not-installed/broken and fails to startup
 
1259
 #: ../client/pk-generate-pack.c:342
 
1260
-msgid "The dameon failed to startup"
 
1261
-msgstr "Bakgrundsprocessen misslyckades att starta upp"
 
1262
+msgid "The daemon failed to startup"
 
1263
+msgstr "Bakgrundsprocessen misslyckades med att starta upp"
 
1264
 
 
1265
 #. TRANSLATORS: This is when the backend doesn't have the capability to get-depends
 
1266
 #. TRANSLATORS: This is when the backend doesn't have the capability to download
 
1267
@@ -631,160 +650,164 @@
 
1268
 msgid "Failed to create '%s': %s"
 
1269
 msgstr "Misslyckades med att skapa \"%s\": %s"
 
1270
 
 
1271
-#: ../client/pk-monitor.c:236
 
1272
+#: ../client/pk-monitor.c:286
 
1273
 msgid "Failed to get daemon state"
 
1274
 msgstr "Misslyckades med läsa av tillstånd för bakgrundsprocess"
 
1275
 
 
1276
+#: ../client/pk-monitor.c:351
 
1277
+msgid "Failed to get properties"
 
1278
+msgstr "Misslyckades med att få egenskaper"
 
1279
+
 
1280
 #. TRANSLATORS: this is a program that monitors PackageKit
 
1281
-#: ../client/pk-monitor.c:322
 
1282
+#: ../client/pk-monitor.c:389
 
1283
 msgid "PackageKit Monitor"
 
1284
 msgstr "Övervakare för PackageKit"
 
1285
 
 
1286
 #. TRANSLATORS: when we are getting data from the daemon
 
1287
-#: ../contrib/browser-plugin/pk-plugin-install.c:495
 
1288
+#: ../contrib/browser-plugin/pk-plugin-install.c:497
 
1289
 msgid "Getting package information..."
 
1290
 msgstr "Hämtar paketinformation..."
 
1291
 
 
1292
 #. TRANSLATORS: run an applicaiton
 
1293
-#: ../contrib/browser-plugin/pk-plugin-install.c:501
 
1294
+#: ../contrib/browser-plugin/pk-plugin-install.c:503
 
1295
 #, c-format
 
1296
 msgid "Run %s"
 
1297
 msgstr "Kör %s"
 
1298
 
 
1299
 #. TRANSLATORS: show the installed version of a package
 
1300
-#: ../contrib/browser-plugin/pk-plugin-install.c:507
 
1301
+#: ../contrib/browser-plugin/pk-plugin-install.c:509
 
1302
 msgid "Installed version"
 
1303
 msgstr "Installerad version"
 
1304
 
 
1305
 #. TRANSLATORS: run the application now
 
1306
-#: ../contrib/browser-plugin/pk-plugin-install.c:515
 
1307
+#: ../contrib/browser-plugin/pk-plugin-install.c:517
 
1308
 #, c-format
 
1309
 msgid "Run version %s now"
 
1310
 msgstr "Kör version %s nu"
 
1311
 
 
1312
 #. TRANSLATORS: run the application now
 
1313
-#: ../contrib/browser-plugin/pk-plugin-install.c:521
 
1314
+#: ../contrib/browser-plugin/pk-plugin-install.c:523
 
1315
 msgid "Run now"
 
1316
 msgstr "Kör nu"
 
1317
 
 
1318
 #. TRANSLATORS: update to a new version of the package
 
1319
-#: ../contrib/browser-plugin/pk-plugin-install.c:527
 
1320
+#: ../contrib/browser-plugin/pk-plugin-install.c:529
 
1321
 #, c-format
 
1322
 msgid "Update to version %s"
 
1323
 msgstr "Uppdatera till version %s"
 
1324
 
 
1325
 #. TRANSLATORS: To install a package
 
1326
-#: ../contrib/browser-plugin/pk-plugin-install.c:533
 
1327
+#: ../contrib/browser-plugin/pk-plugin-install.c:535
 
1328
 #, c-format
 
1329
 msgid "Install %s now"
 
1330
 msgstr "Installera %s nu"
 
1331
 
 
1332
 #. TRANSLATORS: the version of the package
 
1333
-#: ../contrib/browser-plugin/pk-plugin-install.c:536
 
1334
+#: ../contrib/browser-plugin/pk-plugin-install.c:538
 
1335
 msgid "Version"
 
1336
 msgstr "Version"
 
1337
 
 
1338
 #. TRANSLATORS: noting found, so can't install
 
1339
-#: ../contrib/browser-plugin/pk-plugin-install.c:541
 
1340
+#: ../contrib/browser-plugin/pk-plugin-install.c:543
 
1341
 msgid "No packages found for your system"
 
1342
 msgstr "Inga paket hittades för ditt system"
 
1343
 
 
1344
 #. TRANSLATORS: package is being installed
 
1345
-#: ../contrib/browser-plugin/pk-plugin-install.c:546
 
1346
+#: ../contrib/browser-plugin/pk-plugin-install.c:548
 
1347
 msgid "Installing..."
 
1348
 msgstr "Installerar..."
 
1349
 
 
1350
 #. TRANSLATORS: downloading repo data so we can search
 
1351
-#: ../contrib/command-not-found/pk-command-not-found.c:365
 
1352
+#: ../contrib/command-not-found/pk-command-not-found.c:367
 
1353
 msgid "Downloading details about the software sources."
 
1354
 msgstr "Hämtar detaljer om programkällorna."
 
1355
 
 
1356
 #. TRANSLATORS: downloading file lists so we can search
 
1357
-#: ../contrib/command-not-found/pk-command-not-found.c:369
 
1358
+#: ../contrib/command-not-found/pk-command-not-found.c:371
 
1359
 msgid "Downloading filelists (this may take some time to complete)."
 
1360
 msgstr "Hämtar fillistor (detta kan ta lite tid att färdigställa)."
 
1361
 
 
1362
 #. TRANSLATORS: waiting for native lock
 
1363
-#: ../contrib/command-not-found/pk-command-not-found.c:373
 
1364
+#: ../contrib/command-not-found/pk-command-not-found.c:375
 
1365
 msgid "Waiting for package manager lock."
 
1366
 msgstr "Väntar på låset för pakethanteraren."
 
1367
 
 
1368
 #. TRANSLATORS: loading package cache so we can search
 
1369
-#: ../contrib/command-not-found/pk-command-not-found.c:377
 
1370
+#: ../contrib/command-not-found/pk-command-not-found.c:379
 
1371
 msgid "Loading list of packages."
 
1372
 msgstr "Läser in lista över paket."
 
1373
 
 
1374
 #. TRANSLATORS: we failed to find the package, this shouldn't happen
 
1375
-#: ../contrib/command-not-found/pk-command-not-found.c:423
 
1376
+#: ../contrib/command-not-found/pk-command-not-found.c:445
 
1377
 msgid "Failed to search for file"
 
1378
 msgstr "Misslyckades med att söka efter filen"
 
1379
 
 
1380
 #. TRANSLATORS: we failed to launch the executable, the error follows
 
1381
-#: ../contrib/command-not-found/pk-command-not-found.c:566
 
1382
+#: ../contrib/command-not-found/pk-command-not-found.c:597
 
1383
 msgid "Failed to launch:"
 
1384
 msgstr "Misslyckades med att starta:"
 
1385
 
 
1386
 #. TRANSLATORS: we failed to install the package
 
1387
-#: ../contrib/command-not-found/pk-command-not-found.c:594
 
1388
+#: ../contrib/command-not-found/pk-command-not-found.c:625
 
1389
 msgid "Failed to install packages"
 
1390
 msgstr "Misslyckades med att installera paket"
 
1391
 
 
1392
 #. TRANSLATORS: tool that gets called when the command is not found
 
1393
-#: ../contrib/command-not-found/pk-command-not-found.c:670
 
1394
+#: ../contrib/command-not-found/pk-command-not-found.c:701
 
1395
 msgid "PackageKit Command Not Found"
 
1396
 msgstr "PackageKit - Kommandot hittades inte"
 
1397
 
 
1398
 #. TRANSLATORS: the prefix of all the output telling the user why it's not executing
 
1399
-#: ../contrib/command-not-found/pk-command-not-found.c:699
 
1400
+#: ../contrib/command-not-found/pk-command-not-found.c:727
 
1401
 msgid "Command not found."
 
1402
 msgstr "Kommandot hittades inte."
 
1403
 
 
1404
 #. TRANSLATORS: tell the user what we think the command is
 
1405
-#: ../contrib/command-not-found/pk-command-not-found.c:706
 
1406
+#: ../contrib/command-not-found/pk-command-not-found.c:745
 
1407
 msgid "Similar command is:"
 
1408
 msgstr "Liknande kommando är:"
 
1409
 
 
1410
 #. TRANSLATORS: Ask the user if we should run the similar command
 
1411
-#: ../contrib/command-not-found/pk-command-not-found.c:716
 
1412
+#: ../contrib/command-not-found/pk-command-not-found.c:755
 
1413
 msgid "Run similar command:"
 
1414
 msgstr "Kör liknande command:"
 
1415
 
 
1416
 #. TRANSLATORS: show the user a list of commands that they could have meant
 
1417
 #. TRANSLATORS: show the user a list of commands we could run
 
1418
-#: ../contrib/command-not-found/pk-command-not-found.c:730
 
1419
-#: ../contrib/command-not-found/pk-command-not-found.c:739
 
1420
+#: ../contrib/command-not-found/pk-command-not-found.c:769
 
1421
+#: ../contrib/command-not-found/pk-command-not-found.c:778
 
1422
 msgid "Similar commands are:"
 
1423
 msgstr "Liknande kommandon är:"
 
1424
 
 
1425
 #. TRANSLATORS: ask the user to choose a file to run
 
1426
-#: ../contrib/command-not-found/pk-command-not-found.c:746
 
1427
+#: ../contrib/command-not-found/pk-command-not-found.c:785
 
1428
 msgid "Please choose a command to run"
 
1429
 msgstr "Välj ett kommando att köra"
 
1430
 
 
1431
 #. TRANSLATORS: tell the user what package provides the command
 
1432
-#: ../contrib/command-not-found/pk-command-not-found.c:764
 
1433
+#: ../contrib/command-not-found/pk-command-not-found.c:803
 
1434
 msgid "The package providing this file is:"
 
1435
 msgstr "Paketet som tillhandahåller denna fil är:"
 
1436
 
 
1437
 #. TRANSLATORS: as the user if we want to install a package to provide the command
 
1438
-#: ../contrib/command-not-found/pk-command-not-found.c:769
 
1439
+#: ../contrib/command-not-found/pk-command-not-found.c:808
 
1440
 #, c-format
 
1441
 msgid "Install package '%s' to provide command '%s'?"
 
1442
 msgstr "Installera paketet \"%s\" för att tillhandahålla kommandot \"%s\"?"
 
1443
 
 
1444
 #. TRANSLATORS: Show the user a list of packages that provide this command
 
1445
-#: ../contrib/command-not-found/pk-command-not-found.c:793
 
1446
+#: ../contrib/command-not-found/pk-command-not-found.c:832
 
1447
 msgid "Packages providing this file are:"
 
1448
 msgstr "Paket som tillhandahåller denna fil är:"
 
1449
 
 
1450
 #. TRANSLATORS: Show the user a list of packages that they can install to provide this command
 
1451
-#: ../contrib/command-not-found/pk-command-not-found.c:803
 
1452
+#: ../contrib/command-not-found/pk-command-not-found.c:842
 
1453
 msgid "Suitable packages are:"
 
1454
 msgstr "Lämpliga paket är:"
 
1455
 
 
1456
 #. get selection
 
1457
 #. TRANSLATORS: ask the user to choose a file to install
 
1458
-#: ../contrib/command-not-found/pk-command-not-found.c:812
 
1459
+#: ../contrib/command-not-found/pk-command-not-found.c:851
 
1460
 msgid "Please choose a package to install"
 
1461
 msgstr "Välj ett paket att installera"
 
1462
 
 
1463
@@ -952,7 +975,7 @@
 
1464
 #. TRANSLATORS: we are now installing the debuginfo packages we found earlier
 
1465
 #. TRANSLATORS: transaction state, installing packages
 
1466
 #: ../contrib/debuginfo-install/pk-debuginfo-install.c:862
 
1467
-#: ../lib/packagekit-glib2/pk-console-shared.c:282
 
1468
+#: ../lib/packagekit-glib2/pk-console-shared.c:289
 
1469
 #, c-format
 
1470
 msgid "Installing packages"
 
1471
 msgstr "Installerar paket"
 
1472
@@ -1083,464 +1106,464 @@
 
1473
 msgid "PackageKit Service Pack"
 
1474
 msgstr "Servicepaket för PackageKit"
 
1475
 
 
1476
-#: ../lib/packagekit-glib2/pk-console-shared.c:59
 
1477
+#: ../lib/packagekit-glib2/pk-console-shared.c:65
 
1478
 #, c-format
 
1479
 msgid "Please enter a number from 1 to %i: "
 
1480
 msgstr "Ange ett tal från 1 till %i: "
 
1481
 
 
1482
 #. TRANSLATORS: more than one package could be found that matched, to follow is a list of possible packages
 
1483
-#: ../lib/packagekit-glib2/pk-console-shared.c:183
 
1484
+#: ../lib/packagekit-glib2/pk-console-shared.c:191
 
1485
 msgid "More than one package matches:"
 
1486
 msgstr "Det finns fler än ett paket som matchar:"
 
1487
 
 
1488
 #. TRANSLATORS: This finds out which package in the list to use
 
1489
-#: ../lib/packagekit-glib2/pk-console-shared.c:196
 
1490
+#: ../lib/packagekit-glib2/pk-console-shared.c:202
 
1491
 msgid "Please choose the correct package: "
 
1492
 msgstr "Välj det korrekta paketet: "
 
1493
 
 
1494
 #. TRANSLATORS: This is when the transaction status is not known
 
1495
-#: ../lib/packagekit-glib2/pk-console-shared.c:250
 
1496
+#: ../lib/packagekit-glib2/pk-console-shared.c:257
 
1497
 msgid "Unknown state"
 
1498
 msgstr "Okänt tillstånd"
 
1499
 
 
1500
 #. TRANSLATORS: transaction state, the daemon is in the process of starting
 
1501
-#: ../lib/packagekit-glib2/pk-console-shared.c:254
 
1502
+#: ../lib/packagekit-glib2/pk-console-shared.c:261
 
1503
 msgid "Starting"
 
1504
 msgstr "Startar"
 
1505
 
 
1506
 #. TRANSLATORS: transaction state, the transaction is waiting for another to complete
 
1507
-#: ../lib/packagekit-glib2/pk-console-shared.c:258
 
1508
+#: ../lib/packagekit-glib2/pk-console-shared.c:265
 
1509
 msgid "Waiting in queue"
 
1510
 msgstr "Väntar i kö"
 
1511
 
 
1512
 #. TRANSLATORS: transaction state, just started
 
1513
-#: ../lib/packagekit-glib2/pk-console-shared.c:262
 
1514
+#: ../lib/packagekit-glib2/pk-console-shared.c:269
 
1515
 msgid "Running"
 
1516
 msgstr "Kör"
 
1517
 
 
1518
 #. TRANSLATORS: transaction state, is querying data
 
1519
-#: ../lib/packagekit-glib2/pk-console-shared.c:266
 
1520
+#: ../lib/packagekit-glib2/pk-console-shared.c:273
 
1521
 msgid "Querying"
 
1522
 msgstr "Frågar"
 
1523
 
 
1524
 #. TRANSLATORS: transaction state, getting data from a server
 
1525
-#: ../lib/packagekit-glib2/pk-console-shared.c:270
 
1526
+#: ../lib/packagekit-glib2/pk-console-shared.c:277
 
1527
 msgid "Getting information"
 
1528
 msgstr "Hämtar information"
 
1529
 
 
1530
 #. TRANSLATORS: transaction state, removing packages
 
1531
-#: ../lib/packagekit-glib2/pk-console-shared.c:274
 
1532
+#: ../lib/packagekit-glib2/pk-console-shared.c:281
 
1533
 msgid "Removing packages"
 
1534
 msgstr "Tar bort paket"
 
1535
 
 
1536
 #. TRANSLATORS: transaction state, downloading package files
 
1537
 #. TRANSLATORS: The role of the transaction, in present tense
 
1538
-#: ../lib/packagekit-glib2/pk-console-shared.c:278
 
1539
-#: ../lib/packagekit-glib2/pk-console-shared.c:656
 
1540
+#: ../lib/packagekit-glib2/pk-console-shared.c:285
 
1541
+#: ../lib/packagekit-glib2/pk-console-shared.c:663
 
1542
 msgid "Downloading packages"
 
1543
 msgstr "Hämtar paket"
 
1544
 
 
1545
 #. TRANSLATORS: transaction state, refreshing internal lists
 
1546
-#: ../lib/packagekit-glib2/pk-console-shared.c:286
 
1547
+#: ../lib/packagekit-glib2/pk-console-shared.c:293
 
1548
 msgid "Refreshing software list"
 
1549
 msgstr "Uppdaterar programlista"
 
1550
 
 
1551
 #. TRANSLATORS: transaction state, installing updates
 
1552
-#: ../lib/packagekit-glib2/pk-console-shared.c:290
 
1553
+#: ../lib/packagekit-glib2/pk-console-shared.c:297
 
1554
 msgid "Installing updates"
 
1555
 msgstr "Installerar uppdateringar"
 
1556
 
 
1557
 #. TRANSLATORS: transaction state, removing old packages, and cleaning config files
 
1558
-#: ../lib/packagekit-glib2/pk-console-shared.c:294
 
1559
+#: ../lib/packagekit-glib2/pk-console-shared.c:301
 
1560
 msgid "Cleaning up packages"
 
1561
 msgstr "Rensar upp paket"
 
1562
 
 
1563
 #. TRANSLATORS: transaction state, obsoleting old packages
 
1564
-#: ../lib/packagekit-glib2/pk-console-shared.c:298
 
1565
+#: ../lib/packagekit-glib2/pk-console-shared.c:305
 
1566
 msgid "Obsoleting packages"
 
1567
 msgstr "Föråldrar paket"
 
1568
 
 
1569
 #. TRANSLATORS: transaction state, checking the transaction before we do it
 
1570
-#: ../lib/packagekit-glib2/pk-console-shared.c:302
 
1571
+#: ../lib/packagekit-glib2/pk-console-shared.c:309
 
1572
 msgid "Resolving dependencies"
 
1573
 msgstr "Löser beroenden"
 
1574
 
 
1575
 #. TRANSLATORS: transaction state, checking if we have all the security keys for the operation
 
1576
-#: ../lib/packagekit-glib2/pk-console-shared.c:306
 
1577
+#: ../lib/packagekit-glib2/pk-console-shared.c:313
 
1578
 msgid "Checking signatures"
 
1579
 msgstr "Kontrollerar signaturer"
 
1580
 
 
1581
 #. TRANSLATORS: transaction state, when we return to a previous system state
 
1582
 #. TRANSLATORS: The role of the transaction, in present tense
 
1583
-#: ../lib/packagekit-glib2/pk-console-shared.c:310
 
1584
-#: ../lib/packagekit-glib2/pk-console-shared.c:616
 
1585
+#: ../lib/packagekit-glib2/pk-console-shared.c:317
 
1586
+#: ../lib/packagekit-glib2/pk-console-shared.c:623
 
1587
 msgid "Rolling back"
 
1588
 msgstr "Rullar tillbaka"
 
1589
 
 
1590
 #. TRANSLATORS: transaction state, when we're doing a test transaction
 
1591
-#: ../lib/packagekit-glib2/pk-console-shared.c:314
 
1592
+#: ../lib/packagekit-glib2/pk-console-shared.c:321
 
1593
 msgid "Testing changes"
 
1594
 msgstr "Testar ändringar"
 
1595
 
 
1596
 #. TRANSLATORS: transaction state, when we're writing to the system package database
 
1597
-#: ../lib/packagekit-glib2/pk-console-shared.c:318
 
1598
+#: ../lib/packagekit-glib2/pk-console-shared.c:325
 
1599
 msgid "Committing changes"
 
1600
 msgstr "Verkställer ändringar"
 
1601
 
 
1602
 #. TRANSLATORS: transaction state, requesting data from a server
 
1603
-#: ../lib/packagekit-glib2/pk-console-shared.c:322
 
1604
+#: ../lib/packagekit-glib2/pk-console-shared.c:329
 
1605
 msgid "Requesting data"
 
1606
 msgstr "Begär data"
 
1607
 
 
1608
 #. TRANSLATORS: transaction state, all done!
 
1609
-#: ../lib/packagekit-glib2/pk-console-shared.c:326
 
1610
+#: ../lib/packagekit-glib2/pk-console-shared.c:333
 
1611
 msgid "Finished"
 
1612
 msgstr "Färdigställd"
 
1613
 
 
1614
 #. TRANSLATORS: transaction state, in the process of cancelling
 
1615
-#: ../lib/packagekit-glib2/pk-console-shared.c:330
 
1616
+#: ../lib/packagekit-glib2/pk-console-shared.c:337
 
1617
 msgid "Cancelling"
 
1618
 msgstr "Avbryter"
 
1619
 
 
1620
 #. TRANSLATORS: transaction state, downloading metadata
 
1621
-#: ../lib/packagekit-glib2/pk-console-shared.c:334
 
1622
+#: ../lib/packagekit-glib2/pk-console-shared.c:341
 
1623
 msgid "Downloading repository information"
 
1624
 msgstr "Hämtar förrådsinformation"
 
1625
 
 
1626
 #. TRANSLATORS: transaction state, downloading metadata
 
1627
-#: ../lib/packagekit-glib2/pk-console-shared.c:338
 
1628
+#: ../lib/packagekit-glib2/pk-console-shared.c:345
 
1629
 msgid "Downloading list of packages"
 
1630
 msgstr "Hämtar lista över paket"
 
1631
 
 
1632
 #. TRANSLATORS: transaction state, downloading metadata
 
1633
-#: ../lib/packagekit-glib2/pk-console-shared.c:342
 
1634
+#: ../lib/packagekit-glib2/pk-console-shared.c:349
 
1635
 msgid "Downloading file lists"
 
1636
 msgstr "Hämtar fillistor"
 
1637
 
 
1638
 #. TRANSLATORS: transaction state, downloading metadata
 
1639
-#: ../lib/packagekit-glib2/pk-console-shared.c:346
 
1640
+#: ../lib/packagekit-glib2/pk-console-shared.c:353
 
1641
 msgid "Downloading lists of changes"
 
1642
 msgstr "Hämtar listor över ändringar"
 
1643
 
 
1644
 #. TRANSLATORS: transaction state, downloading metadata
 
1645
-#: ../lib/packagekit-glib2/pk-console-shared.c:350
 
1646
+#: ../lib/packagekit-glib2/pk-console-shared.c:357
 
1647
 msgid "Downloading groups"
 
1648
 msgstr "Hämtar grupper"
 
1649
 
 
1650
 #. TRANSLATORS: transaction state, downloading metadata
 
1651
-#: ../lib/packagekit-glib2/pk-console-shared.c:354
 
1652
+#: ../lib/packagekit-glib2/pk-console-shared.c:361
 
1653
 msgid "Downloading update information"
 
1654
 msgstr "Hämtar uppdateringsinformation"
 
1655
 
 
1656
 #. TRANSLATORS: transaction state, repackaging delta files
 
1657
-#: ../lib/packagekit-glib2/pk-console-shared.c:358
 
1658
+#: ../lib/packagekit-glib2/pk-console-shared.c:365
 
1659
 msgid "Repackaging files"
 
1660
 msgstr "Paketerar om filer"
 
1661
 
 
1662
 #. TRANSLATORS: transaction state, loading databases
 
1663
-#: ../lib/packagekit-glib2/pk-console-shared.c:362
 
1664
+#: ../lib/packagekit-glib2/pk-console-shared.c:369
 
1665
 msgid "Loading cache"
 
1666
 msgstr "Läser in cache"
 
1667
 
 
1668
 #. TRANSLATORS: transaction state, scanning for running processes
 
1669
-#: ../lib/packagekit-glib2/pk-console-shared.c:366
 
1670
+#: ../lib/packagekit-glib2/pk-console-shared.c:373
 
1671
 msgid "Scanning applications"
 
1672
 msgstr "Söker igenom program"
 
1673
 
 
1674
 #. TRANSLATORS: transaction state, generating a list of packages installed on the system
 
1675
-#: ../lib/packagekit-glib2/pk-console-shared.c:370
 
1676
+#: ../lib/packagekit-glib2/pk-console-shared.c:377
 
1677
 msgid "Generating package lists"
 
1678
 msgstr "Genererar paketlistor"
 
1679
 
 
1680
 #. TRANSLATORS: transaction state, when we're waiting for the native tools to exit
 
1681
-#: ../lib/packagekit-glib2/pk-console-shared.c:374
 
1682
+#: ../lib/packagekit-glib2/pk-console-shared.c:381
 
1683
 msgid "Waiting for package manager lock"
 
1684
 msgstr "Väntar på låset för pakethanteraren"
 
1685
 
 
1686
 #. TRANSLATORS: transaction state, waiting for user to type in a password
 
1687
-#: ../lib/packagekit-glib2/pk-console-shared.c:378
 
1688
+#: ../lib/packagekit-glib2/pk-console-shared.c:385
 
1689
 msgid "Waiting for authentication"
 
1690
 msgstr "Väntar på autentisering"
 
1691
 
 
1692
 #. TRANSLATORS: transaction state, we are updating the list of processes
 
1693
-#: ../lib/packagekit-glib2/pk-console-shared.c:382
 
1694
+#: ../lib/packagekit-glib2/pk-console-shared.c:389
 
1695
 msgid "Updating running applications"
 
1696
 msgstr "Uppdaterar körande program"
 
1697
 
 
1698
 #. TRANSLATORS: transaction state, we are checking executable files currently in use
 
1699
-#: ../lib/packagekit-glib2/pk-console-shared.c:386
 
1700
+#: ../lib/packagekit-glib2/pk-console-shared.c:393
 
1701
 msgid "Checking applications in use"
 
1702
 msgstr "Kontrollerar använda program"
 
1703
 
 
1704
 #. TRANSLATORS: transaction state, we are checking for libraries currently in use
 
1705
-#: ../lib/packagekit-glib2/pk-console-shared.c:390
 
1706
+#: ../lib/packagekit-glib2/pk-console-shared.c:397
 
1707
 msgid "Checking libraries in use"
 
1708
 msgstr "Kontrollerar använda bibliotek"
 
1709
 
 
1710
 #. TRANSLATORS: transaction state, we are copying package files before or after the transaction
 
1711
-#: ../lib/packagekit-glib2/pk-console-shared.c:394
 
1712
+#: ../lib/packagekit-glib2/pk-console-shared.c:401
 
1713
 msgid "Copying files"
 
1714
 msgstr "Kopierar filer"
 
1715
 
 
1716
 #. TRANSLATORS: The type of update
 
1717
-#: ../lib/packagekit-glib2/pk-console-shared.c:412
 
1718
+#: ../lib/packagekit-glib2/pk-console-shared.c:419
 
1719
 msgid "Trivial"
 
1720
 msgstr "Enkel"
 
1721
 
 
1722
 #. TRANSLATORS: The type of update
 
1723
-#: ../lib/packagekit-glib2/pk-console-shared.c:416
 
1724
+#: ../lib/packagekit-glib2/pk-console-shared.c:423
 
1725
 msgid "Normal"
 
1726
 msgstr "Normal"
 
1727
 
 
1728
 #. TRANSLATORS: The type of update
 
1729
-#: ../lib/packagekit-glib2/pk-console-shared.c:420
 
1730
+#: ../lib/packagekit-glib2/pk-console-shared.c:427
 
1731
 msgid "Important"
 
1732
 msgstr "Viktig"
 
1733
 
 
1734
 #. TRANSLATORS: The type of update
 
1735
-#: ../lib/packagekit-glib2/pk-console-shared.c:424
 
1736
+#: ../lib/packagekit-glib2/pk-console-shared.c:431
 
1737
 msgid "Security"
 
1738
 msgstr "Säkerhet"
 
1739
 
 
1740
 #. TRANSLATORS: The type of update
 
1741
-#: ../lib/packagekit-glib2/pk-console-shared.c:428
 
1742
+#: ../lib/packagekit-glib2/pk-console-shared.c:435
 
1743
 msgid "Bug fix "
 
1744
 msgstr "Felrättning"
 
1745
 
 
1746
 #. TRANSLATORS: The type of update
 
1747
-#: ../lib/packagekit-glib2/pk-console-shared.c:432
 
1748
+#: ../lib/packagekit-glib2/pk-console-shared.c:439
 
1749
 msgid "Enhancement"
 
1750
 msgstr "Förbättring"
 
1751
 
 
1752
 #. TRANSLATORS: The type of update
 
1753
-#: ../lib/packagekit-glib2/pk-console-shared.c:436
 
1754
+#: ../lib/packagekit-glib2/pk-console-shared.c:443
 
1755
 msgid "Blocked"
 
1756
 msgstr "Blockerad"
 
1757
 
 
1758
 #. TRANSLATORS: The state of a package
 
1759
 #. TRANSLATORS: The action of the package, in past tense
 
1760
-#: ../lib/packagekit-glib2/pk-console-shared.c:441
 
1761
-#: ../lib/packagekit-glib2/pk-console-shared.c:514
 
1762
+#: ../lib/packagekit-glib2/pk-console-shared.c:448
 
1763
+#: ../lib/packagekit-glib2/pk-console-shared.c:521
 
1764
 msgid "Installed"
 
1765
 msgstr "Installerade"
 
1766
 
 
1767
 #. TRANSLATORS: The state of a package, i.e. not installed
 
1768
-#: ../lib/packagekit-glib2/pk-console-shared.c:446
 
1769
+#: ../lib/packagekit-glib2/pk-console-shared.c:453
 
1770
 msgid "Available"
 
1771
 msgstr "Tillgänglig"
 
1772
 
 
1773
 #. TRANSLATORS: The action of the package, in present tense
 
1774
-#: ../lib/packagekit-glib2/pk-console-shared.c:464
 
1775
+#: ../lib/packagekit-glib2/pk-console-shared.c:471
 
1776
 msgid "Downloading"
 
1777
 msgstr "Hämtar"
 
1778
 
 
1779
 #. TRANSLATORS: The action of the package, in present tense
 
1780
-#: ../lib/packagekit-glib2/pk-console-shared.c:468
 
1781
+#: ../lib/packagekit-glib2/pk-console-shared.c:475
 
1782
 msgid "Updating"
 
1783
 msgstr "Uppdaterade"
 
1784
 
 
1785
 #. TRANSLATORS: The action of the package, in present tense
 
1786
 #. TRANSLATORS: The role of the transaction, in present tense
 
1787
-#: ../lib/packagekit-glib2/pk-console-shared.c:472
 
1788
-#: ../lib/packagekit-glib2/pk-console-shared.c:592
 
1789
+#: ../lib/packagekit-glib2/pk-console-shared.c:479
 
1790
+#: ../lib/packagekit-glib2/pk-console-shared.c:599
 
1791
 msgid "Installing"
 
1792
 msgstr "Installerade"
 
1793
 
 
1794
 #. TRANSLATORS: The action of the package, in present tense
 
1795
 #. TRANSLATORS: The role of the transaction, in present tense
 
1796
-#: ../lib/packagekit-glib2/pk-console-shared.c:476
 
1797
-#: ../lib/packagekit-glib2/pk-console-shared.c:588
 
1798
+#: ../lib/packagekit-glib2/pk-console-shared.c:483
 
1799
+#: ../lib/packagekit-glib2/pk-console-shared.c:595
 
1800
 msgid "Removing"
 
1801
 msgstr "Tar bort"
 
1802
 
 
1803
 #. TRANSLATORS: The action of the package, in present tense
 
1804
-#: ../lib/packagekit-glib2/pk-console-shared.c:480
 
1805
+#: ../lib/packagekit-glib2/pk-console-shared.c:487
 
1806
 msgid "Cleaning up"
 
1807
 msgstr "Rensar upp"
 
1808
 
 
1809
 #. TRANSLATORS: The action of the package, in present tense
 
1810
-#: ../lib/packagekit-glib2/pk-console-shared.c:484
 
1811
+#: ../lib/packagekit-glib2/pk-console-shared.c:491
 
1812
 msgid "Obsoleting"
 
1813
 msgstr "Föråldrade"
 
1814
 
 
1815
 #. TRANSLATORS: The action of the package, in present tense
 
1816
-#: ../lib/packagekit-glib2/pk-console-shared.c:488
 
1817
+#: ../lib/packagekit-glib2/pk-console-shared.c:495
 
1818
 msgid "Reinstalling"
 
1819
 msgstr "Installerade om"
 
1820
 
 
1821
 #. TRANSLATORS: The action of the package, in past tense
 
1822
-#: ../lib/packagekit-glib2/pk-console-shared.c:506
 
1823
+#: ../lib/packagekit-glib2/pk-console-shared.c:513
 
1824
 msgid "Downloaded"
 
1825
 msgstr "Hämtade"
 
1826
 
 
1827
 #. TRANSLATORS: The action of the package, in past tense
 
1828
-#: ../lib/packagekit-glib2/pk-console-shared.c:518
 
1829
+#: ../lib/packagekit-glib2/pk-console-shared.c:525
 
1830
 msgid "Removed"
 
1831
 msgstr "Borttagen"
 
1832
 
 
1833
 #. TRANSLATORS: The action of the package, in past tense
 
1834
-#: ../lib/packagekit-glib2/pk-console-shared.c:522
 
1835
+#: ../lib/packagekit-glib2/pk-console-shared.c:529
 
1836
 msgid "Cleaned up"
 
1837
 msgstr "Upprensad"
 
1838
 
 
1839
 #. TRANSLATORS: The action of the package, in past tense
 
1840
-#: ../lib/packagekit-glib2/pk-console-shared.c:526
 
1841
+#: ../lib/packagekit-glib2/pk-console-shared.c:533
 
1842
 msgid "Obsoleted"
 
1843
 msgstr "Föråldrade"
 
1844
 
 
1845
 #. TRANSLATORS: The action of the package, in past tense
 
1846
-#: ../lib/packagekit-glib2/pk-console-shared.c:530
 
1847
+#: ../lib/packagekit-glib2/pk-console-shared.c:537
 
1848
 msgid "Reinstalled"
 
1849
 msgstr "Installerade om"
 
1850
 
 
1851
 #. TRANSLATORS: The role of the transaction, in present tense
 
1852
-#: ../lib/packagekit-glib2/pk-console-shared.c:548
 
1853
+#: ../lib/packagekit-glib2/pk-console-shared.c:555
 
1854
 msgid "Unknown role type"
 
1855
 msgstr "Okänd rolltyp"
 
1856
 
 
1857
 #. TRANSLATORS: The role of the transaction, in present tense
 
1858
-#: ../lib/packagekit-glib2/pk-console-shared.c:552
 
1859
+#: ../lib/packagekit-glib2/pk-console-shared.c:559
 
1860
 msgid "Getting dependencies"
 
1861
 msgstr "Hämtar beroenden"
 
1862
 
 
1863
 #. TRANSLATORS: The role of the transaction, in present tense
 
1864
-#: ../lib/packagekit-glib2/pk-console-shared.c:556
 
1865
+#: ../lib/packagekit-glib2/pk-console-shared.c:563
 
1866
 msgid "Getting update details"
 
1867
 msgstr "Hämtar uppdateringsdetaljer"
 
1868
 
 
1869
 #. TRANSLATORS: The role of the transaction, in present tense
 
1870
-#: ../lib/packagekit-glib2/pk-console-shared.c:560
 
1871
+#: ../lib/packagekit-glib2/pk-console-shared.c:567
 
1872
 msgid "Getting details"
 
1873
 msgstr "Hämtar detaljer"
 
1874
 
 
1875
 #. TRANSLATORS: The role of the transaction, in present tense
 
1876
-#: ../lib/packagekit-glib2/pk-console-shared.c:564
 
1877
+#: ../lib/packagekit-glib2/pk-console-shared.c:571
 
1878
 msgid "Getting requires"
 
1879
 msgstr "Hämtar krav"
 
1880
 
 
1881
 #. TRANSLATORS: The role of the transaction, in present tense
 
1882
-#: ../lib/packagekit-glib2/pk-console-shared.c:568
 
1883
+#: ../lib/packagekit-glib2/pk-console-shared.c:575
 
1884
 msgid "Getting updates"
 
1885
 msgstr "Hämtar uppdateringar"
 
1886
 
 
1887
 #. TRANSLATORS: The role of the transaction, in present tense
 
1888
-#: ../lib/packagekit-glib2/pk-console-shared.c:572
 
1889
+#: ../lib/packagekit-glib2/pk-console-shared.c:579
 
1890
 msgid "Searching by details"
 
1891
 msgstr "Sökning efter detaljer"
 
1892
 
 
1893
 #. TRANSLATORS: The role of the transaction, in present tense
 
1894
-#: ../lib/packagekit-glib2/pk-console-shared.c:576
 
1895
+#: ../lib/packagekit-glib2/pk-console-shared.c:583
 
1896
 msgid "Searching by file"
 
1897
 msgstr "Sökning efter fil"
 
1898
 
 
1899
 #. TRANSLATORS: The role of the transaction, in present tense
 
1900
-#: ../lib/packagekit-glib2/pk-console-shared.c:580
 
1901
+#: ../lib/packagekit-glib2/pk-console-shared.c:587
 
1902
 msgid "Searching groups"
 
1903
 msgstr "Sökning i grupper"
 
1904
 
 
1905
 #. TRANSLATORS: The role of the transaction, in present tense
 
1906
-#: ../lib/packagekit-glib2/pk-console-shared.c:584
 
1907
+#: ../lib/packagekit-glib2/pk-console-shared.c:591
 
1908
 msgid "Searching by name"
 
1909
 msgstr "Sökning efter namn"
 
1910
 
 
1911
 #. TRANSLATORS: The role of the transaction, in present tense
 
1912
-#: ../lib/packagekit-glib2/pk-console-shared.c:596
 
1913
+#: ../lib/packagekit-glib2/pk-console-shared.c:603
 
1914
 msgid "Installing files"
 
1915
 msgstr "Installerade filer"
 
1916
 
 
1917
 #. TRANSLATORS: The role of the transaction, in present tense
 
1918
-#: ../lib/packagekit-glib2/pk-console-shared.c:600
 
1919
+#: ../lib/packagekit-glib2/pk-console-shared.c:607
 
1920
 msgid "Refreshing cache"
 
1921
 msgstr "Uppdatering av cache"
 
1922
 
 
1923
 #. TRANSLATORS: The role of the transaction, in present tense
 
1924
-#: ../lib/packagekit-glib2/pk-console-shared.c:604
 
1925
+#: ../lib/packagekit-glib2/pk-console-shared.c:611
 
1926
 msgid "Updating packages"
 
1927
 msgstr "Uppdaterade paket"
 
1928
 
 
1929
 #. TRANSLATORS: The role of the transaction, in present tense
 
1930
-#: ../lib/packagekit-glib2/pk-console-shared.c:608
 
1931
+#: ../lib/packagekit-glib2/pk-console-shared.c:615
 
1932
 msgid "Updating system"
 
1933
 msgstr "Uppdaterade systemet"
 
1934
 
 
1935
 #. TRANSLATORS: The role of the transaction, in present tense
 
1936
-#: ../lib/packagekit-glib2/pk-console-shared.c:612
 
1937
+#: ../lib/packagekit-glib2/pk-console-shared.c:619
 
1938
 msgid "Canceling"
 
1939
 msgstr "Avbryter"
 
1940
 
 
1941
 #. TRANSLATORS: The role of the transaction, in present tense
 
1942
-#: ../lib/packagekit-glib2/pk-console-shared.c:620
 
1943
+#: ../lib/packagekit-glib2/pk-console-shared.c:627
 
1944
 msgid "Getting repositories"
 
1945
 msgstr "Hämtade förråd"
 
1946
 
 
1947
 #. TRANSLATORS: The role of the transaction, in present tense
 
1948
-#: ../lib/packagekit-glib2/pk-console-shared.c:624
 
1949
+#: ../lib/packagekit-glib2/pk-console-shared.c:631
 
1950
 msgid "Enabling repository"
 
1951
 msgstr "Aktivering av förråd"
 
1952
 
 
1953
 #. TRANSLATORS: The role of the transaction, in present tense
 
1954
-#: ../lib/packagekit-glib2/pk-console-shared.c:628
 
1955
+#: ../lib/packagekit-glib2/pk-console-shared.c:635
 
1956
 msgid "Setting data"
 
1957
 msgstr "Inställning av data"
 
1958
 
 
1959
 #. TRANSLATORS: The role of the transaction, in present tense
 
1960
-#: ../lib/packagekit-glib2/pk-console-shared.c:632
 
1961
+#: ../lib/packagekit-glib2/pk-console-shared.c:639
 
1962
 msgid "Resolving"
 
1963
 msgstr "Löser"
 
1964
 
 
1965
 #. TRANSLATORS: The role of the transaction, in present tense
 
1966
-#: ../lib/packagekit-glib2/pk-console-shared.c:636
 
1967
+#: ../lib/packagekit-glib2/pk-console-shared.c:643
 
1968
 msgid "Getting file list"
 
1969
 msgstr "Hämtning av fillista"
 
1970
 
 
1971
 #. TRANSLATORS: The role of the transaction, in present tense
 
1972
-#: ../lib/packagekit-glib2/pk-console-shared.c:640
 
1973
+#: ../lib/packagekit-glib2/pk-console-shared.c:647
 
1974
 msgid "Getting provides"
 
1975
 msgstr "Hämtning av tillhandahåller"
 
1976
 
 
1977
 #. TRANSLATORS: The role of the transaction, in present tense
 
1978
-#: ../lib/packagekit-glib2/pk-console-shared.c:644
 
1979
+#: ../lib/packagekit-glib2/pk-console-shared.c:651
 
1980
 msgid "Installing signature"
 
1981
 msgstr "Installerade signatur"
 
1982
 
 
1983
 #. TRANSLATORS: The role of the transaction, in present tense
 
1984
-#: ../lib/packagekit-glib2/pk-console-shared.c:648
 
1985
+#: ../lib/packagekit-glib2/pk-console-shared.c:655
 
1986
 msgid "Getting packages"
 
1987
 msgstr "Hämtning av paket"
 
1988
 
 
1989
 #. TRANSLATORS: The role of the transaction, in present tense
 
1990
-#: ../lib/packagekit-glib2/pk-console-shared.c:652
 
1991
+#: ../lib/packagekit-glib2/pk-console-shared.c:659
 
1992
 msgid "Accepting EULA"
 
1993
 msgstr "Accepterade slutanvändaravtal"
 
1994
 
 
1995
 #. TRANSLATORS: The role of the transaction, in present tense
 
1996
-#: ../lib/packagekit-glib2/pk-console-shared.c:660
 
1997
+#: ../lib/packagekit-glib2/pk-console-shared.c:667
 
1998
 msgid "Getting upgrades"
 
1999
 msgstr "Hämtning av uppgraderingar"
 
2000
 
 
2001
 #. TRANSLATORS: The role of the transaction, in present tense
 
2002
-#: ../lib/packagekit-glib2/pk-console-shared.c:664
 
2003
+#: ../lib/packagekit-glib2/pk-console-shared.c:671
 
2004
 msgid "Getting categories"
 
2005
 msgstr "Hämtning av kategorier"
 
2006
 
 
2007
 #. TRANSLATORS: The role of the transaction, in present tense
 
2008
-#: ../lib/packagekit-glib2/pk-console-shared.c:668
 
2009
+#: ../lib/packagekit-glib2/pk-console-shared.c:675
 
2010
 msgid "Getting transactions"
 
2011
 msgstr "Hämtning av transaktioner"
 
2012
 
 
2013
 #. TRANSLATORS: The role of the transaction, in present tense
 
2014
-#: ../lib/packagekit-glib2/pk-console-shared.c:672
 
2015
-#: ../lib/packagekit-glib2/pk-console-shared.c:676
 
2016
+#: ../lib/packagekit-glib2/pk-console-shared.c:679
 
2017
+#: ../lib/packagekit-glib2/pk-console-shared.c:683
 
2018
 msgid "Simulating install"
 
2019
 msgstr "Simulerade installation"
 
2020
 
 
2021
 #. TRANSLATORS: The role of the transaction, in present tense
 
2022
-#: ../lib/packagekit-glib2/pk-console-shared.c:680
 
2023
+#: ../lib/packagekit-glib2/pk-console-shared.c:687
 
2024
 msgid "Simulating remove"
 
2025
 msgstr "Simulering av borttagning"
 
2026
 
 
2027
 #. TRANSLATORS: The role of the transaction, in present tense
 
2028
-#: ../lib/packagekit-glib2/pk-console-shared.c:684
 
2029
+#: ../lib/packagekit-glib2/pk-console-shared.c:691
 
2030
 msgid "Simulating update"
 
2031
 msgstr "Simulering av uppdatering"
 
2032
 
 
2033
@@ -1707,38 +1730,42 @@
 
2034
 msgstr "Autentisering krävs för att ändra parametrar för programvarukällor"
 
2035
 
 
2036
 #: ../policy/org.freedesktop.packagekit.policy.in.h:11
 
2037
+msgid "Authentication is required to change the location used to decompress packages"
 
2038
+msgstr "Autentisering krävs för att ändra platsen som används för att dekomprimera paket"
 
2039
+
 
2040
+#: ../policy/org.freedesktop.packagekit.policy.in.h:12
 
2041
 msgid "Authentication is required to consider a key used for signing packages as trusted"
 
2042
 msgstr "Autentisering krävs för att anse att en nyckel som används för paketsignering ska vara pålitlig"
 
2043
 
 
2044
-#: ../policy/org.freedesktop.packagekit.policy.in.h:12
 
2045
+#: ../policy/org.freedesktop.packagekit.policy.in.h:13
 
2046
 msgid "Authentication is required to install a signed package"
 
2047
 msgstr "Autentisering krävs för att installera ett signerat paket"
 
2048
 
 
2049
-#: ../policy/org.freedesktop.packagekit.policy.in.h:13
 
2050
+#: ../policy/org.freedesktop.packagekit.policy.in.h:14
 
2051
 msgid "Authentication is required to install an untrusted package"
 
2052
 msgstr "Autentisering krävs för att installera ett opålitligt paket"
 
2053
 
 
2054
-#: ../policy/org.freedesktop.packagekit.policy.in.h:14
 
2055
+#: ../policy/org.freedesktop.packagekit.policy.in.h:15
 
2056
 msgid "Authentication is required to refresh the system sources"
 
2057
 msgstr "Autentisering krävs för att uppdatera systemkällorna"
 
2058
 
 
2059
-#: ../policy/org.freedesktop.packagekit.policy.in.h:15
 
2060
+#: ../policy/org.freedesktop.packagekit.policy.in.h:16
 
2061
 msgid "Authentication is required to reload the device with a new driver"
 
2062
 msgstr "Autentisering krävs för att uppdatera enheten med en ny drivrutin"
 
2063
 
 
2064
-#: ../policy/org.freedesktop.packagekit.policy.in.h:16
 
2065
+#: ../policy/org.freedesktop.packagekit.policy.in.h:17
 
2066
 msgid "Authentication is required to remove packages"
 
2067
 msgstr "Autentisering krävs för att ta bort paket"
 
2068
 
 
2069
-#: ../policy/org.freedesktop.packagekit.policy.in.h:17
 
2070
+#: ../policy/org.freedesktop.packagekit.policy.in.h:18
 
2071
 msgid "Authentication is required to rollback a transaction"
 
2072
 msgstr "Autentisering krävs för att rulla tillbaka en transaktion"
 
2073
 
 
2074
-#: ../policy/org.freedesktop.packagekit.policy.in.h:18
 
2075
+#: ../policy/org.freedesktop.packagekit.policy.in.h:19
 
2076
 msgid "Authentication is required to set the network proxy used for downloading packages"
 
2077
 msgstr "Autentisering krävs för att ange nätverksproxyservern som ska användas för hämtning av paket"
 
2078
 
 
2079
-#: ../policy/org.freedesktop.packagekit.policy.in.h:19
 
2080
+#: ../policy/org.freedesktop.packagekit.policy.in.h:20
 
2081
 msgid "Authentication is required to update packages"
 
2082
 msgstr "Autentisering krävs för att uppdatera paket"
 
2083
 
 
2084
@@ -1747,16 +1774,26 @@
 
2085
 #. authentication, but a different user id needs the admin password
 
2086
 #. to cancel another users task.
 
2087
 #.
 
2088
-#: ../policy/org.freedesktop.packagekit.policy.in.h:25
 
2089
+#: ../policy/org.freedesktop.packagekit.policy.in.h:26
 
2090
 msgid "Cancel foreign task"
 
2091
 msgstr "Avbryt främmande åtgärd"
 
2092
 
 
2093
 #. SECURITY:
 
2094
+#. - This is used when users want to install to a different prefix, for
 
2095
+#. instance to a LTSP image or a virtual machine.
 
2096
+#. - This could be used to overwrite files not owned by the user using
 
2097
+#. a carefully created package file.
 
2098
+#.
 
2099
+#: ../policy/org.freedesktop.packagekit.policy.in.h:33
 
2100
+msgid "Change location that packages are installed"
 
2101
+msgstr "Ändra platsen för var paketen installeras"
 
2102
+
 
2103
+#. SECURITY:
 
2104
 #. - Normal users require admin authentication to enable or disable
 
2105
 #. software sources as this can be used to enable new updates or
 
2106
 #. install different versions of software.
 
2107
 #.
 
2108
-#: ../policy/org.freedesktop.packagekit.policy.in.h:31
 
2109
+#: ../policy/org.freedesktop.packagekit.policy.in.h:39
 
2110
 msgid "Change software source parameters"
 
2111
 msgstr "Ändra parametrar för programvarukällor"
 
2112
 
 
2113
@@ -1766,7 +1803,7 @@
 
2114
 #. - Paranoid users (or parents!) can change this to 'auth_admin' or
 
2115
 #. 'auth_admin_keep'.
 
2116
 #.
 
2117
-#: ../policy/org.freedesktop.packagekit.policy.in.h:38
 
2118
+#: ../policy/org.freedesktop.packagekit.policy.in.h:46
 
2119
 msgid "Install signed package"
 
2120
 msgstr "Installera signerat paket"
 
2121
 
 
2122
@@ -1776,7 +1813,7 @@
 
2123
 #. password would be a massive security hole.
 
2124
 #. - This is not retained as each package should be authenticated.
 
2125
 #.
 
2126
-#: ../policy/org.freedesktop.packagekit.policy.in.h:45
 
2127
+#: ../policy/org.freedesktop.packagekit.policy.in.h:53
 
2128
 msgid "Install untrusted local file"
 
2129
 msgstr "Installera opålitlig lokal fil"
 
2130
 
 
2131
@@ -1784,7 +1821,7 @@
 
2132
 #. - Normal users do not require admin authentication to refresh the
 
2133
 #. cache, as this doesn't actually install or remove software.
 
2134
 #.
 
2135
-#: ../policy/org.freedesktop.packagekit.policy.in.h:50
 
2136
+#: ../policy/org.freedesktop.packagekit.policy.in.h:58
 
2137
 msgid "Refresh system sources"
 
2138
 msgstr "Uppdatera systemkällor"
 
2139
 
 
2140
@@ -1795,7 +1832,7 @@
 
2141
 #. try to rebind drivers in use, for instance security authentication
 
2142
 #. devices.
 
2143
 #.
 
2144
-#: ../policy/org.freedesktop.packagekit.policy.in.h:58
 
2145
+#: ../policy/org.freedesktop.packagekit.policy.in.h:66
 
2146
 msgid "Reload a device"
 
2147
 msgstr "Uppdatera en enhet"
 
2148
 
 
2149
@@ -1808,7 +1845,7 @@
 
2150
 #. be removed. If this is not possible, change this authentication to
 
2151
 #. 'auth_admin'.
 
2152
 #.
 
2153
-#: ../policy/org.freedesktop.packagekit.policy.in.h:68
 
2154
+#: ../policy/org.freedesktop.packagekit.policy.in.h:76
 
2155
 msgid "Remove package"
 
2156
 msgstr "Ta bort paket"
 
2157
 
 
2158
@@ -1817,7 +1854,7 @@
 
2159
 #. as this will change a large number of packages, and could expose the
 
2160
 #. system to previously patched security vulnerabilities.
 
2161
 #.
 
2162
-#: ../policy/org.freedesktop.packagekit.policy.in.h:74
 
2163
+#: ../policy/org.freedesktop.packagekit.policy.in.h:82
 
2164
 msgid "Rollback to a previous transaction"
 
2165
 msgstr "Rulla tillbaka till en tidigare transaktion"
 
2166
 
 
2167
@@ -1825,7 +1862,7 @@
 
2168
 #. - Normal users do not require admin authentication to set the proxy
 
2169
 #. used for downloading packages.
 
2170
 #.
 
2171
-#: ../policy/org.freedesktop.packagekit.policy.in.h:79
 
2172
+#: ../policy/org.freedesktop.packagekit.policy.in.h:87
 
2173
 msgid "Set network proxy"
 
2174
 msgstr "Ange nätverksproxyserver"
 
2175
 
 
2176
@@ -1835,7 +1872,7 @@
 
2177
 #. without a secure authentication.
 
2178
 #. - This is not kept as each package should be authenticated.
 
2179
 #.
 
2180
-#: ../policy/org.freedesktop.packagekit.policy.in.h:86
 
2181
+#: ../policy/org.freedesktop.packagekit.policy.in.h:94
 
2182
 msgid "Trust a key used for signing packages"
 
2183
 msgstr "Lita på en nyckel som används för signering av paket"
 
2184
 
 
2185
@@ -1846,7 +1883,7 @@
 
2186
 #. - Changing this to anything other than 'yes' will break unattended
 
2187
 #. updates.
 
2188
 #.
 
2189
-#: ../policy/org.freedesktop.packagekit.policy.in.h:94
 
2190
+#: ../policy/org.freedesktop.packagekit.policy.in.h:102
 
2191
 msgid "Update packages"
 
2192
 msgstr "Uppdatera paket"
 
2193
 
 
2194
@@ -1871,47 +1908,47 @@
 
2195
 msgstr "Filen org.freedesktop.PackageKit.conf är inte installerad i systemkatalogen:"
 
2196
 
 
2197
 #. TRANSLATORS: a backend is the system package tool, e.g. yum, apt
 
2198
-#: ../src/pk-main.c:199
 
2199
+#: ../src/pk-main.c:200
 
2200
 msgid "Packaging backend to use, e.g. dummy"
 
2201
 msgstr "Paketingsbakände att använda, t.ex. dummy"
 
2202
 
 
2203
 #. TRANSLATORS: if we should run in the background
 
2204
-#: ../src/pk-main.c:202
 
2205
+#: ../src/pk-main.c:203
 
2206
 msgid "Daemonize and detach from the terminal"
 
2207
 msgstr "Kör som bakgrundsprocess och koppla loss från terminalen"
 
2208
 
 
2209
 #. TRANSLATORS: if we should not monitor how long we are inactive for
 
2210
-#: ../src/pk-main.c:205
 
2211
+#: ../src/pk-main.c:206
 
2212
 msgid "Disable the idle timer"
 
2213
 msgstr "Inaktivera tidsgräns för inaktivitet"
 
2214
 
 
2215
 #. TRANSLATORS: show version
 
2216
-#: ../src/pk-main.c:208
 
2217
+#: ../src/pk-main.c:209
 
2218
 msgid "Show version and exit"
 
2219
 msgstr "Visa version och avsluta"
 
2220
 
 
2221
 #. TRANSLATORS: exit after we've started up, used for user profiling
 
2222
-#: ../src/pk-main.c:211
 
2223
+#: ../src/pk-main.c:212
 
2224
 msgid "Exit after a small delay"
 
2225
 msgstr "Avsluta efter en mindre fördröjning"
 
2226
 
 
2227
 #. TRANSLATORS: exit straight away, used for automatic profiling
 
2228
-#: ../src/pk-main.c:214
 
2229
+#: ../src/pk-main.c:215
 
2230
 msgid "Exit after the engine has loaded"
 
2231
 msgstr "Avsluta efter att motorn har lästs in"
 
2232
 
 
2233
 #. TRANSLATORS: describing the service that is running
 
2234
-#: ../src/pk-main.c:229
 
2235
+#: ../src/pk-main.c:230
 
2236
 msgid "PackageKit service"
 
2237
 msgstr "PackageKit-tjänst"
 
2238
 
 
2239
 #. TRANSLATORS: fatal error, dbus is not running
 
2240
-#: ../src/pk-main.c:266
 
2241
+#: ../src/pk-main.c:267
 
2242
 msgid "Cannot connect to the system bus"
 
2243
 msgstr "Kan inte ansluta till systembussen"
 
2244
 
 
2245
 #. TRANSLATORS: cannot register on system bus, unknown reason -- geeky error follows
 
2246
-#: ../src/pk-main.c:317
 
2247
+#: ../src/pk-main.c:318
 
2248
 msgid "Error trying to start:"
 
2249
 msgstr "Fel vid försök att starta:"
 
2250
 
 
2251
@@ -1957,25 +1994,25 @@
 
2252
 msgstr "Visa felsökningsinformation för alla filer"
 
2253
 
 
2254
 #. TRANSLATORS: a list of modules to debug
 
2255
-#: ../src/egg-debug.c:459
 
2256
+#: ../src/egg-debug.c:458
 
2257
 msgid "Debug these specific modules"
 
2258
 msgstr "Felsök dessa specifika moduler"
 
2259
 
 
2260
 #. TRANSLATORS: a list of functions to debug
 
2261
-#: ../src/egg-debug.c:462
 
2262
+#: ../src/egg-debug.c:461
 
2263
 msgid "Debug these specific functions"
 
2264
 msgstr "Felsök dessa specifika funktioner"
 
2265
 
 
2266
 #. TRANSLATORS: save to a log
 
2267
-#: ../src/egg-debug.c:465
 
2268
+#: ../src/egg-debug.c:464
 
2269
 msgid "Log debugging data to a file"
 
2270
 msgstr "Logga felsökningsdata till en fil"
 
2271
 
 
2272
-#: ../src/egg-debug.c:469
 
2273
+#: ../src/egg-debug.c:468
 
2274
 msgid "Debugging Options"
 
2275
 msgstr "Felsökningsflaggor"
 
2276
 
 
2277
-#: ../src/egg-debug.c:469
 
2278
+#: ../src/egg-debug.c:468
 
2279
 msgid "Show debugging options"
 
2280
 msgstr "Visa felsökningsflaggor"
 
2281
 
 
2282
@@ -1989,8 +2026,6 @@
 
2283
 #~ msgstr "Paketet %s är redan installerat"
 
2284
 #~ msgid "This tool could not install the files: %s"
 
2285
 #~ msgstr "Detta verktyg kunde inte installera filerna: %s"
 
2286
-#~ msgid "This tool could not remove %s: %s"
 
2287
-#~ msgstr "Detta verktyg kunde inte ta bort %s: %s"
 
2288
 #~ msgid "This tool could not remove the packages: %s"
 
2289
 #~ msgstr "Detta verktyg kunde inte ta bort paketen: %s"
 
2290
 #~ msgid "Proceed removing additional packages?"
 
2291
@@ -2052,8 +2087,6 @@
 
2292
 #~ msgstr "Felaktig behörighet för denna åtgärd"
 
2293
 #~ msgid "Cannot show the list of transactions"
 
2294
 #~ msgstr "Kan inte visa listan över transaktioner"
 
2295
-#~ msgid "The package could not be found"
 
2296
-#~ msgstr "Paketet kunde inte hittas"
 
2297
 #~ msgid "You need to specify a search type, e.g. name"
 
2298
 #~ msgstr "Du måste ange en söktyp, t.ex. name"
 
2299
 #~ msgid "You need to specify a search term"
 
2300
Index: packagekit-0.6.7/po/zh_TW.po
 
2301
===================================================================
 
2302
--- packagekit-0.6.7.orig/po/zh_TW.po   2010-08-25 23:31:32.347452000 +0100
 
2303
+++ packagekit-0.6.7/po/zh_TW.po        2010-08-25 23:31:36.415452000 +0100
 
2304
@@ -3,25 +3,23 @@
 
2305
 # This file is distributed under the same license as the PACKAGE package.
 
2306
 #
 
2307
 # Terry Chuang <tchuang@redhat.com>, 2008, 2009.
 
2308
-# Cheng-Chia Tseng <pswo10680@gmail.com>, 2010
 
2309
+# Cheng-Chia Tseng <pswo10680@gmail.com>, 2010, 2010.
 
2310
 msgid ""
 
2311
 msgstr ""
 
2312
 "Project-Id-Version: packagekit.master\n"
 
2313
 "Report-Msgid-Bugs-To: \n"
 
2314
-"POT-Creation-Date: 2010-05-04 11:16+0000\n"
 
2315
-"PO-Revision-Date: 2010-06-03 22:44+0800\n"
 
2316
+"POT-Creation-Date: 2010-08-12 01:24+0000\n"
 
2317
+"PO-Revision-Date: 2010-08-17 13:10+0800\n"
 
2318
 "Last-Translator: Cheng-Chia Tseng <pswo10680@gmail.com>\n"
 
2319
-"Language-Team: chinese-l10n@googlegroups.com\n"
 
2320
+"Language-Team: chinese-l10n <chinese-l10n@googlegroups.com>\n"
 
2321
 "MIME-Version: 1.0\n"
 
2322
 "Content-Type: text/plain; charset=UTF-8\n"
 
2323
 "Content-Transfer-Encoding: 8bit\n"
 
2324
-"X-Generator: KBabel 1.11.4\n"
 
2325
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
2326
 
 
2327
 #. TRANSLATORS: this is an atomic transaction
 
2328
 #. TRANSLATORS: the role is the point of the transaction, e.g. update-system
 
2329
-#: ../client/pk-console.c:176
 
2330
-#: ../client/pk-console.c:598
 
2331
+#: ../client/pk-console.c:176 ../client/pk-console.c:598
 
2332
 msgid "Transaction"
 
2333
 msgstr "處理事項"
 
2334
 
 
2335
@@ -33,7 +31,7 @@
 
2336
 #. TRANSLATORS: this is if the transaction succeeded or not
 
2337
 #: ../client/pk-console.c:180
 
2338
 msgid "Succeeded"
 
2339
-msgstr "已成功"
 
2340
+msgstr "成功"
 
2341
 
 
2342
 #: ../client/pk-console.c:180
 
2343
 msgid "True"
 
2344
@@ -45,8 +43,7 @@
 
2345
 
 
2346
 #. TRANSLATORS: this is the transactions role, e.g. "update-system"
 
2347
 #. TRANSLATORS: the trasaction role, e.g. update-system
 
2348
-#: ../client/pk-console.c:182
 
2349
-#: ../src/pk-polkit-action-lookup.c:332
 
2350
+#: ../client/pk-console.c:182 ../src/pk-polkit-action-lookup.c:332
 
2351
 msgid "Role"
 
2352
 msgstr "任務"
 
2353
 
 
2354
@@ -61,8 +58,7 @@
 
2355
 
 
2356
 #. TRANSLATORS: this is The command line used to do the action
 
2357
 #. TRANSLATORS: the command line of the thing that wants the authentication
 
2358
-#: ../client/pk-console.c:191
 
2359
-#: ../src/pk-polkit-action-lookup.c:346
 
2360
+#: ../client/pk-console.c:191 ../src/pk-polkit-action-lookup.c:346
 
2361
 msgid "Command line"
 
2362
 msgstr "指令列"
 
2363
 
 
2364
@@ -101,8 +97,7 @@
 
2365
 
 
2366
 #. TRANSLATORS: this is any summary text describing the upgrade
 
2367
 #. TRANSLATORS: this is the summary of the group
 
2368
-#: ../client/pk-console.c:253
 
2369
-#: ../client/pk-console.c:292
 
2370
+#: ../client/pk-console.c:253 ../client/pk-console.c:292
 
2371
 msgid "Summary"
 
2372
 msgstr "摘要"
 
2373
 
 
2374
@@ -141,8 +136,7 @@
 
2375
 #. TRANSLATORS: the package that is not signed by a known key
 
2376
 #. TRANSLATORS: the package name that was trying to be installed
 
2377
 #. TRANSLATORS: title, the names of the packages that the method is processing
 
2378
-#: ../client/pk-console.c:347
 
2379
-#: ../client/pk-console.c:617
 
2380
+#: ../client/pk-console.c:347 ../client/pk-console.c:617
 
2381
 #: ../lib/packagekit-glib2/pk-task-text.c:126
 
2382
 #: ../lib/packagekit-glib2/pk-task-text.c:208
 
2383
 #: ../src/pk-polkit-action-lookup.c:357
 
2384
@@ -163,8 +157,7 @@
 
2385
 
 
2386
 #. TRANSLATORS: details about the update, the vendor URLs
 
2387
 #. TRANSLATORS: the vendor (e.g. vmware) that is providing the EULA
 
2388
-#: ../client/pk-console.c:358
 
2389
-#: ../lib/packagekit-glib2/pk-task-text.c:211
 
2390
+#: ../client/pk-console.c:358 ../lib/packagekit-glib2/pk-task-text.c:211
 
2391
 msgid "Vendor"
 
2392
 msgstr "廠商"
 
2393
 
 
2394
@@ -205,8 +198,7 @@
 
2395
 
 
2396
 #. TRANSLATORS: details about the update, date the update was updated
 
2397
 #. TRANSLATORS: The action of the package, in past tense
 
2398
-#: ../client/pk-console.c:390
 
2399
-#: ../lib/packagekit-glib2/pk-console-shared.c:511
 
2400
+#: ../client/pk-console.c:390 ../lib/packagekit-glib2/pk-console-shared.c:517
 
2401
 msgid "Updated"
 
2402
 msgstr "已更新"
 
2403
 
 
2404
@@ -287,8 +279,8 @@
 
2405
 
 
2406
 #. TRANSLATORS: the transaction failed in a way we could not expect
 
2407
 #: ../client/pk-console.c:696
 
2408
-#: ../contrib/command-not-found/pk-command-not-found.c:433
 
2409
-#: ../contrib/command-not-found/pk-command-not-found.c:606
 
2410
+#: ../contrib/command-not-found/pk-command-not-found.c:454
 
2411
+#: ../contrib/command-not-found/pk-command-not-found.c:634
 
2412
 msgid "The transaction failed"
 
2413
 msgstr "處理事項失敗"
 
2414
 
 
2415
@@ -313,19 +305,26 @@
 
2416
 
 
2417
 #. TRANSLATORS: a package needs to restart their system (due to security)
 
2418
 #: ../client/pk-console.c:823
 
2419
-msgid "Please restart the computer to complete the update as important security updates have been installed."
 
2420
+msgid ""
 
2421
+"Please restart the computer to complete the update as important security "
 
2422
+"updates have been installed."
 
2423
 msgstr "因為重大安全性更新已安裝,請重新啟動電腦來完成更新動作。"
 
2424
 
 
2425
 #. TRANSLATORS: a package needs to restart the session (due to security)
 
2426
 #: ../client/pk-console.c:826
 
2427
-msgid "Please logout and login to complete the update as important security updates have been installed."
 
2428
+msgid ""
 
2429
+"Please logout and login to complete the update as important security updates "
 
2430
+"have been installed."
 
2431
 msgstr "因為重大安全性更新已安裝,請登出並再次登入來完成更新動作。"
 
2432
 
 
2433
 #. TRANSLATORS: The user used 'pkcon install dave.rpm' rather than 'pkcon install-local dave.rpm'
 
2434
 #: ../client/pk-console.c:852
 
2435
 #, c-format
 
2436
-msgid "Expected package name, actually got file. Try using 'pkcon install-local %s' instead."
 
2437
-msgstr "預期的套件名稱,已實際取得檔案。嘗試使用 'pkcon install-local %s' 來替代。"
 
2438
+msgid ""
 
2439
+"Expected package name, actually got file. Try using 'pkcon install-local %s' "
 
2440
+"instead."
 
2441
+msgstr ""
 
2442
+"預期的套件名稱,已實際取得檔案。嘗試使用 'pkcon install-local %s' 來替代。"
 
2443
 
 
2444
 #. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
 
2445
 #: ../client/pk-console.c:860
 
2446
@@ -340,8 +339,7 @@
 
2447
 msgstr "此工具無法找到已安裝的套件:%s"
 
2448
 
 
2449
 #. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
 
2450
-#: ../client/pk-console.c:916
 
2451
-#: ../client/pk-console.c:944
 
2452
+#: ../client/pk-console.c:916 ../client/pk-console.c:944
 
2453
 #, c-format
 
2454
 msgid "This tool could not find the package: %s"
 
2455
 msgstr "此工具無法找到這個套件:%s"
 
2456
@@ -350,10 +348,8 @@
 
2457
 #. TRANSLATORS: There was an error getting the dependencies for the package. The detailed error follows
 
2458
 #. TRANSLATORS: There was an error getting the details about the package. The detailed error follows
 
2459
 #. TRANSLATORS: The package name was not found in any software sources. The detailed error follows
 
2460
-#: ../client/pk-console.c:972
 
2461
-#: ../client/pk-console.c:1000
 
2462
-#: ../client/pk-console.c:1028
 
2463
-#: ../client/pk-console.c:1056
 
2464
+#: ../client/pk-console.c:972 ../client/pk-console.c:1000
 
2465
+#: ../client/pk-console.c:1028 ../client/pk-console.c:1056
 
2466
 #: ../client/pk-console.c:1084
 
2467
 #, c-format
 
2468
 msgid "This tool could not find all the packages: %s"
 
2469
@@ -380,8 +376,7 @@
 
2470
 msgstr "無法取得此動作最後完成後的時間"
 
2471
 
 
2472
 #. TRANSLATORS: command line argument, just show the version string
 
2473
-#: ../client/pk-console.c:1268
 
2474
-#: ../client/pk-monitor.c:326
 
2475
+#: ../client/pk-console.c:1268 ../client/pk-monitor.c:373
 
2476
 msgid "Show the program version and exit"
 
2477
 msgstr "顯示程式版本然後離開"
 
2478
 
 
2479
@@ -413,7 +408,8 @@
 
2480
 
 
2481
 #. TRANSLATORS: command line argument, just output without fancy formatting
 
2482
 #: ../client/pk-console.c:1286
 
2483
-msgid "Print to screen a machine readable output, rather than using animated widgets"
 
2484
+msgid ""
 
2485
+"Print to screen a machine readable output, rather than using animated widgets"
 
2486
 msgstr "將機器可讀的輸出列印到畫面,而不是使用動畫化的小工具"
 
2487
 
 
2488
 #. TRANSLATORS: we failed to contact the daemon
 
2489
@@ -422,128 +418,122 @@
 
2490
 msgstr "聯絡 PackageKit 失敗"
 
2491
 
 
2492
 #. TRANSLATORS: The user specified an incorrect filter
 
2493
-#: ../client/pk-console.c:1369
 
2494
+#: ../client/pk-console.c:1370
 
2495
 msgid "The proxy could not be set"
 
2496
 msgstr "無法設定 proxy"
 
2497
 
 
2498
 #. TRANSLATORS: The user specified an incorrect filter
 
2499
-#: ../client/pk-console.c:1381
 
2500
+#: ../client/pk-console.c:1382
 
2501
 msgid "The install root could not be set"
 
2502
 msgstr "無法設定安裝的根目錄"
 
2503
 
 
2504
 #. TRANSLATORS: The user specified an incorrect filter
 
2505
-#: ../client/pk-console.c:1393
 
2506
+#: ../client/pk-console.c:1394
 
2507
 msgid "The filter specified was invalid"
 
2508
 msgstr "指定的過濾條件無效"
 
2509
 
 
2510
 #. TRANSLATORS: a search type can be name, details, file, etc
 
2511
-#: ../client/pk-console.c:1412
 
2512
+#: ../client/pk-console.c:1413
 
2513
 msgid "A search type is required, e.g. name"
 
2514
 msgstr "需要選取搜尋類型,例如:名稱"
 
2515
 
 
2516
 #. TRANSLATORS: the user needs to provide a search term
 
2517
-#: ../client/pk-console.c:1419
 
2518
-#: ../client/pk-console.c:1431
 
2519
-#: ../client/pk-console.c:1443
 
2520
-#: ../client/pk-console.c:1455
 
2521
+#: ../client/pk-console.c:1420 ../client/pk-console.c:1432
 
2522
+#: ../client/pk-console.c:1444 ../client/pk-console.c:1456
 
2523
 msgid "A search term is required"
 
2524
 msgstr "需要輸入搜尋用的關鍵詞"
 
2525
 
 
2526
 #. TRANSLATORS: the search type was provided, but invalid
 
2527
-#: ../client/pk-console.c:1465
 
2528
+#: ../client/pk-console.c:1466
 
2529
 msgid "Invalid search type"
 
2530
 msgstr "無效的搜尋類型"
 
2531
 
 
2532
 #. TRANSLATORS: the user did not specify what they wanted to install
 
2533
-#: ../client/pk-console.c:1471
 
2534
+#: ../client/pk-console.c:1472
 
2535
 msgid "A package name to install is required"
 
2536
 msgstr "需要有要安裝的套件名稱"
 
2537
 
 
2538
 #. TRANSLATORS: the user did not specify what they wanted to install
 
2539
-#: ../client/pk-console.c:1480
 
2540
+#: ../client/pk-console.c:1481
 
2541
 msgid "A filename to install is required"
 
2542
 msgstr "需要有要安裝的檔案名稱"
 
2543
 
 
2544
 #. TRANSLATORS: geeky error, 99.9999% of users won't see this
 
2545
-#: ../client/pk-console.c:1492
 
2546
+#: ../client/pk-console.c:1493
 
2547
 msgid "A type, key_id and package_id are required"
 
2548
 msgstr "需要指定一個類型、key_id 以及 package_id"
 
2549
 
 
2550
 #. TRANSLATORS: the user did not specify what they wanted to remove
 
2551
-#: ../client/pk-console.c:1503
 
2552
+#: ../client/pk-console.c:1504
 
2553
 msgid "A package name to remove is required"
 
2554
 msgstr "需要有要移除的套件名稱"
 
2555
 
 
2556
 #. TRANSLATORS: the user did not specify anything about what to download or where
 
2557
-#: ../client/pk-console.c:1512
 
2558
+#: ../client/pk-console.c:1513
 
2559
 msgid "A destination directory and the package names to download are required"
 
2560
 msgstr "需要有目標資料夾與要下載的套件名稱"
 
2561
 
 
2562
 #. TRANSLATORS: the directory does not exist, so we can't continue
 
2563
-#: ../client/pk-console.c:1519
 
2564
+#: ../client/pk-console.c:1520
 
2565
 msgid "Directory not found"
 
2566
 msgstr "找不到目錄"
 
2567
 
 
2568
 #. TRANSLATORS: geeky error, 99.9999% of users won't see this
 
2569
-#: ../client/pk-console.c:1528
 
2570
+#: ../client/pk-console.c:1529
 
2571
 msgid "A licence identifier (eula-id) is required"
 
2572
 msgstr "需要指定一個授權合約的辨識符號 (eula-id)"
 
2573
 
 
2574
 #. TRANSLATORS: geeky error, 99.9999% of users won't see this
 
2575
-#: ../client/pk-console.c:1539
 
2576
+#: ../client/pk-console.c:1540
 
2577
 msgid "A transaction identifier (tid) is required"
 
2578
 msgstr "需要處理事項識別符 (tid)"
 
2579
 
 
2580
 #. TRANSLATORS: The user did not specify a package name
 
2581
-#: ../client/pk-console.c:1560
 
2582
+#: ../client/pk-console.c:1561
 
2583
 msgid "A package name to resolve is required"
 
2584
 msgstr "需要指定想解析套件的名稱"
 
2585
 
 
2586
 #. TRANSLATORS: The user did not specify a repository (software source) name
 
2587
-#: ../client/pk-console.c:1571
 
2588
-#: ../client/pk-console.c:1582
 
2589
+#: ../client/pk-console.c:1572 ../client/pk-console.c:1583
 
2590
 msgid "A repository name is required"
 
2591
 msgstr "需要指定套件庫名稱"
 
2592
 
 
2593
 #. TRANSLATORS: The user didn't provide any data
 
2594
-#: ../client/pk-console.c:1593
 
2595
+#: ../client/pk-console.c:1594
 
2596
 msgid "A repo name, parameter and value are required"
 
2597
 msgstr "需要指定一個套件庫名稱、參數和值"
 
2598
 
 
2599
 #. TRANSLATORS: The user didn't specify what action to use
 
2600
-#: ../client/pk-console.c:1610
 
2601
+#: ../client/pk-console.c:1611
 
2602
 msgid "An action, e.g. 'update-system' is required"
 
2603
 msgstr "需要指定一項動作,例如:「update-system」"
 
2604
 
 
2605
 #. TRANSLATORS: The user specified an invalid action
 
2606
-#: ../client/pk-console.c:1617
 
2607
+#: ../client/pk-console.c:1618
 
2608
 msgid "A correct role is required"
 
2609
 msgstr "需要指定正確的任務"
 
2610
 
 
2611
 #. TRANSLATORS: The user did not provide a package name
 
2612
 #. TRANSLATORS: This is when the user fails to supply the package name
 
2613
-#: ../client/pk-console.c:1627
 
2614
-#: ../client/pk-console.c:1642
 
2615
-#: ../client/pk-console.c:1651
 
2616
-#: ../client/pk-console.c:1671
 
2617
-#: ../client/pk-console.c:1680
 
2618
-#: ../client/pk-generate-pack.c:316
 
2619
+#: ../client/pk-console.c:1628 ../client/pk-console.c:1643
 
2620
+#: ../client/pk-console.c:1652 ../client/pk-console.c:1672
 
2621
+#: ../client/pk-console.c:1681 ../client/pk-generate-pack.c:316
 
2622
 msgid "A package name is required"
 
2623
 msgstr "需要提供套件名稱"
 
2624
 
 
2625
 #. TRANSLATORS: each package "provides" certain things, e.g. mime(gstreamer-decoder-mp3), the user didn't specify it
 
2626
-#: ../client/pk-console.c:1660
 
2627
+#: ../client/pk-console.c:1661
 
2628
 msgid "A package provide string is required"
 
2629
 msgstr "需要指定套件提供字串"
 
2630
 
 
2631
 #. TRANSLATORS: The user tried to use an unsupported option on the command line
 
2632
-#: ../client/pk-console.c:1740
 
2633
+#: ../client/pk-console.c:1742
 
2634
 #, c-format
 
2635
 msgid "Option '%s' is not supported"
 
2636
 msgstr "不支援 '%s' 選項"
 
2637
 
 
2638
 #. TRANSLATORS: Generic failure of what they asked to do
 
2639
-#: ../client/pk-console.c:1750
 
2640
+#: ../client/pk-console.c:1752
 
2641
 msgid "Command failed"
 
2642
 msgstr "指令失敗"
 
2643
 
 
2644
@@ -589,14 +579,15 @@
 
2645
 
 
2646
 #. TRANSLATORS: This is when the backend doesn't have the capability to get-depends
 
2647
 #. TRANSLATORS: This is when the backend doesn't have the capability to download
 
2648
-#: ../client/pk-generate-pack.c:353
 
2649
-#: ../client/pk-generate-pack.c:359
 
2650
+#: ../client/pk-generate-pack.c:353 ../client/pk-generate-pack.c:359
 
2651
 msgid "The package manager cannot perform this type of operation."
 
2652
 msgstr "套件管理員無法執行這種類型的操作。"
 
2653
 
 
2654
 #. TRANSLATORS: This is when the distro didn't include libarchive support into PK
 
2655
 #: ../client/pk-generate-pack.c:366
 
2656
-msgid "Service packs cannot be created as PackageKit was not built with libarchive support."
 
2657
+msgid ""
 
2658
+"Service packs cannot be created as PackageKit was not built with libarchive "
 
2659
+"support."
 
2660
 msgstr "服務包無法建立,因為建構 PackageKit 時沒有啟用 libarchive 支援。"
 
2661
 
 
2662
 #. TRANSLATORS: the user specified an absolute path, but didn't get the extension correct
 
2663
@@ -652,160 +643,164 @@
 
2664
 msgid "Failed to create '%s': %s"
 
2665
 msgstr "無法建立「%s」:%s"
 
2666
 
 
2667
-#: ../client/pk-monitor.c:256
 
2668
+#: ../client/pk-monitor.c:286
 
2669
 msgid "Failed to get daemon state"
 
2670
 msgstr "未能取得幕後程式狀態"
 
2671
 
 
2672
+#: ../client/pk-monitor.c:351
 
2673
+msgid "Failed to get properties"
 
2674
+msgstr "未能取得屬性"
 
2675
+
 
2676
 #. TRANSLATORS: this is a program that monitors PackageKit
 
2677
-#: ../client/pk-monitor.c:342
 
2678
+#: ../client/pk-monitor.c:389
 
2679
 msgid "PackageKit Monitor"
 
2680
 msgstr "PackageKit 監控程式"
 
2681
 
 
2682
 #. TRANSLATORS: when we are getting data from the daemon
 
2683
-#: ../contrib/browser-plugin/pk-plugin-install.c:495
 
2684
+#: ../contrib/browser-plugin/pk-plugin-install.c:497
 
2685
 msgid "Getting package information..."
 
2686
 msgstr "正在取得套件資訊..."
 
2687
 
 
2688
 #. TRANSLATORS: run an applicaiton
 
2689
-#: ../contrib/browser-plugin/pk-plugin-install.c:501
 
2690
+#: ../contrib/browser-plugin/pk-plugin-install.c:503
 
2691
 #, c-format
 
2692
 msgid "Run %s"
 
2693
 msgstr "執行 %s"
 
2694
 
 
2695
 #. TRANSLATORS: show the installed version of a package
 
2696
-#: ../contrib/browser-plugin/pk-plugin-install.c:507
 
2697
+#: ../contrib/browser-plugin/pk-plugin-install.c:509
 
2698
 msgid "Installed version"
 
2699
 msgstr "已安裝的版本"
 
2700
 
 
2701
 #. TRANSLATORS: run the application now
 
2702
-#: ../contrib/browser-plugin/pk-plugin-install.c:515
 
2703
+#: ../contrib/browser-plugin/pk-plugin-install.c:517
 
2704
 #, c-format
 
2705
 msgid "Run version %s now"
 
2706
 msgstr "立刻執行版本 %s"
 
2707
 
 
2708
 #. TRANSLATORS: run the application now
 
2709
-#: ../contrib/browser-plugin/pk-plugin-install.c:521
 
2710
+#: ../contrib/browser-plugin/pk-plugin-install.c:523
 
2711
 msgid "Run now"
 
2712
 msgstr "立刻執行"
 
2713
 
 
2714
 #. TRANSLATORS: update to a new version of the package
 
2715
-#: ../contrib/browser-plugin/pk-plugin-install.c:527
 
2716
+#: ../contrib/browser-plugin/pk-plugin-install.c:529
 
2717
 #, c-format
 
2718
 msgid "Update to version %s"
 
2719
 msgstr "更新至版本 %s"
 
2720
 
 
2721
 #. TRANSLATORS: To install a package
 
2722
-#: ../contrib/browser-plugin/pk-plugin-install.c:533
 
2723
+#: ../contrib/browser-plugin/pk-plugin-install.c:535
 
2724
 #, c-format
 
2725
 msgid "Install %s now"
 
2726
 msgstr "立刻安裝 %s"
 
2727
 
 
2728
 #. TRANSLATORS: the version of the package
 
2729
-#: ../contrib/browser-plugin/pk-plugin-install.c:536
 
2730
+#: ../contrib/browser-plugin/pk-plugin-install.c:538
 
2731
 msgid "Version"
 
2732
 msgstr "版本"
 
2733
 
 
2734
 #. TRANSLATORS: noting found, so can't install
 
2735
-#: ../contrib/browser-plugin/pk-plugin-install.c:541
 
2736
+#: ../contrib/browser-plugin/pk-plugin-install.c:543
 
2737
 msgid "No packages found for your system"
 
2738
 msgstr "找不到適合您系統的套件"
 
2739
 
 
2740
 #. TRANSLATORS: package is being installed
 
2741
-#: ../contrib/browser-plugin/pk-plugin-install.c:546
 
2742
+#: ../contrib/browser-plugin/pk-plugin-install.c:548
 
2743
 msgid "Installing..."
 
2744
 msgstr "正在安裝..."
 
2745
 
 
2746
 #. TRANSLATORS: downloading repo data so we can search
 
2747
-#: ../contrib/command-not-found/pk-command-not-found.c:366
 
2748
+#: ../contrib/command-not-found/pk-command-not-found.c:367
 
2749
 msgid "Downloading details about the software sources."
 
2750
 msgstr "正在下載關於軟體來源的詳細資料。"
 
2751
 
 
2752
 #. TRANSLATORS: downloading file lists so we can search
 
2753
-#: ../contrib/command-not-found/pk-command-not-found.c:370
 
2754
+#: ../contrib/command-not-found/pk-command-not-found.c:371
 
2755
 msgid "Downloading filelists (this may take some time to complete)."
 
2756
 msgstr "正在下載檔案清單 (這會花上一段時間才能完成)。"
 
2757
 
 
2758
 #. TRANSLATORS: waiting for native lock
 
2759
-#: ../contrib/command-not-found/pk-command-not-found.c:374
 
2760
+#: ../contrib/command-not-found/pk-command-not-found.c:375
 
2761
 msgid "Waiting for package manager lock."
 
2762
 msgstr "正在等待套件管理程式解鎖。"
 
2763
 
 
2764
 #. TRANSLATORS: loading package cache so we can search
 
2765
-#: ../contrib/command-not-found/pk-command-not-found.c:378
 
2766
+#: ../contrib/command-not-found/pk-command-not-found.c:379
 
2767
 msgid "Loading list of packages."
 
2768
 msgstr "正在載入套件清單。"
 
2769
 
 
2770
 #. TRANSLATORS: we failed to find the package, this shouldn't happen
 
2771
-#: ../contrib/command-not-found/pk-command-not-found.c:424
 
2772
+#: ../contrib/command-not-found/pk-command-not-found.c:445
 
2773
 msgid "Failed to search for file"
 
2774
 msgstr "搜尋檔案失敗"
 
2775
 
 
2776
 #. TRANSLATORS: we failed to launch the executable, the error follows
 
2777
-#: ../contrib/command-not-found/pk-command-not-found.c:569
 
2778
+#: ../contrib/command-not-found/pk-command-not-found.c:597
 
2779
 msgid "Failed to launch:"
 
2780
 msgstr "啟動失敗:"
 
2781
 
 
2782
 #. TRANSLATORS: we failed to install the package
 
2783
-#: ../contrib/command-not-found/pk-command-not-found.c:597
 
2784
+#: ../contrib/command-not-found/pk-command-not-found.c:625
 
2785
 msgid "Failed to install packages"
 
2786
 msgstr "安裝套件失敗"
 
2787
 
 
2788
 #. TRANSLATORS: tool that gets called when the command is not found
 
2789
-#: ../contrib/command-not-found/pk-command-not-found.c:673
 
2790
+#: ../contrib/command-not-found/pk-command-not-found.c:701
 
2791
 msgid "PackageKit Command Not Found"
 
2792
 msgstr "找不到 PackageKit 指令"
 
2793
 
 
2794
 #. TRANSLATORS: the prefix of all the output telling the user why it's not executing
 
2795
-#: ../contrib/command-not-found/pk-command-not-found.c:699
 
2796
+#: ../contrib/command-not-found/pk-command-not-found.c:727
 
2797
 msgid "Command not found."
 
2798
 msgstr "找不到指令。"
 
2799
 
 
2800
 #. TRANSLATORS: tell the user what we think the command is
 
2801
-#: ../contrib/command-not-found/pk-command-not-found.c:717
 
2802
+#: ../contrib/command-not-found/pk-command-not-found.c:745
 
2803
 msgid "Similar command is:"
 
2804
 msgstr "相似指令為:"
 
2805
 
 
2806
 #. TRANSLATORS: Ask the user if we should run the similar command
 
2807
-#: ../contrib/command-not-found/pk-command-not-found.c:727
 
2808
+#: ../contrib/command-not-found/pk-command-not-found.c:755
 
2809
 msgid "Run similar command:"
 
2810
 msgstr "執行相似指令:"
 
2811
 
 
2812
 #. TRANSLATORS: show the user a list of commands that they could have meant
 
2813
 #. TRANSLATORS: show the user a list of commands we could run
 
2814
-#: ../contrib/command-not-found/pk-command-not-found.c:741
 
2815
-#: ../contrib/command-not-found/pk-command-not-found.c:750
 
2816
+#: ../contrib/command-not-found/pk-command-not-found.c:769
 
2817
+#: ../contrib/command-not-found/pk-command-not-found.c:778
 
2818
 msgid "Similar commands are:"
 
2819
 msgstr "相似指令有:"
 
2820
 
 
2821
 #. TRANSLATORS: ask the user to choose a file to run
 
2822
-#: ../contrib/command-not-found/pk-command-not-found.c:757
 
2823
+#: ../contrib/command-not-found/pk-command-not-found.c:785
 
2824
 msgid "Please choose a command to run"
 
2825
 msgstr "請選擇一項指令來執行"
 
2826
 
 
2827
 #. TRANSLATORS: tell the user what package provides the command
 
2828
-#: ../contrib/command-not-found/pk-command-not-found.c:775
 
2829
+#: ../contrib/command-not-found/pk-command-not-found.c:803
 
2830
 msgid "The package providing this file is:"
 
2831
 msgstr "提供此檔案的套件為:"
 
2832
 
 
2833
 #. TRANSLATORS: as the user if we want to install a package to provide the command
 
2834
-#: ../contrib/command-not-found/pk-command-not-found.c:780
 
2835
+#: ../contrib/command-not-found/pk-command-not-found.c:808
 
2836
 #, c-format
 
2837
 msgid "Install package '%s' to provide command '%s'?"
 
2838
 msgstr "是否要安裝「%s」套件以提供「%s」指令?"
 
2839
 
 
2840
 #. TRANSLATORS: Show the user a list of packages that provide this command
 
2841
-#: ../contrib/command-not-found/pk-command-not-found.c:804
 
2842
+#: ../contrib/command-not-found/pk-command-not-found.c:832
 
2843
 msgid "Packages providing this file are:"
 
2844
 msgstr "提供此檔案的套件有:"
 
2845
 
 
2846
 #. TRANSLATORS: Show the user a list of packages that they can install to provide this command
 
2847
-#: ../contrib/command-not-found/pk-command-not-found.c:814
 
2848
+#: ../contrib/command-not-found/pk-command-not-found.c:842
 
2849
 msgid "Suitable packages are:"
 
2850
 msgstr "合適的套件有:"
 
2851
 
 
2852
 #. get selection
 
2853
 #. TRANSLATORS: ask the user to choose a file to install
 
2854
-#: ../contrib/command-not-found/pk-command-not-found.c:823
 
2855
+#: ../contrib/command-not-found/pk-command-not-found.c:851
 
2856
 msgid "Please choose a package to install"
 
2857
 msgstr "請選擇欲安裝的套件"
 
2858
 
 
2859
@@ -822,7 +817,8 @@
 
2860
 
 
2861
 #. command line argument, simulate what would be done, but don't actually do it
 
2862
 #: ../contrib/debuginfo-install/pk-debuginfo-install.c:518
 
2863
-msgid "Don't actually install any packages, only simulate what would be installed"
 
2864
+msgid ""
 
2865
+"Don't actually install any packages, only simulate what would be installed"
 
2866
 msgstr "不要真的安裝任何套件,只要模擬要安裝什麼就好"
 
2867
 
 
2868
 #. command line argument, do we skip packages that depend on the ones specified
 
2869
@@ -973,7 +969,7 @@
 
2870
 #. TRANSLATORS: we are now installing the debuginfo packages we found earlier
 
2871
 #. TRANSLATORS: transaction state, installing packages
 
2872
 #: ../contrib/debuginfo-install/pk-debuginfo-install.c:862
 
2873
-#: ../lib/packagekit-glib2/pk-console-shared.c:283
 
2874
+#: ../lib/packagekit-glib2/pk-console-shared.c:289
 
2875
 #, c-format
 
2876
 msgid "Installing packages"
 
2877
 msgstr "正在安裝套件"
 
2878
@@ -1104,464 +1100,464 @@
 
2879
 msgid "PackageKit Service Pack"
 
2880
 msgstr "PackageKit 服務包"
 
2881
 
 
2882
-#: ../lib/packagekit-glib2/pk-console-shared.c:59
 
2883
+#: ../lib/packagekit-glib2/pk-console-shared.c:65
 
2884
 #, c-format
 
2885
 msgid "Please enter a number from 1 to %i: "
 
2886
 msgstr "請輸入一個 1 到 %i 之間的數字:"
 
2887
 
 
2888
 #. TRANSLATORS: more than one package could be found that matched, to follow is a list of possible packages
 
2889
-#: ../lib/packagekit-glib2/pk-console-shared.c:185
 
2890
+#: ../lib/packagekit-glib2/pk-console-shared.c:191
 
2891
 msgid "More than one package matches:"
 
2892
 msgstr "超過一個符合的套件:"
 
2893
 
 
2894
 #. TRANSLATORS: This finds out which package in the list to use
 
2895
-#: ../lib/packagekit-glib2/pk-console-shared.c:196
 
2896
+#: ../lib/packagekit-glib2/pk-console-shared.c:202
 
2897
 msgid "Please choose the correct package: "
 
2898
 msgstr "請選擇正確的套件:"
 
2899
 
 
2900
 #. TRANSLATORS: This is when the transaction status is not known
 
2901
-#: ../lib/packagekit-glib2/pk-console-shared.c:251
 
2902
+#: ../lib/packagekit-glib2/pk-console-shared.c:257
 
2903
 msgid "Unknown state"
 
2904
 msgstr "不明的狀態"
 
2905
 
 
2906
 #. TRANSLATORS: transaction state, the daemon is in the process of starting
 
2907
-#: ../lib/packagekit-glib2/pk-console-shared.c:255
 
2908
+#: ../lib/packagekit-glib2/pk-console-shared.c:261
 
2909
 msgid "Starting"
 
2910
 msgstr "正在開始"
 
2911
 
 
2912
 #. TRANSLATORS: transaction state, the transaction is waiting for another to complete
 
2913
-#: ../lib/packagekit-glib2/pk-console-shared.c:259
 
2914
+#: ../lib/packagekit-glib2/pk-console-shared.c:265
 
2915
 msgid "Waiting in queue"
 
2916
 msgstr "正在依佇列等待"
 
2917
 
 
2918
 #. TRANSLATORS: transaction state, just started
 
2919
-#: ../lib/packagekit-glib2/pk-console-shared.c:263
 
2920
+#: ../lib/packagekit-glib2/pk-console-shared.c:269
 
2921
 msgid "Running"
 
2922
 msgstr "正在執行"
 
2923
 
 
2924
 #. TRANSLATORS: transaction state, is querying data
 
2925
-#: ../lib/packagekit-glib2/pk-console-shared.c:267
 
2926
+#: ../lib/packagekit-glib2/pk-console-shared.c:273
 
2927
 msgid "Querying"
 
2928
 msgstr "正在查詢"
 
2929
 
 
2930
 #. TRANSLATORS: transaction state, getting data from a server
 
2931
-#: ../lib/packagekit-glib2/pk-console-shared.c:271
 
2932
+#: ../lib/packagekit-glib2/pk-console-shared.c:277
 
2933
 msgid "Getting information"
 
2934
 msgstr "正在取得資訊"
 
2935
 
 
2936
 #. TRANSLATORS: transaction state, removing packages
 
2937
-#: ../lib/packagekit-glib2/pk-console-shared.c:275
 
2938
+#: ../lib/packagekit-glib2/pk-console-shared.c:281
 
2939
 msgid "Removing packages"
 
2940
 msgstr "正在移除套件"
 
2941
 
 
2942
 #. TRANSLATORS: transaction state, downloading package files
 
2943
 #. TRANSLATORS: The role of the transaction, in present tense
 
2944
-#: ../lib/packagekit-glib2/pk-console-shared.c:279
 
2945
-#: ../lib/packagekit-glib2/pk-console-shared.c:657
 
2946
+#: ../lib/packagekit-glib2/pk-console-shared.c:285
 
2947
+#: ../lib/packagekit-glib2/pk-console-shared.c:663
 
2948
 msgid "Downloading packages"
 
2949
 msgstr "正在下載套件"
 
2950
 
 
2951
 #. TRANSLATORS: transaction state, refreshing internal lists
 
2952
-#: ../lib/packagekit-glib2/pk-console-shared.c:287
 
2953
+#: ../lib/packagekit-glib2/pk-console-shared.c:293
 
2954
 msgid "Refreshing software list"
 
2955
 msgstr "正在重新整理軟體清單"
 
2956
 
 
2957
 #. TRANSLATORS: transaction state, installing updates
 
2958
-#: ../lib/packagekit-glib2/pk-console-shared.c:291
 
2959
+#: ../lib/packagekit-glib2/pk-console-shared.c:297
 
2960
 msgid "Installing updates"
 
2961
 msgstr "正在安裝更新"
 
2962
 
 
2963
 #. TRANSLATORS: transaction state, removing old packages, and cleaning config files
 
2964
-#: ../lib/packagekit-glib2/pk-console-shared.c:295
 
2965
+#: ../lib/packagekit-glib2/pk-console-shared.c:301
 
2966
 msgid "Cleaning up packages"
 
2967
 msgstr "正在清理套件"
 
2968
 
 
2969
 #. TRANSLATORS: transaction state, obsoleting old packages
 
2970
-#: ../lib/packagekit-glib2/pk-console-shared.c:299
 
2971
+#: ../lib/packagekit-glib2/pk-console-shared.c:305
 
2972
 msgid "Obsoleting packages"
 
2973
 msgstr "正在廢棄套件"
 
2974
 
 
2975
 #. TRANSLATORS: transaction state, checking the transaction before we do it
 
2976
-#: ../lib/packagekit-glib2/pk-console-shared.c:303
 
2977
+#: ../lib/packagekit-glib2/pk-console-shared.c:309
 
2978
 msgid "Resolving dependencies"
 
2979
 msgstr "正在解析相依性"
 
2980
 
 
2981
 #. TRANSLATORS: transaction state, checking if we have all the security keys for the operation
 
2982
-#: ../lib/packagekit-glib2/pk-console-shared.c:307
 
2983
+#: ../lib/packagekit-glib2/pk-console-shared.c:313
 
2984
 msgid "Checking signatures"
 
2985
 msgstr "正在檢查簽章"
 
2986
 
 
2987
 #. TRANSLATORS: transaction state, when we return to a previous system state
 
2988
 #. TRANSLATORS: The role of the transaction, in present tense
 
2989
-#: ../lib/packagekit-glib2/pk-console-shared.c:311
 
2990
-#: ../lib/packagekit-glib2/pk-console-shared.c:617
 
2991
+#: ../lib/packagekit-glib2/pk-console-shared.c:317
 
2992
+#: ../lib/packagekit-glib2/pk-console-shared.c:623
 
2993
 msgid "Rolling back"
 
2994
 msgstr "正在回復"
 
2995
 
 
2996
 #. TRANSLATORS: transaction state, when we're doing a test transaction
 
2997
-#: ../lib/packagekit-glib2/pk-console-shared.c:315
 
2998
+#: ../lib/packagekit-glib2/pk-console-shared.c:321
 
2999
 msgid "Testing changes"
 
3000
 msgstr "正在測試變更"
 
3001
 
 
3002
 #. TRANSLATORS: transaction state, when we're writing to the system package database
 
3003
-#: ../lib/packagekit-glib2/pk-console-shared.c:319
 
3004
+#: ../lib/packagekit-glib2/pk-console-shared.c:325
 
3005
 msgid "Committing changes"
 
3006
 msgstr "正在遞交變更"
 
3007
 
 
3008
 #. TRANSLATORS: transaction state, requesting data from a server
 
3009
-#: ../lib/packagekit-glib2/pk-console-shared.c:323
 
3010
+#: ../lib/packagekit-glib2/pk-console-shared.c:329
 
3011
 msgid "Requesting data"
 
3012
 msgstr "正在請求資料"
 
3013
 
 
3014
 #. TRANSLATORS: transaction state, all done!
 
3015
-#: ../lib/packagekit-glib2/pk-console-shared.c:327
 
3016
+#: ../lib/packagekit-glib2/pk-console-shared.c:333
 
3017
 msgid "Finished"
 
3018
 msgstr "已完成"
 
3019
 
 
3020
 #. TRANSLATORS: transaction state, in the process of cancelling
 
3021
-#: ../lib/packagekit-glib2/pk-console-shared.c:331
 
3022
+#: ../lib/packagekit-glib2/pk-console-shared.c:337
 
3023
 msgid "Cancelling"
 
3024
 msgstr "正在取消"
 
3025
 
 
3026
 #. TRANSLATORS: transaction state, downloading metadata
 
3027
-#: ../lib/packagekit-glib2/pk-console-shared.c:335
 
3028
+#: ../lib/packagekit-glib2/pk-console-shared.c:341
 
3029
 msgid "Downloading repository information"
 
3030
 msgstr "正在下載套件庫資訊"
 
3031
 
 
3032
 #. TRANSLATORS: transaction state, downloading metadata
 
3033
-#: ../lib/packagekit-glib2/pk-console-shared.c:339
 
3034
+#: ../lib/packagekit-glib2/pk-console-shared.c:345
 
3035
 msgid "Downloading list of packages"
 
3036
 msgstr "正在下載套件清單"
 
3037
 
 
3038
 #. TRANSLATORS: transaction state, downloading metadata
 
3039
-#: ../lib/packagekit-glib2/pk-console-shared.c:343
 
3040
+#: ../lib/packagekit-glib2/pk-console-shared.c:349
 
3041
 msgid "Downloading file lists"
 
3042
 msgstr "正在下載檔案清單"
 
3043
 
 
3044
 #. TRANSLATORS: transaction state, downloading metadata
 
3045
-#: ../lib/packagekit-glib2/pk-console-shared.c:347
 
3046
+#: ../lib/packagekit-glib2/pk-console-shared.c:353
 
3047
 msgid "Downloading lists of changes"
 
3048
 msgstr "正在下載變更的清單"
 
3049
 
 
3050
 #. TRANSLATORS: transaction state, downloading metadata
 
3051
-#: ../lib/packagekit-glib2/pk-console-shared.c:351
 
3052
+#: ../lib/packagekit-glib2/pk-console-shared.c:357
 
3053
 msgid "Downloading groups"
 
3054
 msgstr "正在下載群組"
 
3055
 
 
3056
 #. TRANSLATORS: transaction state, downloading metadata
 
3057
-#: ../lib/packagekit-glib2/pk-console-shared.c:355
 
3058
+#: ../lib/packagekit-glib2/pk-console-shared.c:361
 
3059
 msgid "Downloading update information"
 
3060
 msgstr "正在下載更新資訊"
 
3061
 
 
3062
 #. TRANSLATORS: transaction state, repackaging delta files
 
3063
-#: ../lib/packagekit-glib2/pk-console-shared.c:359
 
3064
+#: ../lib/packagekit-glib2/pk-console-shared.c:365
 
3065
 msgid "Repackaging files"
 
3066
 msgstr "正在重新包裝檔案"
 
3067
 
 
3068
 #. TRANSLATORS: transaction state, loading databases
 
3069
-#: ../lib/packagekit-glib2/pk-console-shared.c:363
 
3070
+#: ../lib/packagekit-glib2/pk-console-shared.c:369
 
3071
 msgid "Loading cache"
 
3072
 msgstr "正在載入快取"
 
3073
 
 
3074
 #. TRANSLATORS: transaction state, scanning for running processes
 
3075
-#: ../lib/packagekit-glib2/pk-console-shared.c:367
 
3076
+#: ../lib/packagekit-glib2/pk-console-shared.c:373
 
3077
 msgid "Scanning applications"
 
3078
 msgstr "正在掃描應用程式"
 
3079
 
 
3080
 #. TRANSLATORS: transaction state, generating a list of packages installed on the system
 
3081
-#: ../lib/packagekit-glib2/pk-console-shared.c:371
 
3082
+#: ../lib/packagekit-glib2/pk-console-shared.c:377
 
3083
 msgid "Generating package lists"
 
3084
 msgstr "正在產生套件清單"
 
3085
 
 
3086
 #. TRANSLATORS: transaction state, when we're waiting for the native tools to exit
 
3087
-#: ../lib/packagekit-glib2/pk-console-shared.c:375
 
3088
+#: ../lib/packagekit-glib2/pk-console-shared.c:381
 
3089
 msgid "Waiting for package manager lock"
 
3090
 msgstr "正在等候套件管程式解鎖"
 
3091
 
 
3092
 #. TRANSLATORS: transaction state, waiting for user to type in a password
 
3093
-#: ../lib/packagekit-glib2/pk-console-shared.c:379
 
3094
+#: ../lib/packagekit-glib2/pk-console-shared.c:385
 
3095
 msgid "Waiting for authentication"
 
3096
 msgstr "正在等候認證"
 
3097
 
 
3098
 #. TRANSLATORS: transaction state, we are updating the list of processes
 
3099
-#: ../lib/packagekit-glib2/pk-console-shared.c:383
 
3100
+#: ../lib/packagekit-glib2/pk-console-shared.c:389
 
3101
 msgid "Updating running applications"
 
3102
 msgstr "正在更新正在執行中的應用程式"
 
3103
 
 
3104
 #. TRANSLATORS: transaction state, we are checking executable files currently in use
 
3105
-#: ../lib/packagekit-glib2/pk-console-shared.c:387
 
3106
+#: ../lib/packagekit-glib2/pk-console-shared.c:393
 
3107
 msgid "Checking applications in use"
 
3108
 msgstr "正在檢查使用中的應用程式"
 
3109
 
 
3110
 #. TRANSLATORS: transaction state, we are checking for libraries currently in use
 
3111
-#: ../lib/packagekit-glib2/pk-console-shared.c:391
 
3112
+#: ../lib/packagekit-glib2/pk-console-shared.c:397
 
3113
 msgid "Checking libraries in use"
 
3114
 msgstr "正在檢查使用中的函式庫"
 
3115
 
 
3116
 #. TRANSLATORS: transaction state, we are copying package files before or after the transaction
 
3117
-#: ../lib/packagekit-glib2/pk-console-shared.c:395
 
3118
+#: ../lib/packagekit-glib2/pk-console-shared.c:401
 
3119
 msgid "Copying files"
 
3120
 msgstr "正在複製檔案"
 
3121
 
 
3122
 #. TRANSLATORS: The type of update
 
3123
-#: ../lib/packagekit-glib2/pk-console-shared.c:413
 
3124
+#: ../lib/packagekit-glib2/pk-console-shared.c:419
 
3125
 msgid "Trivial"
 
3126
 msgstr "小"
 
3127
 
 
3128
 #. TRANSLATORS: The type of update
 
3129
-#: ../lib/packagekit-glib2/pk-console-shared.c:417
 
3130
+#: ../lib/packagekit-glib2/pk-console-shared.c:423
 
3131
 msgid "Normal"
 
3132
 msgstr "一般"
 
3133
 
 
3134
 #. TRANSLATORS: The type of update
 
3135
-#: ../lib/packagekit-glib2/pk-console-shared.c:421
 
3136
+#: ../lib/packagekit-glib2/pk-console-shared.c:427
 
3137
 msgid "Important"
 
3138
 msgstr "重要"
 
3139
 
 
3140
 #. TRANSLATORS: The type of update
 
3141
-#: ../lib/packagekit-glib2/pk-console-shared.c:425
 
3142
+#: ../lib/packagekit-glib2/pk-console-shared.c:431
 
3143
 msgid "Security"
 
3144
 msgstr "安全性"
 
3145
 
 
3146
 #. TRANSLATORS: The type of update
 
3147
-#: ../lib/packagekit-glib2/pk-console-shared.c:429
 
3148
+#: ../lib/packagekit-glib2/pk-console-shared.c:435
 
3149
 msgid "Bug fix "
 
3150
 msgstr "錯誤修正"
 
3151
 
 
3152
 #. TRANSLATORS: The type of update
 
3153
-#: ../lib/packagekit-glib2/pk-console-shared.c:433
 
3154
+#: ../lib/packagekit-glib2/pk-console-shared.c:439
 
3155
 msgid "Enhancement"
 
3156
 msgstr "增強"
 
3157
 
 
3158
 #. TRANSLATORS: The type of update
 
3159
-#: ../lib/packagekit-glib2/pk-console-shared.c:437
 
3160
+#: ../lib/packagekit-glib2/pk-console-shared.c:443
 
3161
 msgid "Blocked"
 
3162
 msgstr "已阻擋"
 
3163
 
 
3164
 #. TRANSLATORS: The state of a package
 
3165
 #. TRANSLATORS: The action of the package, in past tense
 
3166
-#: ../lib/packagekit-glib2/pk-console-shared.c:442
 
3167
-#: ../lib/packagekit-glib2/pk-console-shared.c:515
 
3168
+#: ../lib/packagekit-glib2/pk-console-shared.c:448
 
3169
+#: ../lib/packagekit-glib2/pk-console-shared.c:521
 
3170
 msgid "Installed"
 
3171
 msgstr "已安裝"
 
3172
 
 
3173
 #. TRANSLATORS: The state of a package, i.e. not installed
 
3174
-#: ../lib/packagekit-glib2/pk-console-shared.c:447
 
3175
+#: ../lib/packagekit-glib2/pk-console-shared.c:453
 
3176
 msgid "Available"
 
3177
 msgstr "可用"
 
3178
 
 
3179
 #. TRANSLATORS: The action of the package, in present tense
 
3180
-#: ../lib/packagekit-glib2/pk-console-shared.c:465
 
3181
+#: ../lib/packagekit-glib2/pk-console-shared.c:471
 
3182
 msgid "Downloading"
 
3183
 msgstr "正在下載"
 
3184
 
 
3185
 #. TRANSLATORS: The action of the package, in present tense
 
3186
-#: ../lib/packagekit-glib2/pk-console-shared.c:469
 
3187
+#: ../lib/packagekit-glib2/pk-console-shared.c:475
 
3188
 msgid "Updating"
 
3189
 msgstr "正在更新"
 
3190
 
 
3191
 #. TRANSLATORS: The action of the package, in present tense
 
3192
 #. TRANSLATORS: The role of the transaction, in present tense
 
3193
-#: ../lib/packagekit-glib2/pk-console-shared.c:473
 
3194
-#: ../lib/packagekit-glib2/pk-console-shared.c:593
 
3195
+#: ../lib/packagekit-glib2/pk-console-shared.c:479
 
3196
+#: ../lib/packagekit-glib2/pk-console-shared.c:599
 
3197
 msgid "Installing"
 
3198
 msgstr "正在安裝"
 
3199
 
 
3200
 #. TRANSLATORS: The action of the package, in present tense
 
3201
 #. TRANSLATORS: The role of the transaction, in present tense
 
3202
-#: ../lib/packagekit-glib2/pk-console-shared.c:477
 
3203
-#: ../lib/packagekit-glib2/pk-console-shared.c:589
 
3204
+#: ../lib/packagekit-glib2/pk-console-shared.c:483
 
3205
+#: ../lib/packagekit-glib2/pk-console-shared.c:595
 
3206
 msgid "Removing"
 
3207
 msgstr "正在移除"
 
3208
 
 
3209
 #. TRANSLATORS: The action of the package, in present tense
 
3210
-#: ../lib/packagekit-glib2/pk-console-shared.c:481
 
3211
+#: ../lib/packagekit-glib2/pk-console-shared.c:487
 
3212
 msgid "Cleaning up"
 
3213
 msgstr "正在清除"
 
3214
 
 
3215
 #. TRANSLATORS: The action of the package, in present tense
 
3216
-#: ../lib/packagekit-glib2/pk-console-shared.c:485
 
3217
+#: ../lib/packagekit-glib2/pk-console-shared.c:491
 
3218
 msgid "Obsoleting"
 
3219
 msgstr "正在廢棄"
 
3220
 
 
3221
 #. TRANSLATORS: The action of the package, in present tense
 
3222
-#: ../lib/packagekit-glib2/pk-console-shared.c:489
 
3223
+#: ../lib/packagekit-glib2/pk-console-shared.c:495
 
3224
 msgid "Reinstalling"
 
3225
 msgstr "正在重新安裝"
 
3226
 
 
3227
 #. TRANSLATORS: The action of the package, in past tense
 
3228
-#: ../lib/packagekit-glib2/pk-console-shared.c:507
 
3229
+#: ../lib/packagekit-glib2/pk-console-shared.c:513
 
3230
 msgid "Downloaded"
 
3231
 msgstr "已下載"
 
3232
 
 
3233
 #. TRANSLATORS: The action of the package, in past tense
 
3234
-#: ../lib/packagekit-glib2/pk-console-shared.c:519
 
3235
+#: ../lib/packagekit-glib2/pk-console-shared.c:525
 
3236
 msgid "Removed"
 
3237
 msgstr "已移除"
 
3238
 
 
3239
 #. TRANSLATORS: The action of the package, in past tense
 
3240
-#: ../lib/packagekit-glib2/pk-console-shared.c:523
 
3241
+#: ../lib/packagekit-glib2/pk-console-shared.c:529
 
3242
 msgid "Cleaned up"
 
3243
 msgstr "已清除"
 
3244
 
 
3245
 #. TRANSLATORS: The action of the package, in past tense
 
3246
-#: ../lib/packagekit-glib2/pk-console-shared.c:527
 
3247
+#: ../lib/packagekit-glib2/pk-console-shared.c:533
 
3248
 msgid "Obsoleted"
 
3249
 msgstr "已廢棄"
 
3250
 
 
3251
 #. TRANSLATORS: The action of the package, in past tense
 
3252
-#: ../lib/packagekit-glib2/pk-console-shared.c:531
 
3253
+#: ../lib/packagekit-glib2/pk-console-shared.c:537
 
3254
 msgid "Reinstalled"
 
3255
 msgstr "已重新安裝"
 
3256
 
 
3257
 #. TRANSLATORS: The role of the transaction, in present tense
 
3258
-#: ../lib/packagekit-glib2/pk-console-shared.c:549
 
3259
+#: ../lib/packagekit-glib2/pk-console-shared.c:555
 
3260
 msgid "Unknown role type"
 
3261
 msgstr "未知的任務類型"
 
3262
 
 
3263
 #. TRANSLATORS: The role of the transaction, in present tense
 
3264
-#: ../lib/packagekit-glib2/pk-console-shared.c:553
 
3265
+#: ../lib/packagekit-glib2/pk-console-shared.c:559
 
3266
 msgid "Getting dependencies"
 
3267
 msgstr "正在取得相容性"
 
3268
 
 
3269
 #. TRANSLATORS: The role of the transaction, in present tense
 
3270
-#: ../lib/packagekit-glib2/pk-console-shared.c:557
 
3271
+#: ../lib/packagekit-glib2/pk-console-shared.c:563
 
3272
 msgid "Getting update details"
 
3273
 msgstr "正在取得更新詳細資料"
 
3274
 
 
3275
 #. TRANSLATORS: The role of the transaction, in present tense
 
3276
-#: ../lib/packagekit-glib2/pk-console-shared.c:561
 
3277
+#: ../lib/packagekit-glib2/pk-console-shared.c:567
 
3278
 msgid "Getting details"
 
3279
 msgstr "正在取得詳細資料"
 
3280
 
 
3281
 #. TRANSLATORS: The role of the transaction, in present tense
 
3282
-#: ../lib/packagekit-glib2/pk-console-shared.c:565
 
3283
+#: ../lib/packagekit-glib2/pk-console-shared.c:571
 
3284
 msgid "Getting requires"
 
3285
 msgstr "正在取得需求"
 
3286
 
 
3287
 #. TRANSLATORS: The role of the transaction, in present tense
 
3288
-#: ../lib/packagekit-glib2/pk-console-shared.c:569
 
3289
+#: ../lib/packagekit-glib2/pk-console-shared.c:575
 
3290
 msgid "Getting updates"
 
3291
 msgstr "正在取得更新"
 
3292
 
 
3293
 #. TRANSLATORS: The role of the transaction, in present tense
 
3294
-#: ../lib/packagekit-glib2/pk-console-shared.c:573
 
3295
+#: ../lib/packagekit-glib2/pk-console-shared.c:579
 
3296
 msgid "Searching by details"
 
3297
 msgstr "正在依詳細資料搜尋"
 
3298
 
 
3299
 #. TRANSLATORS: The role of the transaction, in present tense
 
3300
-#: ../lib/packagekit-glib2/pk-console-shared.c:577
 
3301
+#: ../lib/packagekit-glib2/pk-console-shared.c:583
 
3302
 msgid "Searching by file"
 
3303
 msgstr "正在依檔案搜尋"
 
3304
 
 
3305
 #. TRANSLATORS: The role of the transaction, in present tense
 
3306
-#: ../lib/packagekit-glib2/pk-console-shared.c:581
 
3307
+#: ../lib/packagekit-glib2/pk-console-shared.c:587
 
3308
 msgid "Searching groups"
 
3309
 msgstr "正在搜尋群組"
 
3310
 
 
3311
 #. TRANSLATORS: The role of the transaction, in present tense
 
3312
-#: ../lib/packagekit-glib2/pk-console-shared.c:585
 
3313
+#: ../lib/packagekit-glib2/pk-console-shared.c:591
 
3314
 msgid "Searching by name"
 
3315
 msgstr "正在依名稱搜尋"
 
3316
 
 
3317
 #. TRANSLATORS: The role of the transaction, in present tense
 
3318
-#: ../lib/packagekit-glib2/pk-console-shared.c:597
 
3319
+#: ../lib/packagekit-glib2/pk-console-shared.c:603
 
3320
 msgid "Installing files"
 
3321
 msgstr "正在安裝檔案"
 
3322
 
 
3323
 #. TRANSLATORS: The role of the transaction, in present tense
 
3324
-#: ../lib/packagekit-glib2/pk-console-shared.c:601
 
3325
+#: ../lib/packagekit-glib2/pk-console-shared.c:607
 
3326
 msgid "Refreshing cache"
 
3327
 msgstr "正在重新整理快取"
 
3328
 
 
3329
 #. TRANSLATORS: The role of the transaction, in present tense
 
3330
-#: ../lib/packagekit-glib2/pk-console-shared.c:605
 
3331
+#: ../lib/packagekit-glib2/pk-console-shared.c:611
 
3332
 msgid "Updating packages"
 
3333
 msgstr "正在更新套件"
 
3334
 
 
3335
 #. TRANSLATORS: The role of the transaction, in present tense
 
3336
-#: ../lib/packagekit-glib2/pk-console-shared.c:609
 
3337
+#: ../lib/packagekit-glib2/pk-console-shared.c:615
 
3338
 msgid "Updating system"
 
3339
 msgstr "正在更新系統"
 
3340
 
 
3341
 #. TRANSLATORS: The role of the transaction, in present tense
 
3342
-#: ../lib/packagekit-glib2/pk-console-shared.c:613
 
3343
+#: ../lib/packagekit-glib2/pk-console-shared.c:619
 
3344
 msgid "Canceling"
 
3345
 msgstr "正在取消"
 
3346
 
 
3347
 #. TRANSLATORS: The role of the transaction, in present tense
 
3348
-#: ../lib/packagekit-glib2/pk-console-shared.c:621
 
3349
+#: ../lib/packagekit-glib2/pk-console-shared.c:627
 
3350
 msgid "Getting repositories"
 
3351
 msgstr "正在取得套件庫"
 
3352
 
 
3353
 #. TRANSLATORS: The role of the transaction, in present tense
 
3354
-#: ../lib/packagekit-glib2/pk-console-shared.c:625
 
3355
+#: ../lib/packagekit-glib2/pk-console-shared.c:631
 
3356
 msgid "Enabling repository"
 
3357
 msgstr "正在啟用套件庫"
 
3358
 
 
3359
 #. TRANSLATORS: The role of the transaction, in present tense
 
3360
-#: ../lib/packagekit-glib2/pk-console-shared.c:629
 
3361
+#: ../lib/packagekit-glib2/pk-console-shared.c:635
 
3362
 msgid "Setting data"
 
3363
 msgstr "正在設定資料"
 
3364
 
 
3365
 #. TRANSLATORS: The role of the transaction, in present tense
 
3366
-#: ../lib/packagekit-glib2/pk-console-shared.c:633
 
3367
+#: ../lib/packagekit-glib2/pk-console-shared.c:639
 
3368
 msgid "Resolving"
 
3369
 msgstr "正在解析"
 
3370
 
 
3371
 #. TRANSLATORS: The role of the transaction, in present tense
 
3372
-#: ../lib/packagekit-glib2/pk-console-shared.c:637
 
3373
+#: ../lib/packagekit-glib2/pk-console-shared.c:643
 
3374
 msgid "Getting file list"
 
3375
 msgstr "正在取得檔案清單"
 
3376
 
 
3377
 #. TRANSLATORS: The role of the transaction, in present tense
 
3378
-#: ../lib/packagekit-glib2/pk-console-shared.c:641
 
3379
+#: ../lib/packagekit-glib2/pk-console-shared.c:647
 
3380
 msgid "Getting provides"
 
3381
 msgstr "正在取得提供什麼"
 
3382
 
 
3383
 #. TRANSLATORS: The role of the transaction, in present tense
 
3384
-#: ../lib/packagekit-glib2/pk-console-shared.c:645
 
3385
+#: ../lib/packagekit-glib2/pk-console-shared.c:651
 
3386
 msgid "Installing signature"
 
3387
 msgstr "正在安裝簽章"
 
3388
 
 
3389
 #. TRANSLATORS: The role of the transaction, in present tense
 
3390
-#: ../lib/packagekit-glib2/pk-console-shared.c:649
 
3391
+#: ../lib/packagekit-glib2/pk-console-shared.c:655
 
3392
 msgid "Getting packages"
 
3393
 msgstr "正在取得套件"
 
3394
 
 
3395
 #. TRANSLATORS: The role of the transaction, in present tense
 
3396
-#: ../lib/packagekit-glib2/pk-console-shared.c:653
 
3397
+#: ../lib/packagekit-glib2/pk-console-shared.c:659
 
3398
 msgid "Accepting EULA"
 
3399
 msgstr "正在接受終端使用者授權同意書"
 
3400
 
 
3401
 #. TRANSLATORS: The role of the transaction, in present tense
 
3402
-#: ../lib/packagekit-glib2/pk-console-shared.c:661
 
3403
+#: ../lib/packagekit-glib2/pk-console-shared.c:667
 
3404
 msgid "Getting upgrades"
 
3405
 msgstr "正在取得升級"
 
3406
 
 
3407
 #. TRANSLATORS: The role of the transaction, in present tense
 
3408
-#: ../lib/packagekit-glib2/pk-console-shared.c:665
 
3409
+#: ../lib/packagekit-glib2/pk-console-shared.c:671
 
3410
 msgid "Getting categories"
 
3411
 msgstr "正在取得分類"
 
3412
 
 
3413
 #. TRANSLATORS: The role of the transaction, in present tense
 
3414
-#: ../lib/packagekit-glib2/pk-console-shared.c:669
 
3415
+#: ../lib/packagekit-glib2/pk-console-shared.c:675
 
3416
 msgid "Getting transactions"
 
3417
 msgstr "正在取得處理事項"
 
3418
 
 
3419
 #. TRANSLATORS: The role of the transaction, in present tense
 
3420
-#: ../lib/packagekit-glib2/pk-console-shared.c:673
 
3421
-#: ../lib/packagekit-glib2/pk-console-shared.c:677
 
3422
+#: ../lib/packagekit-glib2/pk-console-shared.c:679
 
3423
+#: ../lib/packagekit-glib2/pk-console-shared.c:683
 
3424
 msgid "Simulating install"
 
3425
 msgstr "正在模擬安裝"
 
3426
 
 
3427
 #. TRANSLATORS: The role of the transaction, in present tense
 
3428
-#: ../lib/packagekit-glib2/pk-console-shared.c:681
 
3429
+#: ../lib/packagekit-glib2/pk-console-shared.c:687
 
3430
 msgid "Simulating remove"
 
3431
 msgstr "正在模擬移除"
 
3432
 
 
3433
 #. TRANSLATORS: The role of the transaction, in present tense
 
3434
-#: ../lib/packagekit-glib2/pk-console-shared.c:685
 
3435
+#: ../lib/packagekit-glib2/pk-console-shared.c:691
 
3436
 msgid "Simulating update"
 
3437
 msgstr "正在模擬更新"
 
3438
 
 
3439
@@ -1720,7 +1716,8 @@
 
3440
 msgstr "要接受終端使用者授權條款協議需先經過身份認證"
 
3441
 
 
3442
 #: ../policy/org.freedesktop.packagekit.policy.in.h:9
 
3443
-msgid "Authentication is required to cancel a task that was not started by yourself"
 
3444
+msgid ""
 
3445
+"Authentication is required to cancel a task that was not started by yourself"
 
3446
 msgstr "若要取消一項並非由您啟動的工作,您必須先經過身份認證"
 
3447
 
 
3448
 #: ../policy/org.freedesktop.packagekit.policy.in.h:10
 
3449
@@ -1728,11 +1725,14 @@
 
3450
 msgstr "要更改軟體來源參數需先經過身份認證"
 
3451
 
 
3452
 #: ../policy/org.freedesktop.packagekit.policy.in.h:11
 
3453
-msgid "Authentication is required to change the location used to decompress packages"
 
3454
+msgid ""
 
3455
+"Authentication is required to change the location used to decompress packages"
 
3456
 msgstr "要變更用來解壓縮套件的位置需先通過身份認證"
 
3457
 
 
3458
 #: ../policy/org.freedesktop.packagekit.policy.in.h:12
 
3459
-msgid "Authentication is required to consider a key used for signing packages as trusted"
 
3460
+msgid ""
 
3461
+"Authentication is required to consider a key used for signing packages as "
 
3462
+"trusted"
 
3463
 msgstr "要將一個用來簽署套件的金鑰列為已信任的金鑰需先經過身份認證"
 
3464
 
 
3465
 #: ../policy/org.freedesktop.packagekit.policy.in.h:13
 
3466
@@ -1760,7 +1760,9 @@
 
3467
 msgstr "要回復處理事項需要先經過身份認證"
 
3468
 
 
3469
 #: ../policy/org.freedesktop.packagekit.policy.in.h:19
 
3470
-msgid "Authentication is required to set the network proxy used for downloading packages"
 
3471
+msgid ""
 
3472
+"Authentication is required to set the network proxy used for downloading "
 
3473
+"packages"
 
3474
 msgstr "要設定用來下載套件的網路代理伺服器 需先經過身份認證"
 
3475
 
 
3476
 #: ../policy/org.freedesktop.packagekit.policy.in.h:20
 
3477
@@ -1902,51 +1904,53 @@
 
3478
 
 
3479
 #. TRANSLATORS: or we are installed in a prefix
 
3480
 #: ../src/pk-main.c:93
 
3481
-msgid "The org.freedesktop.PackageKit.conf file is not installed in the system directory:"
 
3482
+msgid ""
 
3483
+"The org.freedesktop.PackageKit.conf file is not installed in the system "
 
3484
+"directory:"
 
3485
 msgstr "org.freedesktop.PackageKit.conf 檔案尚未安裝在系統目錄中:"
 
3486
 
 
3487
 #. TRANSLATORS: a backend is the system package tool, e.g. yum, apt
 
3488
-#: ../src/pk-main.c:199
 
3489
+#: ../src/pk-main.c:200
 
3490
 msgid "Packaging backend to use, e.g. dummy"
 
3491
 msgstr "要使用的套件後端程式,例如:dummy"
 
3492
 
 
3493
 #. TRANSLATORS: if we should run in the background
 
3494
-#: ../src/pk-main.c:202
 
3495
+#: ../src/pk-main.c:203
 
3496
 msgid "Daemonize and detach from the terminal"
 
3497
 msgstr "幕後化並由終端機分離"
 
3498
 
 
3499
 #. TRANSLATORS: if we should not monitor how long we are inactive for
 
3500
-#: ../src/pk-main.c:205
 
3501
+#: ../src/pk-main.c:206
 
3502
 msgid "Disable the idle timer"
 
3503
 msgstr "停用閒置計時器"
 
3504
 
 
3505
 #. TRANSLATORS: show version
 
3506
-#: ../src/pk-main.c:208
 
3507
+#: ../src/pk-main.c:209
 
3508
 msgid "Show version and exit"
 
3509
 msgstr "顯示版本並離開"
 
3510
 
 
3511
 #. TRANSLATORS: exit after we've started up, used for user profiling
 
3512
-#: ../src/pk-main.c:211
 
3513
+#: ../src/pk-main.c:212
 
3514
 msgid "Exit after a small delay"
 
3515
 msgstr "經過一段短暫延遲後便離開"
 
3516
 
 
3517
 #. TRANSLATORS: exit straight away, used for automatic profiling
 
3518
-#: ../src/pk-main.c:214
 
3519
+#: ../src/pk-main.c:215
 
3520
 msgid "Exit after the engine has loaded"
 
3521
 msgstr "引擎載入後離開"
 
3522
 
 
3523
 #. TRANSLATORS: describing the service that is running
 
3524
-#: ../src/pk-main.c:229
 
3525
+#: ../src/pk-main.c:230
 
3526
 msgid "PackageKit service"
 
3527
 msgstr "PackageKit 服務"
 
3528
 
 
3529
 #. TRANSLATORS: fatal error, dbus is not running
 
3530
-#: ../src/pk-main.c:266
 
3531
+#: ../src/pk-main.c:267
 
3532
 msgid "Cannot connect to the system bus"
 
3533
 msgstr "無法連接至系統 bus"
 
3534
 
 
3535
 #. TRANSLATORS: cannot register on system bus, unknown reason -- geeky error follows
 
3536
-#: ../src/pk-main.c:317
 
3537
+#: ../src/pk-main.c:318
 
3538
 msgid "Error trying to start:"
 
3539
 msgstr "嘗試啟動時發生錯誤:"
 
3540
 
 
3541
@@ -1955,8 +1959,7 @@
 
3542
 msgstr "要安裝除錯套件,需要啟用額外的來源"
 
3543
 
 
3544
 #. TRANSLATORS: is not GPG signed
 
3545
-#: ../src/pk-polkit-action-lookup.c:171
 
3546
-#: ../src/pk-polkit-action-lookup.c:190
 
3547
+#: ../src/pk-polkit-action-lookup.c:171 ../src/pk-polkit-action-lookup.c:190
 
3548
 msgid "The software is not from a trusted source."
 
3549
 msgstr "這個軟體並非來自信任的來源。"
 
3550
 
 
3551
@@ -2016,64 +2019,93 @@
 
3552
 
 
3553
 #~ msgid "Cannot install when offline"
 
3554
 #~ msgstr "當離線時無法安裝"
 
3555
+
 
3556
 #~ msgid "Cannot refresh cache whilst offline"
 
3557
 #~ msgstr "當離線時無法重新整理快取"
 
3558
+
 
3559
 #~ msgid "Please restart the application as it is being used."
 
3560
 #~ msgstr "請重新啟動應用程式因為該應用程式正被使用中。"
 
3561
+
 
3562
 #~ msgid "This tool could not install the files: %s"
 
3563
 #~ msgstr "此工具無法安裝檔案:%s"
 
3564
+
 
3565
 #~ msgid "This tool could not remove the packages: %s"
 
3566
 #~ msgstr "此工具無法移除套件:%s"
 
3567
+
 
3568
 #~ msgid "Proceed removing additional packages?"
 
3569
 #~ msgstr "是否要進行移除額外套件?"
 
3570
+
 
3571
 #~ msgid "The package removal was canceled!"
 
3572
 #~ msgstr "套件移除已取消!"
 
3573
+
 
3574
 #~ msgid "This tool could not download the package %s as it could not be found"
 
3575
 #~ msgstr "此工具無法下載 %s 套件因為找不到該套件"
 
3576
+
 
3577
 #~ msgid "This tool could not download the packages: %s"
 
3578
 #~ msgstr "此工具無法下載套件:%s"
 
3579
+
 
3580
 #~ msgid "This tool could not update %s: %s"
 
3581
 #~ msgstr "此工具無法更新 %s:%s"
 
3582
+
 
3583
 #~ msgid "This tool could not get the requirements for %s: %s"
 
3584
 #~ msgstr "此工具無法取得 %s 的需求:%s"
 
3585
+
 
3586
 #~ msgid "This tool could not get the dependencies for %s: %s"
 
3587
 #~ msgstr "此工具無法取得 %s 的相依性:%s"
 
3588
+
 
3589
 #~ msgid "This tool could not get package details for %s: %s"
 
3590
 #~ msgstr "此工具無法取得 %s 的套件詳細資料:%s"
 
3591
+
 
3592
 #~ msgid "This tool could not find the files for %s: %s"
 
3593
 #~ msgstr "此工具找不到 %s 的檔案:%s"
 
3594
+
 
3595
 #~ msgid "This tool could not get the file list for %s: %s"
 
3596
 #~ msgstr "此工具無法取得 %s 的檔案清單:%s"
 
3597
+
 
3598
 #~ msgid "File already exists: %s"
 
3599
 #~ msgstr "檔案已經存在:%s"
 
3600
+
 
3601
 #~ msgid "This tool could not get package list: %s"
 
3602
 #~ msgstr "此工具無法取得套件清單:%s"
 
3603
+
 
3604
 #~ msgid "File does not exist: %s"
 
3605
 #~ msgstr "檔案不存在:%s"
 
3606
+
 
3607
 #~ msgid "Packages to add"
 
3608
 #~ msgstr "要新增的套件"
 
3609
+
 
3610
 #~ msgid "Packages to remove"
 
3611
 #~ msgstr "要移除的套件"
 
3612
+
 
3613
 #~ msgid "not found."
 
3614
 #~ msgstr "找不到。"
 
3615
+
 
3616
 #~ msgid "No packages can be found to install"
 
3617
 #~ msgstr "找不到要安裝的套件"
 
3618
+
 
3619
 #~ msgid "This tool could not find the update details for %s: %s"
 
3620
 #~ msgstr "此工具找不到 %s 的更新詳細資料:%s"
 
3621
+
 
3622
 #~ msgid "This tool could not get the update details for %s: %s"
 
3623
 #~ msgstr "此工具無法取得 %s 的更新詳細資料:%s"
 
3624
+
 
3625
 #~ msgid "Error:"
 
3626
 #~ msgstr "錯誤:"
 
3627
+
 
3628
 #~ msgid "Do you agree to this license?"
 
3629
 #~ msgstr "您是否同意此授權合約?"
 
3630
+
 
3631
 #~ msgid "The license was refused."
 
3632
 #~ msgstr "已拒絕授權合約。"
 
3633
+
 
3634
 #~ msgid "This tool could not connect to system DBUS."
 
3635
 #~ msgstr "此工具無法連接至系統的 DBUS。"
 
3636
+
 
3637
 #~ msgid "A list file name to create is required"
 
3638
 #~ msgstr "需要想建立的清單檔名"
 
3639
+
 
3640
 #~ msgid "A list file to open is required"
 
3641
 #~ msgstr "需要想開啟的清單檔案"
 
3642
+
 
3643
 #~ msgid "Incorrect privileges for this operation"
 
3644
 #~ msgstr "執行這項操作的權限不對"
 
3645
-
 
3646
Index: packagekit-0.6.7/src/pk-backend.c
 
3647
===================================================================
 
3648
--- packagekit-0.6.7.orig/src/pk-backend.c      2010-08-25 23:31:32.375452000 +0100
 
3649
+++ packagekit-0.6.7/src/pk-backend.c   2010-08-25 23:31:36.419452000 +0100
 
3650
@@ -67,7 +67,7 @@
 
3651
  * If backends do not do this, they will be Finished() manually,
 
3652
  * and a Message() will be sent to warn the developer
 
3653
  */
 
3654
-#define PK_BACKEND_FINISHED_ERROR_TIMEOUT      500 /* ms */
 
3655
+#define PK_BACKEND_FINISHED_ERROR_TIMEOUT      2000 /* ms */
 
3656
 
 
3657
 /**
 
3658
  * PK_BACKEND_FINISHED_TIMEOUT_GRACE:
 
3659
@@ -171,6 +171,7 @@
 
3660
        PROP_STATUS,
 
3661
        PROP_ROLE,
 
3662
        PROP_TRANSACTION_ID,
 
3663
+       PROP_SPEED,
 
3664
        PROP_LAST
 
3665
 };
 
3666
 
 
3667
@@ -1801,6 +1802,15 @@
 
3668
 }
 
3669
 
 
3670
 /**
 
3671
+ * pk_backend_get_is_error_set:
 
3672
+ **/
 
3673
+gboolean
 
3674
+pk_backend_get_is_error_set (PkBackend *backend)
 
3675
+{
 
3676
+       return backend->priv->set_error;
 
3677
+}
 
3678
+
 
3679
+/**
 
3680
  * pk_backend_error_timeout_delay_cb:
 
3681
  *
 
3682
  * We have to call Finished() within PK_BACKEND_FINISHED_ERROR_TIMEOUT of ErrorCode(), enforce this.
 
3683
@@ -1822,7 +1832,10 @@
 
3684
        item = pk_message_new ();
 
3685
        g_object_set (item,
 
3686
                      "type", PK_MESSAGE_ENUM_BACKEND_ERROR,
 
3687
-                     "details", "ErrorCode() has to be followed with Finished()!",
 
3688
+                     "details", "ErrorCode() has to be followed immediately with Finished()!\n"
 
3689
+                     "Failure to do so, results in PK assuming the thread has hung, and desparately "
 
3690
+                     " starting another backend thread to process future requests: be warned, "
 
3691
+                     " your code is about to break in exotic ways.",
 
3692
                      NULL);
 
3693
 
 
3694
        /* warn the backend developer that they've done something worng
 
3695
@@ -2464,6 +2477,9 @@
 
3696
        case PROP_TRANSACTION_ID:
 
3697
                g_value_set_string (value, priv->transaction_id);
 
3698
                break;
 
3699
+       case PROP_SPEED:
 
3700
+               g_value_set_uint (value, priv->speed);
 
3701
+               break;
 
3702
        default:
 
3703
                G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
 
3704
                break;
 
3705
@@ -2497,6 +2513,9 @@
 
3706
                priv->transaction_id = g_value_dup_string (value);
 
3707
                egg_debug ("setting backend tid as %s", priv->transaction_id);
 
3708
                break;
 
3709
+       case PROP_SPEED:
 
3710
+               priv->speed = g_value_get_uint (value);
 
3711
+               break;
 
3712
        default:
 
3713
                G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
 
3714
                break;
 
3715
@@ -2589,6 +2608,14 @@
 
3716
                                     G_PARAM_READWRITE);
 
3717
        g_object_class_install_property (object_class, PROP_TRANSACTION_ID, pspec);
 
3718
 
 
3719
+       /**
 
3720
+        * PkBackend:speed:
 
3721
+        */
 
3722
+       pspec = g_param_spec_uint ("speed", NULL, NULL,
 
3723
+                                  0, G_MAXUINT, PK_STATUS_ENUM_UNKNOWN,
 
3724
+                                  G_PARAM_READWRITE);
 
3725
+       g_object_class_install_property (object_class, PROP_SPEED, pspec);
 
3726
+
 
3727
        /* properties */
 
3728
        signals[SIGNAL_STATUS_CHANGED] =
 
3729
                g_signal_new ("status-changed",
 
3730
@@ -2732,6 +2759,7 @@
 
3731
        backend->priv->last_remaining = 0;
 
3732
        backend->priv->last_percentage = PK_BACKEND_PERCENTAGE_DEFAULT;
 
3733
        backend->priv->last_subpercentage = PK_BACKEND_PERCENTAGE_INVALID;
 
3734
+       backend->priv->speed = 0;
 
3735
        pk_store_reset (backend->priv->store);
 
3736
        pk_time_reset (backend->priv->time);
 
3737
 
 
3738
Index: packagekit-0.6.7/src/pk-backend.h
 
3739
===================================================================
 
3740
--- packagekit-0.6.7.orig/src/pk-backend.h      2010-08-25 23:31:32.391452000 +0100
 
3741
+++ packagekit-0.6.7/src/pk-backend.h   2010-08-25 23:31:36.419452000 +0100
 
3742
@@ -77,6 +77,7 @@
 
3743
 
 
3744
 /* get the state */
 
3745
 gboolean        pk_backend_get_allow_cancel            (PkBackend      *backend);
 
3746
+gboolean         pk_backend_get_is_error_set           (PkBackend      *backend);
 
3747
 gboolean        pk_backend_get_progress                (PkBackend      *backend,
 
3748
                                                         guint          *percentage,
 
3749
                                                         guint          *subpercentage,
 
3750
Index: packagekit-0.6.7/src/pk-engine.c
 
3751
===================================================================
 
3752
--- packagekit-0.6.7.orig/src/pk-engine.c       2010-08-25 23:31:32.407452000 +0100
 
3753
+++ packagekit-0.6.7/src/pk-engine.c    2010-08-25 23:31:36.423452000 +0100
 
3754
@@ -1596,6 +1596,9 @@
 
3755
        gchar *root;
 
3756
        gchar *proxy_http;
 
3757
        gchar *proxy_ftp;
 
3758
+#ifdef USE_SECURITY_POLKIT_NEW
 
3759
+       GError *error = NULL;
 
3760
+#endif
 
3761
 
 
3762
        engine->priv = PK_ENGINE_GET_PRIVATE (engine);
 
3763
        engine->priv->notify_clients_of_upgrade = FALSE;
 
3764
@@ -1686,8 +1689,16 @@
 
3765
 
 
3766
 #ifdef USE_SECURITY_POLKIT
 
3767
        /* protect the session SetProxy with a PolicyKit action */
 
3768
+#ifdef USE_SECURITY_POLKIT_NEW
 
3769
+       engine->priv->authority = polkit_authority_get_sync (NULL, &error);
 
3770
+       if (engine->priv->authority == NULL) {
 
3771
+               g_error ("failed to get pokit authority: %s", error->message);
 
3772
+               g_error_free (error);
 
3773
+       }
 
3774
+#else
 
3775
        engine->priv->authority = polkit_authority_get ();
 
3776
 #endif
 
3777
+#endif
 
3778
 
 
3779
        /* monitor the binary file for changes */
 
3780
        engine->priv->file_monitor_binary = pk_file_monitor_new ();
 
3781
Index: packagekit-0.6.7/src/pk-transaction.c
 
3782
===================================================================
 
3783
--- packagekit-0.6.7.orig/src/pk-transaction.c  2010-08-25 23:31:32.427452000 +0100
 
3784
+++ packagekit-0.6.7/src/pk-transaction.c       2010-08-25 23:31:36.427452000 +0100
 
3785
@@ -5488,12 +5488,15 @@
 
3786
 static void
 
3787
 pk_transaction_init (PkTransaction *transaction)
 
3788
 {
 
3789
+#ifdef USE_SECURITY_POLKIT_NEW
 
3790
+       GError *error = NULL;
 
3791
+#endif
 
3792
        transaction->priv = PK_TRANSACTION_GET_PRIVATE (transaction);
 
3793
        transaction->priv->finished = FALSE;
 
3794
        transaction->priv->running = FALSE;
 
3795
        transaction->priv->has_been_run = FALSE;
 
3796
        transaction->priv->waiting_for_auth = FALSE;
 
3797
-       transaction->priv->allow_cancel = TRUE;
 
3798
+       transaction->priv->allow_cancel = FALSE;
 
3799
        transaction->priv->emit_eula_required = FALSE;
 
3800
        transaction->priv->emit_signature_required = FALSE;
 
3801
        transaction->priv->emit_media_change_required = FALSE;
 
3802
@@ -5527,6 +5530,7 @@
 
3803
        transaction->priv->background = PK_HINT_ENUM_UNSET;
 
3804
        transaction->priv->elapsed_time = 0;
 
3805
        transaction->priv->remaining_time = 0;
 
3806
+       transaction->priv->speed = 0;
 
3807
        transaction->priv->backend = pk_backend_new ();
 
3808
        transaction->priv->cache = pk_cache_new ();
 
3809
        transaction->priv->conf = pk_conf_new ();
 
3810
@@ -5537,7 +5541,15 @@
 
3811
        transaction->priv->dbus = pk_dbus_new ();
 
3812
        transaction->priv->results = pk_results_new ();
 
3813
 #ifdef USE_SECURITY_POLKIT
 
3814
+#ifdef USE_SECURITY_POLKIT_NEW
 
3815
+       transaction->priv->authority = polkit_authority_get_sync (NULL, &error);
 
3816
+       if (transaction->priv->authority == NULL) {
 
3817
+               g_error ("failed to get pokit authority: %s", error->message);
 
3818
+               g_error_free (error);
 
3819
+       }
 
3820
+#else
 
3821
        transaction->priv->authority = polkit_authority_get ();
 
3822
+#endif
 
3823
        transaction->priv->cancellable = g_cancellable_new ();
 
3824
 #endif
 
3825