From dbbc5a97a0e57b0a88c48e5f521ef4b5441d989e Mon Sep 17 00:00:00 2001 From: guinux Date: Mon, 1 Apr 2013 10:08:03 +0200 Subject: [PATCH] translation fixes --- pamac-daemon.py | 2 +- pamac/main.py | 6 +++--- po/fr.po | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pamac-daemon.py b/pamac-daemon.py index 0590271..b16f9dc 100755 --- a/pamac-daemon.py +++ b/pamac-daemon.py @@ -159,7 +159,7 @@ class PamacDBusService(dbus.service.Object): size = pkg.size if _transferred == size: self.already_transferred += size - self.action = _('Downloading {size}'.format(size = common.format_size(self.total_size))) + self.action = _('Downloading {size}').format(size = common.format_size(self.total_size)) self.target = _target self.percent = round(fraction, 2) self.icon = '/usr/share/pamac/icons/24x24/status/package-download.png' diff --git a/pamac/main.py b/pamac/main.py index 2724626..4f05325 100644 --- a/pamac/main.py +++ b/pamac/main.py @@ -345,14 +345,14 @@ def set_infos_list(pkg): # fix & in url url = pkg.url.replace('&', '&') link_label.set_markup('{_url}'.format(_url = url)) - licenses_label.set_markup(_('Licenses') + ': {}'.format(' '.join(pkg.licenses))) + licenses_label.set_markup(_('Licenses')+': {}'.format(' '.join(pkg.licenses))) def set_deps_list(pkg, style): deps_list.clear() if pkg.depends: - deps_list.append([_('Depends On') + ':', '\n'.join(pkg.depends)]) + deps_list.append([_('Depends On')+':', '\n'.join(pkg.depends)]) if pkg.optdepends: - deps_list.append([_('Optional Deps') + ':', '\n'.join(pkg.optdepends)]) + deps_list.append([_('Optional Deps')+':', '\n'.join(pkg.optdepends)]) if style == 'local': if pkg.compute_requiredby(): deps_list.append([_('Required By')+':', '\n'.join(pkg.compute_requiredby())]) diff --git a/po/fr.po b/po/fr.po index 5654ad5..d31f4d3 100644 --- a/po/fr.po +++ b/po/fr.po @@ -63,7 +63,7 @@ msgstr "Configuration" #: pamac-daemon.py:162 msgid "Downloading {size}" -msgstr "Télécharge {size}" +msgstr "Téléchargement de {size}" #: pamac-daemon.py:167 pamac/main.py:504 msgid "Refreshing" @@ -255,7 +255,7 @@ msgid "" "{pkgname1} conflicts with {pkgname2}\n" "None of them will be installed" msgstr "" -"{pkgname1} est en conflit avec {pkgname2}}\n" +"{pkgname1} est en conflit avec {pkgname2}\n" "Aucun d'entre eux ne sera installé" #: pamac/main.py:782