IGN:Update translations template

This commit is contained in:
Kovid Goyal 2009-09-05 12:21:09 -06:00
parent 57a8ad027f
commit 718c1b4496
2 changed files with 5 additions and 5 deletions

View File

@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: calibre 0.6.11\n" "Project-Id-Version: calibre 0.6.11\n"
"POT-Creation-Date: 2009-09-05 11:07+MDT\n" "POT-Creation-Date: 2009-09-05 12:20+MDT\n"
"PO-Revision-Date: 2009-09-05 11:07+MDT\n" "PO-Revision-Date: 2009-09-05 12:20+MDT\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: LANGUAGE\n" "Language-Team: LANGUAGE\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -4884,7 +4884,7 @@ msgid "Conversion Error"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/main.py:1589 #: /home/kovid/work/calibre/src/calibre/gui2/main.py:1589
msgid "<p>Could not convert: %s<p>It is a <a href=\"%s\">DRM</a>ed book. You must first remove the DRM using 3rd party tools." msgid "<p>Could not convert: %s<p>It is a <a href=\"%s\">DRM</a>ed book. You must first remove the DRM using third party tools."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/main.py:1607 #: /home/kovid/work/calibre/src/calibre/gui2/main.py:1607

View File

@ -318,13 +318,13 @@ class get_translations(translations):
#'-t', 'emails', #'-t', 'emails',
#'-t', 'doublequoting', #'-t', 'doublequoting',
#'-t', 'filepaths', #'-t', 'filepaths',
'-t', 'numbers', #'-t', 'numbers',
'-t', 'options', '-t', 'options',
#'-t', 'urls', #'-t', 'urls',
'-t', 'printf') '-t', 'printf')
subprocess.check_call(pofilter) subprocess.check_call(pofilter)
errfiles = glob.glob(errors+os.sep+'*.po') errfiles = glob.glob(errors+os.sep+'*.po')
subprocess.check_call(['gvim', '-p', '--']+errfiles) subprocess.check_call(['gvim', '-f', '-p', '--']+errfiles)
for f in errfiles: for f in errfiles:
with open(f, 'r+b') as f: with open(f, 'r+b') as f:
raw = f.read() raw = f.read()