Various translation fixes

Fixes #1219227 [Enhancement and missing translation strings](https://bugs.launchpad.net/calibre/+bug/1219227)
This commit is contained in:
Kovid Goyal 2013-09-01 11:44:53 +05:30
parent 10d96d43ea
commit da951ddee7
2 changed files with 10 additions and 1 deletions

View File

@ -863,7 +863,7 @@ class BooksModel(QAbstractTableModel): # {{{
if ht == 'timestamp': # change help text because users know this field as 'date'
ht = 'date'
if self.db.field_metadata[self.column_map[section]]['is_category']:
is_cat = '.\n\n' + _('Click in this column and press Q to Quickview books with the same %s' % ht)
is_cat = '.\n\n' + _('Click in this column and press Q to Quickview books with the same %s') % ht
else:
is_cat = ''
return QVariant(_('The lookup/search name is "{0}"{1}').format(ht, is_cat))

View File

@ -217,6 +217,15 @@ if False:
_('Fonts')
_('&Step up')
_('Step &down')
_('Basic colors')
_('Custom colors')
_('&Add to Custom Colors')
_('Hu&e')
_('&Sat')
_('&Val')
_('&Red')
_('&Green')
_('Bl&ue')
_lcase_map = {}
for k in _extra_lang_codes: