mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:Fix 'MMM yyyy' should not be translated.
This commit is contained in:
parent
5c2ca385b5
commit
831ce503f4
@ -5,8 +5,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: calibre 0.6.6\n"
|
||||
"POT-Creation-Date: 2009-08-13 12:06+MDT\n"
|
||||
"PO-Revision-Date: 2009-08-13 12:06+MDT\n"
|
||||
"POT-Creation-Date: 2009-08-13 12:30+MDT\n"
|
||||
"PO-Revision-Date: 2009-08-13 12:30+MDT\n"
|
||||
"Last-Translator: Automatically generated\n"
|
||||
"Language-Team: LANGUAGE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -3688,10 +3688,6 @@ msgstr ""
|
||||
msgid "Publishe&d:"
|
||||
msgstr ""
|
||||
|
||||
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_single_ui.py:362
|
||||
msgid "MMM yyyy"
|
||||
msgstr ""
|
||||
|
||||
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/metadata_single_ui.py:363
|
||||
msgid "&Comments"
|
||||
msgstr ""
|
||||
|
@ -344,6 +344,7 @@ class gui(OptionlessCommand):
|
||||
dat = dat.replace('from convert.xpath_wizard import',
|
||||
'from calibre.gui2.convert.xpath_wizard import')
|
||||
dat = re.compile(r'QtGui.QApplication.translate\(.+?,\s+"(.+?)(?<!\\)",.+?\)', re.DOTALL).sub(r'_("\1")', dat)
|
||||
dat = dat.replace('_("MMM yyyy")', '"MMM yyyy"')
|
||||
|
||||
# Workaround bug in Qt 4.4 on Windows
|
||||
if form.endswith('dialogs%sconfig.ui'%os.sep) or form.endswith('dialogs%slrf_single.ui'%os.sep):
|
||||
|
Loading…
x
Reference in New Issue
Block a user