[Libreoffice-commits] core.git: extras/CustomTarget_autocorr.mk extras/Package_autocorr.mk extras/source
László Németh
nemeth at numbertext.org
Thu Apr 26 06:10:26 UTC 2018
extras/CustomTarget_autocorr.mk | 5 ++++
extras/Package_autocorr.mk | 1
extras/source/autocorr/lang/el/DocumentList.xml | 15 +++++++++++++
extras/source/autocorr/lang/el/META-INF/manifest.xml | 8 +++++++
extras/source/autocorr/lang/el/SentenceExceptList.xml | 20 ++++++++++++++++++
extras/source/autocorr/lang/el/WordExceptList.xml | 5 ++++
6 files changed, 54 insertions(+)
New commits:
commit 5ecc0cad3f0aeb1c7643fae7b414b1a2316ed59f
Author: László Németh <nemeth at numbertext.org>
Date: Tue Apr 24 09:24:45 2018 +0200
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 at libreoffice.org>
Reviewed-by: László Németh <nemeth at numbertext.org>
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="-->" block-list:name="→"/>
+ <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=".*<-.*" block-list:name="←"/>
+ <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="<->" 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
More information about the Libreoffice-commits
mailing list