Fix #1917675 [[Enhancement] Strings not translatable in Plugins screen](https://bugs.launchpad.net/calibre/+bug/1917675)

This commit is contained in:
Kovid Goyal 2021-03-04 08:22:46 +05:30
parent 0035e8b65d
commit c851eaf67a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
23 changed files with 23 additions and 23 deletions

View File

@ -13,7 +13,7 @@ class AZW4Input(InputFormatPlugin):
name = 'AZW4 Input'
author = 'John Schember'
description = 'Convert AZW4 to HTML'
description = _('Convert AZW4 to HTML')
file_types = {'azw4'}
commit_name = 'azw4_input'

View File

@ -17,7 +17,7 @@ class CHMInput(InputFormatPlugin):
name = 'CHM Input'
author = 'Kovid Goyal and Alex Bramley'
description = 'Convert CHM files to OEB'
description = _('Convert CHM files to OEB')
file_types = {'chm'}
commit_name = 'chm_input'

View File

@ -20,7 +20,7 @@ class ComicInput(InputFormatPlugin):
name = 'Comic Input'
author = 'Kovid Goyal'
description = 'Optimize comic files (.cbz, .cbr, .cbc) for viewing on portable devices'
description = _('Optimize comic files (.cbz, .cbr, .cbc) for viewing on portable devices')
file_types = {'cbz', 'cbr', 'cb7', 'cbc'}
is_image_collection = True
commit_name = 'comic_input'

View File

@ -16,7 +16,7 @@ class DJVUInput(InputFormatPlugin):
name = 'DJVU Input'
author = 'Anthon van der Neut'
description = 'Convert OCR-ed DJVU files (.djvu) to HTML'
description = _('Convert OCR-ed DJVU files (.djvu) to HTML')
file_types = {'djvu', 'djv'}
commit_name = 'djvu_input'

View File

@ -33,7 +33,7 @@ class EPUBInput(InputFormatPlugin):
name = 'EPUB Input'
author = 'Kovid Goyal'
description = 'Convert EPUB files (.epub) to HTML'
description = _('Convert EPUB files (.epub) to HTML')
file_types = {'epub'}
output_encoding = None
commit_name = 'epub_input'

View File

@ -19,7 +19,7 @@ class FB2Input(InputFormatPlugin):
name = 'FB2 Input'
author = 'Anatoly Shipitsin'
description = 'Convert FB2 and FBZ files to HTML'
description = _('Convert FB2 and FBZ files to HTML')
file_types = {'fb2', 'fbz'}
commit_name = 'fb2_input'

View File

@ -28,7 +28,7 @@ class HTMLInput(InputFormatPlugin):
name = 'HTML Input'
author = 'Kovid Goyal'
description = 'Convert HTML and OPF files to an OEB'
description = _('Convert HTML and OPF files to an OEB')
file_types = {'opf', 'html', 'htm', 'xhtml', 'xhtm', 'shtm', 'shtml'}
commit_name = 'html_input'

View File

@ -16,7 +16,7 @@ class HTMLZInput(InputFormatPlugin):
name = 'HTLZ Input'
author = 'John Schember'
description = 'Convert HTML files to HTML'
description = _('Convert HTMLZ files to HTML')
file_types = {'htmlz'}
commit_name = 'htmlz_input'

View File

@ -13,7 +13,7 @@ class LITInput(InputFormatPlugin):
name = 'LIT Input'
author = 'Marshall T. Vandegrift'
description = 'Convert LIT files to HTML'
description = _('Convert LIT files to HTML')
file_types = {'lit'}
commit_name = 'lit_input'

View File

@ -14,7 +14,7 @@ class LRFInput(InputFormatPlugin):
name = 'LRF Input'
author = 'Kovid Goyal'
description = 'Convert LRF files to HTML'
description = _('Convert LRF files to HTML')
file_types = {'lrf'}
commit_name = 'lrf_input'

View File

@ -14,7 +14,7 @@ class MOBIInput(InputFormatPlugin):
name = 'MOBI Input'
author = 'Kovid Goyal'
description = 'Convert MOBI files (.mobi, .prc, .azw) to HTML'
description = _('Convert MOBI files (.mobi, .prc, .azw) to HTML')
file_types = {'mobi', 'prc', 'azw', 'azw3', 'pobi'}
commit_name = 'mobi_input'

View File

@ -15,7 +15,7 @@ class ODTInput(InputFormatPlugin):
name = 'ODT Input'
author = 'Kovid Goyal'
description = 'Convert ODT (OpenOffice) files to HTML'
description = _('Convert ODT (OpenOffice) files to HTML')
file_types = {'odt'}
commit_name = 'odt_input'

View File

@ -13,7 +13,7 @@ class PDBInput(InputFormatPlugin):
name = 'PDB Input'
author = 'John Schember'
description = 'Convert PDB to HTML'
description = _('Convert PDB to HTML')
file_types = {'pdb', 'updb'}
commit_name = 'pdb_input'

View File

@ -15,7 +15,7 @@ class PDFInput(InputFormatPlugin):
name = 'PDF Input'
author = 'Kovid Goyal and John Schember'
description = 'Convert PDF files to HTML'
description = _('Convert PDF files to HTML')
file_types = {'pdf'}
commit_name = 'pdf_input'

View File

@ -18,7 +18,7 @@ class PMLInput(InputFormatPlugin):
name = 'PML Input'
author = 'John Schember'
description = 'Convert PML to OEB'
description = _('Convert PML to OEB')
# pmlz is a zip file containing pml files and png images.
file_types = {'pml', 'pmlz'}
commit_name = 'pml_input'

View File

@ -14,7 +14,7 @@ class RBInput(InputFormatPlugin):
name = 'RB Input'
author = 'John Schember'
description = 'Convert RB files to HTML'
description = _('Convert RB files to HTML')
file_types = {'rb'}
commit_name = 'rb_input'

View File

@ -43,7 +43,7 @@ class RTFInput(InputFormatPlugin):
name = 'RTF Input'
author = 'Kovid Goyal'
description = 'Convert RTF files to HTML'
description = _('Convert RTF files to HTML')
file_types = {'rtf'}
commit_name = 'rtf_input'

View File

@ -23,7 +23,7 @@ class SNBInput(InputFormatPlugin):
name = 'SNB Input'
author = 'Li Fanxi'
description = 'Convert SNB files to OEB'
description = _('Convert SNB files to OEB')
file_types = {'snb'}
commit_name = 'snb_input'

View File

@ -14,7 +14,7 @@ class TCRInput(InputFormatPlugin):
name = 'TCR Input'
author = 'John Schember'
description = 'Convert TCR files to HTML'
description = _('Convert TCR files to HTML')
file_types = {'tcr'}
commit_name = 'tcr_input'

View File

@ -36,7 +36,7 @@ class TXTInput(InputFormatPlugin):
name = 'TXT Input'
author = 'John Schember'
description = 'Convert TXT files to HTML'
description = _('Convert TXT files to HTML')
file_types = {'txt', 'txtz', 'text', 'md', 'textile', 'markdown'}
commit_name = 'txt_input'
ui_data = {

View File

@ -23,7 +23,7 @@ class BIBTEX(CatalogPlugin):
Option = namedtuple('Option', 'option, default, dest, action, help')
name = 'Catalog_BIBTEX'
description = 'BIBTEX catalog generator'
description = _('BIBTEX catalog generator')
supported_platforms = ['windows', 'osx', 'linux']
author = 'Sengian'
version = (1, 0, 0)

View File

@ -22,7 +22,7 @@ class CSV_XML(CatalogPlugin):
Option = namedtuple('Option', 'option, default, dest, action, help')
name = 'Catalog_CSV_XML'
description = 'CSV/XML catalog generator'
description = _('CSV/XML catalog generator')
supported_platforms = ['windows', 'osx', 'linux']
author = 'Greg Riker'
version = (1, 0, 0)

View File

@ -26,7 +26,7 @@ class EPUB_MOBI(CatalogPlugin):
'EPUB catalog generator'
name = 'Catalog_EPUB_MOBI'
description = 'AZW3/EPUB/MOBI catalog generator'
description = _('AZW3/EPUB/MOBI catalog generator')
supported_platforms = ['windows', 'osx', 'linux']
minimum_calibre_version = (0, 7, 40)
author = 'Greg Riker'