mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add Spanish and English (GB) builtin dictionaries
This commit is contained in:
parent
89526af629
commit
e476f7d889
3412
resources/dictionaries/en-GB/en-GB.aff
Normal file
3412
resources/dictionaries/en-GB/en-GB.aff
Normal file
File diff suppressed because it is too large
Load Diff
56508
resources/dictionaries/en-GB/en-GB.dic
Normal file
56508
resources/dictionaries/en-GB/en-GB.dic
Normal file
File diff suppressed because it is too large
Load Diff
9
resources/dictionaries/en-GB/locales
Normal file
9
resources/dictionaries/en-GB/locales
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
en-GB
|
||||||
|
en-BS
|
||||||
|
en-BZ
|
||||||
|
en-GH
|
||||||
|
en-IE
|
||||||
|
en-IN
|
||||||
|
en-JM
|
||||||
|
en-NZ
|
||||||
|
en-TT
|
6852
resources/dictionaries/es-ES/es-ES.aff
Normal file
6852
resources/dictionaries/es-ES/es-ES.aff
Normal file
File diff suppressed because it is too large
Load Diff
58080
resources/dictionaries/es-ES/es-ES.dic
Normal file
58080
resources/dictionaries/es-ES/es-ES.dic
Normal file
File diff suppressed because it is too large
Load Diff
20
resources/dictionaries/es-ES/locales
Normal file
20
resources/dictionaries/es-ES/locales
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
es-AR
|
||||||
|
es-BO
|
||||||
|
es-CL
|
||||||
|
es-CO
|
||||||
|
es-CR
|
||||||
|
es-CU
|
||||||
|
es-DO
|
||||||
|
es-EC
|
||||||
|
es-ES
|
||||||
|
es-GT
|
||||||
|
es-HN
|
||||||
|
es-MX
|
||||||
|
es-NI
|
||||||
|
es-PA
|
||||||
|
es-PE
|
||||||
|
es-PR
|
||||||
|
es-PY
|
||||||
|
es-SV
|
||||||
|
es-UY
|
||||||
|
es-VE
|
@ -290,6 +290,7 @@ class ManageDictionaries(Dialog):
|
|||||||
dprefs['preferred_dictionaries'] = pl
|
dprefs['preferred_dictionaries'] = pl
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app = QApplication([]) # noqa
|
app = QApplication([])
|
||||||
d = ManageDictionaries()
|
d = ManageDictionaries()
|
||||||
d.exec_()
|
d.exec_()
|
||||||
|
del app
|
||||||
|
@ -20,7 +20,7 @@ NS_MAP = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
XPath = lambda x: etree.XPath(x, namespaces=NS_MAP)
|
XPath = lambda x: etree.XPath(x, namespaces=NS_MAP)
|
||||||
BUILTIN_LOCALES = {'en-US'}
|
BUILTIN_LOCALES = {'en-US', 'en-GB', 'es-ES'}
|
||||||
|
|
||||||
def parse_xcu(raw, origin='%origin%'):
|
def parse_xcu(raw, origin='%origin%'):
|
||||||
' Get the dictionary and affix file names as well as supported locales for each dictionary '
|
' Get the dictionary and affix file names as well as supported locales for each dictionary '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user