| 1 | # Tests for Bulgarian braille |
| 2 | # |
| 3 | # Copyright © 2021 by Rumyana Kamenska ([email protected]) |
| 4 | # Copyright © 2026 by Dimitar Dimitrov |
| 5 | |
| 6 | # Copying and distribution of this file, with or without modification, |
| 7 | # are permitted in any medium without royalty provided the copyright |
| 8 | # notice and this notice are preserved. This file is offered as-is, |
| 9 | # without any warranty. |
| 10 | # ---------------------------------------------------------------------------------------------- |
| 11 | |
| 12 | # literary braille |
| 13 | display: | |
| 14 | display \s 0 |
| 15 | include bg.dis |
| 16 | table: |
| 17 | language: bg |
| 18 | type: literary |
| 19 | contraction: no |
| 20 | dots: 6 |
| 21 | |
| 22 | tests: |
| 23 | |
| 24 | # Example for dashes in dialogs. Capital Cyrillic letters should be |
| 25 | # marked with dots 46 |
| 26 | - |
| 27 | - Добро утро, как си? - Попита той. |
| 28 | - Àdobro utro, kak si?õ- Àpopita toy. |
| 29 | - |
| 30 | - Благодаря, добре съм. |
| 31 | - Àblagodar$, dobre s[m. |
| 32 | |
| 33 | # Several consecutive capital Cyrillic letters should be marked with |
| 34 | # dots 56 |
| 35 | - |
| 36 | - БНТ, ДКМС |
| 37 | - ôbnt, ôdkms |
| 38 | |
| 39 | # In this table there is not difference between cyrillic and latin |
| 40 | # letters. They all are capitalized with dots 46 Mixed letters and |
| 41 | # digits. |
| 42 | - |
| 43 | - 1А2б3C4d |
| 44 | - ÁaÀaÁbøbÁcÀcÁdõd |
| 45 | |
| 46 | # Back-translation must prefer Bulgarian letters for bare cells because the |
| 47 | # first ten Bulgarian letters use the same cells as the digits. Digits are |
| 48 | # still back-translated after the Bulgarian number sign. |
| 49 | flags: {testmode: bothDirections} |
| 50 | tests: |
| 51 | - |
| 52 | - абвгдежзийѝклмнопрстуфхцчшщъьюя |
| 53 | - abwgdejziy&klmnoprstufhcq¸x[]¾$ |
| 54 | - |
| 55 | - АБВ |
| 56 | - ôabw |
| 57 | - |
| 58 | - а1б2ц3 123 абв |
| 59 | - aÁaøbÁbøcÁc Áabc abw |
| 60 | - |
| 61 | - 1+2 |
| 62 | - Áa!b |
| 63 | - |
| 64 | - 1,1 |
| 65 | - Áa,a |
| 66 | - |
| 67 | - 1-2 |
| 68 | - Áa-b |
| 69 | - |
| 70 | - 1*2 |
| 71 | - Áa*b |
| 72 | - |
| 73 | - 1/2 |
| 74 | - Áa^b |
| 75 | - |
| 76 | - 1=2 |
| 77 | - Áa=b |
| 78 | - |
| 79 | - 1×2 |
| 80 | - ÁaÉb |
| 81 | - |
| 82 | - 1÷2 |
| 83 | - Áa.b |
| 84 | - |
| 85 | - 1. |
| 86 | - Áa. |
| 87 | - |
| 88 | - – |
| 89 | - õ- |
| 90 | |
| 91 | # Practical symbol additions checked against the Bulgarian Braille-viewer |
| 92 | # profile and real-device testing. Some symbols intentionally translate only |
| 93 | # forward because their braille cells collide with Bulgarian letters or |
| 94 | # punctuation in back-translation. |
| 95 | flags: {testmode: forward} |
| 96 | tests: |
| 97 | - |
| 98 | - №1 |
| 99 | - nr.Áa |
| 100 | - |
| 101 | - / |
| 102 | - ^ |
| 103 | - |
| 104 | - — |
| 105 | - õ- |
| 106 | - |
| 107 | - • |
| 108 | - õ- |
| 109 | - |
| 110 | - ≤ |
| 111 | - <= |
| 112 | - |
| 113 | - ∈ |
| 114 | - ø< |
| 115 | - |
| 116 | - α |
| 117 | - óa |
| 118 | - |
| 119 | - Ω |
| 120 | - _w |
| 121 | |
| 122 | flags: {testmode: backward} |
| 123 | tests: |
| 124 | - |
| 125 | - Àa |
| 126 | - А |
| 127 | - |
| 128 | - À& |
| 129 | - Ѝ |