diff --git a/braille/common/src/phone/java/com/google/android/accessibility/braille/common/translate/BrailleLanguages.java b/braille/common/src/phone/java/com/google/android/accessibility/braille/common/translate/BrailleLanguages.java index 784f02682..4ac705b5b 100644 --- a/braille/common/src/phone/java/com/google/android/accessibility/braille/common/translate/BrailleLanguages.java +++ b/braille/common/src/phone/java/com/google/android/accessibility/braille/common/translate/BrailleLanguages.java @@ -36,6 +36,8 @@ public class BrailleLanguages { public static final String PRINT_LANGUAGE_AR = "ar"; public static final String PRINT_LANGUAGE_FR = "fr"; public static final String PRINT_LANGUAGE_PL = "pl"; + public static final String PRINT_LANGUAGE_HR = "hr"; + public static final String PRINT_LANGUAGE_SR = "sr"; /** * Finds and produces a {@link EditBuffer} based on {@code code}, {@code translatorFactory}, and @@ -121,6 +123,30 @@ EditBuffer createEditBuffer( return new EditBufferPolish(context, translator, talkBack); } }, + CROATIAN(PRINT_LANGUAGE_HR) { + @Override + public CharSequence getUserFacingName(Resources resources) { + return resources.getString(R.string.code_user_facing_name_hr); + } + + @Override + EditBuffer createEditBuffer( + Context context, TalkBackSpeaker talkBack, BrailleTranslator translator) { + return new EditBufferCroatian(context, translator, talkBack); + } + }, + SERBIAN(PRINT_LANGUAGE_SR) { + @Override + public CharSequence getUserFacingName(Resources resources) { + return resources.getString(R.string.code_user_facing_name_sr); + } + + @Override + EditBuffer createEditBuffer( + Context context, TalkBackSpeaker talkBack, BrailleTranslator translator) { + return new EditBufferSerbian(context, translator, talkBack); + } + }, SPANISH(PRINT_LANGUAGE_ES) { @Override public CharSequence getUserFacingName(Resources resources) { diff --git a/braille/common/src/phone/java/com/google/android/accessibility/braille/common/translate/EditBufferCroatian.java b/braille/common/src/phone/java/com/google/android/accessibility/braille/common/translate/EditBufferCroatian.java new file mode 100644 index 000000000..8a31f095b --- /dev/null +++ b/braille/common/src/phone/java/com/google/android/accessibility/braille/common/translate/EditBufferCroatian.java @@ -0,0 +1,43 @@ +/* + * Copyright 2021 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.android.accessibility.braille.common.translate; + +import android.content.Context; +import android.content.res.Resources; +import com.google.android.accessibility.braille.common.R; +import com.google.android.accessibility.braille.common.TalkBackSpeaker; +import com.google.android.accessibility.braille.interfaces.BrailleCharacter; +import com.google.android.accessibility.braille.translate.BrailleTranslator; +import java.util.Optional; + +/** An EditBuffer for Croatian Braille Grade 1. */ +public class EditBufferCroatian extends EditBufferCommon { + + public EditBufferCroatian( + Context context, BrailleTranslator ueb1Translator, TalkBackSpeaker talkBack) { + super(context, ueb1Translator, talkBack); + } + + @Override + protected Optional getAppendBrailleTextToSpeak( + Resources resources, BrailleCharacter brailleCharacter) { + if (brailleCharacter.equals(BrailleTranslateUtils.NUMERIC)) { + return Optional.of(resources.getString(R.string.number_announcement)); + } + return Optional.empty(); + } +} diff --git a/braille/common/src/phone/java/com/google/android/accessibility/braille/common/translate/EditBufferSerbian.java b/braille/common/src/phone/java/com/google/android/accessibility/braille/common/translate/EditBufferSerbian.java new file mode 100644 index 000000000..167c5cf7b --- /dev/null +++ b/braille/common/src/phone/java/com/google/android/accessibility/braille/common/translate/EditBufferSerbian.java @@ -0,0 +1,43 @@ +/* + * Copyright 2021 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.android.accessibility.braille.common.translate; + +import android.content.Context; +import android.content.res.Resources; +import com.google.android.accessibility.braille.common.R; +import com.google.android.accessibility.braille.common.TalkBackSpeaker; +import com.google.android.accessibility.braille.interfaces.BrailleCharacter; +import com.google.android.accessibility.braille.translate.BrailleTranslator; +import java.util.Optional; + +/** An EditBuffer for Serbian Braille Grade 1. */ +public class EditBufferSerbian extends EditBufferCommon { + + public EditBufferSerbian( + Context context, BrailleTranslator ueb1Translator, TalkBackSpeaker talkBack) { + super(context, ueb1Translator, talkBack); + } + + @Override + protected Optional getAppendBrailleTextToSpeak( + Resources resources, BrailleCharacter brailleCharacter) { + if (brailleCharacter.equals(BrailleTranslateUtils.NUMERIC)) { + return Optional.of(resources.getString(R.string.number_announcement)); + } + return Optional.empty(); + } +} diff --git a/braille/common/src/phone/res/values-hr/strings.xml b/braille/common/src/phone/res/values-hr/strings.xml new file mode 100644 index 000000000..699ff8f58 --- /dev/null +++ b/braille/common/src/phone/res/values-hr/strings.xml @@ -0,0 +1,24 @@ + + + Broj + Veliko slovo + Izbrisano: %s + + točke %s + točke %s + točke %s + + Unified English Braille Uncontracted + Unified English Braille Contracted + španjolski + arapski + francuski + poljski + hrvatski + srpski + Zaslon prema dolje + Držite uređaj sa zaslonom prema dolje (zaslon prema dolje) + Stolni način + Položite uređaj na stol (stolni način) + Prilagodite načinu na koji držite uređaj + diff --git a/braille/common/src/phone/res/values-sr/strings.xml b/braille/common/src/phone/res/values-sr/strings.xml new file mode 100644 index 000000000..38556f8ce --- /dev/null +++ b/braille/common/src/phone/res/values-sr/strings.xml @@ -0,0 +1,24 @@ + + + Број + Велико слово + Избрисано: %s + + тачке %s + тачке %s + тачке %s + + Обједињена енглеска брајева азбука без скраћеница + Обједињена енглеска брајева азбука са скраћеницама + шпански + арапски + француски + пољски + хрватски + српски + Режим рада са екраном надоле + Држите уређај тако да екран буде окренут од вас (режим рада са екраном надоле) + Стони режим + Поставите уређај равно на сто (стони режим) + Прилагодите начину на који држите уређај + diff --git a/braille/common/src/phone/res/values/strings.xml b/braille/common/src/phone/res/values/strings.xml index 573848ce0..c79955b86 100644 --- a/braille/common/src/phone/res/values/strings.xml +++ b/braille/common/src/phone/res/values/strings.xml @@ -35,6 +35,10 @@ French Polish + + Croatian + + Serbian diff --git a/braille/translate/src/phone/java/com/google/android/accessibility/braille/translate/liblouis/LibLouis.java b/braille/translate/src/phone/java/com/google/android/accessibility/braille/translate/liblouis/LibLouis.java index 95b2396fc..18807b791 100644 --- a/braille/translate/src/phone/java/com/google/android/accessibility/braille/translate/liblouis/LibLouis.java +++ b/braille/translate/src/phone/java/com/google/android/accessibility/braille/translate/liblouis/LibLouis.java @@ -28,6 +28,12 @@ public BrailleTranslator create(Context context, String codeName) { if (codeName.equals("FRENCH")) { return new LibLouisTranslatorFrench(context); } + if (codeName.equals("CROATIAN")) { + return new LibLouisTranslatorCroatian(context); + } + if (codeName.equals("SERBIAN")) { + return new LibLouisTranslatorSerbian(context); + } if (codeName.equals("POLISH")) { return new LibLouisTranslatorPolish(context); } diff --git a/braille/translate/src/phone/java/com/google/android/accessibility/braille/translate/liblouis/LibLouisTranslatorCroatian.java b/braille/translate/src/phone/java/com/google/android/accessibility/braille/translate/liblouis/LibLouisTranslatorCroatian.java new file mode 100644 index 000000000..475326f01 --- /dev/null +++ b/braille/translate/src/phone/java/com/google/android/accessibility/braille/translate/liblouis/LibLouisTranslatorCroatian.java @@ -0,0 +1,10 @@ +package com.google.android.accessibility.braille.translate.liblouis; + +import android.content.Context; + +class LibLouisTranslatorCroatian extends LibLouisTranslator { + + LibLouisTranslatorCroatian(Context context) { + super(context, "hr-g1.tbl"); + } +} diff --git a/braille/translate/src/phone/java/com/google/android/accessibility/braille/translate/liblouis/LibLouisTranslatorSerbian.java b/braille/translate/src/phone/java/com/google/android/accessibility/braille/translate/liblouis/LibLouisTranslatorSerbian.java new file mode 100644 index 000000000..c48259ca8 --- /dev/null +++ b/braille/translate/src/phone/java/com/google/android/accessibility/braille/translate/liblouis/LibLouisTranslatorSerbian.java @@ -0,0 +1,10 @@ +package com.google.android.accessibility.braille.translate.liblouis; + +import android.content.Context; + +class LibLouisTranslatorSerbian extends LibLouisTranslator { + + LibLouisTranslatorSerbian(Context context) { + super(context, "sr.tbl"); + } +} diff --git a/braille/translate/src/phone/tables/hr-chardefs.cti b/braille/translate/src/phone/tables/hr-chardefs.cti new file mode 100644 index 000000000..7bb131567 --- /dev/null +++ b/braille/translate/src/phone/tables/hr-chardefs.cti @@ -0,0 +1,278 @@ +# liblouis: Character definitions for Croatian tables +# +# Copyright (©) 2017. Zlatko Sobočan +# by company Tiflo globus d.o.o. +# +# This file is part of liblouis. +# +# liblouis is free software: you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 2.1 of the +# License, or (at your option) any later version. +# +# liblouis is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with liblouis. If not, see +# . + +#------------------------------------------------------------------------------- +# +# Character definitions for Croatian tables +# +# Version 2017-06-15 +# Created and maintained by zlatko Sobočan +# by company Tiflo globus d.o.o. +# Especially thanks Arend Arends by TactileView for testing. +# If you found bugs with Croatian grade1 table, report it with following address: +# Zlatko Sobočan +# +#------------------------------------------------------------------------------- + +space \x0009 0-0 #9 [CHARACTER TABULATION] +space \x00a0 a +include spaces.uti + +# ===== BASIC LATIN - 0000-007F ================================================ + +punctuation \x0021 235 #33 ! EXCLAMATION MARK +punctuation \x0022 2356 #34 " QUOTATION MARK +sign \x0023 3456 #35 # NUMBER SIGN +sign \x0024 5-145 #36 $ DOLLAR SIGN +sign \x0025 3456-245-356 #37 % PERCENT SIGN +sign \x0026 12346 #38 & AMPERSAND +punctuation \x0027 256 #39 ' APOSTROPHE APOSTROPHE-QUOTE +punctuation \x0028 236 #40 ( LEFT PARENTHESIS +punctuation \x0029 356 #41 ) RIGHT PARENTHESIS +sign \x002A 35 #42 * ASTERISK +math \x002B 4-235 #43 + PLUS SIGN +punctuation \x002C 2 #44 , COMMA +punctuation \x002D 36 #45 - HYPHEN-MINUS +punctuation \x002E 3 #46 . FULL STOP PERIOD +sign \x002F 1256 #47 / SOLIDUS SLASH +include hr-digits.uti + +punctuation \x003A 25 #58 : COLON +punctuation \x003B 23 #59 ; SEMICOLON +math \x003C 246-3 #60 < LESS-THAN SIGN +math \x003D 4-2356 #61 = EQUALS SIGN +math \x003E 135-2 #62 > GREATER-THAN SIGN +punctuation \x003F 26 #63 ? QUESTION MARK + +include latinLetterDef6Dots.uti + +punctuation \x005B 6-12356 #91 [ LEFT SQUARE BRACKET +sign \x005C 4-1256 #92 \ REVERSE SOLIDUS +punctuation \x005D 6-23456 #93 ] RIGHT SQUARE BRACKET +sign \x005E 5 #94 ^ CIRCUMFLEX ACCENT +sign \x005F 456 #95 _ LOW LINE +sign \x0060 4 #96 ` GRAVE ACCENT +punctuation \x007B 12356 #123 { LEFT CURLY BRACKET +sign \x007C 45 #124 | VERTICAL LINE +punctuation \x007D 23456 #125 } RIGHT CURLY BRACKET +sign \x007E 56 #126 ~ TILDE +sign \x007F 456 #127  [DELETE] +sign \x0040 4-345 #64 @ COMMERCIAL AT +sign \x2022 6-35 #82226 • +sign \x2026 3-3-3 #8230 elipsis +sign \xF0B7 0-0-36 #bullet + +# ===== LATIN-1 SUPPLEMENT: 0080-00FF ========================================== + +punctuation \x00A1 0 #161 ¡ INVERTED EXCLAMATION MARK +sign \x00A2 5-14 #162 ¢ CENT SIGN +sign \x00A3 5-123 #163 £ POUND SIGN +sign \x00A4 5-1236 #164 ¤ CURRENCY SIGN +sign \x00A5 5-13456 #165 ¥ YEN SIGN +sign \x00A6 56-36 #166 ¦ BROKEN BAR +sign \x00A7 346 #167 § SECTION SIGN +sign \x00A8 4 #168 ¨ DIAERESIS +sign \x00A9 236-45-14-356 #169 © COPYRIGHT SIGN +lowercase \x00AA 34-1 #170 ª FEMININE ORDINAL INDICATOR +punctuation \x00AB 2356 #171 « LEFT-POINTING DOUBLE ANGLE QUOTATION MARK +sign \x00AC 0 #172 ¬ NOT SIGN +sign \x00AD 36 #173 ­ SOFT HYPHEN +sign \x00AE 236-45-1235-356 #174 ® REGISTERED SIGN +sign \x00AF 0 #175 ¯ MACRON +sign \x00B0 45-356 #176 ° DEGREE SIGN +math \x00B1 235-36 #177 ± PLUS-MINUS SIGN +sign \x00B2 34-3456-12 #178 ² SUPERSCRIPT TWO +sign \x00B3 34-3456-14 #179 ³ SUPERSCRIPT THREE +sign \x00B4 0 #180 ´ ACUTE ACCENT +sign \x00B5 5-134 #181 µ MICRO SIGN +sign \x00B6 346 #182 ¶ PILCROW SIGN +sign \x00B7 4-236 #183 · MIDDLE DOT +sign \x00B8 5 #184 ¸ CEDILLA +sign \x00B9 34-3456-1 #185 ¹ SUPERSCRIPT ONE +lowercase \x00BA 34-135 #186 º MASCULINE ORDINAL INDICATOR +punctuation \x00BB 2356 #187 » RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK +math \x00BC 3456-1-1256-3456-145 #188 ¼ VULGAR FRACTION ONE QUARTER +math \x00BD 3456-1-1256-3456-12 #189 ½ VULGAR FRACTION ONE HALF +math \x00BE 3456-14-1256-3456-145 #190 ¾ VULGAR FRACTION THREE QUARTERS +punctuation \x00BF 0 #191 ¿ INVERTED QUESTION MARK +#uplow \x00C0 \x00E0 4-1 #192 #224 LATIN LETTER A WITH GRAVE +#uplow \x00C8 \x00E8 4-15 #200 #232 LATIN LETTER E WITH GRAVE +#uplow \x00C9 \x00E9 4-15 #201 #231 LATIN LETTER E WITH ACUTE +#uplow \x00CC \x00EC 4-24 #204 #236 LATIN LETTER I WITH GRAVE +#uplow \x00D2 \x00F2 4-135 #210 #242 LATIN LETTER O WITH GRAVE +#uplow \x00DA \x00FA 4-136 #218 #250 LATIN LETTER U WITH ACUTE +lowercase \x00E4 345 #228 ä LATIN LETTER A WITH DIAERESIS +lowercase \x00F6 246 #246 ö LATIN LETTER O WITH DIAERESIS +math \x00D7 4-3 #215 × MULTIPLICATION SIGN +lowercase \x00FC 1256 #252 ü LATIN LETTER U WITH DIAERESIS +lowercase \x00DF 2346 #223 ß LATIN SMALL LETTER SHARP S +math \x00F7 4-25 #247 ÷ DIVISION SIGN +sign \x02D8 6 #728 ˘ brevis +sign \x2122 236-45-2345-356 #8482 trademark mark + +base uppercase \x00C4 \x00E4 #196 #228 Ää LATIN CAPITAL LETTER A WITH DIAERESIS +base uppercase \x00D6 \x00F6 #214 #246 Öö LATIN CAPITAL LETTER O WITH DIAERESIS +base uppercase \x00DC \x00FC #220 #252 Üü LATIN CAPITAL LETTER U WITH DIAERESIS + +# ===== Latin letters with diaresis: ===== + +lowercase \x010D 16 #200 #232 č LATIN LETTER C WITH CARON +lowercase \x0107 146 #198 #230 ć LATIN LETTER C WITH ACUTE +lowercase \x0111 1456 #208 #240 đ LATIN LETTER D WITH STROKE +lowercase \x0161 156 #138 #154 š LATIN LETTER S WITH CARON +lowercase \x017E 2346 #142 #158 ž LATIN LETTER Z WITH CARON +lowercase \x009E 2346 # ž LATIN LETTER Z WITH CARON (ASCII) + +base uppercase \x010C \x010D #200 #232 Čč LATIN LETTER C WITH CARON +base uppercase \x0106 \x0107 #198 #230 Ćć LATIN LETTER C WITH ACUTE +base uppercase \x0110 \x0111 #208 #240 Đđ LATIN LETTER D WITH STROKE +base uppercase \x0160 \x0161 #138 #154 Šš LATIN LETTER S WITH CARON +base uppercase \x017D \x017E #142 #158 Žž LATIN LETTER Z WITH CARON +base uppercase \x008E \x009E # Žž LATIN LETTER Z WITH CARON (ASCII) + +# ===== GENERAL PUNCTUATION: 2000-206F ========================================= + +punctuation \x2013 6-36 #8211 EN DASH +punctuation \x2014 5-36 #8212 EM DASH +punctuation \x2018 6-2356 #8216 LEFT SINGLE QUOTATION MARK +punctuation \x2019 6-2356 #8217 RIGHT SINGLE QUOTATION MARK +punctuation \x201A 6-2356 #8218 SINGLE LOW-9 QUOTATION MARK +punctuation \x201B 6-2356 #8219 SINGLE HIGH-REVERSED-9 QUOTATION MARK +punctuation \x201C 2356 #8220 LEFT DOUBLE QUOTATION MARK +punctuation \x201D 2356 #8221 RIGHT DOUBLE QUOTATION MARK +punctuation \x201E 2356 #8222 DOUBLE LOW-9 QUOTATION MARK +punctuation \x201F 2356 #8223 DOUBLE HIGH-REVERSED-9 QUOTATION MARK +sign \x2030 3456-245-356-356 #8240 PER MILLE SIGN +sign \x2031 3456-245-356-356-356 #8241 PER TEN THOUSAND SIGN +sign \x2032 45-256 #8242 PRIME +sign \x2033 45-256-256 #8243 DOUBLE PRIME +punctuation \x2039 2356 SINGLE LEFT-POINTING ANGLE QUOTATION MARK +punctuation \x203a 2356 SINGLE RIGHT-POINTING ANGLE QUOTATION MARK + +# ===== CURRENCY SYMBOLS: 20A0-20CF ============================================ + +sign \x20A0 5-15 #8352 ₠ EURO-CURRENCY SIGN +sign \x20AC 5-15 #8364 € EURO-CURRENCY SIGN + +# ===== NUMBER FORMS: 2150-218F ================================================ + +math \x2153 3456-1-1256-3456-14 VULGAR FRACTION ONE THIRD +math \x2154 3456-12-1256-3456-14 VULGAR FRACTION TWO THIRDS +math \x2155 3456-1-1256-3456-15 VULGAR FRACTION ONE FIFTH +math \x2156 3456-12-1256-3456-15 VULGAR FRACTION TWO FIFTHS +math \x2157 3456-14-1256-3456-15 VULGAR FRACTION THREE FIFTHS +math \x2158 3456-145-1256-3456-15 VULGAR FRACTION FOUR FIFTHS +math \x2159 3456-1-1256-3456-124 VULGAR FRACTION ONE SIXTH +math \x215a 3456-15-1256-3456-124 VULGAR FRACTION FIVE SIXTHS +math \x215b 3456-1-1256-3456-125 VULGAR FRACTION ONE EIGHTH +math \x215c 3456-14-1256-3456-125 VULGAR FRACTION THREE EIGHTHS +math \x215d 3456-15-1256-3456-125 VULGAR FRACTION FIVE EIGHTHS +math \x215e 3456-1245-1256-3456-125 VULGAR FRACTION SEVEN EIGHTHS + +# ===== ARROWS: 2190-21FF ====================================================== + +sign \x2190 5-25 LEFTWARDS ARROW +sign \x2192 25-2 RIGHTWARDS ARROW +sign \x2194 5-25-2 LEFT RIGHT ARROW + +# ===== MATHEMATICAL OPERATORS: 2200-22FF ====================================== + +math \x2212 4-36 #8722 MINUS SIGN +math \x2215 4-25 #8725 DIVISION SLASH +math \x2217 4-35 #8727 ASTERISK OPERATOR +math \x223C 4-26 #8764 TILDE OPERATOR +math \x2245 4-26-26 #8773 APPROXIMATELY EQUAL TO +math \x2259 26 #8793 ESTIMATES +math \x2260 4-256-2356 #8800 NOT EQUAL TO +math \x2261 4-2356-2356 #8801 IDENTICAL TO +math \x2264 4-246-2356 #8804 LESS-THAN OR EQUAL TO +math \x2265 4-135-2356 #8805 GREATER-THAN OR EQUAL TO +math \x2266 4-246-2356-2356 #8806 LESS-THAN OVER EQUAL TO +math \x2267 4-135-2356-2356 #8807 GREATER-THAN OVER EQUAL TO +math \x22c5 4-3 #8901 DOT OPERATOR +math \x22c6 4-3 #8902 STAR OPERATOR + +# ===== BRAILLE PATTERNS: 2800-28FF ============================================ + +space \x2800 0 #10240 BRAILLE PATTERN BLANK +sign \x2801 1 #10241 BRAILLE PATTERN DOTS-1 +sign \x2802 2 #10242 BRAILLE PATTERN DOTS-2 +sign \x2803 12 #10243 BRAILLE PATTERN DOTS-12 +sign \x2804 3 #10244 BRAILLE PATTERN DOTS-3 +sign \x2805 13 #10245 BRAILLE PATTERN DOTS-13 +sign \x2806 23 #10246 BRAILLE PATTERN DOTS-23 +sign \x2807 123 #10247 BRAILLE PATTERN DOTS-123 +sign \x2808 4 #10248 BRAILLE PATTERN DOTS-4 +sign \x2809 14 #10249 BRAILLE PATTERN DOTS-14 +sign \x280a 24 #10250 BRAILLE PATTERN DOTS-24 +sign \x280b 124 #10251 BRAILLE PATTERN DOTS-124 +sign \x280c 34 #10252 BRAILLE PATTERN DOTS-34 +sign \x280d 134 #10253 BRAILLE PATTERN DOTS-134 +sign \x280e 234 #10254 BRAILLE PATTERN DOTS-234 +sign \x280f 1234 #10255 BRAILLE PATTERN DOTS-1234 +sign \x2810 5 #10256 BRAILLE PATTERN DOTS-5 +sign \x2811 15 #10257 BRAILLE PATTERN DOTS-15 +sign \x2812 25 #10258 BRAILLE PATTERN DOTS-25 +sign \x2813 125 #10259 BRAILLE PATTERN DOTS-125 +sign \x2814 35 #10260 BRAILLE PATTERN DOTS-35 +sign \x2815 135 #10261 BRAILLE PATTERN DOTS-135 +sign \x2816 235 #10262 BRAILLE PATTERN DOTS-235 +sign \x2817 1235 #10263 BRAILLE PATTERN DOTS-1235 +sign \x2818 45 #10264 BRAILLE PATTERN DOTS-45 +sign \x2819 145 #10265 BRAILLE PATTERN DOTS-145 +sign \x281a 245 #10266 BRAILLE PATTERN DOTS-245 +sign \x281b 1245 #10267 BRAILLE PATTERN DOTS-1245 +sign \x281c 345 #10268 BRAILLE PATTERN DOTS-345 +sign \x281d 1345 #10269 BRAILLE PATTERN DOTS-1345 +sign \x281e 2345 #10270 BRAILLE PATTERN DOTS-2345 +sign \x281f 12345 #10271 BRAILLE PATTERN DOTS-12345 +sign \x2820 6 #10272 BRAILLE PATTERN DOTS-6 +sign \x2821 16 #10273 BRAILLE PATTERN DOTS-16 +sign \x2822 26 #10274 BRAILLE PATTERN DOTS-26 +sign \x2823 126 #10275 BRAILLE PATTERN DOTS-126 +sign \x2824 36 #10276 BRAILLE PATTERN DOTS-36 +sign \x2825 136 #10277 BRAILLE PATTERN DOTS-136 +sign \x2826 236 #10278 BRAILLE PATTERN DOTS-236 +sign \x2827 1236 #10279 BRAILLE PATTERN DOTS-1236 +sign \x2828 46 #10280 BRAILLE PATTERN DOTS-46 +sign \x2829 146 #10281 BRAILLE PATTERN DOTS-146 +sign \x282a 246 #10282 BRAILLE PATTERN DOTS-246 +sign \x282b 1246 #10283 BRAILLE PATTERN DOTS-1246 +sign \x282c 346 #10284 BRAILLE PATTERN DOTS-346 +sign \x282d 1346 #10285 BRAILLE PATTERN DOTS-1346 +sign \x282e 2346 #10286 BRAILLE PATTERN DOTS-2346 +sign \x282f 12346 #10287 BRAILLE PATTERN DOTS-12346 +sign \x2830 56 #10288 BRAILLE PATTERN DOTS-56 +sign \x2831 156 #10289 BRAILLE PATTERN DOTS-156 +sign \x2832 256 #10290 BRAILLE PATTERN DOTS-256 +sign \x2833 1256 #10291 BRAILLE PATTERN DOTS-1256 +sign \x2834 356 #10292 BRAILLE PATTERN DOTS-356 +sign \x2835 1356 #10293 BRAILLE PATTERN DOTS-1356 +sign \x2836 2356 #10294 BRAILLE PATTERN DOTS-2356 +sign \x2837 12356 #10295 BRAILLE PATTERN DOTS-12356 +sign \x2838 456 #10296 BRAILLE PATTERN DOTS-456 +sign \x2839 1456 #10297 BRAILLE PATTERN DOTS-1456 +sign \x283a 2456 #10298 BRAILLE PATTERN DOTS-2456 +sign \x283b 12456 #10299 BRAILLE PATTERN DOTS-12456 +sign \x283c 3456 #10300 BRAILLE PATTERN DOTS-3456 +sign \x283d 13456 #10301 BRAILLE PATTERN DOTS-13456 +sign \x283e 23456 #10302 BRAILLE PATTERN DOTS-23456 +sign \x283f 123456 #10303 BRAILLE PATTERN DOTS-123456 diff --git a/braille/translate/src/phone/tables/hr-comp8.tbl b/braille/translate/src/phone/tables/hr-comp8.tbl new file mode 100644 index 000000000..2639e70b9 --- /dev/null +++ b/braille/translate/src/phone/tables/hr-comp8.tbl @@ -0,0 +1,21 @@ +#-index-name: Croatian, computer +#-display-name: Croatian computer braille + +#+language:hr +#+type:computer +#+dots:8 +# Marked as "direction:both" by Bue Vester-Andersen +# as it is a computer Braille table. +#+Direction:both + +# TODO: Please correct the metadata above. It is not meant to be +# accurate nor complete. It hasn't been verified by the table +# author yet. It is merely an attempt by the liblouis maintainers +# to get some sensible initial values in place. + +# TODO: Please add a reference to official documentation about +# the implemented braille code. Preferably submit the documents +# to https://github.com/liblouis/braille-specs. + +include hr-comp8.utb +include braille-patterns.cti diff --git a/braille/translate/src/phone/tables/hr-comp8.utb b/braille/translate/src/phone/tables/hr-comp8.utb new file mode 100644 index 000000000..e1cb4cce4 --- /dev/null +++ b/braille/translate/src/phone/tables/hr-comp8.utb @@ -0,0 +1,239 @@ +# liblouis: Croatian 8-dots computer Braille +# +# Copyright (C) 2008-2008 by The BRLTTY Developers. +# Copyright (C) 2005 by Sébastien Sablé +# +# This file is part of liblouis. +# +# liblouis is free software: you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 2.1 of the +# License, or (at your option) any later version. +# +# liblouis is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with liblouis. If not, see +# . + +# BRLTTY Text Table - Croatian + +# Table generated by Sébastien Sablé for +# libbraille http://libbraille.org and gnome-braille +# http://cvs.gnome.org/viewcvs/gnome-braille/ +# +# Table adapted for BRLTTY by Samuel Thibault +# +# *Many thanks to Danko Butorac for his help* +# Table based on "Croatian code page for computer 8-dot Braille +# alphabet ANSI-1250" from the "Croatian Association of the Blind" at +# http://www.savez-slijepih.hr/en/download.htm +# +# 2015-08-28: Additional character definitions by Zvonimir Stanecic + +# generated by ttbtest +space \s 0 SPACE +punctuation " 2356 QUOTATION MARK +punctuation $ 2346 DOLLAR SIGN +punctuation # 3456 NUMBER SIGN +punctuation ! 5 EXCLAMATION MARK +punctuation € 125678 EURO SIGN +punctuation % 46 PERCENT SIGN +punctuation & 12346 AMPERSAND +punctuation ' 6 APOSTROPHE +punctuation ( 126 LEFT PARENTHESIS +punctuation ) 345 RIGHT PARENTHESIS +punctuation * 35 ASTERISK +punctuation + 235 PLUS SIGN +punctuation , 2 COMMA +punctuation - 36 HYPHEN-MINUS +punctuation . 3 FULL STOP +punctuation / 256 SOLIDUS +digit 0 346 DIGIT ZERO +digit 1 16 DIGIT ONE +digit 2 34 DIGIT TWO +digit 3 146 DIGIT THREE +digit 4 1456 DIGIT FOUR +digit 5 156 DIGIT FIVE +digit 6 1246 DIGIT SIX +digit 7 12456 DIGIT SEVEN +digit 8 1256 DIGIT EIGHT +digit 9 246 DIGIT NINE +punctuation : 25 COLON +punctuation ; 23 SEMICOLON +punctuation < 236 LESS-THAN SIGN +punctuation = 123456 EQUALS SIGN +punctuation > 356 GREATER-THAN SIGN +punctuation ? 26 QUESTION MARK +punctuation @ 47 COMMERCIAL AT +uppercase A 17 LATIN CAPITAL LETTER A +uppercase B 127 LATIN CAPITAL LETTER B +uppercase C 147 LATIN CAPITAL LETTER C +uppercase D 1457 LATIN CAPITAL LETTER D +uppercase E 157 LATIN CAPITAL LETTER E +uppercase F 1247 LATIN CAPITAL LETTER F +uppercase G 12457 LATIN CAPITAL LETTER G +uppercase H 1257 LATIN CAPITAL LETTER H +uppercase I 247 LATIN CAPITAL LETTER I +uppercase J 2457 LATIN CAPITAL LETTER J +uppercase K 137 LATIN CAPITAL LETTER K +uppercase L 1237 LATIN CAPITAL LETTER L +uppercase M 1347 LATIN CAPITAL LETTER M +uppercase N 13457 LATIN CAPITAL LETTER N +uppercase O 1357 LATIN CAPITAL LETTER O +uppercase P 12347 LATIN CAPITAL LETTER P +uppercase Q 123457 LATIN CAPITAL LETTER Q +uppercase R 12357 LATIN CAPITAL LETTER R +uppercase S 2347 LATIN CAPITAL LETTER S +uppercase T 23457 LATIN CAPITAL LETTER T +uppercase U 1367 LATIN CAPITAL LETTER U +uppercase V 12367 LATIN CAPITAL LETTER V +uppercase W 24567 LATIN CAPITAL LETTER W +uppercase X 13467 LATIN CAPITAL LETTER X +uppercase Y 134567 LATIN CAPITAL LETTER Y +uppercase Z 13567 LATIN CAPITAL LETTER Z +punctuation [ 123567 LEFT SQUARE BRACKET +punctuation \\ 457 REVERSE SOLIDUS +punctuation ] 234567 RIGHT SQUARE BRACKET +punctuation ^ 567 CIRCUMFLEX ACCENT +punctuation _ 4567 LOW LINE +punctuation ` 4 GRAVE ACCENT +lowercase a 1 LATIN SMALL LETTER A +lowercase b 12 LATIN SMALL LETTER B +lowercase c 14 LATIN SMALL LETTER C +lowercase d 145 LATIN SMALL LETTER D +lowercase e 15 LATIN SMALL LETTER E +lowercase f 124 LATIN SMALL LETTER F +lowercase g 1245 LATIN SMALL LETTER G +lowercase h 125 LATIN SMALL LETTER H +lowercase i 24 LATIN SMALL LETTER I +lowercase j 245 LATIN SMALL LETTER J +lowercase k 13 LATIN SMALL LETTER K +lowercase l 123 LATIN SMALL LETTER L +lowercase m 134 LATIN SMALL LETTER M +lowercase n 1345 LATIN SMALL LETTER N +lowercase o 135 LATIN SMALL LETTER O +lowercase p 1234 LATIN SMALL LETTER P +lowercase q 12345 LATIN SMALL LETTER Q +lowercase r 1235 LATIN SMALL LETTER R +lowercase s 234 LATIN SMALL LETTER S +lowercase t 2345 LATIN SMALL LETTER T +lowercase u 136 LATIN SMALL LETTER U +lowercase v 1236 LATIN SMALL LETTER V +lowercase w 2456 LATIN SMALL LETTER W +lowercase x 1346 LATIN SMALL LETTER X +lowercase y 13456 LATIN SMALL LETTER Y +lowercase z 1356 LATIN SMALL LETTER Z +punctuation { 12356 LEFT CURLY BRACKET +punctuation | 45 VERTICAL LINE +punctuation } 23456 RIGHT CURLY BRACKET +punctuation ~ 56 TILDE +punctuation \x00a0 0 NO-BREAK SPACE +punctuation \x00a4 4678 CURRENCY SIGN +punctuation \x00a6 468 BROKEN BAR +punctuation \x00a7 3578 SECTION SIGN +punctuation \x00a8 8 DIAERESIS +punctuation \x00a9 12458 COPYRIGHT SIGN +punctuation \x00ab 378 LEFT-POINTING DOUBLE ANGLE QUOTATION MARK +punctuation \x00ac 2357 NOT SIGN +punctuation \x00ad 78 SOFT HYPHEN +punctuation \x00ae 1245678 REGISTERED SIGN +punctuation \x00b0 578 DEGREE SIGN +punctuation \x00b1 1234678 PLUS-MINUS SIGN +punctuation \x00b4 48 ACUTE ACCENT +lowercase \x00b5 34567 MICRO SIGN +punctuation \x00b6 12348 PILCROW SIGN +punctuation \x00b7 38 MIDDLE DOT +punctuation \x00b8 568 CEDILLA +punctuation \x00bb 678 RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK +uppercase \x00c1 138 LATIN CAPITAL LETTER A WITH ACUTE +uppercase \x00c2 123568 LATIN CAPITAL LETTER A WITH CIRCUMFLEX +uppercase \x00c4 3457 LATIN CAPITAL LETTER A WITH DIAERESIS +uppercase \x00c7 123467 LATIN CAPITAL LETTER C WITH CEDILLA +uppercase \x00c9 1234567 LATIN CAPITAL LETTER E WITH ACUTE +uppercase \x00cb 12467 LATIN CAPITAL LETTER E WITH DIAERESIS +uppercase \x00cd 347 LATIN CAPITAL LETTER I WITH ACUTE +uppercase \x00ce 124567 LATIN CAPITAL LETTER I WITH CIRCUMFLEX +uppercase \x00d3 1358 LATIN CAPITAL LETTER O WITH ACUTE +uppercase \x00d4 145678 LATIN CAPITAL LETTER O WITH CIRCUMFLEX +uppercase \x00d6 2467 LATIN CAPITAL LETTER O WITH DIAERESIS +punctuation \x00d7 13468 MULTIPLICATION SIGN +uppercase \x00da 1368 LATIN CAPITAL LETTER U WITH ACUTE +uppercase \x00dc 12567 LATIN CAPITAL LETTER U WITH DIAERESIS +uppercase \x00dd 134568 LATIN CAPITAL LETTER Y WITH ACUTE +lowercase \x00df 234678 LATIN SMALL LETTER SHARP S +lowercase \x00e1 27 LATIN SMALL LETTER A WITH ACUTE +lowercase \x00e2 23678 LATIN SMALL LETTER A WITH CIRCUMFLEX +lowercase \x00e4 3458 LATIN SMALL LETTER A WITH DIAERESIS +lowercase \x00e7 123468 LATIN SMALL LETTER C WITH CEDILLA +lowercase \x00e9 1234568 LATIN SMALL LETTER E WITH ACUTE +lowercase \x00eb 12468 LATIN SMALL LETTER E WITH DIAERESIS +lowercase \x00ed 348 LATIN SMALL LETTER I WITH ACUTE +lowercase \x00ee 124568 LATIN SMALL LETTER I WITH CIRCUMFLEX +lowercase \x00f3 267 LATIN SMALL LETTER O WITH ACUTE +lowercase \x00f4 2568 LATIN SMALL LETTER O WITH CIRCUMFLEX +lowercase \x00f6 2468 LATIN SMALL LETTER O WITH DIAERESIS +punctuation \x00f7 2578 DIVISION SIGN +lowercase \x00fa 278 LATIN SMALL LETTER U WITH ACUTE +lowercase \x00fc 12568 LATIN SMALL LETTER U WITH DIAERESIS +lowercase \x00fd 25678 LATIN SMALL LETTER Y WITH ACUTE +uppercase \x0102 18 LATIN CAPITAL LETTER A WITH BREVE +lowercase \x0103 28 LATIN SMALL LETTER A WITH BREVE +uppercase \x0104 34578 LATIN CAPITAL LETTER A WITH OGONEK +lowercase \x0105 567 LATIN SMALL LETTER A WITH OGONEK +uppercase \x0106 1467 LATIN CAPITAL LETTER C WITH ACUTE +lowercase \x0107 1468 LATIN SMALL LETTER C WITH ACUTE +uppercase \x010c 167 LATIN CAPITAL LETTER C WITH CARON +lowercase \x010d 168 LATIN SMALL LETTER C WITH CARON +uppercase \x010e 1458 LATIN CAPITAL LETTER D WITH CARON +lowercase \x010f 368 LATIN SMALL LETTER D WITH CARON +uppercase \x0110 14567 LATIN CAPITAL LETTER D WITH STROKE +lowercase \x0111 14568 LATIN SMALL LETTER D WITH STROKE +uppercase \x0118 15678 LATIN CAPITAL LETTER E WITH OGONEK +lowercase \x0119 268 LATIN SMALL LETTER E WITH OGONEK +uppercase \x011a 1267 LATIN CAPITAL LETTER E WITH CARON +lowercase \x011b 238 LATIN SMALL LETTER E WITH CARON +uppercase \x0139 1238 LATIN CAPITAL LETTER L WITH ACUTE +lowercase \x013a 237 LATIN SMALL LETTER L WITH ACUTE +uppercase \x013d 4568 LATIN CAPITAL LETTER L WITH CARON +lowercase \x013e 128 LATIN SMALL LETTER L WITH CARON +uppercase \x0141 12368 LATIN CAPITAL LETTER L WITH STROKE +lowercase \x0142 2378 LATIN SMALL LETTER L WITH STROKE +uppercase \x0143 13458 LATIN CAPITAL LETTER N WITH ACUTE +lowercase \x0144 2567 LATIN SMALL LETTER N WITH ACUTE +uppercase \x0147 124678 LATIN CAPITAL LETTER N WITH CARON +lowercase \x0148 2358 LATIN SMALL LETTER N WITH CARON +uppercase \x0150 24678 LATIN CAPITAL LETTER O WITH DOUBLE ACUTE +lowercase \x0151 358 LATIN SMALL LETTER O WITH DOUBLE ACUTE +uppercase \x0154 12358 LATIN CAPITAL LETTER R WITH ACUTE +lowercase \x0155 2367 LATIN SMALL LETTER R WITH ACUTE +uppercase \x0158 24568 LATIN CAPITAL LETTER R WITH CARON +lowercase \x0159 3568 LATIN SMALL LETTER R WITH CARON +uppercase \x015a 2348 LATIN CAPITAL LETTER S WITH ACUTE +lowercase \x015b 357 LATIN SMALL LETTER S WITH ACUTE +uppercase \x015e 234568 LATIN CAPITAL LETTER S WITH CEDILLA +lowercase \x015f 35678 LATIN SMALL LETTER S WITH CEDILLA +uppercase \x0160 1567 LATIN CAPITAL LETTER S WITH CARON +lowercase \x0161 1568 LATIN SMALL LETTER S WITH CARON +uppercase \x0162 23458 LATIN CAPITAL LETTER T WITH CEDILLA +lowercase \x0163 3567 LATIN SMALL LETTER T WITH CEDILLA +uppercase \x0164 123458 LATIN CAPITAL LETTER T WITH CARON +lowercase \x0165 23567 LATIN SMALL LETTER T WITH CARON +uppercase \x016e 3467 LATIN CAPITAL LETTER U WITH RING ABOVE +lowercase \x016f 3468 LATIN SMALL LETTER U WITH RING ABOVE +uppercase \x0170 34678 LATIN CAPITAL LETTER U WITH DOUBLE ACUTE +lowercase \x0171 14678 LATIN SMALL LETTER U WITH DOUBLE ACUTE +uppercase \x0179 13568 LATIN CAPITAL LETTER Z WITH ACUTE +lowercase \x017a 2678 LATIN SMALL LETTER Z WITH ACUTE +uppercase \x017b 12678 LATIN CAPITAL LETTER Z WITH DOT ABOVE +lowercase \x017c 1678 LATIN SMALL LETTER Z WITH DOT ABOVE +uppercase \x017d 23467 LATIN CAPITAL LETTER Z WITH CARON +lowercase \x017e 23468 LATIN SMALL LETTER Z WITH CARON +letter \x02c7 458 CARON +punctuation \x02d8 467 BREVE +punctuation \x02d9 67 DOT ABOVE +punctuation \x02db 58 OGONEK +punctuation \x02dd 68 DOUBLE ACUTE ACCENT diff --git a/braille/translate/src/phone/tables/hr-digits.uti b/braille/translate/src/phone/tables/hr-digits.uti new file mode 100644 index 000000000..c3bb89089 --- /dev/null +++ b/braille/translate/src/phone/tables/hr-digits.uti @@ -0,0 +1,40 @@ +# liblouis: Croatian sub table for digits +# +# Copyright (©) 2017. Zlatko Soboèan +# by company Tiflo globus d.o.o. +# +# This file is part of liblouis. +# +# liblouis is free software: you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 2.1 of the +# License, or (at your option) any later version. +# +# liblouis is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with liblouis. If not, see +# . +# + +# Croatian sub table for digits +# Version 2017-06-15 +# Created and maintained by zlatko Soboèan +# by company Tiflo globus d.o.o. +# If you found bugs with Croatian grade1 table, report it with following address: +# Zlatko Soboèan +# + +digit 0 346 +digit 1 16 +digit 2 34 +digit 3 146 +digit 4 1456 +digit 5 156 +digit 6 1246 +digit 7 12456 +digit 8 1256 +digit 9 246 diff --git a/braille/translate/src/phone/tables/hr-g1.ctb b/braille/translate/src/phone/tables/hr-g1.ctb new file mode 100644 index 000000000..229d5b6d4 --- /dev/null +++ b/braille/translate/src/phone/tables/hr-g1.ctb @@ -0,0 +1,36 @@ +# liblouis: Croatian grade 1 Braille +# +# Copyright (C) 2017. Zlatko Sobočan +# by company Tiflo globus d.o.o. +# +# This file is part of liblouis. +# +# liblouis is free software: you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 2.1 of the +# License, or (at your option) any later version. +# +# liblouis is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with liblouis. If not, see +# . + +#------------------------------------------------------------------------------- +# +# Croatian grade 1 Braille +# Version: 2017-06-15 +# Created and maintained: Zlatko Sobočan +# by company Tiflo globus d.o.o. +# Especially thanks Arend Arends by TactileView for testing. +# If you found bugs with Croatian grade1 table, report it with following address: +# Zlatko Sobočan +# +#------------------------------------------------------------------------------- + +include text_nabcc.dis +include hr-chardefs.cti +include hr-translation.cti diff --git a/braille/translate/src/phone/tables/hr-g1.tbl b/braille/translate/src/phone/tables/hr-g1.tbl new file mode 100644 index 000000000..14a876739 --- /dev/null +++ b/braille/translate/src/phone/tables/hr-g1.tbl @@ -0,0 +1,9 @@ +#-index-name: Croatian +#-display-name: Croatian braille + +#+language: hr +#+type: literary +#+grade: 1 + +include hr-g1.ctb +include braille-patterns.cti diff --git a/braille/translate/src/phone/tables/hr-translation.cti b/braille/translate/src/phone/tables/hr-translation.cti new file mode 100644 index 000000000..37b28317b --- /dev/null +++ b/braille/translate/src/phone/tables/hr-translation.cti @@ -0,0 +1,364 @@ +# liblouis: Croatian grade 1 Braille +# +# Copyright (C) 2017. Zlatko Sobočan +# by company Tiflo globus d.o.o. +# +# This file is part of liblouis. +# +# liblouis is free software: you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 2.1 of the +# License, or (at your option) any later version. +# +# liblouis is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with liblouis. If not, see +# . + +#------------------------------------------------------------------------------- +# +# Croatian grade 1 Braille +# Version: 2017-06-15 +# Created and maintained: Zlatko Sobočan +# by company Tiflo globus d.o.o. +# Especially thanks Arend Arends by TactileView for testing. +# If you found bugs with Croatian grade1 table, report it with following address: +# Zlatko Sobočan +# +#------------------------------------------------------------------------------- + +# --- Braille indicator opcodes ------------------------------------------------ + +# letsign 6 +capsletter 46 +begcapsword 45 +endcapsword 6 +numsign 3456 + +emphclass italic +emphclass underline +emphclass bold +begemphphrase italic 456-13-456 +endemphphrase italic after 456 +lenemphphrase italic 4 +begemphword italic 456 +endemphword italic 6 +emphletter italic 456 +begemphphrase underline 36-36 +endemphphrase underline after 36-36 +lenemphphrase underline 1 +begemphword underline 36-36 +endemphword underline 6 +emphletter underline 36-36 +begemphphrase bold 456-134-456 +endemphphrase bold after 456-456 +lenemphphrase bold 4 +begemphword bold 456-456 +endemphword bold 6 +emphletter bold 456-456 +# Underlined the words with content in "literal" section: +# begcomp 36-36 +# endcomp 36-36 + +# --- Special Processing Opcodes ----------------------------------------------- +#capsnocont + +# --- Translation opcodes ------------------------------------------------------ + +always \\ 34 +prepunc " 2356 Navodnik +prepunc « 2356 +prepunc » 2356 +endnum " 2356 +postpunc " 2356 +postpunc » 2356 +postpunc « 2356 +always # 6-3456 +endnum .a 3-6-1 +endnum .b 3-6-12 +endnum .c 3-6-14 +endnum .d 3-6-145 +endnum .e 3-6-15 +endnum .f 3-6-124 +endnum .g 3-6-1245 +endnum .h 3-6-125 +endnum .i 3-6-24 +endnum .j 3-6-245 +always .\s.\s. 3-3-3 +always .\s, 3-2 +always \x0027\x0027 2356 +prepunc \x2039 2356 Pametni navodnik, otvoren +prepunc \x203a 2356 +prepunc \x2018 2356 +prepunc \x2019 2356 +postpunc \x2039 2356 Pametni navodnik, zatvoren +postpunc \x203a 2356 +postpunc \x2018 2356 +postpunc \x2019 2356 + +include litdigits6Dots.uti +numericmodechars ., +nocontractsign 6 +nonumsign 6 +numericnocontchars abcdefghij + +endnum \s% 3456-245-356 Postotak +endnum \s%) 3456-245-356-6-356 +always % 3456-245-356 +always %) 3456-245-356-6-356 +endnum \s\x2030 3456-245-356-356 Promil +endnum \x2030\x0029 3456-245-356-356-6-356 +always \x2030\x0029 3456-245-356-356-6-356 +always \s\x2031 3456-245-356-356-356 +endnum \s° 45-356 Stupanj +endnum °) 45-356-6-356 +endnum \s°) 45-356-6-356 +endnum \s°C 45-356-46-14 +endnum \s°F 45-356-46-124 +always °) 45-356-6-356 +always °C 45-356-46-14 +always °F 45-356-46-124 +always \s\x2032 45-256 Minuta +always \x2032\x0027 45-256-6-256 +always \s\x2033 45-256-256 Sekunda +always \x2033\x0027 45-256-256-6-256 +begnum § 4-346 Članak +joinnum § 4-346 + +endnum .-- 3-36-36 +endnum ,-- 2-36-36 +#noback always \x2013 36 en crtica +#noback always \x2014 36 EM crtica +always | 6-45 Okomita crta + +joinnum € 5-15 Euro +joinnum £ 5-123 Pfund +joinnum $ 5-145 Dollar +joinnum ¢ 5-14 Cent +joinnum ¥ 5-13456 Yen + +# Minus: +begnum - 4-36 +midnum - 4-36 +midnum -- 36 +midnum -( 4-36-236 +midnum -[ 4-36-6-12356 +midnum -{ 4-36-12356 +midnum \s\x2212\s 0-4-36-0 +midnum \s\x2212 0-4-36 +midnum \x2212 4-36 +always \x2212 4-36 +hyphen - 36 +# Plus Minus: +midnum \s±\s 0-4-235-36-0 +midnum \s± 0-4-235-36 +midnum ± 4-235-36 +always ± 4-235-36 +# jednako je: +midnum \s=\s 0-4-2356-0 +midnum \s= 0-4-2356 +midnum = 4-2356 +always = 4-2356 +# Različito: +midnum \s\x2260\s 0-4-256-2356 +midnum \s\x2260 0-4-256-2356 +midnum \x2260 4-256-2356 +always \x2260 4-256-2356 +# Kongruentno: +midnum \s\x2261\s 0-4-2356-2356 +midnum \s\x2261 0-4-2356-2356 +midnum \x2261 4-2356-2356 +always \x2261 4-2356-2356 +# Sličan (Äquivalent): +midnum \s\x2259\s 0-4-26 +midnum \s\x2259 0-4-26 +midnum \x2259 4-26 +always \x2259 4-26 +# Približan: +midnum \s\x2245\s 0-4-26-26 +midnum \s\x2245 0-4-26-26 +midnum \x2245 4-26-26 +always \x2245 4-26-26 +# Kartezijev produkt (puta kao x): +midnum x 4-236 +# Puta: +midnum \s×\s 0-4-3-0 +midnum \s× 0-4-3 +midnum × 4-3 +always × 4-3 +# Puta (kao zvjezdica): +midnum \s\x2217\s 0-4-3-0 +midnum \s\x2217 0-4-3 +midnum \x2217 4-3 +midnum \s*\s 0-4-3-0 +midnum \s* 0-4-3 +midnum * 4-3 +endnum )* 356-4-3 +midnum )* 356-4-3 +always )* 356-4-3 +begnum *( 4-3-236 +endnum *( 4-3-236 +always *( 4-3-236 +begnum *[ 4-3-6-12356 +endnum *[ 4-3-6-12356 +always *[ 4-3-6-12356 +always ]* 6-23456-4-3 +begnum ]* 6-23456-4-3 +endnum ]* 6-23456-4-3 +always *{ 4-3-12356 +begnum }* 23456-4-3 +endnum }* 23456-4-3 +always }* 23456-4-3 +# Puta (kao točka u sredini): +midnum \s\x22c5\s 0-4-3-0 +midnum \s\x22c5 0-4-3 +midnum \x22c5 4-3 +# Puta (kao zvjezda): +midnum \s\x22c6\s 0-4-3-0 +midnum \s\x22c6 0-4-3 +midnum \x22c6 4-3 +# Podijeljeno sa: +midnum \s÷\s 0-4-25-0 +midnum \s÷ 0-4-25 +midnum ÷ 4-25 +always ÷ 4-25 +midnum \s\x2215\s 0-4-25-0 +midnum \s\x2215 0-4-25 +midnum \x2215 4-25 +always \x2215 4-25 +# Proportional: +midnum \s~\s 0-4-26-0 +midnum \s~ 0-4-26 +midnum ~ 4-26 +midnum \s\x223C\s 0-4-25-25 +midnum \s\x223C 0-4-25-25 +midnum \x223C 0-4-25-25 +always \x223C 4-25-25 +# Manji od: +midnum \s<\s 0-246-3 +midnum \s< 0-246-3 +midnum < 246-3 +always < 246-3 +# Manji ili jednak: +midnum \s\x2264\s 0-246-2356 +midnum \s\x2264 0-246-2356 +midnum \x2264 0-246-2356 +always \x2264 4-246-2356 +midnum \s\x2266\s 0-246-2356 +midnum \s\x2266 0-246-2356 +midnum \x2266 0-246-2356 +always \x2266 4-246-2356 +# Veći od: +midnum \s>\s 0-135-2 +midnum \s> 0-135-2 +midnum > 0-135-2 +always > 135-2 +# Veći ili jednak: +midnum \s\x2265\s 0-135-2356 +midnum \s\x2265 0-135-2356 +midnum \x2265 0-135-2356 +always \x2265 4-135-2356 +midnum \s\x2267\s 0-135-2356 +midnum \s\x2267 0-135-2356 +midnum \x2267 0-135-2356 +always \x2267 4-135-2356 + +#----------- SPECIAL SYLLABLES ----------------------------------------------- + +always \x0044\x017D 12456 # LATIN CAPITAL LETTER D + LATIN CAPITAL LETTER Z WITH CARON +always \x0044\x017E 12456 # LATIN CAPITAL LETTER D + LATIN SMALL LETTER Z WITH CARON +always \x0064\x017E 12456 # LATIN SMALL LETTER D + LATIN SMALL LETTER Z WITH CARON +always LJ 126 # LJ +always Lj 126 # Lj +always lj 126 # lj +always NJ 1246 # NJ +always Nj 1246 # Nj +always nj 1246 # nj + +#----------- SPECIAL WORDS --------------------------------------------------- + +always džanr 145-2346-1-1345-1235 +always injekc 24-1345-245-15-13-14 +always injekt 24-1345-245-15-13-2345 +always konjunk 13-135-1345-245-136-1345-13 +always konjug 13-135-1345-245-136-1245 +always nadživ 1345-1-145-2346-24-1236 +always odživ 135-145-2346-24-1236 +always predživot 1234-1235-15-145-2346-24-1236-135-2345 +always tanjug 2345-1-1345-245-136-1245 + +# ----------- Special character sequences ------------------------------------- + +literal :// URLs +literal www. +literal @ Mail-address + +literal .at +literal .ba +literal .be +literal .ch +literal .com +literal .cz +literal .de +literal .edu +literal .es +literal .fr +literal .gov +literal .hr +literal .hu +literal .info +literal .it +literal .me +literal .mk +literal .mil +literal .net +literal .org +literal .rs +literal .ru +literal .se +literal .uk + +literal .doc +literal .docx +literal .htm +literal .html +literal .mht +literal .pdf +literal .pps +literal .ppsx +literal .ppt +literal .rtf +literal .tex +literal .txt +literal .xls +literal .xlsx + +literal .avi +literal .flac +literal .gif +literal .ico +literal .jpg +literal .mp3 +literal .mp4 +literal .ogg +literal .png +literal .vob +literal .wav +literal .wma + +literal .7z +literal .arc +literal .arh +literal .gz +literal .gzip +literal .jar +literal .rar +literal .tar +literal .zip +literal .zipx + + diff --git a/braille/translate/src/phone/tables/sr-chardefs.cti b/braille/translate/src/phone/tables/sr-chardefs.cti new file mode 100644 index 000000000..e35f6bdce --- /dev/null +++ b/braille/translate/src/phone/tables/sr-chardefs.cti @@ -0,0 +1,215 @@ +# +# Copyright (C) 2011 by Peter Engström +# Copyright (C) 2011 by Monk Jeremiah, Manastir Decani +# +# This file is part of liblouis. +# +# liblouis is free software: you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# liblouis is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with liblouis. If not, see +# . +# +# ----------------------------------------------------------------------------- +# +# SERBIAN +# ======= +# Authors: Peter Engström, Index Braille +# Monk Jeremiah, Manastir Decani +# +# Date: Note: +# 2011-03-28 Initial release +# 2011-04-04 Added more signs. +# 2015-08-28 Additions and fixes by Zvonimir Stanecic +# +#--------------------------------------------------------------------------------------- + +space \x00a0 a +include spaces.uti + +#--------------------- ALL CHARS DEFINITIONS ------------------------------------------- + +punctuation ! 235 # EXCLAMATION MARK +punctuation • 3 # BULET +sign + 235 # PLUS SIGN +midnum + 235 # PLUS SIGN +punctuation ? 26 # QUESTION MARK +punctuation . 256 # FULL STOP +sign \x2026 3-3-3 # HORIZONTAL ELLIPSIS +punctuation , 2 # COMMA +punctuation ; 23 # SEMICOLON +punctuation : 25 # COLON +punctuation ­ 36 +punctuation - 36 # HYPHEN-MINUS +punctuation ' 3 # APOSTROPHE +punctuation * 35 # ASTERISK +sign / 34 # SOLIDUS +sign \\ 16 # REVERSE SOLIDUS +punctuation ( 2356 # LEFT PARENTESIS +punctuation ) 2356 # RIGHT PARENTESIS +punctuation " 2356 # QUOTATION MARK +punctuation ” 356 # RIGHT QUOTATION MARK +punctuation – 36 # EM DASH +punctuation \x201E 236 # DOUBLE LOW-9 QUOTATION MARK +punctuation \x201C 356 # LEFT DOUBLE QUOTATION MARK + + + + +sign # 3456 # NUMBER SIGN +sign $ 256 # DOLLAR SIGN +sign & 4-12346 # AMPERSAND +sign < 5-246 # LESS-THAN SIGN +sign = 2356 # EQUAL SIGN +sign > 135-2 # GREATER-THAN SIGN +sign @ 345 # COMMERCIAL AT +punctuation [ 2356-3 # LEFT SQUARE BRACKET +punctuation ] 6-2356 # RIGHT SQUARE BRACKET +sign ^ 56 # CIRCUMFLEX ACCENT +sign _ 6-36 # LOW LINE (UNDERSCORE) +sign ` 4 # GRAVE ACCENT +punctuation { 2356-23 # LEFT CURLY BRACKET +sign | 4-123 # VERTICAL LINE +punctuation } 56-2356 # RIGHT CURLY BRACKET +sign ~ 56 # TILDE +sign € 26 # EURO +sign \x00A2 4 # CENT SIGN +sign \x00A3 6-123 # POUND SIGN +sign \x00A4 2356-1236-2356 # CURRENCY SIGN +sign \x00A7 346 # PARAGRAPH SIGN +sign \x00A9 12356-14-23456 # COPYRIGHT +punctuation \x00AB 2346-14-3 # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK +sign \x00B0 356 # DEGREE SIGN +sign % 3456-245-356 # PERCENT SIGN +sign \x2030 3456-245-356-356 # PER MILL SIGN +sign \x00B2 34-23 # SUPERSCRIPT 2 SIGN +sign \x00B3 34-25 # SUPERSCRIPT 3 SIGN +sign \x00B9 34-2 # SUPERSCRIPT 1 SIGN +punctuation \x00BB 6-2356-2356 # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK +sign \x00BC 3456-1-1256-145 # VULGAR FRACTION ONE QUARTER +sign \x00BD 3456-1-1256-12 # VULGAR FRACTION ONE HALF +sign \x00BE 3456-14-1256-145 # VULGAR FRACTION 3 QUARTERS +math \x00D7 56-36 # MULTIPLICATION SIGN +math \x00F7 1256 # DIVISION SIGN + +#------------- NOT ASSIGNED ---------------------------------- +#sign \x00A5 45-13456 # YEN SIGN +#sign \x00B4 1256 # ACUTE ACCENT +#sign \x00B5 46-134 # µ MICRO SIGN +#sign \x00B6 4-1234-345 # ¶ PILCROW SIGN +#uplow \x00D3 \x00F3 346 # LATIN CAPITAL LETTER O WITH ACUTE + + +include latinLetterDef6Dots.uti + +include digits6Dots.uti # Must come after letters. +include litdigits6Dots.uti # Must come after letters. + +lowercase \x010D 16 # LATIN LETTER C WITH CARON +lowercase \x0107 146 # LATIN LETTER C WITH ACUTE +lowercase \x0111 1456 # LATIN LETTER D WITH STROKE +lowercase \x0161 156 # LATIN LETTER S WITH CARON +lowercase \x017E 2346 # LATIN LETTER Z WITH CARON +lowercase \x009E 2346 # LATIN LETTER Z WITH CARON (ASCII) + + +#uplow \x00C0 \x00E0 # LATIN LETTER A WITH GRAVE +#uplow \x00C8 \x00E8 # LATIN LETTER E WITH GRAVE +#uplow \x00C9 \x00E9 # LATIN LETTER E WITH ACUTE +#uplow \x00CC \x00EC # LATIN LETTER I WITH GRAVE +#uplow \x00D2 \x00F2 # LATIN LETTER O WITH GRAVE +#uplow \x00DA \x00FA # LATIN LETTER U WITH ACUTE + + +#-------- SERBIAN CYRILLIC LETTERS ----------------------------------------------------- + + +lowercase \x0430 1 # CYRILLIC LETTER A +lowercase \x0431 12 # CYRILLIC LETTER BE +lowercase \x0446 14 # CYRILLIC LETTER TSE +lowercase \x0447 16 # CYRILLIC LETTER CHE +lowercase \x045B 146 # CYRILLIC LETTER TSHE +lowercase \x0434 145 # CYRILLIC LETTER DE +lowercase \x045F 12456 # CYRILLIC LETTER DZHE +lowercase \x0452 1456 # CYRILLIC LETTER DJE +lowercase \x0435 15 # CYRILLIC LETTER IE +lowercase \x0444 124 # CYRILLIC LETTER EF +lowercase \x0433 1245 # CYRILLIC LETTER GHE +lowercase \x0445 125 # CYRILLIC LETTER HA +lowercase \x0438 24 # CYRILLIC LETTER I +lowercase \x0458 245 # CYRILLIC LETTER JE +lowercase \x043A 13 # CYRILLIC LETTER KA +lowercase \x043B 123 # CYRILLIC LETTER EL +lowercase \x0459 126 # CYRILLIC LETTER LJE +lowercase \x043C 134 # CYRILLIC LETTER EM +lowercase \x043D 1345 # CYRILLIC LETTER EN +lowercase \x045A 1246 # CYRILLIC LETTER NJE +lowercase \x043E 135 # CYRILLIC LETTER O +lowercase \x043F 1234 # CYRILLIC LETTER PE +lowercase \x0440 1235 # CYRILLIC LETTER ER +lowercase \x0441 234 # CYRILLIC LETTER ES +lowercase \x0448 156 # CYRILLIC LETTER SHA +lowercase \x0442 2345 # CYRILLIC LETTER TE +lowercase \x0443 136 # CYRILLIC LETTER U +lowercase \x0432 1236 # CYRILLIC LETTER VE +lowercase \x0437 1356 # CYRILLIC LETTER ZE +lowercase \x0436 2346 # CYRILLIC LETTER ZHE + + +#uplow \x0419 \x0439 12346 # CYRILLIC LETTER SHORT I +#uplow \x0429 \x0449 1346 # CYRILLIC LETTER SHCHA +#uplow \x042A \x044A 12356 # CYRILLIC LETTER HARD SIGN +#uplow \x042B \x044B 2346 # CYRILLIC LETTER YERU +#uplow \x042C \x044C 23456 # CYRILLIC LETTER SOFT SIGN +#uplow \x042D \x044D 246 # CYRILLIC LETTER E +#uplow \x042E \x044E 1256 # CYRILLIC LETTER YU +#uplow \x042F \x044F 1246 # CYRILLIC LETTER YA +#uplow \x0401 \x0451 16 # CYRILLIC LETTER IO + +#--------------------------------------------------------------------------------------- + +# Uppercase letters +base uppercase \x010C \x010D # LATIN LETTER C WITH CARON +base uppercase \x0106 \x0107 # LATIN LETTER C WITH ACUTE +base uppercase \x0110 \x0111 # LATIN LETTER D WITH STROKE +base uppercase \x0160 \x0161 # LATIN LETTER S WITH CARON +base uppercase \x017D \x017E # LATIN LETTER Z WITH CARON +base uppercase \x008E \x009E # LATIN LETTER Z WITH CARON (ASCII) +base uppercase \x0410 \x0430 # CYRILLIC LETTER A +base uppercase \x0411 \x0431 # CYRILLIC LETTER BE +base uppercase \x0426 \x0446 # CYRILLIC LETTER TSE +base uppercase \x0427 \x0447 # CYRILLIC LETTER CHE +base uppercase \x040B \x045B # CYRILLIC LETTER TSHE +base uppercase \x0414 \x0434 # CYRILLIC LETTER DE +base uppercase \x040F \x045F # CYRILLIC LETTER DZHE +base uppercase \x0402 \x0452 # CYRILLIC LETTER DJE +base uppercase \x0415 \x0435 # CYRILLIC LETTER IE +base uppercase \x0424 \x0444 # CYRILLIC LETTER EF +base uppercase \x0413 \x0433 # CYRILLIC LETTER GHE +base uppercase \x0425 \x0445 # CYRILLIC LETTER HA +base uppercase \x0418 \x0438 # CYRILLIC LETTER I +base uppercase \x0408 \x0458 # CYRILLIC LETTER JE +base uppercase \x041A \x043A # CYRILLIC LETTER KA +base uppercase \x041B \x043B # CYRILLIC LETTER EL +base uppercase \x0409 \x0459 # CYRILLIC LETTER LJE +base uppercase \x041C \x043C # CYRILLIC LETTER EM +base uppercase \x041D \x043D # CYRILLIC LETTER EN +base uppercase \x040A \x045A # CYRILLIC LETTER NJE +base uppercase \x041E \x043E # CYRILLIC LETTER O +base uppercase \x041F \x043F # CYRILLIC LETTER PE +base uppercase \x0420 \x0440 # CYRILLIC LETTER ER +base uppercase \x0421 \x0441 # CYRILLIC LETTER ES +base uppercase \x0428 \x0448 # CYRILLIC LETTER SHA +base uppercase \x0422 \x0442 # CYRILLIC LETTER TE +base uppercase \x0423 \x0443 # CYRILLIC LETTER U +base uppercase \x0412 \x0432 # CYRILLIC LETTER VE +base uppercase \x0417 \x0437 # CYRILLIC LETTER ZE +base uppercase \x0416 \x0436 # CYRILLIC LETTER ZHE diff --git a/braille/translate/src/phone/tables/sr-g1.ctb b/braille/translate/src/phone/tables/sr-g1.ctb new file mode 100644 index 000000000..4eec9c95f --- /dev/null +++ b/braille/translate/src/phone/tables/sr-g1.ctb @@ -0,0 +1,117 @@ +# +# Copyright (C) 2011 by Peter Engström +# Copyright (C) 2011 by Monk Jeremiah, Manastir Decani +# +# This file is part of liblouis. +# +# liblouis is free software: you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# liblouis is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with liblouis. If not, see +# . +# +# ----------------------------------------------------------------------------- +# +# SERBIAN +# ======= +# Authors: Peter Engström, Index Braille +# Monk Jeremiah, Manastir Decani +# +# Date: Note: +# 2011-03-28 Initial release +# 2015-08-28 Additions and fixes by Zvonimir Stanecic +# +# --------------------------------------------------------------------------------------- + +include sr-chardefs.cti +include braille-patterns.cti + +numsign 3456 # number sign +capsletter 46 +begcapsword 45 + +prepunc `` 236 +# --- Emphasis opcodes --------------------------------------------------------- +emphclass italic +emphclass underline +emphclass bold + +endemphphrase italic after 6-3 +lenemphphrase italic 1 +begemphword italic 6-456 +endemphword italic 6-3 +emphletter italic 456 + +endemphphrase bold after 6-3 +lenemphphrase bold 1 +begemphword bold 6-456 +endemphword bold 6-3 +emphletter bold 456 + +endemphphrase underline after 6-3 +lenemphphrase underline 1 +begemphword underline 6-456 +endemphword underline 6-3 +emphletter underline 456 + +#----------- SPECIAL SYLLABLES ------------------------------------------------ +always \x0044\x017D 12456 # LATIN CAPITAL LETTER D + LATIN CAPITAL LETTER Z WITH CARON +always \x0044\x017E 12456 # LATIN CAPITAL LETTER D + LATIN SMALL LETTER Z WITH CARON +always \x0064\x017E 12456 # LATIN SMALL LETTER D + LATIN SMALL LETTER Z WITH CARON +always LJ 126 # LJ +always Lj 126 # Lj +always lj 126 # lj +always NJ 1246 # NJ +always Nj 1246 # Nj +always nj 1246 # nj +#----------------------------------------------------------------------------- + +#----------- SPECIAL WORDS --------------------------------------------------- +word injekc 24-1345-245-15-13-14 +word injekt 24-1345-245-15-13-2345 +word konjunk 13-135-1345-245-136-1345-13 +word konjug 13-135-1345-245-136-1245 +word nadživ 1345-1-145-2346-24-1236 +word odživ 135-145-2346-24-1236 +word predživot 1234-1235-15-145-2346-24-1236-135-2345 +word tanjug 2345-1-1345-245-136-1245 +#----------------------------------------------------------------------------- + +# mathematical symbols +midnum ­ 36 +midnum - 36 +endnum % 3456-245-356 #46 + + +# special character sequences +literal :// URLs +literal www. + +literal .com +literal .edu +literal .gov +literal .mil +literal .net +literal .org + +literal .doc +literal .htm +literal .html +literal .tex +literal .txt + +literal .gif +literal .jpg +literal .png +literal .wav + +literal .tar +literal .zip diff --git a/braille/translate/src/phone/tables/sr.tbl b/braille/translate/src/phone/tables/sr.tbl new file mode 100644 index 000000000..2a3d2bab9 --- /dev/null +++ b/braille/translate/src/phone/tables/sr.tbl @@ -0,0 +1,21 @@ +#-index-name: Serbian +#-display-name: Serbian braille + +#+language:sr +#+type:literary +#+grade:1 +# Marked as "direction:forward" by Bue Vester-Andersen +# as tests only run forward. +#+direction:forward + +# TODO: Please correct the metadata above. It is not meant to be +# accurate nor complete. It hasn't been verified by the table +# author yet. It is merely an attempt by the liblouis maintainers +# to get some sensible initial values in place. + +# TODO: Please add a reference to official documentation about +# the implemented braille code. Preferably submit the documents +# to https://github.com/liblouis/braille-specs. + +include sr-g1.ctb +include braille-patterns.cti