summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2018-04-24 09:24:45 +0200
committerLászló Németh <nemeth@numbertext.org>2018-04-26 08:10:00 +0200
commit5ecc0cad3f0aeb1c7643fae7b414b1a2316ed59f (patch)
tree85f06670590daa1187839581ecd16cb5a01c3c5e
parent775d0f26beecffccf3ed27a6a011aff20d91f842 (diff)
tdf#116387 Autocorrect greek character σ (sigma) to ς (final sigma)
when at the end of a word (τελικό σίγμα), also add Autocorrect exceptions to common Greek abbreviations. Change-Id: Id6722594ab72a21aeec77daf7571d142eebf20e8 Reviewed-on: https://gerrit.libreoffice.org/53372 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: László Németh <nemeth@numbertext.org>
-rw-r--r--extras/CustomTarget_autocorr.mk5
-rw-r--r--extras/Package_autocorr.mk1
-rw-r--r--extras/source/autocorr/lang/el/DocumentList.xml15
-rw-r--r--extras/source/autocorr/lang/el/META-INF/manifest.xml8
-rw-r--r--extras/source/autocorr/lang/el/SentenceExceptList.xml20
-rw-r--r--extras/source/autocorr/lang/el/WordExceptList.xml5
-rw-r--r--extras/source/autocorr/lang/el/mimetype0
7 files changed, 54 insertions, 0 deletions
diff --git a/extras/CustomTarget_autocorr.mk b/extras/CustomTarget_autocorr.mk
index 9e5e9aa2ad56..2da881b86829 100644
--- a/extras/CustomTarget_autocorr.mk
+++ b/extras/CustomTarget_autocorr.mk
@@ -16,6 +16,7 @@ extras_AUTOCORR_LANGS := \
cs:cs-CZ \
da:da-DK \
de:de \
+ el:el-GR \
en-AU:en-AU \
en-GB:en-GB \
en-US:en-US \
@@ -82,6 +83,10 @@ extras_AUTOCORR_XMLFILES := \
de/META-INF/manifest.xml \
de/SentenceExceptList.xml \
de/WordExceptList.xml \
+ el/DocumentList.xml \
+ el/META-INF/manifest.xml \
+ el/SentenceExceptList.xml \
+ el/WordExceptList.xml \
en-AU/BlockList.xml \
en-AU/DocumentList.xml \
en-AU/META-INF/manifest.xml \
diff --git a/extras/Package_autocorr.mk b/extras/Package_autocorr.mk
index 7fee56fd06cc..f978bdac776c 100644
--- a/extras/Package_autocorr.mk
+++ b/extras/Package_autocorr.mk
@@ -16,6 +16,7 @@ $(eval $(call gb_Package_add_files,extras_autocorr,$(LIBO_SHARE_FOLDER)/autocorr
acor_ca-ES.dat \
acor_da-DK.dat \
acor_de.dat \
+ acor_el-GR.dat \
acor_en-AU.dat \
acor_en-GB.dat \
acor_en-US.dat \
diff --git a/extras/source/autocorr/lang/el/DocumentList.xml b/extras/source/autocorr/lang/el/DocumentList.xml
new file mode 100644
index 000000000000..f3f794f12ce8
--- /dev/null
+++ b/extras/source/autocorr/lang/el/DocumentList.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<block-list:block-list xmlns:block-list="http://openoffice.org/2001/block-list">
+ <block-list:block block-list:abbreviated-name=".*σ" block-list:name="ς"/>
+ <block-list:block block-list:abbreviated-name="--" block-list:name="–"/>
+ <block-list:block block-list:abbreviated-name="--&gt;" block-list:name="→"/>
+ <block-list:block block-list:abbreviated-name=".*-&gt;.*" block-list:name="→"/>
+ <block-list:block block-list:abbreviated-name=".*..." block-list:name="…"/>
+ <block-list:block block-list:abbreviated-name=".*&lt;-.*" block-list:name="←"/>
+ <block-list:block block-list:abbreviated-name="&lt;--" block-list:name="←"/>
+ <block-list:block block-list:abbreviated-name="&lt;--&gt;" block-list:name="↔"/>
+ <block-list:block block-list:abbreviated-name="&lt;-&gt;" block-list:name="↔"/>
+ <block-list:block block-list:abbreviated-name="1/2" block-list:name="½"/>
+ <block-list:block block-list:abbreviated-name="1/4" block-list:name="¼"/>
+ <block-list:block block-list:abbreviated-name="3/4" block-list:name="¾"/>
+</block-list:block-list>
diff --git a/extras/source/autocorr/lang/el/META-INF/manifest.xml b/extras/source/autocorr/lang/el/META-INF/manifest.xml
new file mode 100644
index 000000000000..a7d1e4726292
--- /dev/null
+++ b/extras/source/autocorr/lang/el/META-INF/manifest.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest>
+ <file-entry media-type="" full-path="/"/>
+ <file-entry media-type="" full-path="META-INF/"/>
+ <file-entry media-type="text/xml" full-path="DocumentList.xml"/>
+ <file-entry media-type="text/xml" full-path="SentenceExceptList.xml"/>
+ <file-entry media-type="text/xml" full-path="WordExceptList.xml"/>
+</manifest>
diff --git a/extras/source/autocorr/lang/el/SentenceExceptList.xml b/extras/source/autocorr/lang/el/SentenceExceptList.xml
new file mode 100644
index 000000000000..caf288216b79
--- /dev/null
+++ b/extras/source/autocorr/lang/el/SentenceExceptList.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<block-list:block-list xmlns:block-list="http://openoffice.org/2001/block-list">
+ <block-list:block block-list:abbreviated-name="π.Χ."/>
+ <block-list:block block-list:abbreviated-name="μ.Χ."/>
+ <block-list:block block-list:abbreviated-name="αι."/>
+ <block-list:block block-list:abbreviated-name="π.χ."/>
+ <block-list:block block-list:abbreviated-name="λ.χ."/>
+ <block-list:block block-list:abbreviated-name="κ.ο.κ."/>
+ <block-list:block block-list:abbreviated-name="κτλ."/>
+ <block-list:block block-list:abbreviated-name="Κλπ."/>
+ <block-list:block block-list:abbreviated-name="π.μ."/>
+ <block-list:block block-list:abbreviated-name="μ.μ."/>
+ <block-list:block block-list:abbreviated-name="κεφ."/>
+ <block-list:block block-list:abbreviated-name="βλ."/>
+ <block-list:block block-list:abbreviated-name="τόμ."/>
+ <block-list:block block-list:abbreviated-name="σ."/>
+ <block-list:block block-list:abbreviated-name="σσ."/>
+ <block-list:block block-list:abbreviated-name="σελ."/>
+ <block-list:block block-list:abbreviated-name="κ.ε."/>
+</block-list:block-list>
diff --git a/extras/source/autocorr/lang/el/WordExceptList.xml b/extras/source/autocorr/lang/el/WordExceptList.xml
new file mode 100644
index 000000000000..4e61387d14f2
--- /dev/null
+++ b/extras/source/autocorr/lang/el/WordExceptList.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<block-list:block-list xmlns:block-list="http://openoffice.org/2001/block-list">
+ <block-list:block block-list:abbreviated-name="GHz"/>
+ <block-list:block block-list:abbreviated-name="MHz"/>
+</block-list:block-list>
diff --git a/extras/source/autocorr/lang/el/mimetype b/extras/source/autocorr/lang/el/mimetype
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/extras/source/autocorr/lang/el/mimetype