Commit Graph

20 Commits

Author SHA1 Message Date
200eca2141 Make sure all dictionary descriptions are translated
Some dictionary extensions use 'en' as the language code of their
description.
The toolchain needs 'en-US' here to extract the extension name
as a translatable string.
As a result these names do not appear
localized in Pootle and then in the Extension Manager.

With this fix new pot files are generated in workdir/pot/dictionaries/

Change-Id: I9d35f2a028be15a77da3b0679cfd154afbf1dc60
Reviewed-on: https://gerrit.libreoffice.org/37868
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-05-21 10:52:45 +02:00
3470ef8c07 Czech thesaurus: regenerate from updated source
Change-Id: I947d616e3e0b4184fe0f1679578149ce00b6d584
Reviewed-on: https://gerrit.libreoffice.org/30993
Reviewed-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Tested-by: Stanislav Horáček <stanislav.horacek@gmail.com>
2016-11-20 21:42:57 +00:00
23948938f7 Czech thesaurus: regenerate from updated source
changed location and authors of the source
sorting for source was applied -> thesaurus sorting also changed

Change-Id: I009688bb1aeaac20dbe0884f1b43b523a2a3eb7b
Reviewed-on: https://gerrit.libreoffice.org/30612
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Tested-by: Stanislav Horáček <stanislav.horacek@gmail.com>
2016-11-07 16:49:19 +00:00
e26e5fc152 Czech thesaurus: Blacklist more words + re-generate after the recent changes.
Change-Id: Ic56383e235be27d48358944c9b6588481052297a
2016-02-26 10:22:59 +01:00
e97c64ff3f dictionary-to-thesaurus.py: Put the better categorized words to the front.
Change-Id: Ib5c77f185abeeaef5045780766514a813794c8e8
2016-02-26 10:22:28 +01:00
c32de9bba6 dictionary-to-thesaurus.py: Only output the same class of word.
When the class of the word is unambiguous, limit the output only to that -
gives more precise & expected results.

[Like, it is interesting to see the other possibilities too, but I guess less
choices but more focused ones are preferred.]

Change-Id: I2876fbb4fa02c00fc7e65189812365f77b9a5ed6
2016-02-26 08:46:32 +01:00
8442e91f9d Czech thesaurus: Updates of some terms.
Change-Id: I13b60baf14fc90aba6f07ada2fc4423d06db76e8
2016-02-25 17:22:37 +01:00
f04d3f19b4 Czech thesaurus: Blacklist some unhelpful meanings.
Change-Id: I7d75626a37d4f241d8d407a11855325e39c5fa63
2016-02-25 14:41:59 +01:00
f83b25d29f dictionary-to-thesaurus.py: Move blacklist to a separate file.
Change-Id: Ie05e0c0ce8b4f9541a5a143ddf9ccf960940a3b7
2016-02-25 14:35:03 +01:00
bd5a09adea Related tdf#93514: Introduce a new Czech thesaurus.
This is a completely new, independent thesaurus, generated from an English <->
Czech dictinary.

The data of the dictionary are licensed under GNU Free Documentation License
1.1 or later, consequently this resulting thesaurus is GNU/FDL 1.1 or later
too.

Change-Id: I0136b413d5affd6e45a71bdd579ae196fe48dff5
2016-02-25 14:03:16 +01:00
68c702c5ed dictionary-to-thesaurus.py: Actually use the Czech names.
Change-Id: Ifb47efe7562ca9ccc2324d4ebd966506cae2bec6
2016-02-25 13:59:26 +01:00
46febeac1b dictionary-to-thesaurus.py: Various cleanups.
* word classifiacation (when available)
* word blacklist
* ignore some non-translations (eg. irregular verbs)
* ignore vulgarisms (when marked), they only add confusion
2016-02-25 11:18:30 +01:00
74e081219c dos2unix on the cs_CZ files. 2016-02-25 07:58:10 +01:00
f2e6dbb0a0 Czech: Script and dictionary to generate the Czech thesaurus.
slovnik_data_utf8.txt is the English <-> Czech dictionary from
http://slovnik.zcu.cz/download.php, licensed under
GNU Free Documentation License 1.1 or later.  The data are a snapshot
from 2016-02-24.

dictionary-to-thesaurus.py is a simple script that generates a thesaurus from
this dictionary.  The idea to generate our thesaurus from a dictionary comes
from Zdenek Zabokrtsky (UFAL, Faculty of Mathematics & Physics, Charles
University in Prague).

The results are far better than I would have imagined; I owe Zdenek some
beers :-)  Many thanks!

The source data are GNU/FDL 1.1 or later, the resulting thesaurus too.
The actual addition of the thesaurus to the build system will be done in a
separate commit later.
2016-02-25 07:20:52 +01:00
03a4a7b13f tdf#93514 remove Czech thesaurus
Change-Id: I40ebd1ca223fe7950ed3280c43a51a3dfbd0070e
2015-09-01 09:48:41 +02:00
9b797809cb Fix errors reported by hunspell in Czech aff
Various incompatible stripping characters and conditions

Signed-off-by: Tomáš Chvátal <tchvatal@suse.cz>
2015-04-07 12:40:39 +02:00
b312442050 update Czech dictionary from liberix site
(http://www.liberix.cz/doplnky/slovniky/ooo/dict-cs-2.oxt)

This updates all files, not just thesaurus. Btw, the thesaurus is no
longer licensed under MIT.

Change-Id: I04e93c99aed8bc57b0b5724741842020271b69c2
2014-05-15 15:04:32 +02:00
b5b5c88c12 drop stray delzip files
Change-Id: I235d23248469b760da69983575dfcd73431757d4
2012-10-24 06:08:36 +02:00
c918f1d424 gbuild: let ExtensionTarget expect manifest below META-INF
... adapt dictionaries to that.
2012-10-23 20:05:55 +02:00
a4473e06b5 move dictionaries structure one directory up
Change-Id: I70388bf6b95d8692cc6f25fc5a9c7baf3a675710
2012-10-16 11:09:27 -05:00