Update core fr translation.

This commit is contained in:
Valentin Lorentz 2019-11-24 12:47:03 +01:00
parent 0828b207be
commit 63b0d7e653
4 changed files with 881 additions and 516 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -476,21 +476,21 @@ def formatWhois(irc, replies, caller='', channel='', command='whois'):
idle = utils.timeElapsed(replies['317'].args[2])
signon = utils.str.timestamp(float(replies['317'].args[3]))
else:
idle = '<unknown>'
signon = '<unknown>'
idle = _('<unknown>')
signon = _('<unknown>')
if '312' in replies:
server = replies['312'].args[2]
if len(replies['312']) > 3:
signoff = replies['312'].args[3]
else:
server = '<unknown>'
server = _('<unknown>')
if '301' in replies:
away = ' %s is away: %s.' % (nick, replies['301'].args[2])
away = _(' %s is away: %s.') % (nick, replies['301'].args[2])
else:
away = ''
if '320' in replies:
if replies['320'].args[2]:
identify = ' identified'
identify = _(' identified')
else:
identify = ''
else:

View File

@ -215,7 +215,7 @@ class Group(object):
raise ValueError('Groups have no value.')
def __nonExistentEntry(self, attr):
s = '%r is not a valid entry in %r' % (attr, self._name)
s = _('%r is not a valid entry in %r') % (attr, self._name)
raise NonExistentRegistryEntry(s)
def _makeChild(self, attr, s):