...
 
Commits (28)
......@@ -37,6 +37,7 @@ def start_transaction():
def on_trans_finished (transaction, success, data):
transaction.unlock()
transaction.quit_daemon()
loop.quit()
if __name__ == "__main__":
......
#!/usr/bin/python
"""
somes tests for python
Depends On:
pamac
pacman
not installed:
ruby-yard
"""
# run only one:
# ./tests.py GetInfosCase.test_versions_search_db
# ./tests.py -v -k files
import gi
import os
import subprocess
import locale
from datetime import date
import unittest
gi.require_version('Pamac', '1.0')
# import xml /usr/share/gir-1.0/Pamac-1.0.gir
from gi.repository import GLib, Pamac
def get_item_desc(file_pacman: str, key: str = "%VERSION%"):
"""
get values in db pacman file
/var/lib/pacman/local/***-***/{desc,files}
key: %DEPENDS% %INSTALLDATE% %VERSION% %NAME%...
"""
found = False
with open(file_pacman) as f_db:
for line in f_db:
if line.startswith(key):
found = True
continue
if found:
if line.strip():
yield line.strip()
else:
break
class GetInfosCase(unittest.TestCase):
"""Hieght level tests"""
def setUp(self):
"""init tests"""
locale.setlocale(locale.LC_ALL, '')
self.config = Pamac.Config(conf_path="/etc/pamac.conf")
self.config.set_enable_aur(True) # is true
self.db = Pamac.Database(config=self.config) # view src/database.vala
def tearDown(self):
pass
def test_pacman_installed(self):
"""pacman installed for tests"""
pkg = self.db.get_pkg_details("pacman", "")
self.assertEqual("pacman", pkg.get_name())
self.assertIsNotNone(pkg.props.installed_version)
def test_not_installed(self):
"""detect not installed"""
# package not exist
pkg = self.db.get_pkg_details("toto-test", "")
self.assertNotEqual("toto-test", pkg.get_name())
self.assertEqual(pkg.props.installed_version, "")
# package exist
pkg = self.db.get_pkg_details("ruby-yard", "")
self.assertEqual(pkg.props.installed_version, "")
def test_giobject_detail_name(self):
"""attrs .props are same as fonctions"""
pkg = self.db.get_pkg_details("pacman", "")
self.assertEqual(pkg.props.name, pkg.get_name())
def test_giobject_search_name(self):
"""function db.search_pkgs()"""
pkgs = self.db.search_pkgs("pacman")
for pkg in pkgs:
self.assertEqual(pkg.props.name, pkg.get_name())
def test_giobject_search_version(self):
"""version install is as version"""
#pkgs = self.db.search_pkgs("pacman")
pkgs = self.db.get_installed_pkgs()
for pkg in pkgs:
if pkg.props.installed_version:
with self.subTest(pkg=pkg):
self.assertEqual(pkg.props.version, pkg.props.installed_version)
def test_count_installed(self):
"""count on disk pacman db packages installed"""
pkgs = self.db.get_installed_pkgs()
ldir = os.listdir("/var/lib/pacman/local/")
ldir.remove("ALPM_DB_VERSION")
self.assertEqual(len(ldir), len(pkgs))
def test_all_installed(self):
"""test names/version on disk pacman db packages installed"""
plist = []
pkgs = self.db.get_installed_pkgs()
plist = {f"{pkg.props.name}-{pkg.props.installed_version}" for pkg in pkgs}
ldir = os.listdir("/var/lib/pacman/local/")
ldir.remove("ALPM_DB_VERSION")
for p_name_v in plist:
self.assertIn(p_name_v, ldir)
def test_versions_search_db(self):
"""VERSION is as pacman"""
pkgs = self.db.search_pkgs("pacman")
for pkg in pkgs:
if pkg.props.installed_version:
with self.subTest(pkg=pkg):
fdesc = f"/var/lib/pacman/local/{pkg.props.name}-{pkg.props.version}/desc"
self.assertTrue(os.path.exists(fdesc))
result = get_item_desc(fdesc, "%VERSION%")
self.assertEqual(pkg.props.version, next(result))
def test_depends_search_db(self):
"""DEPENDS are as pacman"""
pkgs = self.db.search_pkgs("pacman")
for pkg in pkgs:
if pkg.props.installed_version:
with self.subTest(pkg=pkg):
fdesc = f"/var/lib/pacman/local/{pkg.props.name}-{pkg.props.version}/desc"
self.assertTrue(os.path.exists(fdesc))
package = self.db.get_pkg_details(pkg.props.name, "")
result = get_item_desc(fdesc, "%DEPENDS%")
for dep in result:
self.assertIn(dep, package.props.depends)
def test_search_pacman(self):
"""compare results with pacman -Ssq"""
result = subprocess.run(['pacman', '-Ssq', 'pacman'], capture_output=True, check=True)
result = result.stdout.decode().split("\n")
result.remove('')
pkgs = self.db.search_pkgs("pacman")
pkgs = {pkg.props.name for pkg in pkgs}
for pkg in result:
self.assertIn(pkg, pkgs)
'''
can't test if aur package installed
for pkg in pkgs:
self.assertIn(pkg, result)
'''
def test_date_detail_pacman(self):
"""valid date and locale date"""
pkg = self.db.get_pkg_details("pacman", "")
fdesc = f"/var/lib/pacman/local/{pkg.props.name}-{pkg.props.version}/desc"
self.assertTrue(os.path.exists(fdesc))
result = get_item_desc(fdesc, "%BUILDDATE%")
d_test = int(next(result))
d_test = date.fromtimestamp(d_test).strftime("%x")
self.assertEqual(pkg.props.builddate, d_test)
def test_files(self):
"""files same as pacman db"""
pkg = self.db.get_pkg_details("pacman", "")
fdesc = f"/var/lib/pacman/local/{pkg.props.name}-{pkg.props.version}/files"
self.assertTrue(os.path.exists(fdesc))
myfiles = self.db.get_pkg_files("pacman")
result = get_item_desc(fdesc, "%FILES%")
for f_name in result:
if not f_name.endswith("/"):
self.assertIn("/" + f_name, myfiles)
def test_search_aur(self):
"""simple search in aur"""
loop = GLib.MainLoop()
def on_search_aur_pkgs_ready_callback(source_object, result, user_data):
found = False
self.assertIsNone(user_data)
try:
pkgs = source_object.search_in_aur_finish(result)
for pkg in pkgs:
with self.subTest(pkg=pkg):
self.assertTrue(pkg.props.version)
self.assertEqual(pkg.props.version, pkg.get_version())
self.assertTrue(isinstance(
pkg.props.popularity, (int, float)))
found = True
finally:
loop.quit()
self.assertTrue(found)
self.db.search_in_aur_async(
'pamac', on_search_aur_pkgs_ready_callback, None)
loop.run()
if __name__ == '__main__':
unittest.main(verbosity=2, failfast=True)
data/polkit/org.manjaro.pamac.policy.in
src/user_daemon.vala
src/alpm_utils.vala
src/system_daemon.vala
src/transaction.vala
src/transaction-gtk.vala
......
......@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: manjaro-pamac\n"
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
"POT-Creation-Date: 2018-08-29 13:10+0200\n"
"PO-Revision-Date: 2018-08-29 12:34+0000\n"
"POT-Creation-Date: 2018-09-08 17:58+0200\n"
"PO-Revision-Date: 2018-09-09 01:06+0000\n"
"Last-Translator: philm <philm@manjaro.org>\n"
"Language-Team: Afrikaans (http://www.transifex.com/manjarolinux/manjaro-pamac/language/af/)\n"
"MIME-Version: 1.0\n"
......@@ -22,110 +22,110 @@ msgstr ""
msgid "Authentication is required"
msgstr ""
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to initialize alpm library"
msgstr ""
#: src/alpm_utils.vala
msgid "Unknown"
msgstr ""
#: src/user_daemon.vala src/manager_window.vala
#: src/alpm_utils.vala src/manager_window.vala
msgid "Explicitly installed"
msgstr ""
#: src/user_daemon.vala src/manager_window.vala
#: src/alpm_utils.vala src/manager_window.vala
msgid "Installed as a dependency for another package"
msgstr ""
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "Yes"
msgstr ""
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "No"
msgstr ""
#: src/system_daemon.vala
msgid "Failed to initialize alpm library"
msgstr ""
#: src/system_daemon.vala
msgid "Authentication failed"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to synchronize any databases"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to init transaction"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to prepare transaction"
msgstr ""
#: src/system_daemon.vala src/cli.vala
#: src/alpm_utils.vala src/cli.vala
#, c-format
msgid "target not found: %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "package %s does not have a valid architecture"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "unable to satisfy dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "installing %s (%s) breaks dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "removing %s breaks dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s and %s are in conflict"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s needs to be removed but it is a locked package"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to commit transaction"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s exists in both %s and %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s: %s already exists in filesystem"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s is invalid or corrupted"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s appears to be truncated: %jd/%jd bytes\n"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "failed retrieving file '%s' from %s : %s\n"
msgstr ""
#: src/system_daemon.vala
msgid "Authentication failed"
msgstr ""
#: src/transaction.vala
msgid "Refreshing mirrors list"
msgstr ""
......@@ -138,6 +138,10 @@ msgstr ""
msgid "Starting full system upgrade"
msgstr ""
#: src/transaction.vala src/tray.vala src/manager_window.vala src/cli.vala
msgid "Your system is up-to-date"
msgstr ""
#: src/transaction.vala
msgid "Preparing"
msgstr ""
......@@ -370,10 +374,6 @@ msgstr ""
msgid "package(s)"
msgstr ""
#: src/tray.vala src/manager_window.vala src/cli.vala
msgid "Your system is up-to-date"
msgstr ""
#: src/tray.vala
msgid "_Quit"
msgstr ""
......@@ -703,6 +703,15 @@ msgstr ""
msgid "file(s)"
msgstr ""
#: src/cli.vala
msgid "search in AUR instead of repositories"
msgstr ""
#: src/cli.vala
msgid ""
"search for packages which own the given filenames (filenames can be partial)"
msgstr ""
#: src/cli.vala
msgid "Display package details, multiple packages can be specified"
msgstr ""
......@@ -711,22 +720,64 @@ msgstr ""
msgid "List packages, groups, repositories or files"
msgstr ""
#: src/cli.vala
msgid "list installed packages"
msgstr ""
#: src/cli.vala
msgid ""
"list packages that were installed as dependencies but are no longer required"
" by any installed package"
msgstr ""
#: src/cli.vala
msgid "list packages that were not found in the repositories"
msgstr ""
#: src/cli.vala
msgid ""
"list all packages that are members of the given groups, if no group is given"
" list all groups"
msgstr ""
#: src/cli.vala
msgid "group(s)"
msgstr ""
#: src/cli.vala
msgid ""
"list all packages available in the given repos, if no repo is given list all"
" repos"
msgstr ""
#: src/cli.vala
msgid "repo(s)"
msgstr ""
#: src/cli.vala
msgid "list files owned by the given packages"
msgstr ""
#: src/cli.vala
msgid "Build packages from AUR and install them with their dependencies"
msgstr ""
#: src/cli.vala
msgid ""
"build directory, if no directory is given the one specified in pamac.conf "
"file is used"
msgstr ""
#: src/cli.vala
msgid "dir"
msgstr ""
#: src/cli.vala
msgid ""
"overwrite conflicting files, multiple patterns can be specified by "
"separating them with a comma"
msgstr ""
#: src/cli.vala
msgid "glob"
msgstr ""
......@@ -735,6 +786,12 @@ msgstr ""
msgid "Reinstall packages"
msgstr ""
#: src/cli.vala
msgid ""
"remove dependencies that are not required by other packages, if this option "
"is used without package name remove all orphans"
msgstr ""
#: src/cli.vala
msgid "Safely check for updates without modifiying the databases"
msgstr ""
......@@ -743,10 +800,38 @@ msgstr ""
msgid "Exit code is 100 if updates are available"
msgstr ""
#: src/cli.vala
msgid "also check updates in AUR"
msgstr ""
#: src/cli.vala
msgid "Upgrade your system"
msgstr ""
#: src/cli.vala
msgid "also upgrade packages installed from AUR"
msgstr ""
#: src/cli.vala
msgid ""
"build directory (use with --aur), if no directory is given the one specified"
" in pamac.conf file is used"
msgstr ""
#: src/cli.vala
msgid "force the refresh of the databases"
msgstr ""
#: src/cli.vala
msgid "enable package downgrades"
msgstr ""
#: src/cli.vala
msgid ""
"ignore a package upgrade, multiple packages can be specified by separating "
"them with a comma"
msgstr ""
#: src/cli.vala resources/manager_window.ui
msgid "Version"
msgstr ""
......
This diff is collapsed.
......@@ -14,8 +14,8 @@ msgid ""
msgstr ""
"Project-Id-Version: manjaro-pamac\n"
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
"POT-Creation-Date: 2018-08-29 13:10+0200\n"
"PO-Revision-Date: 2018-08-29 12:34+0000\n"
"POT-Creation-Date: 2018-09-08 17:58+0200\n"
"PO-Revision-Date: 2018-09-09 01:06+0000\n"
"Last-Translator: philm <philm@manjaro.org>\n"
"Language-Team: Asturian (http://www.transifex.com/manjarolinux/manjaro-pamac/language/ast/)\n"
"MIME-Version: 1.0\n"
......@@ -28,110 +28,110 @@ msgstr ""
msgid "Authentication is required"
msgstr "Ríquese l'autenticación"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to initialize alpm library"
msgstr "Fallu al aniciar la llibrería alpm"
#: src/alpm_utils.vala
msgid "Unknown"
msgstr "Desconocíu"
#: src/user_daemon.vala src/manager_window.vala
#: src/alpm_utils.vala src/manager_window.vala
msgid "Explicitly installed"
msgstr "Instaláu esplícitamente"
#: src/user_daemon.vala src/manager_window.vala
#: src/alpm_utils.vala src/manager_window.vala
msgid "Installed as a dependency for another package"
msgstr "Instaláu como una dependencia pa otru paquete"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "Yes"
msgstr "Sí"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "No"
msgstr "Non"
#: src/system_daemon.vala
msgid "Failed to initialize alpm library"
msgstr "Fallu al aniciar la llibrería alpm"
#: src/system_daemon.vala
msgid "Authentication failed"
msgstr "Autenticación fallida"
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to synchronize any databases"
msgstr "Fallu al sincronizar les bases de datos"
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to init transaction"
msgstr "Fallu al aniciar la transaición"
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to prepare transaction"
msgstr "Fallu al tresnar la transaición"
#: src/system_daemon.vala src/cli.vala
#: src/alpm_utils.vala src/cli.vala
#, c-format
msgid "target not found: %s"
msgstr "nun s'alcontró l'oxetivu: %s"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "package %s does not have a valid architecture"
msgstr "el paquete %s nun tien una arquitectura válida"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "unable to satisfy dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "installing %s (%s) breaks dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "removing %s breaks dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s and %s are in conflict"
msgstr "%s y %s tán en conflictu"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s needs to be removed but it is a locked package"
msgstr "%s necesita desaniciase pero ye un paquete bloquiáu"
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to commit transaction"
msgstr "Fallu al validar la transaición"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s exists in both %s and %s"
msgstr "%s esiste en %s y %s"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s: %s already exists in filesystem"
msgstr "%s: %s yá esiste nel sistema ficheros"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s is invalid or corrupted"
msgstr "%s ta toriáu o nun ye válidu"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s appears to be truncated: %jd/%jd bytes\n"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "failed retrieving file '%s' from %s : %s\n"
msgstr ""
#: src/system_daemon.vala
msgid "Authentication failed"
msgstr "Autenticación fallida"
#: src/transaction.vala
msgid "Refreshing mirrors list"
msgstr "Refrescando llista d'espeyos"
......@@ -144,6 +144,10 @@ msgstr "Sincronizando bases de datos de paquetes"
msgid "Starting full system upgrade"
msgstr "Aniciando anovamientu completu del sistema"
#: src/transaction.vala src/tray.vala src/manager_window.vala src/cli.vala
msgid "Your system is up-to-date"
msgstr "El to sistema ta anováu"
#: src/transaction.vala
msgid "Preparing"
msgstr "Tresnando"
......@@ -376,10 +380,6 @@ msgstr ""
msgid "package(s)"
msgstr ""
#: src/tray.vala src/manager_window.vala src/cli.vala
msgid "Your system is up-to-date"
msgstr "El to sistema ta anováu"
#: src/tray.vala
msgid "_Quit"
msgstr "_Colar"
......@@ -709,6 +709,15 @@ msgstr ""
msgid "file(s)"
msgstr ""
#: src/cli.vala
msgid "search in AUR instead of repositories"
msgstr ""
#: src/cli.vala
msgid ""
"search for packages which own the given filenames (filenames can be partial)"
msgstr ""
#: src/cli.vala
msgid "Display package details, multiple packages can be specified"
msgstr ""
......@@ -717,22 +726,64 @@ msgstr ""
msgid "List packages, groups, repositories or files"
msgstr ""
#: src/cli.vala
msgid "list installed packages"
msgstr ""
#: src/cli.vala
msgid ""
"list packages that were installed as dependencies but are no longer required"
" by any installed package"
msgstr ""
#: src/cli.vala
msgid "list packages that were not found in the repositories"
msgstr ""
#: src/cli.vala
msgid ""
"list all packages that are members of the given groups, if no group is given"
" list all groups"
msgstr ""
#: src/cli.vala
msgid "group(s)"
msgstr ""
#: src/cli.vala
msgid ""
"list all packages available in the given repos, if no repo is given list all"
" repos"
msgstr ""
#: src/cli.vala
msgid "repo(s)"
msgstr ""
#: src/cli.vala
msgid "list files owned by the given packages"
msgstr ""
#: src/cli.vala
msgid "Build packages from AUR and install them with their dependencies"
msgstr ""
#: src/cli.vala
msgid ""
"build directory, if no directory is given the one specified in pamac.conf "
"file is used"
msgstr ""
#: src/cli.vala
msgid "dir"
msgstr ""
#: src/cli.vala
msgid ""
"overwrite conflicting files, multiple patterns can be specified by "
"separating them with a comma"
msgstr ""
#: src/cli.vala
msgid "glob"
msgstr ""
......@@ -741,6 +792,12 @@ msgstr ""
msgid "Reinstall packages"
msgstr ""
#: src/cli.vala
msgid ""
"remove dependencies that are not required by other packages, if this option "
"is used without package name remove all orphans"
msgstr ""
#: src/cli.vala
msgid "Safely check for updates without modifiying the databases"
msgstr ""
......@@ -749,10 +806,38 @@ msgstr ""
msgid "Exit code is 100 if updates are available"
msgstr ""
#: src/cli.vala
msgid "also check updates in AUR"
msgstr ""
#: src/cli.vala
msgid "Upgrade your system"
msgstr ""
#: src/cli.vala
msgid "also upgrade packages installed from AUR"
msgstr ""
#: src/cli.vala
msgid ""
"build directory (use with --aur), if no directory is given the one specified"
" in pamac.conf file is used"
msgstr ""
#: src/cli.vala
msgid "force the refresh of the databases"
msgstr ""
#: src/cli.vala
msgid "enable package downgrades"
msgstr ""
#: src/cli.vala
msgid ""
"ignore a package upgrade, multiple packages can be specified by separating "
"them with a comma"
msgstr ""
#: src/cli.vala resources/manager_window.ui
msgid "Version"
msgstr "Versión"
......
......@@ -9,8 +9,8 @@ msgid ""
msgstr ""
"Project-Id-Version: manjaro-pamac\n"
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
"POT-Creation-Date: 2018-08-29 13:10+0200\n"
"PO-Revision-Date: 2018-08-29 12:34+0000\n"
"POT-Creation-Date: 2018-09-08 17:58+0200\n"
"PO-Revision-Date: 2018-09-09 01:06+0000\n"
"Last-Translator: philm <philm@manjaro.org>\n"
"Language-Team: Azerbaijani (Azerbaijan) (http://www.transifex.com/manjarolinux/manjaro-pamac/language/az_AZ/)\n"
"MIME-Version: 1.0\n"
......@@ -23,110 +23,110 @@ msgstr ""
msgid "Authentication is required"
msgstr "Kimlik tələb olunur"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to initialize alpm library"
msgstr ""
#: src/alpm_utils.vala
msgid "Unknown"
msgstr "Naməlum"
#: src/user_daemon.vala src/manager_window.vala
#: src/alpm_utils.vala src/manager_window.vala
msgid "Explicitly installed"
msgstr ""
#: src/user_daemon.vala src/manager_window.vala
#: src/alpm_utils.vala src/manager_window.vala
msgid "Installed as a dependency for another package"
msgstr ""
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "Yes"
msgstr "Bəli"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "No"
msgstr "Xeyr"
#: src/system_daemon.vala
msgid "Failed to initialize alpm library"
msgstr ""
#: src/system_daemon.vala
msgid "Authentication failed"
msgstr "Kimlik uğursuzdur"
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to synchronize any databases"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to init transaction"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to prepare transaction"
msgstr ""
#: src/system_daemon.vala src/cli.vala
#: src/alpm_utils.vala src/cli.vala
#, c-format
msgid "target not found: %s"
msgstr "hədəf tapılmadı: %s"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "package %s does not have a valid architecture"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "unable to satisfy dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "installing %s (%s) breaks dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "removing %s breaks dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s and %s are in conflict"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s needs to be removed but it is a locked package"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to commit transaction"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s exists in both %s and %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s: %s already exists in filesystem"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s is invalid or corrupted"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s appears to be truncated: %jd/%jd bytes\n"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "failed retrieving file '%s' from %s : %s\n"
msgstr ""
#: src/system_daemon.vala
msgid "Authentication failed"
msgstr "Kimlik uğursuzdur"
#: src/transaction.vala
msgid "Refreshing mirrors list"
msgstr ""
......@@ -139,6 +139,10 @@ msgstr ""
msgid "Starting full system upgrade"
msgstr "Sistemin tam yenilənməsinə başlamaq"
#: src/transaction.vala src/tray.vala src/manager_window.vala src/cli.vala
msgid "Your system is up-to-date"
msgstr "Sisteminiz yenidir"
#: src/transaction.vala
msgid "Preparing"
msgstr "Hazırlanır"
......@@ -371,10 +375,6 @@ msgstr ""
msgid "package(s)"
msgstr ""
#: src/tray.vala src/manager_window.vala src/cli.vala
msgid "Your system is up-to-date"
msgstr "Sisteminiz yenidir"
#: src/tray.vala
msgid "_Quit"
msgstr "_Qurtarmaq"
......@@ -704,6 +704,15 @@ msgstr ""
msgid "file(s)"
msgstr ""
#: src/cli.vala
msgid "search in AUR instead of repositories"
msgstr ""
#: src/cli.vala
msgid ""
"search for packages which own the given filenames (filenames can be partial)"
msgstr ""
#: src/cli.vala
msgid "Display package details, multiple packages can be specified"
msgstr ""
......@@ -712,22 +721,64 @@ msgstr ""
msgid "List packages, groups, repositories or files"
msgstr ""
#: src/cli.vala
msgid "list installed packages"
msgstr ""
#: src/cli.vala
msgid ""
"list packages that were installed as dependencies but are no longer required"
" by any installed package"
msgstr ""
#: src/cli.vala
msgid "list packages that were not found in the repositories"
msgstr ""
#: src/cli.vala
msgid ""
"list all packages that are members of the given groups, if no group is given"
" list all groups"
msgstr ""
#: src/cli.vala
msgid "group(s)"
msgstr ""
#: src/cli.vala
msgid ""
"list all packages available in the given repos, if no repo is given list all"
" repos"
msgstr ""
#: src/cli.vala
msgid "repo(s)"
msgstr ""
#: src/cli.vala
msgid "list files owned by the given packages"
msgstr ""
#: src/cli.vala
msgid "Build packages from AUR and install them with their dependencies"
msgstr ""
#: src/cli.vala
msgid ""
"build directory, if no directory is given the one specified in pamac.conf "
"file is used"
msgstr ""
#: src/cli.vala
msgid "dir"
msgstr ""
#: src/cli.vala
msgid ""
"overwrite conflicting files, multiple patterns can be specified by "
"separating them with a comma"
msgstr ""
#: src/cli.vala
msgid "glob"
msgstr ""
......@@ -736,6 +787,12 @@ msgstr ""
msgid "Reinstall packages"
msgstr ""
#: src/cli.vala
msgid ""
"remove dependencies that are not required by other packages, if this option "
"is used without package name remove all orphans"
msgstr ""
#: src/cli.vala
msgid "Safely check for updates without modifiying the databases"
msgstr ""
......@@ -744,10 +801,38 @@ msgstr ""
msgid "Exit code is 100 if updates are available"
msgstr ""
#: src/cli.vala
msgid "also check updates in AUR"
msgstr ""
#: src/cli.vala
msgid "Upgrade your system"
msgstr ""
#: src/cli.vala
msgid "also upgrade packages installed from AUR"
msgstr ""
#: src/cli.vala
msgid ""
"build directory (use with --aur), if no directory is given the one specified"
" in pamac.conf file is used"
msgstr ""
#: src/cli.vala
msgid "force the refresh of the databases"
msgstr ""
#: src/cli.vala
msgid "enable package downgrades"
msgstr ""
#: src/cli.vala
msgid ""
"ignore a package upgrade, multiple packages can be specified by separating "
"them with a comma"
msgstr ""
#: src/cli.vala resources/manager_window.ui
msgid "Version"
msgstr "Versiya"
......
......@@ -9,8 +9,8 @@ msgid ""
msgstr ""
"Project-Id-Version: manjaro-pamac\n"
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
"POT-Creation-Date: 2018-08-29 13:10+0200\n"
"PO-Revision-Date: 2018-08-29 12:34+0000\n"
"POT-Creation-Date: 2018-09-08 17:58+0200\n"
"PO-Revision-Date: 2018-09-09 01:06+0000\n"
"Last-Translator: philm <philm@manjaro.org>\n"
"Language-Team: Belarusian (http://www.transifex.com/manjarolinux/manjaro-pamac/language/be/)\n"
"MIME-Version: 1.0\n"
......@@ -23,110 +23,110 @@ msgstr ""
msgid "Authentication is required"
msgstr "Патрабуецца аўтарызацыя"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to initialize alpm library"
msgstr "Памылка ініцыялізацыі бібліятэкі alpm"
#: src/alpm_utils.vala
msgid "Unknown"
msgstr "Невядома"
#: src/user_daemon.vala src/manager_window.vala
#: src/alpm_utils.vala src/manager_window.vala
msgid "Explicitly installed"
msgstr "Усталявана адмыслова"
#: src/user_daemon.vala src/manager_window.vala
#: src/alpm_utils.vala src/manager_window.vala
msgid "Installed as a dependency for another package"
msgstr "Усталявана як залежнасць для іншага пакунка"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "Yes"
msgstr "Так"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "No"
msgstr "Не"
#: src/system_daemon.vala
msgid "Failed to initialize alpm library"
msgstr "Памылка ініцыялізацыі бібліятэкі alpm"
#: src/system_daemon.vala
msgid "Authentication failed"
msgstr "Памылка аўтарызацыі"
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to synchronize any databases"
msgstr "Не атрымалася сінхранізаваць з усімі базамі даных"
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to init transaction"
msgstr "Не атрымалася пачаць транзакцыю"
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to prepare transaction"
msgstr "Не атрымалася падрыхтаваць транзакцыю"
#: src/system_daemon.vala src/cli.vala
#: src/alpm_utils.vala src/cli.vala
#, c-format
msgid "target not found: %s"
msgstr "мэта не знойдзена: %s"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "package %s does not have a valid architecture"
msgstr "пакунак %s не мае неабходнай архітэктуры"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "unable to satisfy dependency '%s' required by %s"
msgstr "немагчыма задаволіць залежнасць '%s', неабходную для %s"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "installing %s (%s) breaks dependency '%s' required by %s"
msgstr "усталёўка %s (%s) парушае залежнасць '%s', неабходную для %s"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "removing %s breaks dependency '%s' required by %s"
msgstr "выдаленне %s парушае залежнасць '%s', неабходную для %s"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s and %s are in conflict"
msgstr "%s і %s канфліктуюць"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s needs to be removed but it is a locked package"
msgstr "%s патрэбна выдаліць, але пакунак заблакаваны"
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to commit transaction"
msgstr "Памылка завяршэння транзакцыі"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s exists in both %s and %s"
msgstr "%s існуе ў абодвух %s і %s"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s: %s already exists in filesystem"
msgstr "%s: %s ужо існуе ў файлавай сістэме"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s is invalid or corrupted"
msgstr "%s хібны альбо пашкоджаны"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s appears to be truncated: %jd/%jd bytes\n"
msgstr "%s здаецца, паменшаны на: %jd/%jd байтаў\n"
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "failed retrieving file '%s' from %s : %s\n"
msgstr "памылка атрымання файла '%s' з %s : %s\n"
#: src/system_daemon.vala
msgid "Authentication failed"
msgstr "Памылка аўтарызацыі"
#: src/transaction.vala
msgid "Refreshing mirrors list"
msgstr "Абнаўленне спіса люстэркаў"
......@@ -139,6 +139,10 @@ msgstr "Сінхранізацыя баз даных пакункаў"
msgid "Starting full system upgrade"
msgstr "Запуск поўнага абнаўлення сістэмы"
#: src/transaction.vala src/tray.vala src/manager_window.vala src/cli.vala
msgid "Your system is up-to-date"
msgstr "Сістэма абноўлена"
#: src/transaction.vala
msgid "Preparing"
msgstr "Падрыхтоўка"
......@@ -373,10 +377,6 @@ msgstr "Выдаліць пакункі"
msgid "package(s)"
msgstr "пакунак(кі)"
#: src/tray.vala src/manager_window.vala src/cli.vala
msgid "Your system is up-to-date"
msgstr "Сістэма абноўлена"
#: src/tray.vala
msgid "_Quit"
msgstr "_Выйсці"
......@@ -710,6 +710,15 @@ msgstr "Пошук пакункаў альбо файлаў, можна вызн
msgid "file(s)"
msgstr "файл(ы)"
#: src/cli.vala
msgid "search in AUR instead of repositories"
msgstr ""
#: src/cli.vala
msgid ""
"search for packages which own the given filenames (filenames can be partial)"
msgstr ""
#: src/cli.vala
msgid "Display package details, multiple packages can be specified"
msgstr "Паказаць звесткі аб пакунку, можна вызначыць некалькі пакункаў"
......@@ -718,22 +727,64 @@ msgstr "Паказаць звесткі аб пакунку, можна вызн
msgid "List packages, groups, repositories or files"
msgstr "Спіс пакункаў, групаў, рэпазіторыяў альбо файлаў"
#: src/cli.vala
msgid "list installed packages"
msgstr ""
#: src/cli.vala
msgid ""
"list packages that were installed as dependencies but are no longer required"
" by any installed package"
msgstr ""
#: src/cli.vala
msgid "list packages that were not found in the repositories"
msgstr ""
#: src/cli.vala
msgid ""
"list all packages that are members of the given groups, if no group is given"
" list all groups"
msgstr ""
#: src/cli.vala
msgid "group(s)"
msgstr "група(ы)"
#: src/cli.vala
msgid ""
"list all packages available in the given repos, if no repo is given list all"
" repos"
msgstr ""
#: src/cli.vala
msgid "repo(s)"
msgstr "рэпазіторый(і)"
#: src/cli.vala
msgid "list files owned by the given packages"
msgstr ""
#: src/cli.vala
msgid "Build packages from AUR and install them with their dependencies"
msgstr "Сабраць пакункі з AUR і ўсталяваць іх разам з залежнасцямі"
#: src/cli.vala
msgid ""
"build directory, if no directory is given the one specified in pamac.conf "
"file is used"
msgstr ""
#: src/cli.vala
msgid "dir"
msgstr "каталог"
#: src/cli.vala
msgid ""
"overwrite conflicting files, multiple patterns can be specified by "
"separating them with a comma"
msgstr ""
#: src/cli.vala
msgid "glob"
msgstr "глабальна"
......@@ -742,6 +793,12 @@ msgstr "глабальна"
msgid "Reinstall packages"
msgstr "Пераўсталяваць пакункі"
#: src/cli.vala
msgid ""
"remove dependencies that are not required by other packages, if this option "
"is used without package name remove all orphans"
msgstr ""
#: src/cli.vala
msgid "Safely check for updates without modifiying the databases"
msgstr "Бяспечная праверка на абнаўленні без змены баз даных"
......@@ -750,10 +807,38 @@ msgstr "Бяспечная праверка на абнаўленні без з
msgid "Exit code is 100 if updates are available"
msgstr ""
#: src/cli.vala
msgid "also check updates in AUR"
msgstr ""
#: src/cli.vala
msgid "Upgrade your system"
msgstr "Абнавіць сістэму"
#: src/cli.vala
msgid "also upgrade packages installed from AUR"
msgstr ""
#: src/cli.vala
msgid ""
"build directory (use with --aur), if no directory is given the one specified"
" in pamac.conf file is used"
msgstr ""
#: src/cli.vala
msgid "force the refresh of the databases"
msgstr ""
#: src/cli.vala
msgid "enable package downgrades"
msgstr ""
#: src/cli.vala
msgid ""
"ignore a package upgrade, multiple packages can be specified by separating "
"them with a comma"
msgstr ""
#: src/cli.vala resources/manager_window.ui
msgid "Version"
msgstr "Версія"
......
This diff is collapsed.
......@@ -9,8 +9,8 @@ msgid ""
msgstr ""
"Project-Id-Version: manjaro-pamac\n"
"Report-Msgid-Bugs-To: guillaume@manjaro.org\n"
"POT-Creation-Date: 2018-08-29 13:10+0200\n"
"PO-Revision-Date: 2018-08-29 12:34+0000\n"
"POT-Creation-Date: 2018-09-08 17:58+0200\n"
"PO-Revision-Date: 2018-09-09 01:06+0000\n"
"Last-Translator: philm <philm@manjaro.org>\n"
"Language-Team: Bengali (http://www.transifex.com/manjarolinux/manjaro-pamac/language/bn/)\n"
"MIME-Version: 1.0\n"
......@@ -23,110 +23,110 @@ msgstr ""
msgid "Authentication is required"
msgstr "সত্যতা প্রমাণ করা প্রয়োজন"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to initialize alpm library"
msgstr "alpm লাইব্রেরি চালু করতে ব্যার্থ হয়েছে"
#: src/alpm_utils.vala
msgid "Unknown"
msgstr "অজানা"
#: src/user_daemon.vala src/manager_window.vala
#: src/alpm_utils.vala src/manager_window.vala
msgid "Explicitly installed"
msgstr "স্পষ্টভাবে ইন্সটল করা হয়েছে"
#: src/user_daemon.vala src/manager_window.vala
#: src/alpm_utils.vala src/manager_window.vala
msgid "Installed as a dependency for another package"
msgstr "অন্য প্যাকেজের উপর নির্ভর করে ইন্সটল করা হয়েছে"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "Yes"
msgstr "হ্যা"
#: src/user_daemon.vala
#: src/alpm_utils.vala
msgid "No"
msgstr "না"
#: src/system_daemon.vala
msgid "Failed to initialize alpm library"
msgstr "alpm লাইব্রেরি চালু করতে ব্যার্থ হয়েছে"
#: src/system_daemon.vala
msgid "Authentication failed"
msgstr "সত্যতা প্রমাণ করা যায়নি"
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to synchronize any databases"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to init transaction"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to prepare transaction"
msgstr ""
#: src/system_daemon.vala src/cli.vala
#: src/alpm_utils.vala src/cli.vala
#, c-format
msgid "target not found: %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "package %s does not have a valid architecture"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "unable to satisfy dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "installing %s (%s) breaks dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "removing %s breaks dependency '%s' required by %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s and %s are in conflict"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s needs to be removed but it is a locked package"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
msgid "Failed to commit transaction"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s exists in both %s and %s"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s: %s already exists in filesystem"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s is invalid or corrupted"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "%s appears to be truncated: %jd/%jd bytes\n"
msgstr ""
#: src/system_daemon.vala
#: src/alpm_utils.vala
#, c-format
msgid "failed retrieving file '%s' from %s : %s\n"
msgstr ""
#: src/system_daemon.vala
msgid "Authentication failed"
msgstr "সত্যতা প্রমাণ করা যায়নি"
#: src/transaction.vala
msgid "Refreshing mirrors list"
msgstr ""
......@@ -139,6 +139,10 @@ msgstr ""
msgid "Starting full system upgrade"
msgstr "সম্পূর্ন সিস্টেমের আপগ্রেড শুরু হচ্ছে"
#: src/transaction.vala src/tray.vala src/manager_window.vala src/cli.vala
msgid "Your system is up-to-date"
msgstr ""
#: src/transaction.vala
msgid "Preparing"
msgstr "প্রস্তুত করা হচ্ছে"
......@@ -371,10 +375,6 @@ msgstr ""
msgid "package(s)"
msgstr ""
#: src/tray.vala src/manager_window.vala src/cli.vala
msgid "Your system is up-to-date"
msgstr ""
#: src/tray.vala
msgid "_Quit"
msgstr ""
......@@ -704,6 +704,15 @@ msgstr ""
msgid "file(s)"
msgstr ""
#: src/cli.vala
msgid "search in AUR instead of repositories"
msgstr ""