diff --git a/Dockerfile b/Dockerfile index 48dd8f25..71fbad12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN apt-get update && \ mediainfo \ tesseract-ocr \ tesseract-ocr-ara \ + tesseract-ocr-ces \ tesseract-ocr-chi-sim \ tesseract-ocr-chi-tra \ tesseract-ocr-dan \ @@ -39,4 +40,4 @@ RUN rm -f /opt/jetty/lib/mail/javax.mail.glassfish-*.jar ADD docs.xml /opt/jetty/webapps/docs.xml ADD docs-web/target/docs-web-*.war /opt/jetty/webapps/docs.war -ENV JAVA_OPTIONS -Xmx1g \ No newline at end of file +ENV JAVA_OPTIONS -Xmx1g diff --git a/docs-core/src/main/java/com/sismics/docs/core/constant/Constants.java b/docs-core/src/main/java/com/sismics/docs/core/constant/Constants.java index 52e5faa4..16de2b85 100644 --- a/docs-core/src/main/java/com/sismics/docs/core/constant/Constants.java +++ b/docs-core/src/main/java/com/sismics/docs/core/constant/Constants.java @@ -43,7 +43,7 @@ public class Constants { /** * Supported document languages. */ - public static final List SUPPORTED_LANGUAGES = Lists.newArrayList("eng", "fra", "ita", "deu", "spa", "por", "pol", "rus", "ukr", "ara", "hin", "chi_sim", "chi_tra", "jpn", "tha", "kor", "nld", "tur", "heb", "hun", "fin", "swe", "lav", "dan", "nor", "vie"); + public static final List SUPPORTED_LANGUAGES = Lists.newArrayList("eng", "fra", "ita", "deu", "spa", "por", "pol", "rus", "ukr", "ara", "hin", "chi_sim", "chi_tra", "jpn", "tha", "kor", "nld", "tur", "heb", "hun", "fin", "swe", "lav", "dan", "nor", "vie", "ces"); /** * Base URL environment variable. diff --git a/docs-web/src/main/webapp/src/app/docs/app.js b/docs-web/src/main/webapp/src/app/docs/app.js index db15cc37..c4de5660 100644 --- a/docs-web/src/main/webapp/src/app/docs/app.js +++ b/docs-web/src/main/webapp/src/app/docs/app.js @@ -545,7 +545,8 @@ angular.module('docs', { key: 'lav', label: 'Latviešu' }, { key: 'dan', label: 'Dansk' }, { key: 'nor', label: 'Norsk' }, - { key: 'vie', label: 'Tiếng Việt' } + { key: 'vie', label: 'Tiếng Việt' }, + { key: 'ces', label: 'Czech' } ]; }) /**