forked from cromer/pamac-classic
prepare v2.2
This commit is contained in:
parent
aea3a143d7
commit
eb9ace7b82
18
po/ar.po
18
po/ar.po
@ -10,15 +10,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:20+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Arabic (http://www.transifex.com/projects/p/manjaro-pamac/language/ar/)\n"
|
||||
"Language-Team: Arabic (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/ar/)\n"
|
||||
"Language: ar\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ar\n"
|
||||
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
||||
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
|
||||
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -223,6 +225,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
27
po/ast.po
27
po/ast.po
@ -13,14 +13,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:32+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Asturian (http://www.transifex.com/projects/p/manjaro-pamac/language/ast/)\n"
|
||||
"Language-Team: Asturian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/ast/)\n"
|
||||
"Language: ast\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ast\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -172,7 +173,9 @@ msgstr "Permitir que Pacman guete ya instale paquetes dende AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Al desaniciar un paquete tamién se desanicien les sos dependencies que dengún paquete rique"
|
||||
msgstr ""
|
||||
"Al desaniciar un paquete tamién se desanicien les sos dependencies que "
|
||||
"dengún paquete rique"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -226,6 +229,14 @@ msgstr "Fallu al aniciar la llibrería alpm"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Fallu al sincronizar les bases de datos"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Fallu al aniciar la transaición"
|
||||
@ -625,8 +636,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s tien %u dependencia opcional desinstalada.\nEscueyi si te prestaría instalala:"
|
||||
msgstr[1] "%s tien %u dependencies opcionales desinstalaes.\nEscueyi si te prestaría instalales:"
|
||||
msgstr[0] ""
|
||||
"%s tien %u dependencia opcional desinstalada.\n"
|
||||
"Escueyi si te prestaría instalala:"
|
||||
msgstr[1] ""
|
||||
"%s tien %u dependencies opcionales desinstalaes.\n"
|
||||
"Escueyi si te prestaría instalales:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
27
po/bg.po
27
po/bg.po
@ -15,14 +15,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 06:55+0000\n"
|
||||
"Last-Translator: Galin Iskrenov <loot270@abv.bg>\n"
|
||||
"Language-Team: Bulgarian (http://www.transifex.com/projects/p/manjaro-pamac/language/bg/)\n"
|
||||
"Language-Team: Bulgarian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/bg/)\n"
|
||||
"Language: bg\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: bg\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -174,7 +175,9 @@ msgstr "Позволи на Pamac да търси и инсталира паке
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Премахвайки пакет, премахвате и зависимости, които не са необходими на други пакети"
|
||||
msgstr ""
|
||||
"Премахвайки пакет, премахвате и зависимости, които не са необходими на други "
|
||||
"пакети"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -228,6 +231,14 @@ msgstr "Не се инициализира alpm library"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Неуспешна синхронизация на бази"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Транзакцията неуспешна"
|
||||
@ -627,8 +638,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s има %u неинсталирана допълнителна зависимост.\nИзберете дали да се инсталира:"
|
||||
msgstr[1] "%s има %u неинсталирани допълнителни зависимости.\nИзберете кои да се инсталират:"
|
||||
msgstr[0] ""
|
||||
"%s има %u неинсталирана допълнителна зависимост.\n"
|
||||
"Изберете дали да се инсталира:"
|
||||
msgstr[1] ""
|
||||
"%s има %u неинсталирани допълнителни зависимости.\n"
|
||||
"Изберете кои да се инсталират:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/bn.po
15
po/bn.po
@ -8,14 +8,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Bengali (http://www.transifex.com/projects/p/manjaro-pamac/language/bn/)\n"
|
||||
"Language-Team: Bengali (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/bn/)\n"
|
||||
"Language: bn\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: bn\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -221,6 +222,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
18
po/bs.po
18
po/bs.po
@ -8,15 +8,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2013-04-16 23:37+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: Bosnian (http://www.transifex.com/projects/p/manjaro-pamac/language/bs/)\n"
|
||||
"Language-Team: Bosnian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/bs/)\n"
|
||||
"Language: bs\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: bs\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -221,6 +223,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
18
po/bs_BA.po
18
po/bs_BA.po
@ -8,15 +8,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2013-04-16 23:37+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: Bosnian (Bosnia and Herzegovina) (http://www.transifex.com/projects/p/manjaro-pamac/language/bs_BA/)\n"
|
||||
"Language-Team: Bosnian (Bosnia and Herzegovina) (http://www.transifex.com/"
|
||||
"projects/p/manjaro-pamac/language/bs_BA/)\n"
|
||||
"Language: bs_BA\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: bs_BA\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -221,6 +223,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
19
po/ca.po
19
po/ca.po
@ -14,14 +14,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:33+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Catalan (http://www.transifex.com/projects/p/manjaro-pamac/language/ca/)\n"
|
||||
"Language-Team: Catalan (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/ca/)\n"
|
||||
"Language: ca\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ca\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -173,7 +174,9 @@ msgstr "Permetre a Pamac buscar e instal·lar paquets des d'AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "En eliminar un paquet, elimina també les seves dependències que no siguin requerides per altres paquets"
|
||||
msgstr ""
|
||||
"En eliminar un paquet, elimina també les seves dependències que no siguin "
|
||||
"requerides per altres paquets"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -227,6 +230,14 @@ msgstr "Ha fallat la inicialització de la llibreria alpm"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Ha fallat la sincronització de les bases de dades"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Ha fallat la inicialització de la transacció"
|
||||
|
15
po/ca_ES.po
15
po/ca_ES.po
@ -11,14 +11,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:21+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Catalan (Spain) (http://www.transifex.com/projects/p/manjaro-pamac/language/ca_ES/)\n"
|
||||
"Language-Team: Catalan (Spain) (http://www.transifex.com/projects/p/manjaro-"
|
||||
"pamac/language/ca_ES/)\n"
|
||||
"Language: ca_ES\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ca_ES\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -224,6 +225,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
19
po/cs.po
19
po/cs.po
@ -13,14 +13,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:33+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Czech (http://www.transifex.com/projects/p/manjaro-pamac/language/cs/)\n"
|
||||
"Language-Team: Czech (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/cs/)\n"
|
||||
"Language: cs\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: cs\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -172,7 +173,9 @@ msgstr "Povolit aplikaci Pamac vyhledávat a instalovat balíčky z AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Při odebírání balíčku také odebrat jeho závislosti, které nejsou vyžadovány jinými balíčky"
|
||||
msgstr ""
|
||||
"Při odebírání balíčku také odebrat jeho závislosti, které nejsou vyžadovány "
|
||||
"jinými balíčky"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -226,6 +229,14 @@ msgstr "Selhalo načtení knihovny alpm"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Selhala synchronizace databází"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Selhalo spuštění transakce"
|
||||
|
27
po/da.po
27
po/da.po
@ -17,14 +17,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-19 14:31+0000\n"
|
||||
"Last-Translator: Dan Johansen\n"
|
||||
"Language-Team: Danish (http://www.transifex.com/projects/p/manjaro-pamac/language/da/)\n"
|
||||
"Language-Team: Danish (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/da/)\n"
|
||||
"Language: da\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: da\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -176,7 +177,9 @@ msgstr "Gør det muligt for Pamac at søge i og installere pakker fra AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Ved fjernelse af pakke, fjern også afhængigheder der ikke bliver brugt af andre pakker"
|
||||
msgstr ""
|
||||
"Ved fjernelse af pakke, fjern også afhængigheder der ikke bliver brugt af "
|
||||
"andre pakker"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -230,6 +233,14 @@ msgstr "Fejl ved initialisering af alpm bibliotek"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Fejl ved synkronisering af databaser"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Fejl i start af overførsel"
|
||||
@ -629,8 +640,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s har %u ikke installeret valgfri afhængighed.\nVælg hvis du vil installere den:"
|
||||
msgstr[1] "%s har %u som ikke installeret valgfrie afhængigheder.\nVælg dem du vil installere:"
|
||||
msgstr[0] ""
|
||||
"%s har %u ikke installeret valgfri afhængighed.\n"
|
||||
"Vælg hvis du vil installere den:"
|
||||
msgstr[1] ""
|
||||
"%s har %u som ikke installeret valgfrie afhængigheder.\n"
|
||||
"Vælg dem du vil installere:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
27
po/de.po
27
po/de.po
@ -21,14 +21,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:17+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: German (http://www.transifex.com/projects/p/manjaro-pamac/language/de/)\n"
|
||||
"Language-Team: German (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/de/)\n"
|
||||
"Language: de\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: de\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -180,7 +181,9 @@ msgstr "Erlaube Pamac nach Paketen im AUR zu suchen und zu installieren"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Wenn ein Paket entfernt wird, werden auch seine Abhängigkeiten entfernt, soweit sie nicht von einem anderen Paket benötigt werden"
|
||||
msgstr ""
|
||||
"Wenn ein Paket entfernt wird, werden auch seine Abhängigkeiten entfernt, "
|
||||
"soweit sie nicht von einem anderen Paket benötigt werden"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -234,6 +237,14 @@ msgstr "Fehler beim Initialisieren der Alpm-Library"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Synchronisieren der Datenbanken fehlgeschlagen"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Vorgang konnte nicht gestartet werden"
|
||||
@ -633,8 +644,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s hat %u nicht installierte optionale Abhängigkeiten.\nBitte wählen Sie die zum Installieren entsprechend aus:"
|
||||
msgstr[1] "%s hat %u nicht installierte optionale Abhängigkeiten.\nBitte wählen Sie die zu installierenden Abhängigkeiten aus:"
|
||||
msgstr[0] ""
|
||||
"%s hat %u nicht installierte optionale Abhängigkeiten.\n"
|
||||
"Bitte wählen Sie die zum Installieren entsprechend aus:"
|
||||
msgstr[1] ""
|
||||
"%s hat %u nicht installierte optionale Abhängigkeiten.\n"
|
||||
"Bitte wählen Sie die zu installierenden Abhängigkeiten aus:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/el.po
15
po/el.po
@ -16,14 +16,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:23+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Greek (http://www.transifex.com/projects/p/manjaro-pamac/language/el/)\n"
|
||||
"Language-Team: Greek (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/el/)\n"
|
||||
"Language: el\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: el\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -229,6 +230,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
27
po/en_GB.po
27
po/en_GB.po
@ -11,14 +11,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:16+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/manjaro-pamac/language/en_GB/)\n"
|
||||
"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/"
|
||||
"manjaro-pamac/language/en_GB/)\n"
|
||||
"Language: en_GB\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: en_GB\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -170,7 +171,9 @@ msgstr "Allow Pamac to search and install packages from AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "When removing a package, also remove its dependencies that are not required by other packages"
|
||||
msgstr ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -224,6 +227,14 @@ msgstr "Failed to initialize alpm library"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Failed to synchronize any databases"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Failed to init transaction"
|
||||
@ -623,8 +634,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s has %u uninstalled optional dependency.\nChoose if you would like to install it:"
|
||||
msgstr[1] "%s has %u uninstalled optional dependencies.\nChoose those you would like to install:"
|
||||
msgstr[0] ""
|
||||
"%s has %u uninstalled optional dependency.\n"
|
||||
"Choose if you would like to install it:"
|
||||
msgstr[1] ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/eo.po
15
po/eo.po
@ -10,14 +10,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Esperanto (http://www.transifex.com/projects/p/manjaro-pamac/language/eo/)\n"
|
||||
"Language-Team: Esperanto (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/eo/)\n"
|
||||
"Language: eo\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: eo\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -223,6 +224,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
27
po/es.po
27
po/es.po
@ -13,14 +13,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:18+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Spanish (http://www.transifex.com/projects/p/manjaro-pamac/language/es/)\n"
|
||||
"Language-Team: Spanish (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/es/)\n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: es\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -172,7 +173,9 @@ msgstr "Permitir a Pamac buscar e instalar paquetes desde AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Al eliminar un paquete, eliminar también las dependencias que no son requeridas por otros paquetes"
|
||||
msgstr ""
|
||||
"Al eliminar un paquete, eliminar también las dependencias que no son "
|
||||
"requeridas por otros paquetes"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -226,6 +229,14 @@ msgstr "Fallo al iniciar una librería alpm"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Fallo al sincronizar bases de datos"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Fallo al iniciar una operación"
|
||||
@ -625,8 +636,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s tiene %u dependencia/s opcional/es no instalada/s.\nPor favor, elige cuál/es quieres instalar:"
|
||||
msgstr[1] "%s tiene %u dependencia/s opcional/es no instalada/s.\nPor favor, elige cuál/es quieres instalar:"
|
||||
msgstr[0] ""
|
||||
"%s tiene %u dependencia/s opcional/es no instalada/s.\n"
|
||||
"Por favor, elige cuál/es quieres instalar:"
|
||||
msgstr[1] ""
|
||||
"%s tiene %u dependencia/s opcional/es no instalada/s.\n"
|
||||
"Por favor, elige cuál/es quieres instalar:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/et.po
15
po/et.po
@ -10,14 +10,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Estonian (http://www.transifex.com/projects/p/manjaro-pamac/language/et/)\n"
|
||||
"Language-Team: Estonian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/et/)\n"
|
||||
"Language: et\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: et\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -223,6 +224,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/eu.po
15
po/eu.po
@ -10,14 +10,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Basque (http://www.transifex.com/projects/p/manjaro-pamac/language/eu/)\n"
|
||||
"Language-Team: Basque (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/eu/)\n"
|
||||
"Language: eu\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: eu\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -223,6 +224,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/fa.po
15
po/fa.po
@ -12,14 +12,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Persian (http://www.transifex.com/projects/p/manjaro-pamac/language/fa/)\n"
|
||||
"Language-Team: Persian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/fa/)\n"
|
||||
"Language: fa\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: fa\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -225,6 +226,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/fa_IR.po
15
po/fa_IR.po
@ -16,14 +16,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Persian (Iran) (http://www.transifex.com/projects/p/manjaro-pamac/language/fa_IR/)\n"
|
||||
"Language-Team: Persian (Iran) (http://www.transifex.com/projects/p/manjaro-"
|
||||
"pamac/language/fa_IR/)\n"
|
||||
"Language: fa_IR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: fa_IR\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -229,6 +230,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/fi.po
15
po/fi.po
@ -15,14 +15,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:24+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Finnish (http://www.transifex.com/projects/p/manjaro-pamac/language/fi/)\n"
|
||||
"Language-Team: Finnish (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/fi/)\n"
|
||||
"Language: fi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: fi\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -228,6 +229,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/fo.po
15
po/fo.po
@ -10,14 +10,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Faroese (http://www.transifex.com/projects/p/manjaro-pamac/language/fo/)\n"
|
||||
"Language-Team: Faroese (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/fo/)\n"
|
||||
"Language: fo\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: fo\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -223,6 +224,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
27
po/fr.po
27
po/fr.po
@ -15,14 +15,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:17+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: French (http://www.transifex.com/projects/p/manjaro-pamac/language/fr/)\n"
|
||||
"Language-Team: French (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/fr/)\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -174,7 +175,9 @@ msgstr "Permettre à Pamac de chercher et installer des paquets depuis AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "En désinstallant un paquet, désinstaller également les dépendances qui ne sont pas requises par d'autres paquets"
|
||||
msgstr ""
|
||||
"En désinstallant un paquet, désinstaller également les dépendances qui ne "
|
||||
"sont pas requises par d'autres paquets"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -228,6 +231,14 @@ msgstr "L'initialisation de la librairie alpm a échoué"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "La synchronisation a échoué"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr "Non"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr "Oui"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "L'initialisation de la transaction a échoué"
|
||||
@ -627,8 +638,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s a %u dépendance optionnelle non installée.\nChoisissez si vous voulez l'installer:"
|
||||
msgstr[1] "%s a %u dépendances optionnelles non installées.\nChoisissez celles que vous voulez installer:"
|
||||
msgstr[0] ""
|
||||
"%s a %u dépendance optionnelle non installée.\n"
|
||||
"Choisissez si vous voulez l'installer:"
|
||||
msgstr[1] ""
|
||||
"%s a %u dépendances optionnelles non installées.\n"
|
||||
"Choisissez celles que vous voulez installer:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
26
po/he.po
26
po/he.po
@ -12,14 +12,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 22:30+0000\n"
|
||||
"Last-Translator: GenghisKhan <genghiskhan@gmx.ca>\n"
|
||||
"Language-Team: Hebrew (http://www.transifex.com/projects/p/manjaro-pamac/language/he/)\n"
|
||||
"Language-Team: Hebrew (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/he/)\n"
|
||||
"Language: he\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: he\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -171,7 +172,8 @@ msgstr "אפשר לPamac לחפש ולהתקין חבילות מתוך AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "בעת הסרת חבילה, הסר גם את התלויות שלה אשר לא נחוצות על ידי חבילות אחרות"
|
||||
msgstr ""
|
||||
"בעת הסרת חבילה, הסר גם את התלויות שלה אשר לא נחוצות על ידי חבילות אחרות"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -225,6 +227,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "נכשל להתחיל טרנזקציה"
|
||||
@ -624,8 +634,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "לחבילה %s יש תלות רשות %u לא מותקנת.\nבחר אותה אם ברצונך להתקינה:"
|
||||
msgstr[1] "לחבילה %s יש %u תלויות רשות לא מותקנות.\nבחר את אלה אשר ברצונך להתקין:"
|
||||
msgstr[0] ""
|
||||
"לחבילה %s יש תלות רשות %u לא מותקנת.\n"
|
||||
"בחר אותה אם ברצונך להתקינה:"
|
||||
msgstr[1] ""
|
||||
"לחבילה %s יש %u תלויות רשות לא מותקנות.\n"
|
||||
"בחר את אלה אשר ברצונך להתקין:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/hi.po
15
po/hi.po
@ -11,14 +11,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:24+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Hindi (http://www.transifex.com/projects/p/manjaro-pamac/language/hi/)\n"
|
||||
"Language-Team: Hindi (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/hi/)\n"
|
||||
"Language: hi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: hi\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -224,6 +225,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
18
po/hr.po
18
po/hr.po
@ -11,15 +11,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:25+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Croatian (http://www.transifex.com/projects/p/manjaro-pamac/language/hr/)\n"
|
||||
"Language-Team: Croatian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/hr/)\n"
|
||||
"Language: hr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: hr\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -224,6 +226,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
27
po/hu.po
27
po/hu.po
@ -12,14 +12,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:25+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Hungarian (http://www.transifex.com/projects/p/manjaro-pamac/language/hu/)\n"
|
||||
"Language-Team: Hungarian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/hu/)\n"
|
||||
"Language: hu\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: hu\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -171,7 +172,9 @@ msgstr "Pamac kereshet és telepíthet csomagokat az AUR -ból"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Csomag eltávolításakor távolítsa el a függőségeket amik nem megköveteltek más csomagok által"
|
||||
msgstr ""
|
||||
"Csomag eltávolításakor távolítsa el a függőségeket amik nem megköveteltek "
|
||||
"más csomagok által"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -225,6 +228,14 @@ msgstr "Nem sikerült inicializálni az alpm könyvtárat"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Nem sikerült egyetlen adatbázist sem szinkronizálni"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Művelet megkezdése sikertelen"
|
||||
@ -624,8 +635,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s tartalmaz %u eltávolított opcionális függőséget.\nVálaszd ki azokat amiket telepíteni szeretnél:"
|
||||
msgstr[1] "%s tartalmaz %u eltávolított opcionális függőséget.\nVálaszd ki azokat amiket telepíteni szeretnél:"
|
||||
msgstr[0] ""
|
||||
"%s tartalmaz %u eltávolított opcionális függőséget.\n"
|
||||
"Válaszd ki azokat amiket telepíteni szeretnél:"
|
||||
msgstr[1] ""
|
||||
"%s tartalmaz %u eltávolított opcionális függőséget.\n"
|
||||
"Válaszd ki azokat amiket telepíteni szeretnél:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
23
po/id.po
23
po/id.po
@ -19,14 +19,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:38+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Indonesian (http://www.transifex.com/projects/p/manjaro-pamac/language/id/)\n"
|
||||
"Language-Team: Indonesian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/id/)\n"
|
||||
"Language: id\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: id\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -178,7 +179,9 @@ msgstr "Biarkan Pamac untuk mencari dan menginstal paket dari AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Ketika menghapus paket, hapus juga dependensi paket tersebut yang tidak dibuthkan paket lainnya"
|
||||
msgstr ""
|
||||
"Ketika menghapus paket, hapus juga dependensi paket tersebut yang tidak "
|
||||
"dibuthkan paket lainnya"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -232,6 +235,14 @@ msgstr "Gagal menginisialisasi library alpm"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Gagal mengsinkronisasikan database apapun"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Gagal inisialisasi transaksi"
|
||||
@ -630,7 +641,9 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s memiliki %u dependensi opsional tidak terpasang.\nPilih yang ingin kamu pasang:"
|
||||
msgstr[0] ""
|
||||
"%s memiliki %u dependensi opsional tidak terpasang.\n"
|
||||
"Pilih yang ingin kamu pasang:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/is.po
15
po/is.po
@ -8,14 +8,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Icelandic (http://www.transifex.com/projects/p/manjaro-pamac/language/is/)\n"
|
||||
"Language-Team: Icelandic (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/is/)\n"
|
||||
"Language: is\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: is\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -221,6 +222,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
27
po/it.po
27
po/it.po
@ -14,14 +14,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-27 13:45+0000\n"
|
||||
"Last-Translator: Massimo\n"
|
||||
"Language-Team: Italian (http://www.transifex.com/projects/p/manjaro-pamac/language/it/)\n"
|
||||
"Language-Team: Italian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/it/)\n"
|
||||
"Language: it\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: it\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -173,7 +174,9 @@ msgstr "Permette a Pamac cercare e installare pacchetti dal AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Quando si rimuove un pacchetto, rimuovere anche le dipendenze che non sono richieste da altri pacchetti"
|
||||
msgstr ""
|
||||
"Quando si rimuove un pacchetto, rimuovere anche le dipendenze che non sono "
|
||||
"richieste da altri pacchetti"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -227,6 +230,14 @@ msgstr "Inizializzazione della libreria alpm non riuscita"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Sincronizzazione non riuscita su nessun database"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Inizializzazione del trasferimento non riuscita."
|
||||
@ -626,8 +637,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s ha %u dipendenze opzionali non installate.\nScegliere se si desidera installarlo."
|
||||
msgstr[1] "%s ha %u dipendenze opzionali non installate. \nSceglire quelle che si desidera installare"
|
||||
msgstr[0] ""
|
||||
"%s ha %u dipendenze opzionali non installate.\n"
|
||||
"Scegliere se si desidera installarlo."
|
||||
msgstr[1] ""
|
||||
"%s ha %u dipendenze opzionali non installate. \n"
|
||||
"Sceglire quelle che si desidera installare"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
23
po/ja.po
23
po/ja.po
@ -10,14 +10,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-09 21:40+0000\n"
|
||||
"Last-Translator: Takefumi Nagata\n"
|
||||
"Language-Team: Japanese (http://www.transifex.com/projects/p/manjaro-pamac/language/ja/)\n"
|
||||
"Language-Team: Japanese (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/ja/)\n"
|
||||
"Language: ja\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ja\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -169,7 +170,9 @@ msgstr "PamacがAURパッケージを探索し、インストールすること
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "パッケージを削除する際、他のパッケージでは必要とされていない依存パッケージも削除"
|
||||
msgstr ""
|
||||
"パッケージを削除する際、他のパッケージでは必要とされていない依存パッケージも"
|
||||
"削除"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -223,6 +226,14 @@ msgstr "Alpmライブラリの初期化に失敗しました"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "すべてのデータベースの同期に失敗しました"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "初期処理に失敗しました"
|
||||
@ -621,7 +632,9 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s は未インストールの %uにオプショナルに依存します。\nインストールするパッケージを選択してください:"
|
||||
msgstr[0] ""
|
||||
"%s は未インストールの %uにオプショナルに依存します。\n"
|
||||
"インストールするパッケージを選択してください:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/ka.po
15
po/ka.po
@ -8,14 +8,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Georgian (http://www.transifex.com/projects/p/manjaro-pamac/language/ka/)\n"
|
||||
"Language-Team: Georgian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/ka/)\n"
|
||||
"Language: ka\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ka\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -221,6 +222,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/ko.po
15
po/ko.po
@ -10,14 +10,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Korean (http://www.transifex.com/projects/p/manjaro-pamac/language/ko/)\n"
|
||||
"Language-Team: Korean (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/ko/)\n"
|
||||
"Language: ko\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ko\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -223,6 +224,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
34
po/lt.po
34
po/lt.po
@ -9,15 +9,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-19 21:47+0000\n"
|
||||
"Last-Translator: Moo\n"
|
||||
"Language-Team: Lithuanian (http://www.transifex.com/projects/p/manjaro-pamac/language/lt/)\n"
|
||||
"Language-Team: Lithuanian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/lt/)\n"
|
||||
"Language: lt\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: lt\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
|
||||
"%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -168,7 +170,9 @@ msgstr "Leisti Pamac ieškoti ir diegti paketus iš AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Šalinant paketą, tuo pačiu šalinti ir jo priklausomybes, kurios nėra reikalaujamos kitų paketų"
|
||||
msgstr ""
|
||||
"Šalinant paketą, tuo pačiu šalinti ir jo priklausomybes, kurios nėra "
|
||||
"reikalaujamos kitų paketų"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -222,6 +226,14 @@ msgstr "Nepavyko inicijuoti alpm bibliotekos"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Nepavyko sinchronizuoti jokių duomenų bazių"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Nepavyko inicijuoti operacijos"
|
||||
@ -622,9 +634,15 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s turi %u neįdiegtą pasirinktinę priklausomybę.\nPasirinkite ar jūs norėtumėte ją įdiegti:"
|
||||
msgstr[1] "%s turi %u neįdiegtas pasirinktines priklausomybes.\nPasirinkite tas, kurias norėtumėte įdiegti:"
|
||||
msgstr[2] "%s turi %u neįdiegtų pasirinktinų priklausomybių.\nPasirinkite tas, kurias norėtumėte įdiegti:"
|
||||
msgstr[0] ""
|
||||
"%s turi %u neįdiegtą pasirinktinę priklausomybę.\n"
|
||||
"Pasirinkite ar jūs norėtumėte ją įdiegti:"
|
||||
msgstr[1] ""
|
||||
"%s turi %u neįdiegtas pasirinktines priklausomybes.\n"
|
||||
"Pasirinkite tas, kurias norėtumėte įdiegti:"
|
||||
msgstr[2] ""
|
||||
"%s turi %u neįdiegtų pasirinktinų priklausomybių.\n"
|
||||
"Pasirinkite tas, kurias norėtumėte įdiegti:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/ml.po
15
po/ml.po
@ -8,14 +8,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Malayalam (http://www.transifex.com/projects/p/manjaro-pamac/language/ml/)\n"
|
||||
"Language-Team: Malayalam (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/ml/)\n"
|
||||
"Language: ml\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ml\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -221,6 +222,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/ms.po
15
po/ms.po
@ -9,14 +9,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Malay (http://www.transifex.com/projects/p/manjaro-pamac/language/ms/)\n"
|
||||
"Language-Team: Malay (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/ms/)\n"
|
||||
"Language: ms\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ms\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -222,6 +223,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
27
po/nb.po
27
po/nb.po
@ -18,14 +18,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:38+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Norwegian Bokmål (http://www.transifex.com/projects/p/manjaro-pamac/language/nb/)\n"
|
||||
"Language-Team: Norwegian Bokmål (http://www.transifex.com/projects/p/manjaro-"
|
||||
"pamac/language/nb/)\n"
|
||||
"Language: nb\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: nb\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -177,7 +178,9 @@ msgstr "Tillat Pamac å søke og installere pakker fra AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Når du fjerner en pakke, fjern også dets avhengigheter som ikke kreves av andre pakker"
|
||||
msgstr ""
|
||||
"Når du fjerner en pakke, fjern også dets avhengigheter som ikke kreves av "
|
||||
"andre pakker"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -231,6 +234,14 @@ msgstr "Kunne ikke initialisere alpm bibliotek"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Klarte ikke å synkronisere alle databaser"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Kunne ikke init transaksjon"
|
||||
@ -630,8 +641,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s har %u avinstallert valgfrie avhengigheter.\nVelg om du ønsker å installere det:"
|
||||
msgstr[1] "%s har %u avinstallert valgfrie avhengigheter.\nVelg de du ønsker å installere:"
|
||||
msgstr[0] ""
|
||||
"%s har %u avinstallert valgfrie avhengigheter.\n"
|
||||
"Velg om du ønsker å installere det:"
|
||||
msgstr[1] ""
|
||||
"%s har %u avinstallert valgfrie avhengigheter.\n"
|
||||
"Velg de du ønsker å installere:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
27
po/nl.po
27
po/nl.po
@ -18,14 +18,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:31+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Dutch (http://www.transifex.com/projects/p/manjaro-pamac/language/nl/)\n"
|
||||
"Language-Team: Dutch (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/nl/)\n"
|
||||
"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: nl\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -177,7 +178,9 @@ msgstr "Pamac toestaan om AUR pakketten te zoeken en te installeren"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Bij het verwijderen van een pakket ook afhankelijkheden verwijderen die niet meer gebruikt worden door andere pakketten"
|
||||
msgstr ""
|
||||
"Bij het verwijderen van een pakket ook afhankelijkheden verwijderen die niet "
|
||||
"meer gebruikt worden door andere pakketten"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -231,6 +234,14 @@ msgstr "Initialiseren alpm bibliotheek mislukt"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Synchroniseren van alle databases mislukt"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Initialiseren transactie mislukt"
|
||||
@ -630,8 +641,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s heeft %u niet geïnstalleerde optionele afhankelijkheden.\nSelecteer welke u wilt installeren:"
|
||||
msgstr[1] "%s heeft %u niet geïnstalleerde optionele afhankelijkheden.\nSelecteer welke u wilt installeren:"
|
||||
msgstr[0] ""
|
||||
"%s heeft %u niet geïnstalleerde optionele afhankelijkheden.\n"
|
||||
"Selecteer welke u wilt installeren:"
|
||||
msgstr[1] ""
|
||||
"%s heeft %u niet geïnstalleerde optionele afhankelijkheden.\n"
|
||||
"Selecteer welke u wilt installeren:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/nl_BE.po
15
po/nl_BE.po
@ -8,14 +8,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Dutch (Belgium) (http://www.transifex.com/projects/p/manjaro-pamac/language/nl_BE/)\n"
|
||||
"Language-Team: Dutch (Belgium) (http://www.transifex.com/projects/p/manjaro-"
|
||||
"pamac/language/nl_BE/)\n"
|
||||
"Language: nl_BE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: nl_BE\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -221,6 +222,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
12
po/pamac.pot
12
po/pamac.pot
@ -5,9 +5,9 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Pamac 2.1\n"
|
||||
"Project-Id-Version: Pamac 2.2\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -220,6 +220,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
34
po/pl.po
34
po/pl.po
@ -13,15 +13,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 11:59+0000\n"
|
||||
"Last-Translator: Piotr Strębski <strebski@o2.pl>\n"
|
||||
"Language-Team: Polish (http://www.transifex.com/projects/p/manjaro-pamac/language/pl/)\n"
|
||||
"Language-Team: Polish (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/pl/)\n"
|
||||
"Language: pl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: pl\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||
"|| n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -172,7 +174,9 @@ msgstr "Pozwól Pamacowi wyszukiwać i instalować pakiety z AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Podczas usuwania pakietu usuwać także te zależności, które nie są już wymagane przez inne pakiety"
|
||||
msgstr ""
|
||||
"Podczas usuwania pakietu usuwać także te zależności, które nie są już "
|
||||
"wymagane przez inne pakiety"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -226,6 +230,14 @@ msgstr "Błąd uruchomienia biblioteki alpm"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Błąd synchronizacji wszystkich baz danych"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Błąd uruchomienia operacji"
|
||||
@ -626,9 +638,15 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s ma %u niezainstalowaną opcjonalną zależność.\nWybierz ją, jeśli chcesz zainstalować:"
|
||||
msgstr[1] "%s ma %u niezainstalowane opcjonalne zależności.\nWybierz je, jeśli chcesz zainstalować:"
|
||||
msgstr[2] "%s ma %u niezainstalowanych opcjonalnych zależności.\nWybierz te pakiety, które chcesz zainstalować:"
|
||||
msgstr[0] ""
|
||||
"%s ma %u niezainstalowaną opcjonalną zależność.\n"
|
||||
"Wybierz ją, jeśli chcesz zainstalować:"
|
||||
msgstr[1] ""
|
||||
"%s ma %u niezainstalowane opcjonalne zależności.\n"
|
||||
"Wybierz je, jeśli chcesz zainstalować:"
|
||||
msgstr[2] ""
|
||||
"%s ma %u niezainstalowanych opcjonalnych zależności.\n"
|
||||
"Wybierz te pakiety, które chcesz zainstalować:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
@ -5,9 +5,9 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Pamac 2.1\n"
|
||||
"Project-Id-Version: Pamac 2.2\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-05 20:36+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
27
po/pt_BR.po
27
po/pt_BR.po
@ -22,14 +22,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 12:39+0000\n"
|
||||
"Last-Translator: Aldo Oliveira <america103@gmail.com>\n"
|
||||
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/manjaro-pamac/language/pt_BR/)\n"
|
||||
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
|
||||
"manjaro-pamac/language/pt_BR/)\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: pt_BR\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -181,7 +182,9 @@ msgstr "Permitir a Pamac que procure e instale os pacotes a partir de AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Ao remover um pacote, também remover as dependências que não são exigidas por outros pacotes"
|
||||
msgstr ""
|
||||
"Ao remover um pacote, também remover as dependências que não são exigidas "
|
||||
"por outros pacotes"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -235,6 +238,14 @@ msgstr "Falha ao inicializar biblioteca do Empacotador"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Falha ao sincronizar as bases de dados"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Falha ao inicializar transação"
|
||||
@ -634,8 +645,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s tem %u dependência opcional não instalada.\nEscolha se gostaria de instalá-la:"
|
||||
msgstr[1] "%s tem %u dependências opcionais não instaladas.\nEscolha aquelas que gostaria de instalar:"
|
||||
msgstr[0] ""
|
||||
"%s tem %u dependência opcional não instalada.\n"
|
||||
"Escolha se gostaria de instalá-la:"
|
||||
msgstr[1] ""
|
||||
"%s tem %u dependências opcionais não instaladas.\n"
|
||||
"Escolha aquelas que gostaria de instalar:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/pt_PT.po
15
po/pt_PT.po
@ -12,14 +12,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:40+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/projects/p/manjaro-pamac/language/pt_PT/)\n"
|
||||
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/projects/p/"
|
||||
"manjaro-pamac/language/pt_PT/)\n"
|
||||
"Language: pt_PT\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: pt_PT\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -225,6 +226,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
34
po/ro.po
34
po/ro.po
@ -11,15 +11,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-10 02:23+0000\n"
|
||||
"Last-Translator: Alexandru Ianu <alexandru.ianu@gmail.com>\n"
|
||||
"Language-Team: Romanian (http://www.transifex.com/projects/p/manjaro-pamac/language/ro/)\n"
|
||||
"Language-Team: Romanian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/ro/)\n"
|
||||
"Language: ro\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ro\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
|
||||
"2:1));\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -170,7 +172,9 @@ msgstr "Permite Pamac să caute și să instaleze pachete din AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Când se elimină un pachet, se vor elimina și acele dependențe ce nu sunt cerute de alte pachete"
|
||||
msgstr ""
|
||||
"Când se elimină un pachet, se vor elimina și acele dependențe ce nu sunt "
|
||||
"cerute de alte pachete"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -224,6 +228,14 @@ msgstr "Nu s-a inițializat librăria alpm"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Nu s-au sincronizat bazele de date"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Nu s-a inițializat tranzacția"
|
||||
@ -624,9 +636,15 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s are %u dependență opțională neinstalată.\nAlegeți dacă o doriți instalată:"
|
||||
msgstr[1] "%s are %u dependențe opționale neinstalate.\nAlegeți cele pe care le doriți instalate:"
|
||||
msgstr[2] "%s are %u de dependențe opționale neinstalate.\nAlegeți cele pe care le doriți instalate:"
|
||||
msgstr[0] ""
|
||||
"%s are %u dependență opțională neinstalată.\n"
|
||||
"Alegeți dacă o doriți instalată:"
|
||||
msgstr[1] ""
|
||||
"%s are %u dependențe opționale neinstalate.\n"
|
||||
"Alegeți cele pe care le doriți instalate:"
|
||||
msgstr[2] ""
|
||||
"%s are %u de dependențe opționale neinstalate.\n"
|
||||
"Alegeți cele pe care le doriți instalate:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
34
po/ru.po
34
po/ru.po
@ -23,15 +23,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:10+0000\n"
|
||||
"Last-Translator: Виктор Кукшиев <andrey0bolkonsky@gmail.com>\n"
|
||||
"Language-Team: Russian (http://www.transifex.com/projects/p/manjaro-pamac/language/ru/)\n"
|
||||
"Language-Team: Russian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/ru/)\n"
|
||||
"Language: ru\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ru\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -182,7 +184,9 @@ msgstr "Разрешить Pamac искать и устанавливать па
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "При удалении пакета, также произвести удаление неиспользуемых сопутствующих зависимостей"
|
||||
msgstr ""
|
||||
"При удалении пакета, также произвести удаление неиспользуемых сопутствующих "
|
||||
"зависимостей"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -236,6 +240,14 @@ msgstr "Ошибка инициализации библиотеки alpm"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Ошибка синхронизации со всеми базами данных"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Ошибка начала транзакции"
|
||||
@ -636,9 +648,15 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s имеет %u неустановленную дополнительную зависимость.\nУкажите, если вы хотите их установить:"
|
||||
msgstr[1] "%s имеет %u несколько неустановленных дополнительных зависимостей.\nВыберите те, которые вы хотели бы установить:"
|
||||
msgstr[2] "%s имеет %u неустановленныx дополнительных зависимостей.\nВыберите те, которые вы хотели бы установить:"
|
||||
msgstr[0] ""
|
||||
"%s имеет %u неустановленную дополнительную зависимость.\n"
|
||||
"Укажите, если вы хотите их установить:"
|
||||
msgstr[1] ""
|
||||
"%s имеет %u несколько неустановленных дополнительных зависимостей.\n"
|
||||
"Выберите те, которые вы хотели бы установить:"
|
||||
msgstr[2] ""
|
||||
"%s имеет %u неустановленныx дополнительных зависимостей.\n"
|
||||
"Выберите те, которые вы хотели бы установить:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
15
po/si.po
15
po/si.po
@ -10,14 +10,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Sinhala (http://www.transifex.com/projects/p/manjaro-pamac/language/si/)\n"
|
||||
"Language-Team: Sinhala (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/si/)\n"
|
||||
"Language: si\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: si\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -223,6 +224,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
31
po/sk.po
31
po/sk.po
@ -14,14 +14,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 21:12+0000\n"
|
||||
"Last-Translator: Dušan Kazik <prescott66@gmail.com>\n"
|
||||
"Language-Team: Slovak (http://www.transifex.com/projects/p/manjaro-pamac/language/sk/)\n"
|
||||
"Language-Team: Slovak (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/sk/)\n"
|
||||
"Language: sk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: sk\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -173,7 +174,9 @@ msgstr "Umožniť programu Pamac vyhľadať a inštalovať balíky z repozitára
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Pri odstránení balíka tiež odstráni závislosti, ktoré nie sú potrebné inými balíkmi"
|
||||
msgstr ""
|
||||
"Pri odstránení balíka tiež odstráni závislosti, ktoré nie sú potrebné inými "
|
||||
"balíkmi"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -227,6 +230,14 @@ msgstr "Zlyhala inicializácia knižnice alpm"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Zlyhalo synchronizovanie akejkoľvek databázy"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Zlyhalo zahájenie transakcie"
|
||||
@ -627,9 +638,15 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s obsahuje %u odinštalovanú voliteľnú závislosť.\nZvoľte ju, ak ju chcete nainštalovať:"
|
||||
msgstr[1] "%s obsahuje %u odinštalované voliteľné závislosti. Zvoľte tie, ktoré chcete nainštalovať:"
|
||||
msgstr[2] "%s obsahuje %u odinštalovaných voliteľných závislostí. Zvoľte tie, ktoré chcete nainštalovať:"
|
||||
msgstr[0] ""
|
||||
"%s obsahuje %u odinštalovanú voliteľnú závislosť.\n"
|
||||
"Zvoľte ju, ak ju chcete nainštalovať:"
|
||||
msgstr[1] ""
|
||||
"%s obsahuje %u odinštalované voliteľné závislosti. Zvoľte tie, ktoré chcete "
|
||||
"nainštalovať:"
|
||||
msgstr[2] ""
|
||||
"%s obsahuje %u odinštalovaných voliteľných závislostí. Zvoľte tie, ktoré "
|
||||
"chcete nainštalovať:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
38
po/sl.po
38
po/sl.po
@ -14,15 +14,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-19 15:25+0000\n"
|
||||
"Last-Translator: ansich <mojmejlzaforume@gmail.com>\n"
|
||||
"Language-Team: Slovenian (http://www.transifex.com/projects/p/manjaro-pamac/language/sl/)\n"
|
||||
"Language-Team: Slovenian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/sl/)\n"
|
||||
"Language: sl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: sl\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
||||
"%100==4 ? 2 : 3);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -173,7 +175,9 @@ msgstr "Dovoli Pamacu da išče in namešča pakete iz AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Ob odstranjevanju paketov odstrani tudi tiste odvisnosti, ki niso zahtevani s strani drugih paketov"
|
||||
msgstr ""
|
||||
"Ob odstranjevanju paketov odstrani tudi tiste odvisnosti, ki niso zahtevani "
|
||||
"s strani drugih paketov"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -227,6 +231,14 @@ msgstr "Začenjanje alpm knjižnice je spodletelo"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Ni bilo mogoče sinhronizirati nobene podatkovne baze"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Ni bilo mogoče začeti transakcije"
|
||||
@ -628,10 +640,18 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s ima %u odstranjeno izbirno odvisnost.\nIzberite, če jo želite namestiti:"
|
||||
msgstr[1] "%s ima %u odstranjeni izbirni odvisnosti.\nIzberite tiste, ki jih želite namestiti:"
|
||||
msgstr[2] "%s ima %u odstranjenih izbirnih odvisnosti.\nIzberite tiste, ki jih želite namestiti:"
|
||||
msgstr[3] "%s ima %u odstranjenih izbirnih odvisnosti.\nIzberite tiste, ki jih želite namestiti:"
|
||||
msgstr[0] ""
|
||||
"%s ima %u odstranjeno izbirno odvisnost.\n"
|
||||
"Izberite, če jo želite namestiti:"
|
||||
msgstr[1] ""
|
||||
"%s ima %u odstranjeni izbirni odvisnosti.\n"
|
||||
"Izberite tiste, ki jih želite namestiti:"
|
||||
msgstr[2] ""
|
||||
"%s ima %u odstranjenih izbirnih odvisnosti.\n"
|
||||
"Izberite tiste, ki jih želite namestiti:"
|
||||
msgstr[3] ""
|
||||
"%s ima %u odstranjenih izbirnih odvisnosti.\n"
|
||||
"Izberite tiste, ki jih želite namestiti:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
34
po/sr.po
34
po/sr.po
@ -11,15 +11,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-13 22:51+0000\n"
|
||||
"Last-Translator: Драгољуб Шишовић\n"
|
||||
"Language-Team: Serbian (http://www.transifex.com/projects/p/manjaro-pamac/language/sr/)\n"
|
||||
"Language-Team: Serbian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/sr/)\n"
|
||||
"Language: sr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: sr\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -170,7 +172,9 @@ msgstr "Омогући Памаку да претражује и инстали
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "При уклањању пакета, такође уклони и све његове зависности које више нису потребне ни једном другом пакету"
|
||||
msgstr ""
|
||||
"При уклањању пакета, такође уклони и све његове зависности које више нису "
|
||||
"потребне ни једном другом пакету"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -224,6 +228,14 @@ msgstr "Неуспешна иницијализација alpm \"библиот
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Неуспех синхронизације било које базе података"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Неуспех да се успостави трансакција"
|
||||
@ -624,9 +636,15 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s има %u уклоњену опциону зависност.\nИзабери да ли би желео да је инсталираш:"
|
||||
msgstr[1] "%s има %u уклоњених опционих зависности.\nИзабери оне које би желео да инсталираш:"
|
||||
msgstr[2] "%s има %u уклоњених опционих зависности.\nИзабери оне које би желео да инсталираш:"
|
||||
msgstr[0] ""
|
||||
"%s има %u уклоњену опциону зависност.\n"
|
||||
"Изабери да ли би желео да је инсталираш:"
|
||||
msgstr[1] ""
|
||||
"%s има %u уклоњених опционих зависности.\n"
|
||||
"Изабери оне које би желео да инсталираш:"
|
||||
msgstr[2] ""
|
||||
"%s има %u уклоњених опционих зависности.\n"
|
||||
"Изабери оне које би желео да инсталираш:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
@ -13,15 +13,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:42+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Serbian (Latin) (http://www.transifex.com/projects/p/manjaro-pamac/language/sr@latin/)\n"
|
||||
"Language-Team: Serbian (Latin) (http://www.transifex.com/projects/p/manjaro-"
|
||||
"pamac/language/sr@latin/)\n"
|
||||
"Language: sr@latin\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: sr@latin\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -226,6 +228,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
18
po/sr_RS.po
18
po/sr_RS.po
@ -8,15 +8,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Serbian (Serbia) (http://www.transifex.com/projects/p/manjaro-pamac/language/sr_RS/)\n"
|
||||
"Language-Team: Serbian (Serbia) (http://www.transifex.com/projects/p/manjaro-"
|
||||
"pamac/language/sr_RS/)\n"
|
||||
"Language: sr_RS\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: sr_RS\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -221,6 +223,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
@ -8,15 +8,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Serbian (Latin) (Serbia) (http://www.transifex.com/projects/p/manjaro-pamac/language/sr_RS@latin/)\n"
|
||||
"Language-Team: Serbian (Latin) (Serbia) (http://www.transifex.com/projects/p/"
|
||||
"manjaro-pamac/language/sr_RS@latin/)\n"
|
||||
"Language: sr_RS@latin\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: sr_RS@latin\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -221,6 +223,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
27
po/sv.po
27
po/sv.po
@ -15,14 +15,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:45+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Swedish (http://www.transifex.com/projects/p/manjaro-pamac/language/sv/)\n"
|
||||
"Language-Team: Swedish (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/sv/)\n"
|
||||
"Language: sv\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: sv\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -174,7 +175,9 @@ msgstr "Tillåt Pamac att söka och installera paket från AUR"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "När ett paket tas bort, ta även bort de beroenden paketet har, men som inga andra paket kräver"
|
||||
msgstr ""
|
||||
"När ett paket tas bort, ta även bort de beroenden paketet har, men som inga "
|
||||
"andra paket kräver"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -228,6 +231,14 @@ msgstr "Misslyckades med att läsa in alpm-bibliotek"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Misslyckades med att synkronisera databaser"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "Misslyckades med att påbörja överföring"
|
||||
@ -627,8 +638,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s har %u oinstallerat valfritt beroende.\nVälj vilket du vill installera:"
|
||||
msgstr[1] "%s har %u oinstallerade valfria beroenden.\nVälj vilka du vill installera:"
|
||||
msgstr[0] ""
|
||||
"%s har %u oinstallerat valfritt beroende.\n"
|
||||
"Välj vilket du vill installera:"
|
||||
msgstr[1] ""
|
||||
"%s har %u oinstallerade valfria beroenden.\n"
|
||||
"Välj vilka du vill installera:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
27
po/tr.po
27
po/tr.po
@ -13,14 +13,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-20 13:20+0000\n"
|
||||
"Last-Translator: Demiray Muhterem <mdemiray@msn.com>\n"
|
||||
"Language-Team: Turkish (http://www.transifex.com/projects/p/manjaro-pamac/language/tr/)\n"
|
||||
"Language-Team: Turkish (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/tr/)\n"
|
||||
"Language: tr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: tr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -172,7 +173,9 @@ msgstr "AUR paketleri aramak ve kurmak için izin ver"
|
||||
msgid ""
|
||||
"When removing a package, also remove its dependencies that are not required "
|
||||
"by other packages"
|
||||
msgstr "Bir paket kaldırılırken, başka bir uygulama aynı bağımlılıkları kullanmıyorsa paketi bağımlılıkları ile birlikte kaldır"
|
||||
msgstr ""
|
||||
"Bir paket kaldırılırken, başka bir uygulama aynı bağımlılıkları "
|
||||
"kullanmıyorsa paketi bağımlılıkları ile birlikte kaldır"
|
||||
|
||||
#: ../resources/preferences_dialog.ui
|
||||
msgid "Check available disk space"
|
||||
@ -226,6 +229,14 @@ msgstr "Alpm kütüphanesi başlatılamadı"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "Hiçbir veritabanı senkronize edilemedi"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "init işlemi başarısız"
|
||||
@ -625,8 +636,12 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s %u tercihe bağlı bağımlılıkları kaldırdı.\nYüklemek istiyorsan tekrar seç:"
|
||||
msgstr[1] "%s %u tercihe bağlı bağımlılıkları kaldırdı.\nYüklemek istediğini seç:"
|
||||
msgstr[0] ""
|
||||
"%s %u tercihe bağlı bağımlılıkları kaldırdı.\n"
|
||||
"Yüklemek istiyorsan tekrar seç:"
|
||||
msgstr[1] ""
|
||||
"%s %u tercihe bağlı bağımlılıkları kaldırdı.\n"
|
||||
"Yüklemek istediğini seç:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
18
po/uk.po
18
po/uk.po
@ -16,15 +16,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Ukrainian (http://www.transifex.com/projects/p/manjaro-pamac/language/uk/)\n"
|
||||
"Language-Team: Ukrainian (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/uk/)\n"
|
||||
"Language: uk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: uk\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
msgid "Authentication is required"
|
||||
@ -229,6 +231,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/ur_PK.po
15
po/ur_PK.po
@ -8,14 +8,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Urdu (Pakistan) (http://www.transifex.com/projects/p/manjaro-pamac/language/ur_PK/)\n"
|
||||
"Language-Team: Urdu (Pakistan) (http://www.transifex.com/projects/p/manjaro-"
|
||||
"pamac/language/ur_PK/)\n"
|
||||
"Language: ur_PK\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ur_PK\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -221,6 +222,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/uz.po
15
po/uz.po
@ -11,14 +11,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:46+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Uzbek (http://www.transifex.com/projects/p/manjaro-pamac/language/uz/)\n"
|
||||
"Language-Team: Uzbek (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/uz/)\n"
|
||||
"Language: uz\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: uz\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -224,6 +225,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/vi.po
15
po/vi.po
@ -11,14 +11,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:46+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Vietnamese (http://www.transifex.com/projects/p/manjaro-pamac/language/vi/)\n"
|
||||
"Language-Team: Vietnamese (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/vi/)\n"
|
||||
"Language: vi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: vi\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -224,6 +225,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/zh.po
15
po/zh.po
@ -8,14 +8,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 09:22+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Chinese (http://www.transifex.com/projects/p/manjaro-pamac/language/zh/)\n"
|
||||
"Language-Team: Chinese (http://www.transifex.com/projects/p/manjaro-pamac/"
|
||||
"language/zh/)\n"
|
||||
"Language: zh\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -221,6 +222,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
15
po/zh_CN.po
15
po/zh_CN.po
@ -11,14 +11,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-07 17:47+0000\n"
|
||||
"Last-Translator: philm <philm@manjaro.org>\n"
|
||||
"Language-Team: Chinese (China) (http://www.transifex.com/projects/p/manjaro-pamac/language/zh_CN/)\n"
|
||||
"Language-Team: Chinese (China) (http://www.transifex.com/projects/p/manjaro-"
|
||||
"pamac/language/zh_CN/)\n"
|
||||
"Language: zh_CN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh_CN\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -224,6 +225,14 @@ msgstr ""
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr ""
|
||||
|
19
po/zh_TW.po
19
po/zh_TW.po
@ -10,14 +10,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: manjaro-pamac\n"
|
||||
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
|
||||
"POT-Creation-Date: 2015-01-04 09:41+0100\n"
|
||||
"POT-Creation-Date: 2015-03-04 14:36+0100\n"
|
||||
"PO-Revision-Date: 2015-01-06 13:57+0000\n"
|
||||
"Last-Translator: Jeff Huang <s8321414@gmail.com>\n"
|
||||
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/manjaro-pamac/language/zh_TW/)\n"
|
||||
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/manjaro-"
|
||||
"pamac/language/zh_TW/)\n"
|
||||
"Language: zh_TW\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh_TW\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: data/polkit/org.manjaro.pamac.policy
|
||||
@ -223,6 +224,14 @@ msgstr "初始化 alpm 函式庫失敗"
|
||||
msgid "Failed to synchronize any databases"
|
||||
msgstr "同步任何套件庫失敗"
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/daemon.vala
|
||||
msgid "Failed to init transaction"
|
||||
msgstr "初始化事務處理失敗"
|
||||
@ -621,7 +630,9 @@ msgid ""
|
||||
msgid_plural ""
|
||||
"%s has %u uninstalled optional dependencies.\n"
|
||||
"Choose those you would like to install:"
|
||||
msgstr[0] "%s 有 %u 個未安裝的選擇性依賴關係。\n選擇您所想要安裝的:"
|
||||
msgstr[0] ""
|
||||
"%s 有 %u 個未安裝的選擇性依賴關係。\n"
|
||||
"選擇您所想要安裝的:"
|
||||
|
||||
#: ../src/manager_window.vala
|
||||
msgid "Uninstalled"
|
||||
|
@ -559,9 +559,10 @@
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkNotebook" id="notebook2">
|
||||
<object class="GtkNotebook" id="properties_notebook">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<signal name="switch-page" handler="on_properties_notebook_switch_page" after="yes" swapped="no"/>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow" id="infos_scrolledwindow">
|
||||
<property name="visible">True</property>
|
||||
|
77
src/Makefile
77
src/Makefile
@ -2,20 +2,23 @@
|
||||
COMMON_VALA_FLAGS = --fatal-warnings \
|
||||
--pkg=libalpm \
|
||||
--pkg=gio-2.0 \
|
||||
--pkg=posix \
|
||||
--pkg=json-glib-1.0 \
|
||||
--pkg=libsoup-2.4 \
|
||||
--vapidir=../vapi \
|
||||
--Xcc=-I../util \
|
||||
-X -D_FILE_OFFSET_BITS=64 \
|
||||
-X -DGETTEXT_PACKAGE="pamac" \
|
||||
--target-glib=2.38
|
||||
|
||||
TRANSACTION_VALA_FLAGS = --pkg=json-glib-1.0 \
|
||||
--pkg=gtk+-3.0 \
|
||||
--pkg=gmodule-2.0 \
|
||||
--pkg=gdk-3.0 \
|
||||
--pkg=vte-2.91
|
||||
|
||||
COMMON_SOURCES = ../util/alpm-util.c \
|
||||
alpm_config.vala \
|
||||
common.vala \
|
||||
pamac_config.vala \
|
||||
aur.vala \
|
||||
common.vala
|
||||
mirrors_config.vala \
|
||||
package.vala \
|
||||
|
||||
MANAGER_GRESOURCE_FILE = ../resources/pamac.manager.gresource.xml
|
||||
|
||||
@ -23,7 +26,8 @@ UPDATER_GRESOURCE_FILE = ../resources/pamac.updater.gresource.xml
|
||||
|
||||
INSTALLER_GRESOURCE_FILE = ../resources/pamac.installer.gresource.xml
|
||||
|
||||
DIALOGS_FILES = choose_provider_dialog.vala \
|
||||
TRANSACTION_SOURCES = transaction.vala \
|
||||
choose_provider_dialog.vala \
|
||||
transaction_sum_dialog.vala \
|
||||
transaction_info_dialog.vala \
|
||||
preferences_dialog.vala \
|
||||
@ -39,69 +43,62 @@ pamac-refresh: refresh.vala
|
||||
--pkg=gio-2.0 \
|
||||
refresh.vala
|
||||
|
||||
pamac-daemon: ../vapi/libalpm.vapi ../vapi/polkit-gobject-1.vapi $(COMMON_SOURCES) mirrors_config.vala daemon.vala
|
||||
pamac-tray: common.vala pamac_config.vala tray.vala
|
||||
valac -o pamac-tray \
|
||||
--pkg=gio-2.0 \
|
||||
--pkg=gtk+-3.0 \
|
||||
--pkg=libnotify \
|
||||
-X -DGETTEXT_PACKAGE="pamac" \
|
||||
common.vala \
|
||||
pamac_config.vala \
|
||||
tray.vala
|
||||
|
||||
pamac-daemon: ../vapi/libalpm.vapi ../vapi/polkit-gobject-1.vapi $(COMMON_SOURCES) alpm_config.vala alpm_utils.vala aur.vala daemon.vala
|
||||
valac -o pamac-daemon \
|
||||
$(COMMON_VALA_FLAGS) \
|
||||
--pkg=posix \
|
||||
--pkg=json-glib-1.0 \
|
||||
--pkg=libsoup-2.4 \
|
||||
--pkg=polkit-gobject-1 \
|
||||
--thread \
|
||||
$(COMMON_SOURCES) \
|
||||
mirrors_config.vala \
|
||||
alpm_config.vala \
|
||||
aur.vala \
|
||||
alpm_utils.vala \
|
||||
daemon.vala
|
||||
|
||||
pamac-tray: ../vapi/libalpm.vapi $(COMMON_SOURCES) tray.vala
|
||||
valac -o pamac-tray \
|
||||
$(COMMON_VALA_FLAGS) \
|
||||
--pkg=gtk+-3.0 \
|
||||
--pkg=libnotify \
|
||||
$(COMMON_SOURCES) \
|
||||
tray.vala
|
||||
|
||||
pamac-manager: ../vapi/libalpm.vapi $(COMMON_SOURCES) $(DIALOGS_FILES) choose_dep_dialog.vala history_dialog.vala packages_chooser_dialog.vala ../resources/manager_resources.c package.vala mirrors_config.vala transaction.vala packages_model.vala manager_window.vala manager.vala
|
||||
pamac-manager: ../vapi/libalpm.vapi $(COMMON_SOURCES) $(TRANSACTION_SOURCES) choose_dep_dialog.vala history_dialog.vala packages_chooser_dialog.vala ../resources/manager_resources.c packages_model.vala manager_window.vala manager.vala
|
||||
valac -o pamac-manager \
|
||||
$(COMMON_VALA_FLAGS) \
|
||||
--pkg=gtk+-3.0 \
|
||||
--pkg=gmodule-2.0 \
|
||||
--pkg=gdk-3.0 \
|
||||
--pkg=vte-2.91 \
|
||||
$(TRANSACTION_VALA_FLAGS) \
|
||||
--gresources=$(MANAGER_GRESOURCE_FILE) \
|
||||
$(COMMON_SOURCES) \
|
||||
$(DIALOGS_FILES) \
|
||||
$(TRANSACTION_SOURCES) \
|
||||
choose_dep_dialog.vala \
|
||||
history_dialog.vala \
|
||||
packages_chooser_dialog.vala \
|
||||
../resources/manager_resources.c \
|
||||
package.vala \
|
||||
mirrors_config.vala \
|
||||
transaction.vala \
|
||||
packages_model.vala \
|
||||
manager_window.vala \
|
||||
manager.vala
|
||||
|
||||
pamac-updater: ../vapi/libalpm.vapi $(COMMON_SOURCES) $(DIALOGS_FILES) ../resources/updater_resources.c mirrors_config.vala transaction.vala updater_window.vala updater.vala
|
||||
pamac-updater: ../vapi/libalpm.vapi $(COMMON_SOURCES) $(TRANSACTION_SOURCES) ../resources/updater_resources.c updater_window.vala updater.vala
|
||||
valac -o pamac-updater \
|
||||
$(COMMON_VALA_FLAGS) \
|
||||
--pkg=gtk+-3.0 \
|
||||
--pkg=gmodule-2.0 \
|
||||
--pkg=vte-2.91 \
|
||||
$(TRANSACTION_VALA_FLAGS) \
|
||||
--gresources=$(UPDATER_GRESOURCE_FILE) \
|
||||
$(COMMON_SOURCES) \
|
||||
$(DIALOGS_FILES) \
|
||||
$(TRANSACTION_SOURCES) \
|
||||
../resources/updater_resources.c \
|
||||
mirrors_config.vala \
|
||||
transaction.vala \
|
||||
updater_window.vala \
|
||||
updater.vala
|
||||
|
||||
pamac-install: ../vapi/libalpm.vapi $(COMMON_SOURCES) $(DIALOGS_FILES) ../resources/installer_resources.c mirrors_config.vala transaction.vala installer.vala
|
||||
pamac-install: ../vapi/libalpm.vapi $(COMMON_SOURCES) $(TRANSACTION_SOURCES) ../resources/installer_resources.c installer.vala
|
||||
valac -o pamac-install \
|
||||
$(COMMON_VALA_FLAGS) \
|
||||
--pkg=gtk+-3.0 \
|
||||
--pkg=gmodule-2.0 \
|
||||
--pkg=vte-2.91 \
|
||||
$(TRANSACTION_VALA_FLAGS) \
|
||||
--gresources=$(INSTALLER_GRESOURCE_FILE) \
|
||||
$(COMMON_SOURCES) \
|
||||
$(DIALOGS_FILES) \
|
||||
$(TRANSACTION_SOURCES) \
|
||||
../resources/installer_resources.c \
|
||||
mirrors_config.vala \
|
||||
transaction.vala \
|
||||
installer.vala
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014, 2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -100,8 +100,9 @@ namespace Alpm {
|
||||
|
||||
public void get_handle () {
|
||||
Alpm.Errno error;
|
||||
if (handle != null)
|
||||
if (handle != null) {
|
||||
Handle.release (handle);
|
||||
}
|
||||
handle = Handle.new (rootdir, dbpath, out error);
|
||||
if (handle == null) {
|
||||
stderr.printf ("Failed to initialize alpm library" + " (%s)\n".printf(Alpm.strerror (error)));
|
||||
@ -127,14 +128,16 @@ namespace Alpm {
|
||||
// register dbs
|
||||
foreach (var repo in repo_order) {
|
||||
unowned DB db = handle.register_syncdb (repo.name, repo.siglevel);
|
||||
foreach (var url in repo.urls)
|
||||
foreach (var url in repo.urls) {
|
||||
db.add_server (url.replace ("$repo", repo.name).replace ("$arch", handle.arch));
|
||||
if (repo.usage == 0)
|
||||
}
|
||||
if (repo.usage == 0) {
|
||||
db.usage = DB.Usage.ALL;
|
||||
else
|
||||
} else {
|
||||
db.usage = repo.usage;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void parse_file (string path, string? section = null) {
|
||||
string? current_section = section;
|
||||
@ -149,11 +152,15 @@ namespace Alpm {
|
||||
string line;
|
||||
// Read lines until end of file (null) is reached
|
||||
while ((line = dis.read_line (null)) != null) {
|
||||
if (line.length == 0) continue;
|
||||
if (line.length == 0) {
|
||||
continue;
|
||||
}
|
||||
// ignore whole line and end of line comments
|
||||
string[] splitted = line.split ("#", 2);
|
||||
line = splitted[0].strip ();
|
||||
if (line.length == 0) continue;
|
||||
if (line.length == 0) {
|
||||
continue;
|
||||
}
|
||||
if (line[0] == '[' && line[line.length-1] == ']') {
|
||||
current_section = line[1:-1];
|
||||
if (current_section != "options") {
|
||||
@ -165,71 +172,83 @@ namespace Alpm {
|
||||
splitted = line.split ("=", 2);
|
||||
string _key = splitted[0].strip ();
|
||||
string? _value = null;
|
||||
if (splitted[1] != null)
|
||||
if (splitted[1] != null) {
|
||||
_value = splitted[1].strip ();
|
||||
if (_key == "Include")
|
||||
}
|
||||
if (_key == "Include") {
|
||||
parse_file (_value, current_section);
|
||||
}
|
||||
if (current_section == "options") {
|
||||
if (_key == "GPGDir")
|
||||
if (_key == "GPGDir") {
|
||||
gpgdir = _value;
|
||||
else if (_key == "LogFile")
|
||||
} else if (_key == "LogFile") {
|
||||
logfile = _value;
|
||||
else if (_key == "Architecture") {
|
||||
if (_value == "auto")
|
||||
} else if (_key == "Architecture") {
|
||||
if (_value == "auto") {
|
||||
arch = Posix.utsname ().machine;
|
||||
else
|
||||
} else {
|
||||
arch = _value;
|
||||
} else if (_key == "UseDelta")
|
||||
}
|
||||
} else if (_key == "UseDelta") {
|
||||
deltaratio = double.parse (_value);
|
||||
else if (_key == "UseSysLog")
|
||||
} else if (_key == "UseSysLog") {
|
||||
usesyslog = 1;
|
||||
else if (_key == "CheckSpace")
|
||||
} else if (_key == "CheckSpace") {
|
||||
checkspace = 1;
|
||||
else if (_key == "SigLevel")
|
||||
} else if (_key == "SigLevel") {
|
||||
defaultsiglevel = define_siglevel (defaultsiglevel, _value);
|
||||
else if (_key == "LocalFileSigLevel")
|
||||
} else if (_key == "LocalFileSigLevel") {
|
||||
localfilesiglevel = define_siglevel (localfilesiglevel, _value);
|
||||
else if (_key == "RemoteFileSigLevel")
|
||||
} else if (_key == "RemoteFileSigLevel") {
|
||||
remotefilesiglevel = define_siglevel (remotefilesiglevel, _value);
|
||||
else if (_key == "HoldPkg") {
|
||||
foreach (string name in _value.split (" "))
|
||||
} else if (_key == "HoldPkg") {
|
||||
foreach (string name in _value.split (" ")) {
|
||||
holdpkgs.append (name);
|
||||
}
|
||||
} else if (_key == "SyncFirst") {
|
||||
syncfirst = _value;
|
||||
foreach (string name in _value.split (" "))
|
||||
foreach (string name in _value.split (" ")) {
|
||||
syncfirsts.append (name);
|
||||
}
|
||||
} else if (_key == "CacheDir") {
|
||||
foreach (string dir in _value.split (" "))
|
||||
foreach (string dir in _value.split (" ")) {
|
||||
cachedirs->add_str (dir);
|
||||
}
|
||||
} else if (_key == "IgnoreGroup") {
|
||||
foreach (string name in _value.split (" "))
|
||||
foreach (string name in _value.split (" ")) {
|
||||
ignoregroups->add_str (name);
|
||||
}
|
||||
} else if (_key == "IgnorePkg") {
|
||||
ignorepkg = _value;
|
||||
foreach (string name in _value.split (" "))
|
||||
foreach (string name in _value.split (" ")) {
|
||||
ignorepkgs->add_str (name);
|
||||
}
|
||||
} else if (_key == "Noextract") {
|
||||
foreach (string name in _value.split (" "))
|
||||
foreach (string name in _value.split (" ")) {
|
||||
noextracts->add_str (name);
|
||||
}
|
||||
} else if (_key == "NoUpgrade") {
|
||||
foreach (string name in _value.split (" "))
|
||||
foreach (string name in _value.split (" ")) {
|
||||
noupgrades->add_str (name);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
foreach (var repo in repo_order) {
|
||||
if (repo.name == current_section) {
|
||||
if (_key == "Server")
|
||||
if (_key == "Server") {
|
||||
repo.urls += _value;
|
||||
else if (_key == "SigLevel") {
|
||||
if (repo.siglevel == Signature.Level.USE_DEFAULT)
|
||||
} else if (_key == "SigLevel") {
|
||||
if (repo.siglevel == Signature.Level.USE_DEFAULT) {
|
||||
repo.siglevel = defaultsiglevel;
|
||||
}
|
||||
repo.siglevel = define_siglevel (repo.siglevel, _value);
|
||||
} else if (_key == "Usage")
|
||||
} else if (_key == "Usage") {
|
||||
repo.usage = define_usage (_value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (GLib.Error e) {
|
||||
GLib.stderr.printf("%s\n", e.message);
|
||||
}
|
||||
@ -238,9 +257,9 @@ namespace Alpm {
|
||||
|
||||
public void write (HashTable<string,Variant> new_conf) {
|
||||
var file = GLib.File.new_for_path (conf_path);
|
||||
if (file.query_exists () == false)
|
||||
if (file.query_exists () == false) {
|
||||
GLib.stderr.printf ("File '%s' doesn't exist.\n", conf_path);
|
||||
else {
|
||||
} else {
|
||||
try {
|
||||
// Open file for reading and wrap returned FileInputStream into a
|
||||
// DataInputStream, so we can read line by line
|
||||
@ -256,33 +275,40 @@ namespace Alpm {
|
||||
if (line.contains ("IgnorePkg")) {
|
||||
if (new_conf.contains ("IgnorePkg")) {
|
||||
string _value = new_conf.get ("IgnorePkg").get_string ();
|
||||
if (_value == "")
|
||||
if (_value == "") {
|
||||
data += "#IgnorePkg =\n";
|
||||
else
|
||||
} else {
|
||||
data += "IgnorePkg = %s\n".printf (_value);
|
||||
} else
|
||||
}
|
||||
} else {
|
||||
data += line + "\n";
|
||||
}
|
||||
} else if (line.contains ("SyncFirst")) {
|
||||
if (new_conf.contains ("SyncFirst")) {
|
||||
string _value = new_conf.get ("SyncFirst").get_string ();
|
||||
if (_value == "")
|
||||
if (_value == "") {
|
||||
data += "#SyncFirst =\n";
|
||||
else
|
||||
} else {
|
||||
data += "SyncFirst = %s\n".printf (_value);
|
||||
} else
|
||||
}
|
||||
} else {
|
||||
data += line + "\n";
|
||||
}
|
||||
} else if (line.contains ("CheckSpace")) {
|
||||
if (new_conf.contains ("CheckSpace")) {
|
||||
int _value = new_conf.get ("CheckSpace").get_int32 ();
|
||||
if (_value == 1)
|
||||
bool _value = new_conf.get ("CheckSpace").get_boolean ();
|
||||
if (_value == true) {
|
||||
data += "CheckSpace\n";
|
||||
else
|
||||
} else {
|
||||
data += "#CheckSpace\n";
|
||||
} else
|
||||
}
|
||||
} else {
|
||||
data += line + "\n";
|
||||
} else
|
||||
}
|
||||
} else {
|
||||
data += line + "\n";
|
||||
}
|
||||
}
|
||||
// delete the file before rewrite it
|
||||
file.delete ();
|
||||
// creating a DataOutputStream to the file
|
||||
@ -319,11 +345,11 @@ namespace Alpm {
|
||||
foreach (string directive in conf_string.split(" ")) {
|
||||
bool affect_package = false;
|
||||
bool affect_database = false;
|
||||
if ("Package" in directive)
|
||||
if ("Package" in directive) {
|
||||
affect_package = true;
|
||||
else if ("Database" in directive)
|
||||
} else if ("Database" in directive) {
|
||||
affect_database = true;
|
||||
else {
|
||||
} else {
|
||||
affect_package = true;
|
||||
affect_database = true;
|
||||
}
|
||||
@ -332,8 +358,9 @@ namespace Alpm {
|
||||
default_level &= ~Signature.Level.PACKAGE;
|
||||
default_level |= Signature.Level.PACKAGE_SET;
|
||||
}
|
||||
if (affect_database)
|
||||
if (affect_database) {
|
||||
default_level &= ~Signature.Level.DATABASE;
|
||||
}
|
||||
} else if ("Optional" in directive) {
|
||||
if (affect_package) {
|
||||
default_level |= Signature.Level.PACKAGE;
|
||||
@ -374,10 +401,10 @@ namespace Alpm {
|
||||
default_level |= Signature.Level.DATABASE_MARGINAL_OK;
|
||||
default_level |= Signature.Level.DATABASE_UNKNOWN_OK;
|
||||
}
|
||||
}
|
||||
else
|
||||
} else {
|
||||
GLib.stderr.printf("unrecognized siglevel: %s\n", conf_string);
|
||||
}
|
||||
}
|
||||
default_level &= ~Signature.Level.USE_DEFAULT;
|
||||
return default_level;
|
||||
}
|
||||
|
75
src/alpm_utils.vala
Normal file
75
src/alpm_utils.vala
Normal file
@ -0,0 +1,75 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a get of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
public int pkgcmp (Alpm.Package pkg1, Alpm.Package pkg2) {
|
||||
return strcmp (pkg1.name, pkg2.name);
|
||||
}
|
||||
|
||||
public Alpm.List<unowned Alpm.Package?> search_all_dbs (Alpm.Handle handle, Alpm.List<string?> needles) {
|
||||
var syncpkgs = new Alpm.List<unowned Alpm.Package?> ();
|
||||
var result = handle.localdb.search (needles);
|
||||
|
||||
foreach (var db in handle.syncdbs) {
|
||||
if (syncpkgs.length == 0)
|
||||
syncpkgs = db.search (needles);
|
||||
else {
|
||||
syncpkgs.join (db.search (needles).diff (syncpkgs, (Alpm.List.CompareFunc) pkgcmp));
|
||||
}
|
||||
}
|
||||
|
||||
result.join (syncpkgs.diff (result, (Alpm.List.CompareFunc) pkgcmp));
|
||||
//result.sort ((Alpm.List.CompareFunc) pkgcmp);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public Alpm.List<unowned Alpm.Package?> group_pkgs (Alpm.Handle handle, string grp_name) {
|
||||
var result = new Alpm.List<unowned Alpm.Package?> ();
|
||||
|
||||
unowned Alpm.Group? grp = handle.localdb.get_group (grp_name);
|
||||
if (grp != null) {
|
||||
foreach (var pkg in grp.packages)
|
||||
result.add (pkg);
|
||||
}
|
||||
|
||||
result.join (Alpm.find_group_pkgs (handle.syncdbs, grp_name).diff (result, (Alpm.List.CompareFunc) pkgcmp));
|
||||
|
||||
//result.sort ((Alpm.List.CompareFunc) pkgcmp);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public Alpm.List<unowned Alpm.Package?> all_pkgs (Alpm.Handle handle) {
|
||||
var syncpkgs = new Alpm.List<unowned Alpm.Package?> ();
|
||||
var result = new Alpm.List<unowned Alpm.Package?> ();
|
||||
result = handle.localdb.pkgcache.copy ();
|
||||
|
||||
foreach (var db in handle.syncdbs) {
|
||||
if (syncpkgs.length == 0)
|
||||
syncpkgs = db.pkgcache.copy ();
|
||||
else {
|
||||
syncpkgs.join (db.pkgcache.diff (syncpkgs, (Alpm.List.CompareFunc) pkgcmp));
|
||||
}
|
||||
}
|
||||
|
||||
result.join (syncpkgs.diff (result, (Alpm.List.CompareFunc) pkgcmp));
|
||||
//result.sort ((Alpm.List.CompareFunc) pkgcmp);
|
||||
|
||||
return result;
|
||||
}
|
21
src/aur.vala
21
src/aur.vala
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -41,11 +41,16 @@ namespace AUR {
|
||||
}
|
||||
unowned Json.Node? root = parser.get_root ();
|
||||
if (root != null) {
|
||||
if (root.get_object ().get_string_member ("type") == "error") {
|
||||
stderr.printf ("Failed to search %s from AUR\n", needles[0]);
|
||||
} else {
|
||||
prev_inter = root.get_object ().get_array_member ("results");
|
||||
}
|
||||
}
|
||||
int length = needles.length;
|
||||
if (length == 1)
|
||||
if (length == 1) {
|
||||
return prev_inter;
|
||||
}
|
||||
int i = 1;
|
||||
var inter = new Json.Array ();
|
||||
var found = new Json.Array ();
|
||||
@ -61,8 +66,12 @@ namespace AUR {
|
||||
}
|
||||
root = parser.get_root ();
|
||||
if (root != null) {
|
||||
if (root.get_object ().get_string_member ("type") == "error") {
|
||||
stderr.printf ("Failed to search %s from AUR\n", needles[i]);
|
||||
} else {
|
||||
found = root.get_object ().get_array_member ("results");
|
||||
}
|
||||
}
|
||||
foreach (var prev_inter_node in prev_inter.get_elements ()) {
|
||||
foreach (var found_node in found.get_elements ()) {
|
||||
if (strcmp (prev_inter_node.get_object ().get_string_member ("Name"),
|
||||
@ -94,8 +103,12 @@ namespace AUR {
|
||||
}
|
||||
unowned Json.Node? root = parser.get_root ();
|
||||
if (root != null) {
|
||||
if (root.get_object ().get_string_member ("type") == "error") {
|
||||
stderr.printf ("Failed to get infos about %s from AUR\n", pkgname);
|
||||
} else {
|
||||
pkg_info = root.get_object ().get_object_member ("results");
|
||||
}
|
||||
}
|
||||
return pkg_info;
|
||||
}
|
||||
|
||||
@ -119,8 +132,12 @@ namespace AUR {
|
||||
}
|
||||
unowned Json.Node? root = parser.get_root ();
|
||||
if (root != null) {
|
||||
if (root.get_object ().get_string_member ("type") == "error") {
|
||||
stderr.printf ("Failed to multiinfo %s from AUR\n", builder.str);
|
||||
} else {
|
||||
results = root.get_object ().get_array_member ("results");
|
||||
}
|
||||
}
|
||||
return results;
|
||||
}
|
||||
}
|
||||
|
168
src/common.vala
168
src/common.vala
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
namespace Pamac {
|
||||
public struct UpdatesInfos {
|
||||
public struct UpdateInfos {
|
||||
public string name;
|
||||
public string version;
|
||||
public string db_name;
|
||||
@ -26,6 +26,12 @@ namespace Pamac {
|
||||
public uint64 download_size;
|
||||
}
|
||||
|
||||
public struct Updates {
|
||||
public bool is_syncfirst;
|
||||
public UpdateInfos[] repos_updates;
|
||||
public UpdateInfos[] aur_updates;
|
||||
}
|
||||
|
||||
public enum Mode {
|
||||
MANAGER,
|
||||
UPDATER
|
||||
@ -51,161 +57,3 @@ public string format_size (uint64 size) {
|
||||
return size_string;
|
||||
}
|
||||
}
|
||||
|
||||
public int pkgcmp (Alpm.Package pkg1, Alpm.Package pkg2) {
|
||||
return strcmp (pkg1.name, pkg2.name);
|
||||
}
|
||||
|
||||
public Alpm.List<unowned Alpm.Package?> search_all_dbs (Alpm.Handle handle, Alpm.List<string?> needles) {
|
||||
var syncpkgs = new Alpm.List<unowned Alpm.Package?> ();
|
||||
var result = handle.localdb.search (needles);
|
||||
|
||||
foreach (var db in handle.syncdbs) {
|
||||
if (syncpkgs.length == 0)
|
||||
syncpkgs = db.search (needles);
|
||||
else {
|
||||
syncpkgs.join (db.search (needles).diff (syncpkgs, (Alpm.List.CompareFunc) pkgcmp));
|
||||
}
|
||||
}
|
||||
|
||||
result.join (syncpkgs.diff (result, (Alpm.List.CompareFunc) pkgcmp));
|
||||
//result.sort ((Alpm.List.CompareFunc) pkgcmp);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public Alpm.List<unowned Alpm.Package?> group_pkgs_all_dbs (Alpm.Handle handle, string grp_name) {
|
||||
var result = new Alpm.List<unowned Alpm.Package?> ();
|
||||
|
||||
unowned Alpm.Group? grp = handle.localdb.get_group (grp_name);
|
||||
if (grp != null) {
|
||||
foreach (var pkg in grp.packages)
|
||||
result.add (pkg);
|
||||
}
|
||||
|
||||
result.join (Alpm.find_group_pkgs (handle.syncdbs, grp_name).diff (result, (Alpm.List.CompareFunc) pkgcmp));
|
||||
|
||||
//result.sort ((Alpm.List.CompareFunc) pkgcmp);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public Alpm.List<unowned Alpm.Package?> get_all_pkgs (Alpm.Handle handle) {
|
||||
var syncpkgs = new Alpm.List<unowned Alpm.Package?> ();
|
||||
var result = new Alpm.List<unowned Alpm.Package?> ();
|
||||
result = handle.localdb.pkgcache.copy ();
|
||||
|
||||
foreach (var db in handle.syncdbs) {
|
||||
if (syncpkgs.length == 0)
|
||||
syncpkgs = db.pkgcache.copy ();
|
||||
else {
|
||||
syncpkgs.join (db.pkgcache.diff (syncpkgs, (Alpm.List.CompareFunc) pkgcmp));
|
||||
}
|
||||
}
|
||||
|
||||
result.join (syncpkgs.diff (result, (Alpm.List.CompareFunc) pkgcmp));
|
||||
//result.sort ((Alpm.List.CompareFunc) pkgcmp);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public unowned Alpm.Package? get_syncpkg (Alpm.Handle handle, string name) {
|
||||
unowned Alpm.Package? pkg = null;
|
||||
foreach (var db in handle.syncdbs) {
|
||||
pkg = db.get_pkg (name);
|
||||
if (pkg != null)
|
||||
break;
|
||||
}
|
||||
return pkg;
|
||||
}
|
||||
|
||||
public Pamac.UpdatesInfos[] get_syncfirst_updates (Alpm.Handle handle, GLib.List<string> syncfirsts) {
|
||||
Pamac.UpdatesInfos infos = Pamac.UpdatesInfos ();
|
||||
Pamac.UpdatesInfos[] syncfirst_infos = {};
|
||||
unowned Alpm.Package? pkg = null;
|
||||
unowned Alpm.Package? candidate = null;
|
||||
foreach (var name in syncfirsts) {
|
||||
pkg = Alpm.find_satisfier (handle.localdb.pkgcache, name);
|
||||
if (pkg != null) {
|
||||
candidate = pkg.sync_newversion (handle.syncdbs);
|
||||
if (candidate != null) {
|
||||
infos.name = candidate.name;
|
||||
infos.version = candidate.version;
|
||||
infos.db_name = candidate.db.name;
|
||||
infos.tarpath = "";
|
||||
infos.download_size = candidate.download_size;
|
||||
syncfirst_infos += infos;
|
||||
}
|
||||
}
|
||||
}
|
||||
return syncfirst_infos;
|
||||
}
|
||||
|
||||
public Pamac.UpdatesInfos[] get_repos_updates (Alpm.Handle handle) {
|
||||
unowned Alpm.Package? candidate = null;
|
||||
Pamac.UpdatesInfos infos = Pamac.UpdatesInfos ();
|
||||
Pamac.UpdatesInfos[] updates = {};
|
||||
foreach (var local_pkg in handle.localdb.pkgcache) {
|
||||
// continue only if the local pkg is not in IgnorePkg or IgnoreGroup
|
||||
if (handle.should_ignore (local_pkg) == 0) {
|
||||
candidate = local_pkg.sync_newversion (handle.syncdbs);
|
||||
if (candidate != null) {
|
||||
infos.name = candidate.name;
|
||||
infos.version = candidate.version;
|
||||
infos.db_name = candidate.db.name;
|
||||
infos.tarpath = "";
|
||||
infos.download_size = candidate.download_size;
|
||||
updates += infos;
|
||||
}
|
||||
}
|
||||
}
|
||||
return updates;
|
||||
}
|
||||
|
||||
public Pamac.UpdatesInfos[] get_aur_updates (Alpm.Handle handle) {
|
||||
unowned Alpm.Package? sync_pkg = null;
|
||||
unowned Alpm.Package? candidate = null;
|
||||
string[] local_pkgs = {};
|
||||
Pamac.UpdatesInfos infos = Pamac.UpdatesInfos ();
|
||||
Pamac.UpdatesInfos[] aur_updates = {};
|
||||
// get local pkgs
|
||||
foreach (var local_pkg in handle.localdb.pkgcache) {
|
||||
// continue only if the local pkg is not in IgnorePkg or IgnoreGroup
|
||||
if (handle.should_ignore (local_pkg) == 0) {
|
||||
// check updates from AUR only for local packages
|
||||
foreach (var db in handle.syncdbs) {
|
||||
sync_pkg = Alpm.find_satisfier (db.pkgcache, local_pkg.name);
|
||||
if (sync_pkg != null)
|
||||
break;
|
||||
}
|
||||
if (sync_pkg == null) {
|
||||
// check update from AUR only if no package from dbs will replace it
|
||||
candidate = local_pkg.sync_newversion (handle.syncdbs);
|
||||
if (candidate == null) {
|
||||
local_pkgs += local_pkg.name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// get aur updates
|
||||
var aur_pkgs = AUR.multiinfo (local_pkgs);
|
||||
int cmp;
|
||||
unowned Json.Object pkg_info;
|
||||
string version;
|
||||
string name;
|
||||
foreach (var node in aur_pkgs.get_elements ()) {
|
||||
pkg_info = node.get_object ();
|
||||
version = pkg_info.get_string_member ("Version");
|
||||
name = pkg_info.get_string_member ("Name");
|
||||
cmp = Alpm.pkg_vercmp (version, handle.localdb.get_pkg (name).version);
|
||||
if (cmp == 1) {
|
||||
infos.name = name;
|
||||
infos.version = version;
|
||||
infos.db_name = "AUR";
|
||||
infos.tarpath = pkg_info.get_string_member ("URLPath");
|
||||
infos.download_size = 0;
|
||||
aur_updates += infos;
|
||||
}
|
||||
}
|
||||
return aur_updates;
|
||||
}
|
||||
|
653
src/daemon.vala
653
src/daemon.vala
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -35,6 +35,9 @@ namespace Pamac {
|
||||
public Mutex provider_mutex;
|
||||
public int? choosen_provider;
|
||||
private Mutex databases_lock_mutex;
|
||||
private HashTable<string, Json.Array> aur_results;
|
||||
private UpdateInfos[] aur_updates;
|
||||
private bool aur_updates_checked;
|
||||
|
||||
public signal void emit_event (uint primary_event, uint secondary_event, string[] details);
|
||||
public signal void emit_providers (string depend, string[] providers);
|
||||
@ -42,16 +45,24 @@ namespace Pamac {
|
||||
public signal void emit_download (string filename, uint64 xfered, uint64 total);
|
||||
public signal void emit_totaldownload (uint64 total);
|
||||
public signal void emit_log (uint level, string msg);
|
||||
public signal void emit_refreshed (ErrorInfos error);
|
||||
public signal void emit_trans_prepared (ErrorInfos error);
|
||||
public signal void emit_trans_committed (ErrorInfos error);
|
||||
public signal void emit_generate_mirrorlist_start ();
|
||||
public signal void emit_generate_mirrorlist_data (string line);
|
||||
public signal void emit_generate_mirrorlist_finished ();
|
||||
public signal void set_pkgreason_finished ();
|
||||
public signal void refresh_finished (ErrorInfos error);
|
||||
public signal void trans_prepare_finished (ErrorInfos error);
|
||||
public signal void trans_commit_finished (ErrorInfos error);
|
||||
public signal void write_pamac_config_finished (int refresh_period, bool enable_aur, bool recurse);
|
||||
public signal void write_alpm_config_finished ();
|
||||
public signal void write_mirrors_config_finished ();
|
||||
public signal void generate_mirrorlist_start ();
|
||||
public signal void generate_mirrorlist_data (string line);
|
||||
public signal void generate_mirrorlist_finished ();
|
||||
|
||||
public Daemon () {
|
||||
alpm_config = new Alpm.Config ("/etc/pacman.conf");
|
||||
databases_lock_mutex = Mutex ();
|
||||
aur_results = new HashTable<string, Json.Array> (str_hash, str_equal);
|
||||
aur_updates = {};
|
||||
aur_updates_checked = false;
|
||||
refresh_handle ();
|
||||
}
|
||||
|
||||
private void refresh_handle () {
|
||||
@ -59,7 +70,7 @@ namespace Pamac {
|
||||
if (alpm_config.handle == null) {
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
err.str = _("Failed to initialize alpm library");
|
||||
emit_trans_committed (err);
|
||||
trans_commit_finished (err);
|
||||
} else {
|
||||
alpm_config.handle.eventcb = (EventCallBack) cb_event;
|
||||
alpm_config.handle.progresscb = (ProgressCallBack) cb_progress;
|
||||
@ -71,71 +82,86 @@ namespace Pamac {
|
||||
previous_percent = 0;
|
||||
}
|
||||
|
||||
public void write_pamac_config (HashTable<string,Variant> new_pamac_conf, GLib.BusName sender) {
|
||||
public void start_write_pamac_config (HashTable<string,Variant> new_pamac_conf, GLib.BusName sender) {
|
||||
var pamac_config = new Pamac.Config ("/etc/pamac.conf");
|
||||
try {
|
||||
Polkit.Authority authority = Polkit.Authority.get_sync (null);
|
||||
Polkit.Subject subject = Polkit.SystemBusName.new (sender);
|
||||
Polkit.AuthorizationResult result = authority.check_authorization_sync (
|
||||
authority.check_authorization.begin (
|
||||
subject,
|
||||
"org.manjaro.pamac.commit",
|
||||
null,
|
||||
Polkit.CheckAuthorizationFlags.ALLOW_USER_INTERACTION,
|
||||
null
|
||||
);
|
||||
null,
|
||||
(obj, res) => {
|
||||
try {
|
||||
var result = authority.check_authorization.end (res);
|
||||
if (result.get_is_authorized ()) {
|
||||
pamac_config.write (new_pamac_conf);
|
||||
pamac_config.reload ();
|
||||
write_pamac_config_finished (pamac_config.refresh_period, pamac_config.enable_aur, pamac_config.recurse);
|
||||
}
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
}
|
||||
);
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
}
|
||||
|
||||
public void write_alpm_config (HashTable<string,Variant> new_alpm_conf, GLib.BusName sender) {
|
||||
public void start_write_alpm_config (HashTable<string,Variant> new_alpm_conf, GLib.BusName sender) {
|
||||
try {
|
||||
Polkit.Authority authority = Polkit.Authority.get_sync (null);
|
||||
Polkit.Subject subject = Polkit.SystemBusName.new (sender);
|
||||
Polkit.AuthorizationResult result = authority.check_authorization_sync (
|
||||
authority.check_authorization.begin (
|
||||
subject,
|
||||
"org.manjaro.pamac.commit",
|
||||
null,
|
||||
Polkit.CheckAuthorizationFlags.ALLOW_USER_INTERACTION,
|
||||
null
|
||||
);
|
||||
null,
|
||||
(obj, res) => {
|
||||
try {
|
||||
var result = authority.check_authorization.end (res);
|
||||
if (result.get_is_authorized ()) {
|
||||
alpm_config.write (new_alpm_conf);
|
||||
alpm_config.reload ();
|
||||
write_alpm_config_finished ();
|
||||
}
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
}
|
||||
);
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
}
|
||||
|
||||
private bool process_line (IOChannel channel, IOCondition condition, string stream_name) {
|
||||
if (condition == IOCondition.HUP) {
|
||||
stdout.printf ("%s: The fd has been closed.\n", stream_name);
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
string line;
|
||||
channel.read_line (out line, null, null);
|
||||
emit_generate_mirrorlist_data (line);
|
||||
generate_mirrorlist_data (line);
|
||||
} catch (IOChannelError e) {
|
||||
stdout.printf ("%s: IOChannelError: %s\n", stream_name, e.message);
|
||||
stderr.printf ("%s: IOChannelError: %s\n", stream_name, e.message);
|
||||
return false;
|
||||
} catch (ConvertError e) {
|
||||
stdout.printf ("%s: ConvertError: %s\n", stream_name, e.message);
|
||||
stderr.printf ("%s: ConvertError: %s\n", stream_name, e.message);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private void generate_mirrorlist () {
|
||||
emit_generate_mirrorlist_start ();
|
||||
|
||||
generate_mirrorlist_start ();
|
||||
int standard_output;
|
||||
int standard_error;
|
||||
Pid child_pid;
|
||||
|
||||
try {
|
||||
Process.spawn_async_with_pipes (null,
|
||||
{"pacman-mirrors", "-g"},
|
||||
@ -149,81 +175,94 @@ namespace Pamac {
|
||||
} catch (SpawnError e) {
|
||||
stdout.printf ("SpawnError: %s\n", e.message);
|
||||
}
|
||||
|
||||
// stdout:
|
||||
IOChannel output = new IOChannel.unix_new (standard_output);
|
||||
output.add_watch (IOCondition.IN | IOCondition.HUP, (channel, condition) => {
|
||||
return process_line (channel, condition, "stdout");
|
||||
});
|
||||
|
||||
// stderr:
|
||||
IOChannel error = new IOChannel.unix_new (standard_error);
|
||||
error.add_watch (IOCondition.IN | IOCondition.HUP, (channel, condition) => {
|
||||
return process_line (channel, condition, "stderr");
|
||||
});
|
||||
|
||||
ChildWatch.add (child_pid, (pid, status) => {
|
||||
// Triggered when the child indicated by child_pid exits
|
||||
Process.close_pid (pid);
|
||||
alpm_config.reload ();
|
||||
refresh_handle ();
|
||||
emit_generate_mirrorlist_finished ();
|
||||
generate_mirrorlist_finished ();
|
||||
});
|
||||
}
|
||||
|
||||
public void write_mirrors_config (HashTable<string,Variant> new_mirrors_conf, GLib.BusName sender) {
|
||||
public void start_write_mirrors_config (HashTable<string,Variant> new_mirrors_conf, GLib.BusName sender) {
|
||||
var mirrors_config = new Alpm.MirrorsConfig ("/etc/pacman-mirrors.conf");
|
||||
try {
|
||||
Polkit.Authority authority = Polkit.Authority.get_sync (null);
|
||||
Polkit.Subject subject = Polkit.SystemBusName.new (sender);
|
||||
Polkit.AuthorizationResult result = authority.check_authorization_sync (
|
||||
authority.check_authorization.begin (
|
||||
subject,
|
||||
"org.manjaro.pamac.commit",
|
||||
null,
|
||||
Polkit.CheckAuthorizationFlags.ALLOW_USER_INTERACTION,
|
||||
null
|
||||
);
|
||||
null,
|
||||
(obj, res) => {
|
||||
try {
|
||||
var result = authority.check_authorization.end (res);
|
||||
if (result.get_is_authorized ()) {
|
||||
mirrors_config.write (new_mirrors_conf);
|
||||
write_mirrors_config_finished ();
|
||||
generate_mirrorlist ();
|
||||
}
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
}
|
||||
);
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
}
|
||||
|
||||
public void set_pkgreason (string pkgname, uint reason, GLib.BusName sender) {
|
||||
public void start_set_pkgreason (string pkgname, uint reason, GLib.BusName sender) {
|
||||
try {
|
||||
Polkit.Authority authority = Polkit.Authority.get_sync (null);
|
||||
Polkit.Subject subject = Polkit.SystemBusName.new (sender);
|
||||
Polkit.AuthorizationResult result = authority.check_authorization_sync (
|
||||
authority.check_authorization.begin (
|
||||
subject,
|
||||
"org.manjaro.pamac.commit",
|
||||
null,
|
||||
Polkit.CheckAuthorizationFlags.ALLOW_USER_INTERACTION,
|
||||
null
|
||||
);
|
||||
null,
|
||||
(obj, res) => {
|
||||
try {
|
||||
var result = authority.check_authorization.end (res);
|
||||
if (result.get_is_authorized ()) {
|
||||
refresh_handle ();
|
||||
unowned Package? pkg = alpm_config.handle.localdb.get_pkg (pkgname);
|
||||
unowned Alpm.Package? pkg = alpm_config.handle.localdb.get_pkg (pkgname);
|
||||
if (pkg != null) {
|
||||
pkg.reason = (Package.Reason) reason;
|
||||
pkg.reason = (Alpm.Package.Reason) reason;
|
||||
refresh_handle ();
|
||||
set_pkgreason_finished ();
|
||||
}
|
||||
}
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
}
|
||||
);
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
}
|
||||
|
||||
public void refresh (int force, bool emit_signal) {
|
||||
private async ErrorInfos refresh (int force) {
|
||||
SourceFunc callback = refresh.callback;
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
try {
|
||||
new Thread<int>.try ("refresh thread", () => {
|
||||
databases_lock_mutex.lock ();
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
string[] details = {};
|
||||
int success = 0;
|
||||
int ret;
|
||||
refresh_handle ();
|
||||
foreach (var db in alpm_config.handle.syncdbs) {
|
||||
ret = db.update (force);
|
||||
if (ret >= 0) {
|
||||
@ -237,39 +276,405 @@ namespace Pamac {
|
||||
details += Alpm.strerror (alpm_config.handle.errno ());
|
||||
err.details = details;
|
||||
}
|
||||
if (emit_signal) {
|
||||
emit_refreshed (err);
|
||||
}
|
||||
print("done\n");
|
||||
databases_lock_mutex.unlock ();
|
||||
Idle.add((owned) callback);
|
||||
return success;
|
||||
});
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
yield;
|
||||
return err;
|
||||
}
|
||||
|
||||
public UpdatesInfos[] get_updates () {
|
||||
public void start_refresh (int force, bool emit_finish_signal) {
|
||||
refresh.begin (force, (obj, res) => {
|
||||
var err = refresh.end (res);
|
||||
refresh_handle ();
|
||||
if (emit_finish_signal) {
|
||||
refresh_finished (err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public bool get_checkspace () {
|
||||
if (alpm_config.checkspace == 1) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public string get_syncfirst (){
|
||||
return alpm_config.syncfirst;
|
||||
}
|
||||
|
||||
public string get_ignorepkg () {
|
||||
return alpm_config.ignorepkg;
|
||||
}
|
||||
|
||||
public bool should_hold (string pkgname) {
|
||||
if (alpm_config.holdpkgs.find_custom (pkgname, strcmp) != null) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public async Pamac.Package[] get_all_pkgs () {
|
||||
Pamac.Package[] pkgs = {};
|
||||
var alpm_pkgs = all_pkgs (alpm_config.handle);
|
||||
foreach (var alpm_pkg in alpm_pkgs) {
|
||||
pkgs += Pamac.Package (alpm_pkg, null);
|
||||
}
|
||||
return pkgs;
|
||||
}
|
||||
|
||||
public async Pamac.Package[] get_installed_pkgs () {
|
||||
Pamac.Package[] pkgs = {};
|
||||
foreach (var alpm_pkg in alpm_config.handle.localdb.pkgcache) {
|
||||
pkgs += Pamac.Package (alpm_pkg, null);
|
||||
}
|
||||
return pkgs;
|
||||
}
|
||||
|
||||
public async Pamac.Package[] get_local_pkgs () {
|
||||
Pamac.Package[] pkgs = {};
|
||||
foreach (var alpm_pkg in alpm_config.handle.localdb.pkgcache) {
|
||||
bool sync_found = false;
|
||||
foreach (var db in alpm_config.handle.syncdbs) {
|
||||
unowned Alpm.Package? sync_pkg = db.get_pkg (alpm_pkg.name);
|
||||
if (sync_pkg != null) {
|
||||
sync_found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (sync_found == false) {
|
||||
pkgs += Pamac.Package (alpm_pkg, null);
|
||||
}
|
||||
}
|
||||
return pkgs;
|
||||
}
|
||||
|
||||
public async Pamac.Package[] get_orphans () {
|
||||
Pamac.Package[] pkgs = {};
|
||||
foreach (var alpm_pkg in alpm_config.handle.localdb.pkgcache) {
|
||||
if (alpm_pkg.reason == Alpm.Package.Reason.DEPEND) {
|
||||
Alpm.List<string?> *list = alpm_pkg.compute_requiredby ();
|
||||
if (list->length == 0) {
|
||||
pkgs += Pamac.Package (alpm_pkg, null);
|
||||
}
|
||||
Alpm.List.free_all (list);
|
||||
}
|
||||
}
|
||||
return pkgs;
|
||||
}
|
||||
|
||||
public Pamac.Package find_local_pkg (string pkgname) {
|
||||
return Pamac.Package (alpm_config.handle.localdb.get_pkg (pkgname), null);
|
||||
}
|
||||
|
||||
private unowned Alpm.Package? get_syncpkg (string name) {
|
||||
unowned Alpm.Package? pkg = null;
|
||||
foreach (var db in alpm_config.handle.syncdbs) {
|
||||
pkg = db.get_pkg (name);
|
||||
if (pkg != null) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return pkg;
|
||||
}
|
||||
|
||||
public Pamac.Package find_sync_pkg (string pkgname) {
|
||||
return Pamac.Package (get_syncpkg (pkgname), null);
|
||||
}
|
||||
|
||||
public async Pamac.Package[] search_pkgs (string search_string, bool search_aur) {
|
||||
Pamac.Package[] result = {};
|
||||
var needles = new Alpm.List<string> ();
|
||||
string[] splitted = search_string.split (" ");
|
||||
foreach (unowned string part in splitted) {
|
||||
needles.add (part);
|
||||
}
|
||||
var alpm_pkgs = search_all_dbs (alpm_config.handle, needles);
|
||||
foreach (var alpm_pkg in alpm_pkgs) {
|
||||
result += Pamac.Package (alpm_pkg, null);
|
||||
}
|
||||
if (search_aur) {
|
||||
Json.Array aur_pkgs;
|
||||
if (aur_results.contains (search_string)) {
|
||||
aur_pkgs = aur_results.get (search_string);
|
||||
} else {
|
||||
aur_pkgs = AUR.search (splitted);
|
||||
aur_results.insert (search_string, aur_pkgs);
|
||||
}
|
||||
foreach (var node in aur_pkgs.get_elements ()) {
|
||||
var aur_pkg = node.get_object ();
|
||||
var pamac_pkg = Pamac.Package (null, aur_pkg);
|
||||
bool found = false;
|
||||
foreach (var pkg in result) {
|
||||
if (pkg.name == pamac_pkg.name) {
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (found == false) {
|
||||
result += pamac_pkg;
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public string[] get_repos_names () {
|
||||
string[] repos_names = {};
|
||||
foreach (var db in alpm_config.handle.syncdbs) {
|
||||
repos_names += db.name;
|
||||
}
|
||||
return repos_names;
|
||||
}
|
||||
|
||||
public async Pamac.Package[] get_repo_pkgs (string repo) {
|
||||
Pamac.Package[] pkgs = {};
|
||||
unowned Alpm.Package? local_pkg = null;
|
||||
foreach (var db in alpm_config.handle.syncdbs) {
|
||||
if (db.name == repo) {
|
||||
foreach (var sync_pkg in db.pkgcache) {
|
||||
local_pkg = alpm_config.handle.localdb.get_pkg (sync_pkg.name);
|
||||
if (local_pkg != null) {
|
||||
pkgs += Pamac.Package (local_pkg, null);
|
||||
} else {
|
||||
pkgs += Pamac.Package (sync_pkg, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return pkgs;
|
||||
}
|
||||
|
||||
public string[] get_groups_names () {
|
||||
string[] groups_names = {};
|
||||
foreach (var db in alpm_config.handle.syncdbs) {
|
||||
foreach (var group in db.groupcache) {
|
||||
if ((group.name in groups_names) == false) {
|
||||
groups_names += group.name;
|
||||
}
|
||||
}
|
||||
}
|
||||
return groups_names;
|
||||
}
|
||||
|
||||
public async Pamac.Package[] get_group_pkgs (string group_name) {
|
||||
Pamac.Package[] pkgs = {};
|
||||
var alpm_pkgs = group_pkgs (alpm_config.handle, group_name);
|
||||
foreach (var alpm_pkg in alpm_pkgs) {
|
||||
pkgs += Pamac.Package (alpm_pkg, null);
|
||||
}
|
||||
return pkgs;
|
||||
}
|
||||
|
||||
public string[] get_pkg_files (string pkgname) {
|
||||
string[] files = {};
|
||||
unowned Alpm.Package? alpm_pkg = alpm_config.handle.localdb.get_pkg (pkgname);
|
||||
if (alpm_pkg != null) {
|
||||
foreach (var file in alpm_pkg.files) {
|
||||
files += file.name;
|
||||
}
|
||||
}
|
||||
return files;
|
||||
}
|
||||
|
||||
public string[] get_pkg_uninstalled_optdeps (string pkgname) {
|
||||
string[] optdeps = {};
|
||||
unowned Alpm.Package? alpm_pkg = alpm_config.handle.localdb.get_pkg (pkgname);
|
||||
if (alpm_pkg != null) {
|
||||
foreach (unowned Depend optdep in alpm_pkg.optdepends) {
|
||||
if (find_satisfier (alpm_config.handle.localdb.pkgcache, optdep.name) == null) {
|
||||
optdeps += optdep.compute_string ();
|
||||
}
|
||||
}
|
||||
}
|
||||
return optdeps;
|
||||
}
|
||||
|
||||
public PackageDetails get_pkg_details (string pkgname) {
|
||||
string repo = "";
|
||||
string has_signature = _("No");
|
||||
int reason = 0;
|
||||
string packager = "";
|
||||
string install_date = "";
|
||||
string[] groups = {};
|
||||
string[] backups = {};
|
||||
var details = PackageDetails ();
|
||||
unowned Alpm.Package? alpm_pkg = alpm_config.handle.localdb.get_pkg (pkgname);
|
||||
if (alpm_pkg == null) {
|
||||
alpm_pkg = get_syncpkg (pkgname);
|
||||
}
|
||||
if (alpm_pkg != null) {
|
||||
repo = alpm_pkg.db.name;
|
||||
packager = alpm_pkg.packager;
|
||||
foreach (var group in alpm_pkg.groups) {
|
||||
groups += group;
|
||||
}
|
||||
if (alpm_pkg.db.name == "local") {
|
||||
reason = alpm_pkg.reason;
|
||||
GLib.Time time = GLib.Time.local ((time_t) alpm_pkg.installdate);
|
||||
install_date = time.format ("%a %d %b %Y %X %Z");
|
||||
foreach (var backup in alpm_pkg.backups) {
|
||||
backups += backup.name;
|
||||
}
|
||||
} else {
|
||||
has_signature = alpm_pkg.base64_sig != null ? _("Yes") : _("No");
|
||||
}
|
||||
}
|
||||
details.repo = repo;
|
||||
details.has_signature = has_signature;
|
||||
details.reason = reason;
|
||||
details.packager = packager;
|
||||
details.install_date = install_date;
|
||||
details.groups = groups;
|
||||
details.backups = backups;
|
||||
return details;
|
||||
}
|
||||
|
||||
public PackageDeps get_pkg_deps (string pkgname) {
|
||||
string repo = "";
|
||||
string[] depends = {};
|
||||
string[] optdepends = {};
|
||||
string[] requiredby = {};
|
||||
string[] provides = {};
|
||||
string[] replaces = {};
|
||||
string[] conflicts = {};
|
||||
var deps = PackageDeps ();
|
||||
unowned Alpm.Package? alpm_pkg = alpm_config.handle.localdb.get_pkg (pkgname);
|
||||
if (alpm_pkg == null) {
|
||||
alpm_pkg = get_syncpkg (pkgname);
|
||||
}
|
||||
if (alpm_pkg != null) {
|
||||
repo = alpm_pkg.db.name;
|
||||
foreach (var depend in alpm_pkg.depends) {
|
||||
depends += depend.compute_string ();
|
||||
}
|
||||
foreach (var optdepend in alpm_pkg.optdepends) {
|
||||
optdepends += optdepend.compute_string ();
|
||||
}
|
||||
foreach (var provide in alpm_pkg.provides) {
|
||||
provides += provide.compute_string ();
|
||||
}
|
||||
foreach (var replace in alpm_pkg.replaces) {
|
||||
replaces += replace.compute_string ();
|
||||
}
|
||||
foreach (var conflict in alpm_pkg.conflicts) {
|
||||
conflicts += conflict.compute_string ();
|
||||
}
|
||||
if (alpm_pkg.db.name == "local") {
|
||||
Alpm.List<string?> *list = alpm_pkg.compute_requiredby ();
|
||||
int i = 0;
|
||||
while (i < list->length) {
|
||||
requiredby += list->nth_data (i);
|
||||
i++;
|
||||
}
|
||||
Alpm.List.free_all (list);
|
||||
}
|
||||
}
|
||||
deps.repo = repo;
|
||||
deps.depends = depends;
|
||||
deps.optdepends = optdepends;
|
||||
deps.requiredby = requiredby;
|
||||
deps.provides = provides;
|
||||
deps.replaces = replaces;
|
||||
deps.conflicts = conflicts;
|
||||
return deps;
|
||||
}
|
||||
|
||||
public async Updates get_updates () {
|
||||
var pamac_config = new Pamac.Config ("/etc/pamac.conf");
|
||||
UpdatesInfos[] updates = {};
|
||||
updates = get_syncfirst_updates (alpm_config.handle, alpm_config.syncfirsts);
|
||||
if (updates.length != 0) {
|
||||
var infos = UpdateInfos ();
|
||||
UpdateInfos[] updates_infos = {};
|
||||
var updates = Updates ();
|
||||
updates.aur_updates = {};
|
||||
unowned Alpm.Package? pkg = null;
|
||||
unowned Alpm.Package? candidate = null;
|
||||
foreach (var name in alpm_config.syncfirsts) {
|
||||
pkg = Alpm.find_satisfier (alpm_config.handle.localdb.pkgcache, name);
|
||||
if (pkg != null) {
|
||||
candidate = pkg.sync_newversion (alpm_config.handle.syncdbs);
|
||||
if (candidate != null) {
|
||||
infos.name = candidate.name;
|
||||
infos.version = candidate.version;
|
||||
infos.db_name = candidate.db.name;
|
||||
infos.tarpath = "";
|
||||
infos.download_size = candidate.download_size;
|
||||
updates_infos += infos;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (updates_infos.length != 0) {
|
||||
updates.is_syncfirst = true;
|
||||
updates.repos_updates = updates_infos;
|
||||
return updates;
|
||||
} else {
|
||||
updates = get_repos_updates (alpm_config.handle);
|
||||
string[] local_pkgs = {};
|
||||
foreach (var local_pkg in alpm_config.handle.localdb.pkgcache) {
|
||||
// continue only if the local pkg is not in IgnorePkg or IgnoreGroup
|
||||
if (alpm_config.handle.should_ignore (local_pkg) == 0) {
|
||||
candidate = local_pkg.sync_newversion (alpm_config.handle.syncdbs);
|
||||
if (candidate != null) {
|
||||
infos.name = candidate.name;
|
||||
infos.version = candidate.version;
|
||||
infos.db_name = candidate.db.name;
|
||||
infos.tarpath = "";
|
||||
infos.download_size = candidate.download_size;
|
||||
updates_infos += infos;
|
||||
} else {
|
||||
if (pamac_config.enable_aur) {
|
||||
UpdatesInfos[] aur_updates = get_aur_updates (alpm_config.handle);
|
||||
foreach (var infos in aur_updates) {
|
||||
updates += infos;
|
||||
// check if it is a local pkg
|
||||
foreach (var db in alpm_config.handle.syncdbs) {
|
||||
pkg = Alpm.find_satisfier (db.pkgcache, local_pkg.name);
|
||||
if (pkg != null) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (pkg == null) {
|
||||
local_pkgs += local_pkg.name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
updates.is_syncfirst = false;
|
||||
updates.repos_updates = updates_infos;
|
||||
if (pamac_config.enable_aur) {
|
||||
if (aur_updates_checked == false) {
|
||||
// get aur updates
|
||||
updates_infos = {};
|
||||
var aur_pkgs = AUR.multiinfo (local_pkgs);
|
||||
int cmp;
|
||||
unowned Json.Object pkg_info;
|
||||
string version;
|
||||
string name;
|
||||
foreach (var node in aur_pkgs.get_elements ()) {
|
||||
pkg_info = node.get_object ();
|
||||
version = pkg_info.get_string_member ("Version");
|
||||
name = pkg_info.get_string_member ("Name");
|
||||
cmp = Alpm.pkg_vercmp (version, alpm_config.handle.localdb.get_pkg (name).version);
|
||||
if (cmp == 1) {
|
||||
infos.name = name;
|
||||
infos.version = version;
|
||||
infos.db_name = "AUR";
|
||||
infos.tarpath = pkg_info.get_string_member ("URLPath");
|
||||
infos.download_size = 0;
|
||||
updates_infos += infos;
|
||||
}
|
||||
}
|
||||
aur_updates = updates_infos;
|
||||
aur_updates_checked = true;
|
||||
}
|
||||
updates.aur_updates = aur_updates;
|
||||
}
|
||||
return updates;
|
||||
}
|
||||
}
|
||||
|
||||
public ErrorInfos trans_init (TransFlag transflags) {
|
||||
refresh_handle ();
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
string[] details = {};
|
||||
int ret = alpm_config.handle.trans_init (transflags);
|
||||
@ -293,7 +698,7 @@ namespace Pamac {
|
||||
return err;
|
||||
}
|
||||
|
||||
private ErrorInfos trans_add_pkg_real (Package pkg) {
|
||||
private ErrorInfos trans_add_pkg_real (Alpm.Package pkg) {
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
string[] details = {};
|
||||
int ret = alpm_config.handle.trans_add_pkg (pkg);
|
||||
@ -315,7 +720,7 @@ namespace Pamac {
|
||||
public ErrorInfos trans_add_pkg (string pkgname) {
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
string[] details = {};
|
||||
unowned Package? pkg = alpm_config.handle.find_dbs_satisfier (alpm_config.handle.syncdbs, pkgname);
|
||||
unowned Alpm.Package? pkg = get_syncpkg (pkgname);
|
||||
if (pkg == null) {
|
||||
err.str = _("Failed to prepare transaction");
|
||||
details += _("target not found: %s").printf (pkgname);
|
||||
@ -346,7 +751,7 @@ namespace Pamac {
|
||||
// add the same module for other installed kernels
|
||||
foreach (var installed_kernel in installed_kernels) {
|
||||
string module = installed_kernel + "-" + splitted[1];
|
||||
unowned Package? module_pkg = alpm_config.handle.find_dbs_satisfier (alpm_config.handle.syncdbs, module);
|
||||
unowned Alpm.Package? module_pkg = get_syncpkg (module);
|
||||
if (module_pkg != null) {
|
||||
trans_add_pkg_real (module_pkg);
|
||||
}
|
||||
@ -356,7 +761,7 @@ namespace Pamac {
|
||||
// add all installed module for other kernels
|
||||
foreach (var installed_module in installed_modules) {
|
||||
string module = splitted[0] + "-" + installed_module;
|
||||
unowned Package? module_pkg = alpm_config.handle.find_dbs_satisfier (alpm_config.handle.syncdbs, module);
|
||||
unowned Alpm.Package? module_pkg = get_syncpkg (module);
|
||||
if (module_pkg != null) {
|
||||
trans_add_pkg_real (module_pkg);
|
||||
}
|
||||
@ -371,7 +776,7 @@ namespace Pamac {
|
||||
public ErrorInfos trans_load_pkg (string pkgpath) {
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
string[] details = {};
|
||||
Package* pkg = alpm_config.handle.load_file (pkgpath, 1, alpm_config.handle.localfilesiglevel);
|
||||
Alpm.Package* pkg = alpm_config.handle.load_file (pkgpath, 1, alpm_config.handle.localfilesiglevel);
|
||||
if (pkg == null) {
|
||||
err.str = _("Failed to prepare transaction");
|
||||
details += "%s: %s".printf (pkgpath, Alpm.strerror (alpm_config.handle.errno ()));
|
||||
@ -400,7 +805,7 @@ namespace Pamac {
|
||||
public ErrorInfos trans_remove_pkg (string pkgname) {
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
string[] details = {};
|
||||
unowned Package? pkg = alpm_config.handle.localdb.get_pkg (pkgname);
|
||||
unowned Alpm.Package? pkg = alpm_config.handle.localdb.get_pkg (pkgname);
|
||||
if (pkg == null) {
|
||||
err.str = _("Failed to prepare transaction");
|
||||
details += _("target not found: %s").printf (pkgname);
|
||||
@ -416,9 +821,12 @@ namespace Pamac {
|
||||
return err;
|
||||
}
|
||||
|
||||
private int trans_prepare_real () {
|
||||
databases_lock_mutex.lock ();
|
||||
private async ErrorInfos trans_prepare () {
|
||||
SourceFunc callback = trans_prepare.callback;
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
try {
|
||||
new Thread<int>.try ("prepare thread", () => {
|
||||
databases_lock_mutex.lock ();
|
||||
string[] details = {};
|
||||
Alpm.List<void*> err_data = null;
|
||||
int ret = alpm_config.handle.trans_prepare (out err_data);
|
||||
@ -431,7 +839,7 @@ namespace Pamac {
|
||||
detail += ":";
|
||||
details += detail;
|
||||
foreach (void *i in err_data) {
|
||||
char *pkgname = i;
|
||||
string *pkgname = i;
|
||||
details += _("package %s does not have a valid architecture").printf (pkgname);
|
||||
delete pkgname;
|
||||
}
|
||||
@ -482,17 +890,22 @@ namespace Pamac {
|
||||
trans_release ();
|
||||
}
|
||||
}
|
||||
emit_trans_prepared (err);
|
||||
databases_lock_mutex.unlock ();
|
||||
Idle.add((owned) callback);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public void trans_prepare () {
|
||||
try {
|
||||
new Thread<int>.try ("prepare thread", (ThreadFunc) trans_prepare_real);
|
||||
});
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
yield;
|
||||
return err;
|
||||
}
|
||||
|
||||
public void start_trans_prepare () {
|
||||
trans_prepare.begin ((obj, res) => {
|
||||
var err = trans_prepare.end (res);
|
||||
trans_prepare_finished (err);
|
||||
});
|
||||
}
|
||||
|
||||
public void choose_provider (int provider) {
|
||||
@ -502,9 +915,9 @@ namespace Pamac {
|
||||
provider_mutex.unlock ();
|
||||
}
|
||||
|
||||
public UpdatesInfos[] trans_to_add () {
|
||||
UpdatesInfos info = UpdatesInfos ();
|
||||
UpdatesInfos[] infos = {};
|
||||
public UpdateInfos[] trans_to_add () {
|
||||
UpdateInfos info = UpdateInfos ();
|
||||
UpdateInfos[] infos = {};
|
||||
foreach (var pkg in alpm_config.handle.trans_to_add ()) {
|
||||
info.name = pkg.name;
|
||||
info.version = pkg.version;
|
||||
@ -521,9 +934,9 @@ namespace Pamac {
|
||||
return infos;
|
||||
}
|
||||
|
||||
public UpdatesInfos[] trans_to_remove () {
|
||||
UpdatesInfos info = UpdatesInfos ();
|
||||
UpdatesInfos[] infos = {};
|
||||
public UpdateInfos[] trans_to_remove () {
|
||||
UpdateInfos info = UpdateInfos ();
|
||||
UpdateInfos[] infos = {};
|
||||
foreach (var pkg in alpm_config.handle.trans_to_remove ()) {
|
||||
info.name = pkg.name;
|
||||
info.version = pkg.version;
|
||||
@ -535,9 +948,24 @@ namespace Pamac {
|
||||
return infos;
|
||||
}
|
||||
|
||||
private int trans_commit_real () {
|
||||
databases_lock_mutex.lock ();
|
||||
private async ErrorInfos trans_commit (GLib.BusName sender) {
|
||||
SourceFunc callback = trans_commit.callback;
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
try {
|
||||
Polkit.Authority authority = Polkit.Authority.get_sync (null);
|
||||
Polkit.Subject subject = Polkit.SystemBusName.new (sender);
|
||||
authority.check_authorization.begin (
|
||||
subject,
|
||||
"org.manjaro.pamac.commit",
|
||||
null,
|
||||
Polkit.CheckAuthorizationFlags.ALLOW_USER_INTERACTION,
|
||||
null,
|
||||
(obj, res) => {
|
||||
try {
|
||||
var result = authority.check_authorization.end (res);
|
||||
if (result.get_is_authorized ()) {
|
||||
new Thread<int>.try ("commit thread", () => {
|
||||
databases_lock_mutex.lock ();
|
||||
string[] details = {};
|
||||
Alpm.List<void*> err_data = null;
|
||||
int ret = alpm_config.handle.trans_commit (out err_data);
|
||||
@ -573,7 +1001,7 @@ namespace Pamac {
|
||||
detail += ":";
|
||||
details += detail;
|
||||
foreach (void *i in err_data) {
|
||||
char *filename = i;
|
||||
string *filename = i;
|
||||
details += _("%s is invalid or corrupted").printf (filename);
|
||||
delete filename;
|
||||
}
|
||||
@ -585,41 +1013,32 @@ namespace Pamac {
|
||||
err.details = details;
|
||||
}
|
||||
trans_release ();
|
||||
emit_trans_committed (err);
|
||||
databases_lock_mutex.unlock ();
|
||||
Idle.add((owned) callback);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public void trans_commit (GLib.BusName sender) {
|
||||
try {
|
||||
Polkit.Authority authority = Polkit.Authority.get_sync (null);
|
||||
Polkit.Subject subject = Polkit.SystemBusName.new (sender);
|
||||
var result = new Polkit.AuthorizationResult (false, false, null);
|
||||
authority.check_authorization.begin (
|
||||
subject,
|
||||
"org.manjaro.pamac.commit",
|
||||
null,
|
||||
Polkit.CheckAuthorizationFlags.ALLOW_USER_INTERACTION,
|
||||
null,
|
||||
(obj, res) => {
|
||||
try {
|
||||
result = authority.check_authorization.end (res);
|
||||
if (result.get_is_authorized ()) {
|
||||
new Thread<int>.try ("commit thread", (ThreadFunc) trans_commit_real);
|
||||
});
|
||||
} else {
|
||||
ErrorInfos err = ErrorInfos ();
|
||||
err.str = _("Authentication failed");
|
||||
emit_trans_committed (err);
|
||||
trans_release ();
|
||||
}
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("Polkit Error: %s\n", e.message);
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
}
|
||||
);
|
||||
} catch (GLib.Error e) {
|
||||
stderr.printf ("Polkit Error: %s\n", e.message);
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
yield;
|
||||
return err;
|
||||
}
|
||||
|
||||
public void start_trans_commit (GLib.BusName sender) {
|
||||
trans_commit.begin (sender, (obj, res) => {
|
||||
var err = trans_commit.end (res);
|
||||
refresh_handle ();
|
||||
trans_commit_finished (err);
|
||||
});
|
||||
}
|
||||
|
||||
public int trans_release () {
|
||||
@ -665,54 +1084,54 @@ private void cb_event (Event.Data data) {
|
||||
switch (data.type) {
|
||||
case Event.Type.PACKAGE_OPERATION_START:
|
||||
switch (data.package_operation_operation) {
|
||||
case Package.Operation.REMOVE:
|
||||
case Alpm.Package.Operation.REMOVE:
|
||||
details += data.package_operation_oldpkg.name;
|
||||
details += data.package_operation_oldpkg.version;
|
||||
secondary_type = (uint) Package.Operation.REMOVE;
|
||||
secondary_type = (uint) Alpm.Package.Operation.REMOVE;
|
||||
break;
|
||||
case Package.Operation.INSTALL:
|
||||
case Alpm.Package.Operation.INSTALL:
|
||||
details += data.package_operation_newpkg.name;
|
||||
details += data.package_operation_newpkg.version;
|
||||
secondary_type = (uint) Package.Operation.INSTALL;
|
||||
secondary_type = (uint) Alpm.Package.Operation.INSTALL;
|
||||
break;
|
||||
case Package.Operation.REINSTALL:
|
||||
case Alpm.Package.Operation.REINSTALL:
|
||||
details += data.package_operation_newpkg.name;
|
||||
details += data.package_operation_newpkg.version;
|
||||
secondary_type = (uint) Package.Operation.REINSTALL;
|
||||
secondary_type = (uint) Alpm.Package.Operation.REINSTALL;
|
||||
break;
|
||||
case Package.Operation.UPGRADE:
|
||||
case Alpm.Package.Operation.UPGRADE:
|
||||
details += data.package_operation_oldpkg.name;
|
||||
details += data.package_operation_oldpkg.version;
|
||||
details += data.package_operation_newpkg.version;
|
||||
secondary_type = (uint) Package.Operation.UPGRADE;
|
||||
secondary_type = (uint) Alpm.Package.Operation.UPGRADE;
|
||||
break;
|
||||
case Package.Operation.DOWNGRADE:
|
||||
case Alpm.Package.Operation.DOWNGRADE:
|
||||
details += data.package_operation_oldpkg.name;
|
||||
details += data.package_operation_oldpkg.version;
|
||||
details += data.package_operation_newpkg.version;
|
||||
secondary_type = (uint) Package.Operation.DOWNGRADE;
|
||||
secondary_type = (uint) Alpm.Package.Operation.DOWNGRADE;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case Event.Type.PACKAGE_OPERATION_DONE:
|
||||
switch (data.package_operation_operation) {
|
||||
case Package.Operation.INSTALL:
|
||||
case Alpm.Package.Operation.INSTALL:
|
||||
string log = "Installed %s (%s)\n".printf (data.package_operation_newpkg.name, data.package_operation_newpkg.version);
|
||||
write_log_file (log);
|
||||
break;
|
||||
case Package.Operation.REMOVE:
|
||||
case Alpm.Package.Operation.REMOVE:
|
||||
string log = "Removed %s (%s)\n".printf (data.package_operation_oldpkg.name, data.package_operation_oldpkg.version);
|
||||
write_log_file (log);
|
||||
break;
|
||||
case Package.Operation.REINSTALL:
|
||||
case Alpm.Package.Operation.REINSTALL:
|
||||
string log = "Reinstalled %s (%s)\n".printf (data.package_operation_newpkg.name, data.package_operation_newpkg.version);
|
||||
write_log_file (log);
|
||||
break;
|
||||
case Package.Operation.UPGRADE:
|
||||
case Alpm.Package.Operation.UPGRADE:
|
||||
string log = "Upgraded %s (%s -> %s)\n".printf (data.package_operation_oldpkg.name, data.package_operation_oldpkg.version, data.package_operation_newpkg.version);
|
||||
write_log_file (log);
|
||||
break;
|
||||
case Package.Operation.DOWNGRADE:
|
||||
case Alpm.Package.Operation.DOWNGRADE:
|
||||
string log = "Downgraded %s (%s -> %s)\n".printf (data.package_operation_oldpkg.name, data.package_operation_oldpkg.version, data.package_operation_newpkg.version);
|
||||
write_log_file (log);
|
||||
break;
|
||||
@ -772,7 +1191,7 @@ private void cb_question (Question.Data data) {
|
||||
case Question.Type.SELECT_PROVIDER:
|
||||
string depend_str = data.select_provider_depend.compute_string ();
|
||||
string[] providers_str = {};
|
||||
foreach (unowned Package pkg in data.select_provider_providers) {
|
||||
foreach (unowned Alpm.Package pkg in data.select_provider_providers) {
|
||||
providers_str += pkg.name;
|
||||
}
|
||||
pamac_daemon.provider_cond = Cond ();
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -79,9 +79,9 @@ namespace Pamac {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
run = app.get_is_remote ();
|
||||
if (run)
|
||||
if (run) {
|
||||
return run;
|
||||
else {
|
||||
} else {
|
||||
app = new Application ("org.manjaro.pamac.updater", 0);
|
||||
try {
|
||||
app.register ();
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -44,24 +44,27 @@ namespace Pamac {
|
||||
transaction_info_dialog.expander.set_visible (false);
|
||||
transaction_info_dialog.run ();
|
||||
transaction_info_dialog.hide ();
|
||||
} else
|
||||
} else {
|
||||
manager_window = new ManagerWindow (this);
|
||||
}
|
||||
}
|
||||
|
||||
public override void activate () {
|
||||
if (pamac_run == false) {
|
||||
manager_window.present ();
|
||||
while (Gtk.events_pending ())
|
||||
while (Gtk.events_pending ()) {
|
||||
Gtk.main_iteration ();
|
||||
}
|
||||
manager_window.show_all_pkgs ();
|
||||
}
|
||||
}
|
||||
|
||||
public override void shutdown () {
|
||||
base.shutdown ();
|
||||
if (pamac_run == false)
|
||||
if (pamac_run == false) {
|
||||
manager_window.transaction.stop_daemon ();
|
||||
}
|
||||
}
|
||||
|
||||
bool check_pamac_running () {
|
||||
Application app;
|
||||
@ -73,9 +76,9 @@ namespace Pamac {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
run = app.get_is_remote ();
|
||||
if (run)
|
||||
if (run) {
|
||||
return run;
|
||||
else {
|
||||
} else {
|
||||
app = new Application ("org.manjaro.pamac.install", 0);
|
||||
try {
|
||||
app.register ();
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -57,9 +57,9 @@ namespace Alpm {
|
||||
|
||||
public void parse_file (string path) {
|
||||
var file = GLib.File.new_for_path (path);
|
||||
if (file.query_exists () == false)
|
||||
if (file.query_exists () == false) {
|
||||
GLib.stderr.printf ("File '%s' doesn't exist.\n", path);
|
||||
else {
|
||||
} else {
|
||||
try {
|
||||
// Open file for reading and wrap returned FileInputStream into a
|
||||
// DataInputStream, so we can read line by line
|
||||
@ -68,20 +68,26 @@ namespace Alpm {
|
||||
// Read lines until end of file (null) is reached
|
||||
while ((line = dis.read_line (null)) != null) {
|
||||
line = line.strip ();
|
||||
if (line.length == 0) continue;
|
||||
if (line[0] == '#') continue;
|
||||
if (line.length == 0) {
|
||||
continue;
|
||||
}
|
||||
if (line[0] == '#') {
|
||||
continue;
|
||||
}
|
||||
string[] splitted = line.split ("=");
|
||||
string _key = splitted[0].strip ();
|
||||
string _value = null;
|
||||
if (splitted[1] != null)
|
||||
if (splitted[1] != null) {
|
||||
_value = splitted[1].strip ();
|
||||
if (_key == "Method")
|
||||
}
|
||||
if (_key == "Method") {
|
||||
choosen_generation_method = _value;
|
||||
else if (_key == "OnlyCountry")
|
||||
} else if (_key == "OnlyCountry") {
|
||||
choosen_country = _value;
|
||||
else if (_key == "MirrorlistsDir")
|
||||
} else if (_key == "MirrorlistsDir") {
|
||||
mirrorlists_dir = _value.replace ("\"", "");
|
||||
}
|
||||
}
|
||||
} catch (Error e) {
|
||||
GLib.stderr.printf("%s\n", e.message);
|
||||
}
|
||||
@ -90,9 +96,9 @@ namespace Alpm {
|
||||
|
||||
public void write (HashTable<string,Variant> new_conf) {
|
||||
var file = GLib.File.new_for_path (conf_path);
|
||||
if (file.query_exists () == false)
|
||||
if (file.query_exists () == false) {
|
||||
GLib.stderr.printf ("File '%s' doesn't exist.\n", file.get_path ());
|
||||
else {
|
||||
} else {
|
||||
try {
|
||||
// Open file for reading and wrap returned FileInputStream into a
|
||||
// DataInputStream, so we can read line by line
|
||||
@ -105,20 +111,24 @@ namespace Alpm {
|
||||
if (new_conf.contains ("Method")) {
|
||||
string _value = new_conf.get ("Method").get_string ();
|
||||
data += "Method=%s\n".printf (_value);
|
||||
} else
|
||||
} else {
|
||||
data += line + "\n";
|
||||
}
|
||||
} else if (line.contains ("OnlyCountry")) {
|
||||
if (new_conf.contains ("OnlyCountry")) {
|
||||
string _value = new_conf.get ("OnlyCountry").get_string ();
|
||||
if (_value == dgettext (null, "Worldwide"))
|
||||
if (_value == dgettext (null, "Worldwide")) {
|
||||
data += "#%s\n".printf (line);
|
||||
else
|
||||
} else {
|
||||
data += "OnlyCountry=%s\n".printf (_value);
|
||||
} else
|
||||
}
|
||||
} else {
|
||||
data += line + "\n";
|
||||
} else
|
||||
}
|
||||
} else {
|
||||
data += line + "\n";
|
||||
}
|
||||
}
|
||||
// delete the file before rewrite it
|
||||
file.delete ();
|
||||
// creating a DataOutputStream to the file
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -18,44 +18,77 @@
|
||||
*/
|
||||
|
||||
namespace Pamac {
|
||||
public class Package: Object {
|
||||
public unowned Alpm.Package? alpm_pkg;
|
||||
public unowned Json.Object? aur_json;
|
||||
public struct Package {
|
||||
public string name;
|
||||
public string version;
|
||||
public string desc;
|
||||
public string repo;
|
||||
public uint64 size;
|
||||
public string size_string;
|
||||
public string url;
|
||||
public string licenses;
|
||||
public int reason;
|
||||
|
||||
public Package (Alpm.Package? alpm_pkg, Json.Object? aur_json) {
|
||||
if (alpm_pkg != null) {
|
||||
this.alpm_pkg = alpm_pkg;
|
||||
this.aur_json = null;
|
||||
name = alpm_pkg.name;
|
||||
version = alpm_pkg.version;
|
||||
if (alpm_pkg.db != null)
|
||||
repo = alpm_pkg.db.name;
|
||||
else
|
||||
repo = "";
|
||||
desc = alpm_pkg.desc;
|
||||
repo = alpm_pkg.db != null ? alpm_pkg.db.name : "";
|
||||
size = alpm_pkg.isize;
|
||||
size_string = format_size (alpm_pkg.isize);
|
||||
// alpm pkg url can be null
|
||||
url = alpm_pkg.url ?? "";
|
||||
StringBuilder licenses_build = new StringBuilder ();
|
||||
foreach (var license in alpm_pkg.licenses) {
|
||||
if (licenses_build.len != 0) {
|
||||
licenses_build.append (" ");
|
||||
}
|
||||
licenses_build.append (license);
|
||||
}
|
||||
licenses = licenses_build.str;
|
||||
reason = alpm_pkg.reason;
|
||||
} else if (aur_json != null ) {
|
||||
this.alpm_pkg = null;
|
||||
this.aur_json = aur_json;
|
||||
name = aur_json.get_string_member ("Name");
|
||||
version = aur_json.get_string_member ("Version");
|
||||
desc = aur_json.get_string_member ("Description");
|
||||
repo = "AUR";
|
||||
size = 0;
|
||||
size_string = "";
|
||||
url = aur_json.get_string_member ("URL");
|
||||
licenses = aur_json.get_string_member ("License");
|
||||
reason = 0;
|
||||
} else {
|
||||
this.alpm_pkg = null;
|
||||
this.aur_json = null;
|
||||
name = dgettext (null, "No package found");
|
||||
name = "";
|
||||
version = "";
|
||||
desc = "";
|
||||
repo = "";
|
||||
size = 0;
|
||||
size_string = "";
|
||||
url = "";
|
||||
licenses= "";
|
||||
reason = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public struct PackageDetails {
|
||||
string repo;
|
||||
string has_signature;
|
||||
int reason;
|
||||
string packager;
|
||||
string install_date;
|
||||
string[] groups;
|
||||
string[] backups;
|
||||
}
|
||||
|
||||
public struct PackageDeps {
|
||||
string repo;
|
||||
string[] depends;
|
||||
string[] optdepends;
|
||||
string[] requiredby;
|
||||
string[] provides;
|
||||
string[] replaces;
|
||||
string[] conflicts;
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -46,8 +46,9 @@ namespace Pamac {
|
||||
}
|
||||
window.get_window ().set_cursor (new Gdk.Cursor (Gdk.CursorType.WATCH));
|
||||
this.hide ();
|
||||
while (Gtk.events_pending ())
|
||||
while (Gtk.events_pending ()) {
|
||||
Gtk.main_iteration ();
|
||||
}
|
||||
transaction.run ();
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -20,32 +20,20 @@
|
||||
namespace Pamac {
|
||||
|
||||
public class PackagesModel : Object, Gtk.TreeModel {
|
||||
private GLib.List<Pamac.Package> all_pkgs;
|
||||
private GLib.List<Pamac.Package?> all_pkgs;
|
||||
public ManagerWindow manager_window;
|
||||
|
||||
public PackagesModel (Alpm.List<Alpm.Package?>? alpm_pkgs, Json.Array? aur_pkgs, ManagerWindow manager_window) {
|
||||
public PackagesModel (Pamac.Package[] pkgs, ManagerWindow manager_window) {
|
||||
this.manager_window = manager_window;
|
||||
all_pkgs = new GLib.List<Pamac.Package> ();
|
||||
foreach (unowned Alpm.Package alpm_pkg in alpm_pkgs) {
|
||||
all_pkgs.append (new Pamac.Package (alpm_pkg, null));
|
||||
}
|
||||
bool found;
|
||||
foreach (var node in aur_pkgs.get_elements ()) {
|
||||
// add only the packages which are not already in the list
|
||||
found = false;
|
||||
foreach (Pamac.Package pkg in all_pkgs) {
|
||||
if (pkg.name == node.get_object ().get_string_member ("Name")) {
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (found == false) {
|
||||
all_pkgs.append (new Pamac.Package (null, node.get_object ()));
|
||||
}
|
||||
all_pkgs = new GLib.List<Pamac.Package?> ();
|
||||
foreach (var pkg in pkgs) {
|
||||
all_pkgs.append (pkg);
|
||||
}
|
||||
if (all_pkgs.length () == 0) {
|
||||
// create a fake "No package found" package
|
||||
all_pkgs.append (new Pamac.Package (null, null));
|
||||
var fake_pkg = Pamac.Package (null, null);
|
||||
fake_pkg.name = dgettext (null, "No package found");
|
||||
all_pkgs.append (fake_pkg);
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,8 +57,7 @@ namespace Pamac {
|
||||
}
|
||||
|
||||
public void get_value (Gtk.TreeIter iter, int column, out Value val) {
|
||||
Pamac.Package pkg = (Pamac.Package) iter.user_data;
|
||||
return_if_fail (pkg != null);
|
||||
Pamac.Package pkg = all_pkgs.nth_data (iter.stamp);
|
||||
switch (column) {
|
||||
case 0:
|
||||
val = Value (typeof (string));
|
||||
@ -78,28 +65,29 @@ namespace Pamac {
|
||||
break;
|
||||
case 1:
|
||||
val = Value (typeof (Object));
|
||||
if (pkg.alpm_pkg != null) {
|
||||
if (manager_window.transaction.alpm_config.holdpkgs.find_custom (pkg.name, strcmp) != null)
|
||||
if (pkg.repo == "local") {
|
||||
if (manager_window.transaction.should_hold (pkg.name)) {
|
||||
val.set_object (manager_window.locked_icon);
|
||||
else if (pkg.repo == "local") {
|
||||
if (manager_window.transaction.to_add.contains (pkg.name))
|
||||
} else if (manager_window.transaction.to_add.contains (pkg.name)) {
|
||||
val.set_object (manager_window.to_reinstall_icon);
|
||||
else if (manager_window.transaction.to_remove.contains (pkg.name))
|
||||
} else if (manager_window.transaction.to_remove.contains (pkg.name)) {
|
||||
val.set_object (manager_window.to_remove_icon);
|
||||
else
|
||||
val.set_object (manager_window.installed_icon);
|
||||
} else if (manager_window.transaction.to_add.contains (pkg.name))
|
||||
val.set_object (manager_window.to_install_icon);
|
||||
else
|
||||
val.set_object (manager_window.uninstalled_icon);
|
||||
} else if (pkg.aur_json != null) {
|
||||
if (manager_window.transaction.to_build.contains (pkg.name))
|
||||
val.set_object (manager_window.to_install_icon);
|
||||
else
|
||||
val.set_object (manager_window.uninstalled_icon);
|
||||
} else {
|
||||
val.set_object (manager_window.installed_icon);
|
||||
}
|
||||
} else if (pkg.repo == "AUR") {
|
||||
if (manager_window.transaction.to_build.contains (pkg.name)) {
|
||||
val.set_object (manager_window.to_install_icon);
|
||||
} else {
|
||||
val.set_object (manager_window.uninstalled_icon);
|
||||
}
|
||||
} else if (pkg.name == dgettext (null, "No package found")) {
|
||||
Object? object = null;
|
||||
val.set_object (object);
|
||||
} else if (manager_window.transaction.to_add.contains (pkg.name)) {
|
||||
val.set_object (manager_window.to_install_icon);
|
||||
} else {
|
||||
val.set_object (manager_window.uninstalled_icon);
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
@ -127,8 +115,6 @@ namespace Pamac {
|
||||
iter = Gtk.TreeIter ();
|
||||
int pos = path.get_indices ()[0];
|
||||
iter.stamp = pos;
|
||||
Pamac.Package pkg = all_pkgs.nth_data((uint) pos);
|
||||
iter.user_data = pkg;
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -151,8 +137,6 @@ namespace Pamac {
|
||||
return false;
|
||||
}
|
||||
iter.stamp = pos;
|
||||
Pamac.Package pkg = all_pkgs.nth_data((uint) pos);
|
||||
iter.user_data = pkg;
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -162,8 +146,6 @@ namespace Pamac {
|
||||
return false;
|
||||
}
|
||||
iter.stamp = (--pos);
|
||||
Pamac.Package pkg = all_pkgs.nth_data((uint) pos);
|
||||
iter.user_data = pkg;
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -189,14 +171,20 @@ namespace Pamac {
|
||||
return false;
|
||||
}
|
||||
|
||||
// custom get pkg function
|
||||
public Pamac.Package get_pkg_at_path (Gtk.TreePath path) {
|
||||
return all_pkgs.nth_data (path.get_indices ()[0]);
|
||||
}
|
||||
|
||||
// custom sort functions
|
||||
public void sort_by_name (Gtk.SortType order) {
|
||||
CompareFunc<Pamac.Package> namecmp = (pkg_a, pkg_b) => {
|
||||
CompareFunc<Pamac.Package?> namecmp = (pkg_a, pkg_b) => {
|
||||
return strcmp (pkg_a.name, pkg_b.name);
|
||||
};
|
||||
all_pkgs.sort (namecmp);
|
||||
if (order == Gtk.SortType.DESCENDING)
|
||||
if (order == Gtk.SortType.DESCENDING) {
|
||||
all_pkgs.reverse ();
|
||||
}
|
||||
manager_window.name_column.sort_order = order;
|
||||
manager_window.state_column.sort_indicator = false;
|
||||
manager_window.name_column.sort_indicator = true;
|
||||
@ -208,28 +196,25 @@ namespace Pamac {
|
||||
}
|
||||
|
||||
public void sort_by_state (Gtk.SortType order) {
|
||||
CompareFunc<Pamac.Package> statecmp = (pkg_a, pkg_b) => {
|
||||
CompareFunc<Pamac.Package?> statecmp = (pkg_a, pkg_b) => {
|
||||
int state_a;
|
||||
int state_b;
|
||||
if (pkg_a.alpm_pkg != null) {
|
||||
if (pkg_a.repo == "local")
|
||||
if (pkg_a.repo == "local") {
|
||||
state_a = 0;
|
||||
else
|
||||
} else {
|
||||
state_a = 1;
|
||||
} else
|
||||
state_a = 1;
|
||||
if (pkg_b.alpm_pkg != null) {
|
||||
if (pkg_b.repo == "local")
|
||||
}
|
||||
if (pkg_b.repo == "local") {
|
||||
state_b = 0;
|
||||
else
|
||||
state_b = 1;
|
||||
} else
|
||||
} else {
|
||||
state_b = 1;
|
||||
}
|
||||
return (int) (state_a > state_b) - (int) (state_a < state_b);
|
||||
};
|
||||
all_pkgs.sort (statecmp);
|
||||
if (order == Gtk.SortType.DESCENDING)
|
||||
if (order == Gtk.SortType.DESCENDING) {
|
||||
all_pkgs.reverse ();
|
||||
}
|
||||
manager_window.state_column.sort_order = order;
|
||||
manager_window.state_column.sort_indicator = true;
|
||||
manager_window.name_column.sort_indicator = false;
|
||||
@ -241,12 +226,13 @@ namespace Pamac {
|
||||
}
|
||||
|
||||
public void sort_by_version (Gtk.SortType order) {
|
||||
CompareFunc<Pamac.Package> versioncmp = (pkg_a, pkg_b) => {
|
||||
CompareFunc<Pamac.Package?> versioncmp = (pkg_a, pkg_b) => {
|
||||
return Alpm.pkg_vercmp (pkg_a.version, pkg_b.version);
|
||||
};
|
||||
all_pkgs.sort (versioncmp);
|
||||
if (order == Gtk.SortType.DESCENDING)
|
||||
if (order == Gtk.SortType.DESCENDING) {
|
||||
all_pkgs.reverse ();
|
||||
}
|
||||
manager_window.version_column.sort_order = order;
|
||||
manager_window.state_column.sort_indicator = false;
|
||||
manager_window.name_column.sort_indicator = false;
|
||||
@ -258,12 +244,13 @@ namespace Pamac {
|
||||
}
|
||||
|
||||
public void sort_by_repo (Gtk.SortType order) {
|
||||
CompareFunc<Pamac.Package> repocmp = (pkg_a, pkg_b) => {
|
||||
CompareFunc<Pamac.Package?> repocmp = (pkg_a, pkg_b) => {
|
||||
return strcmp (pkg_a.repo, pkg_b.repo);
|
||||
};
|
||||
all_pkgs.sort (repocmp);
|
||||
if (order == Gtk.SortType.DESCENDING)
|
||||
if (order == Gtk.SortType.DESCENDING) {
|
||||
all_pkgs.reverse ();
|
||||
}
|
||||
manager_window.repo_column.sort_order = order;
|
||||
manager_window.state_column.sort_indicator = false;
|
||||
manager_window.name_column.sort_indicator = false;
|
||||
@ -275,22 +262,13 @@ namespace Pamac {
|
||||
}
|
||||
|
||||
public void sort_by_size (Gtk.SortType order) {
|
||||
CompareFunc<Pamac.Package> sizecmp = (pkg_a, pkg_b) => {
|
||||
uint64 size_a;
|
||||
uint64 size_b;
|
||||
if (pkg_a.alpm_pkg != null)
|
||||
size_a = pkg_a.size;
|
||||
else
|
||||
size_a = 0;
|
||||
if (pkg_b.alpm_pkg != null)
|
||||
size_b = pkg_b.size;
|
||||
else
|
||||
size_b = 0;
|
||||
return (int) (size_a > size_b) - (int) (size_a < size_b);
|
||||
CompareFunc<Pamac.Package?> sizecmp = (pkg_a, pkg_b) => {
|
||||
return (int) (pkg_a.size > pkg_b.size) - (int) (pkg_a.size < pkg_b.size);
|
||||
};
|
||||
all_pkgs.sort (sizecmp);
|
||||
if (order == Gtk.SortType.DESCENDING)
|
||||
if (order == Gtk.SortType.DESCENDING) {
|
||||
all_pkgs.reverse ();
|
||||
}
|
||||
manager_window.size_column.sort_order = order;
|
||||
manager_window.state_column.sort_indicator = false;
|
||||
manager_window.name_column.sort_indicator = false;
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -40,9 +40,9 @@ namespace Pamac {
|
||||
|
||||
public void parse_file (string path) {
|
||||
var file = GLib.File.new_for_path (path);
|
||||
if (file.query_exists () == false)
|
||||
if (file.query_exists () == false) {
|
||||
GLib.stderr.printf ("File '%s' doesn't exist.\n", path);
|
||||
else {
|
||||
} else {
|
||||
try {
|
||||
// Open file for reading and wrap returned FileInputStream into a
|
||||
// DataInputStream, so we can read line by line
|
||||
@ -51,20 +51,26 @@ namespace Pamac {
|
||||
// Read lines until end of file (null) is reached
|
||||
while ((line = dis.read_line (null)) != null) {
|
||||
line = line.strip ();
|
||||
if (line.length == 0) continue;
|
||||
if (line[0] == '#') continue;
|
||||
if (line.length == 0) {
|
||||
continue;
|
||||
}
|
||||
if (line[0] == '#') {
|
||||
continue;
|
||||
}
|
||||
string[] splitted = line.split ("=");
|
||||
string _key = splitted[0].strip ();
|
||||
string _value = null;
|
||||
if (splitted[1] != null)
|
||||
if (splitted[1] != null) {
|
||||
_value = splitted[1].strip ();
|
||||
if (_key == "RefreshPeriod")
|
||||
}
|
||||
if (_key == "RefreshPeriod") {
|
||||
refresh_period = int.parse (_value);
|
||||
else if (_key == "EnableAUR")
|
||||
} else if (_key == "EnableAUR") {
|
||||
enable_aur = true;
|
||||
else if (_key == "RemoveUnrequiredDeps")
|
||||
} else if (_key == "RemoveUnrequiredDeps") {
|
||||
recurse = true;
|
||||
}
|
||||
}
|
||||
} catch (GLib.Error e) {
|
||||
GLib.stderr.printf("%s\n", e.message);
|
||||
}
|
||||
@ -73,9 +79,9 @@ namespace Pamac {
|
||||
|
||||
public void write (HashTable<string,Variant> new_conf) {
|
||||
var file = GLib.File.new_for_path (conf_path);
|
||||
if (file.query_exists () == false)
|
||||
if (file.query_exists () == false) {
|
||||
GLib.stderr.printf ("File '%s' doesn't exist.\n", conf_path);
|
||||
else {
|
||||
} else {
|
||||
try {
|
||||
// Open file for reading and wrap returned FileInputStream into a
|
||||
// DataInputStream, so we can read line by line
|
||||
@ -84,34 +90,42 @@ namespace Pamac {
|
||||
string[] data = {};
|
||||
// Read lines until end of file (null) is reached
|
||||
while ((line = dis.read_line (null)) != null) {
|
||||
if (line.length == 0) continue;
|
||||
if (line.length == 0) {
|
||||
continue;
|
||||
}
|
||||
if (line.contains ("RefreshPeriod")) {
|
||||
if (new_conf.contains ("RefreshPeriod")) {
|
||||
int _value = new_conf.get ("RefreshPeriod").get_int32 ();
|
||||
data += "RefreshPeriod = %u\n".printf (_value);
|
||||
} else
|
||||
} else {
|
||||
data += line + "\n";
|
||||
}
|
||||
} else if (line.contains ("EnableAUR")) {
|
||||
if (new_conf.contains ("EnableAUR")) {
|
||||
bool _value = new_conf.get ("EnableAUR").get_boolean ();
|
||||
if (_value == true)
|
||||
if (_value == true) {
|
||||
data += "EnableAUR\n";
|
||||
else
|
||||
} else {
|
||||
data += "#EnableAUR\n";
|
||||
} else
|
||||
}
|
||||
} else {
|
||||
data += line + "\n";
|
||||
}
|
||||
} else if (line.contains ("RemoveUnrequiredDeps")) {
|
||||
if (new_conf.contains ("RemoveUnrequiredDeps")) {
|
||||
bool _value = new_conf.get ("RemoveUnrequiredDeps").get_boolean ();
|
||||
if (_value == true)
|
||||
if (_value == true) {
|
||||
data += "RemoveUnrequiredDeps\n";
|
||||
else
|
||||
} else {
|
||||
data += "#RemoveUnrequiredDeps\n";
|
||||
} else
|
||||
}
|
||||
} else {
|
||||
data += line + "\n";
|
||||
} else
|
||||
}
|
||||
} else {
|
||||
data += line + "\n";
|
||||
}
|
||||
}
|
||||
// delete the file before rewrite it
|
||||
file.delete ();
|
||||
// creating a DataOutputStream to the file
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -44,9 +44,10 @@ namespace Pamac {
|
||||
[GtkCallback]
|
||||
public void on_close_button_clicked () {
|
||||
this.hide ();
|
||||
while (Gtk.events_pending ())
|
||||
while (Gtk.events_pending ()) {
|
||||
Gtk.main_iteration ();
|
||||
}
|
||||
}
|
||||
|
||||
[GtkCallback]
|
||||
public void on_cancel_button_clicked () {
|
||||
@ -55,8 +56,9 @@ namespace Pamac {
|
||||
transaction.spawn_in_term ({"/usr/bin/echo", dgettext (null, "Transaction cancelled") + ".\n"});
|
||||
this.hide ();
|
||||
transaction.finished (false);
|
||||
while (Gtk.events_pending ())
|
||||
while (Gtk.events_pending ()) {
|
||||
Gtk.main_iteration ();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -27,16 +27,14 @@ const string noupdate_info = _("Your system is up-to-date");
|
||||
namespace Pamac {
|
||||
[DBus (name = "org.manjaro.pamac")]
|
||||
public interface Daemon : Object {
|
||||
public abstract void refresh (int force, bool emit_signal) throws IOError;
|
||||
public abstract UpdatesInfos[] get_updates () throws IOError;
|
||||
public abstract void start_refresh (int force, bool emit_signal) throws IOError;
|
||||
public abstract async Updates get_updates () throws IOError;
|
||||
[DBus (no_reply = true)]
|
||||
public abstract void quit () throws IOError;
|
||||
}
|
||||
|
||||
public class TrayIcon: Gtk.Application {
|
||||
Notify.Notification notification;
|
||||
Daemon daemon;
|
||||
Pamac.Config pamac_config;
|
||||
bool locked;
|
||||
uint refresh_timeout_id;
|
||||
Gtk.StatusIcon status_icon;
|
||||
@ -88,9 +86,10 @@ namespace Pamac {
|
||||
}
|
||||
|
||||
void left_clicked () {
|
||||
if (status_icon.icon_name == "pamac-tray-update")
|
||||
if (status_icon.icon_name == "pamac-tray-update") {
|
||||
execute_updater ();
|
||||
}
|
||||
}
|
||||
|
||||
void execute_updater () {
|
||||
try {
|
||||
@ -117,7 +116,7 @@ namespace Pamac {
|
||||
if (check_pamac_running () == false) {
|
||||
start_daemon ();
|
||||
try {
|
||||
daemon.refresh (0, false);
|
||||
daemon.start_refresh (0, false);
|
||||
} catch (IOError e) {
|
||||
stderr.printf ("IOError: %s\n", e.message);
|
||||
}
|
||||
@ -126,13 +125,14 @@ namespace Pamac {
|
||||
}
|
||||
|
||||
void check_updates () {
|
||||
UpdatesInfos[] updates = {};
|
||||
daemon.get_updates.begin ((obj, res) => {
|
||||
var updates = Updates ();
|
||||
try {
|
||||
updates = daemon.get_updates ();
|
||||
updates = daemon.get_updates.end (res);
|
||||
} catch (IOError e) {
|
||||
stderr.printf ("IOError: %s\n", e.message);
|
||||
}
|
||||
uint updates_nb = updates.length;
|
||||
uint updates_nb = updates.repos_updates.length + updates.aur_updates.length;
|
||||
if (updates_nb == 0) {
|
||||
this.update_icon (noupdate_icon_name, noupdate_info);
|
||||
} else {
|
||||
@ -143,10 +143,11 @@ namespace Pamac {
|
||||
}
|
||||
}
|
||||
stop_daemon ();
|
||||
});
|
||||
}
|
||||
|
||||
void show_notification (string info) {
|
||||
//~ notification = new Notification (_("Update Manager"));
|
||||
//~ var notification = new Notification (_("Update Manager"));
|
||||
//~ notification.set_body (info);
|
||||
//~ Gtk.IconTheme icon_theme = Gtk.IconTheme.get_default ();
|
||||
//~ Gdk.Pixbuf icon = icon_theme.load_icon ("system-software-update", 32, 0);
|
||||
@ -157,7 +158,7 @@ namespace Pamac {
|
||||
//~ notification.add_button (_("Show available updates"), "app.update");
|
||||
//~ this.send_notification (_("Update Manager"), notification);
|
||||
try {
|
||||
notification = new Notify.Notification (_("Update Manager"), info, "system-software-update");
|
||||
var notification = new Notify.Notification (_("Update Manager"), info, "system-software-update");
|
||||
notification.add_action ("update", _("Show available updates"), execute_updater);
|
||||
notification.show ();
|
||||
} catch (Error e) {
|
||||
@ -204,12 +205,11 @@ namespace Pamac {
|
||||
return true;
|
||||
}
|
||||
|
||||
void launch_refresh_timeout () {
|
||||
void launch_refresh_timeout (uint refresh_period_in_hours) {
|
||||
if (refresh_timeout_id != 0) {
|
||||
pamac_config.reload ();
|
||||
Source.remove (refresh_timeout_id);
|
||||
}
|
||||
refresh_timeout_id = Timeout.add_seconds ((uint) pamac_config.refresh_period*3600, refresh);
|
||||
refresh_timeout_id = Timeout.add_seconds (refresh_period_in_hours*3600, refresh);
|
||||
}
|
||||
|
||||
public override void startup () {
|
||||
@ -219,7 +219,6 @@ namespace Pamac {
|
||||
|
||||
base.startup ();
|
||||
|
||||
pamac_config = new Pamac.Config ("/etc/pamac.conf");
|
||||
locked = false;
|
||||
refresh_timeout_id = 0;
|
||||
|
||||
@ -233,7 +232,8 @@ namespace Pamac {
|
||||
Notify.init (_("Update Manager"));
|
||||
|
||||
refresh ();
|
||||
launch_refresh_timeout ();
|
||||
var pamac_config = new Pamac.Config ("/etc/pamac.conf");
|
||||
launch_refresh_timeout ((uint) pamac_config.refresh_period);
|
||||
Timeout.add (500, check_pacman_running);
|
||||
|
||||
this.hold ();
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -44,20 +44,23 @@ namespace Pamac {
|
||||
transaction_info_dialog.expander.set_visible (false);
|
||||
transaction_info_dialog.run ();
|
||||
transaction_info_dialog.hide ();
|
||||
} else
|
||||
} else {
|
||||
updater_window = new UpdaterWindow (this);
|
||||
}
|
||||
}
|
||||
|
||||
public override void activate () {
|
||||
if (pamac_run == false)
|
||||
if (pamac_run == false) {
|
||||
updater_window.present ();
|
||||
}
|
||||
}
|
||||
|
||||
public override void shutdown () {
|
||||
base.shutdown ();
|
||||
if (pamac_run == false)
|
||||
if (pamac_run == false) {
|
||||
updater_window.transaction.stop_daemon ();
|
||||
}
|
||||
}
|
||||
|
||||
bool check_pamac_running () {
|
||||
Application app;
|
||||
@ -69,9 +72,9 @@ namespace Pamac {
|
||||
stderr.printf ("%s\n", e.message);
|
||||
}
|
||||
run = app.get_is_remote ();
|
||||
if (run)
|
||||
if (run) {
|
||||
return run;
|
||||
else {
|
||||
} else {
|
||||
app = new Application ("org.manjaro.pamac.install", 0);
|
||||
try {
|
||||
app.register ();
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* pamac-vala
|
||||
*
|
||||
* Copyright (C) 2014 Guillaume Benoit <guillaume@manjaro.org>
|
||||
* Copyright (C) 2014-2015 Guillaume Benoit <guillaume@manjaro.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -17,38 +17,33 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using Gtk;
|
||||
|
||||
namespace Pamac {
|
||||
|
||||
[GtkTemplate (ui = "/org/manjaro/pamac/updater/updater_window.ui")]
|
||||
public class UpdaterWindow : Gtk.ApplicationWindow {
|
||||
|
||||
[GtkChild]
|
||||
public Label top_label;
|
||||
public Gtk.Label top_label;
|
||||
[GtkChild]
|
||||
public TreeView updates_treeview;
|
||||
public Gtk.TreeView updates_treeview;
|
||||
[GtkChild]
|
||||
public Label bottom_label;
|
||||
public Gtk.Label bottom_label;
|
||||
[GtkChild]
|
||||
public Button apply_button;
|
||||
public Gtk.Button apply_button;
|
||||
|
||||
public Gtk.ListStore updates_list;
|
||||
|
||||
public ListStore updates_list;
|
||||
public Pamac.Config pamac_config;
|
||||
public Pamac.Transaction transaction;
|
||||
|
||||
public UpdaterWindow (Gtk.Application application) {
|
||||
Object (application: application);
|
||||
|
||||
pamac_config = new Pamac.Config ("/etc/pamac.conf");
|
||||
|
||||
updates_list = new Gtk.ListStore (2, typeof (string), typeof (string));
|
||||
updates_treeview.set_model (updates_list);
|
||||
|
||||
transaction = new Transaction (this as ApplicationWindow);
|
||||
transaction = new Transaction (this as Gtk.ApplicationWindow);
|
||||
transaction.mode = Mode.UPDATER;
|
||||
transaction.check_aur = pamac_config.enable_aur;
|
||||
transaction.finished.connect (on_emit_trans_finished);
|
||||
transaction.finished.connect (on_transaction_finished);
|
||||
|
||||
bottom_label.set_visible (false);
|
||||
apply_button.set_sensitive (false);
|
||||
@ -58,10 +53,9 @@ namespace Pamac {
|
||||
|
||||
[GtkCallback]
|
||||
public void on_preferences_button_clicked () {
|
||||
bool changes = transaction.run_preferences_dialog (pamac_config);
|
||||
if (changes) {
|
||||
transaction.run_preferences_dialog.begin (() => {
|
||||
set_updates_list.begin ();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
[GtkCallback]
|
||||
@ -79,7 +73,7 @@ namespace Pamac {
|
||||
while (Gtk.events_pending ()) {
|
||||
Gtk.main_iteration ();
|
||||
}
|
||||
transaction.refresh (0);
|
||||
transaction.start_refresh (0);
|
||||
}
|
||||
|
||||
[GtkCallback]
|
||||
@ -87,7 +81,7 @@ namespace Pamac {
|
||||
this.application.quit ();
|
||||
}
|
||||
|
||||
public void on_emit_trans_finished (bool error) {
|
||||
public void on_transaction_finished (bool error) {
|
||||
set_updates_list.begin ();
|
||||
}
|
||||
|
||||
@ -96,21 +90,16 @@ namespace Pamac {
|
||||
while (Gtk.events_pending ()) {
|
||||
Gtk.main_iteration ();
|
||||
}
|
||||
|
||||
top_label.set_markup ("");
|
||||
updates_list.clear ();
|
||||
UpdatesInfos[] updates = {};
|
||||
try {
|
||||
updates = transaction.daemon.get_updates ();
|
||||
} catch (IOError e) {
|
||||
stderr.printf ("IOError: %s\n", e.message);
|
||||
}
|
||||
TreeIter iter;
|
||||
bottom_label.set_visible (false);
|
||||
Gtk.TreeIter iter;
|
||||
string name;
|
||||
string size;
|
||||
uint64 dsize = 0;
|
||||
uint updates_nb = 0;
|
||||
foreach (UpdatesInfos infos in updates) {
|
||||
Updates updates = yield transaction.get_updates ();
|
||||
foreach (UpdateInfos infos in updates.repos_updates) {
|
||||
name = infos.name + " " + infos.version;
|
||||
if (infos.download_size != 0) {
|
||||
size = format_size (infos.download_size);
|
||||
@ -118,9 +107,15 @@ namespace Pamac {
|
||||
size = "";
|
||||
}
|
||||
dsize += infos.download_size;
|
||||
updates_nb++;
|
||||
updates_list.insert_with_values (out iter, -1, 0, name, 1, size);
|
||||
}
|
||||
foreach (UpdateInfos infos in updates.aur_updates) {
|
||||
name = infos.name + " " + infos.version;
|
||||
size = "";
|
||||
updates_nb++;
|
||||
updates_list.insert_with_values (out iter, -1, 0, name, 1, size);
|
||||
}
|
||||
updates_nb = updates.length;
|
||||
if (updates_nb == 0) {
|
||||
top_label.set_markup("<b>%s</b>".printf (dgettext (null, "Your system is up-to-date")));
|
||||
apply_button.set_sensitive (false);
|
||||
@ -134,7 +129,6 @@ namespace Pamac {
|
||||
} else {
|
||||
bottom_label.set_visible (false);
|
||||
}
|
||||
|
||||
this.get_window ().set_cursor (null);
|
||||
while (Gtk.events_pending ()) {
|
||||
Gtk.main_iteration ();
|
||||
|
@ -448,7 +448,7 @@ namespace Alpm {
|
||||
public unowned Alpm.List<unowned string?> unused_deltas {
|
||||
[CCode (cname = "alpm_pkg_unused_deltas")] get;
|
||||
}
|
||||
public unowned Alpm.List<unowned Backup?> backup {
|
||||
public unowned Alpm.List<unowned Backup?> backups {
|
||||
[CCode (cname = "alpm_pkg_get_backup")] get;
|
||||
}
|
||||
public unowned DB? db {
|
||||
|
Loading…
Reference in New Issue
Block a user