This commit is contained in:
Kovid Goyal 2014-04-18 19:16:08 +05:30
parent f49cbe2489
commit 394b9c20d9

View File

@ -106,7 +106,7 @@ class AddDictionary(QDialog): # {{{
'You must specify a nickname for this dictionary'), show=True) 'You must specify a nickname for this dictionary'), show=True)
if nick in {d.name for d in custom_dictionaries()}: if nick in {d.name for d in custom_dictionaries()}:
return error_dialog(self, _('Nickname already used'), _( return error_dialog(self, _('Nickname already used'), _(
'A dictionary with the nick name "%s" already exists.'), show=True) 'A dictionary with the nick name "%s" already exists.') % nick, show=True)
oxt = unicode(self.path.text()) oxt = unicode(self.path.text())
try: try:
num = import_from_oxt(oxt, nick) num = import_from_oxt(oxt, nick)