translation fixes

This commit is contained in:
guinux 2013-04-01 10:08:03 +02:00
parent 84865bcd9f
commit dbbc5a97a0
3 changed files with 6 additions and 6 deletions

View File

@ -159,7 +159,7 @@ class PamacDBusService(dbus.service.Object):
size = pkg.size size = pkg.size
if _transferred == size: if _transferred == size:
self.already_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.target = _target
self.percent = round(fraction, 2) self.percent = round(fraction, 2)
self.icon = '/usr/share/pamac/icons/24x24/status/package-download.png' self.icon = '/usr/share/pamac/icons/24x24/status/package-download.png'

View File

@ -345,14 +345,14 @@ def set_infos_list(pkg):
# fix & in url # fix & in url
url = pkg.url.replace('&', '&') url = pkg.url.replace('&', '&')
link_label.set_markup('<a href=\"{_url}\">{_url}</a>'.format(_url = url)) link_label.set_markup('<a href=\"{_url}\">{_url}</a>'.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): def set_deps_list(pkg, style):
deps_list.clear() deps_list.clear()
if pkg.depends: if pkg.depends:
deps_list.append([_('Depends On') + ':', '\n'.join(pkg.depends)]) deps_list.append([_('Depends On')+':', '\n'.join(pkg.depends)])
if pkg.optdepends: 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 style == 'local':
if pkg.compute_requiredby(): if pkg.compute_requiredby():
deps_list.append([_('Required By')+':', '\n'.join(pkg.compute_requiredby())]) deps_list.append([_('Required By')+':', '\n'.join(pkg.compute_requiredby())])

View File

@ -63,7 +63,7 @@ msgstr "Configuration"
#: pamac-daemon.py:162 #: pamac-daemon.py:162
msgid "Downloading {size}" msgid "Downloading {size}"
msgstr "Télécharge {size}" msgstr "Téléchargement de {size}"
#: pamac-daemon.py:167 pamac/main.py:504 #: pamac-daemon.py:167 pamac/main.py:504
msgid "Refreshing" msgid "Refreshing"
@ -255,7 +255,7 @@ msgid ""
"{pkgname1} conflicts with {pkgname2}\n" "{pkgname1} conflicts with {pkgname2}\n"
"None of them will be installed" "None of them will be installed"
msgstr "" msgstr ""
"{pkgname1} est en conflit avec {pkgname2}}\n" "{pkgname1} est en conflit avec {pkgname2}\n"
"Aucun d'entre eux ne sera installé" "Aucun d'entre eux ne sera installé"
#: pamac/main.py:782 #: pamac/main.py:782