From da951ddee720f2841add88542f73c47798139486 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 1 Sep 2013 11:44:53 +0530 Subject: [PATCH] Various translation fixes Fixes #1219227 [Enhancement and missing translation strings](https://bugs.launchpad.net/calibre/+bug/1219227) --- src/calibre/gui2/library/models.py | 2 +- src/calibre/utils/localization.py | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/library/models.py b/src/calibre/gui2/library/models.py index cfa687ab37..ebf5e1d188 100644 --- a/src/calibre/gui2/library/models.py +++ b/src/calibre/gui2/library/models.py @@ -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)) diff --git a/src/calibre/utils/localization.py b/src/calibre/utils/localization.py index 20688e44e8..e558df75b3 100644 --- a/src/calibre/utils/localization.py +++ b/src/calibre/utils/localization.py @@ -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: