1
/* This file is part of OpenTX Speaker.
2 * OpenTX Speaker is free software: you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation, either version 3 of the License, or
5 * (at your option) any later version.
7 * OpenTX Speaker is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with OpenTX Speaker. If not, see <http://www.gnu.org/licenses/>.
15 * Copyright 2014 Kjell Kernen */
18 using System
.Collections
.Generic
;
19 using System
.Configuration
;
26 public class SentenceTables
28 private static string[] default_pl_system_strings
=
140 "0110;TISIACE;tisiace",
146 "0116;CALYCH;calych",
149 "0120;Female number;",
150 "0121;Female number;",
151 "0122;Female number;",
152 "0123;Female number;",
153 "0124;Female number;",
154 "0125;Female number;",
155 "0126;Female number;",
156 "0127;Female number;",
157 "0128;Female number;",
158 "0129;Female number;",
249 "0263;GPS Altitude;",
250 "0264;LiPo Elements;",
255 "0269;Telemetry Power;",
263 private static string[] default_pl_other_strings
=
266 "batcrit;battery critical;",
267 "batlow;low battery;",
268 "camcenter;camera center;",
269 "camfix;camera fixed;",
270 "cammanual;camera manual;",
271 "flapsdn;flaps down;",
273 "fltmode1;flight mode 1;",
274 "fltmode2;flight mode 2;",
275 "fltmode3;flight mode 3;",
276 "fltmode4;flight mode 4;",
277 "fltmode5;flight mode 5;",
278 "fltmode6;flight mode 6;",
279 "fltmode7;flight mode 7;",
280 "fltmode8;flight mode 8;",
281 "fltmode9;flight mode 9;",
282 "fsoff;failsafe off;",
288 "htoff;head tracker off;",
289 "hton;head tracker on;",
292 "lowrates;lowrates;",
295 "nrmmod;normal mode;",
296 "thrhold;throttle locked;",
297 "thrrel;throttle released;",
300 private static string[] default_sk_system_strings
=
412 "0110;2000;dvetisíc;",
418 "0116;CELYCH;celýnch",
422 "0120;volt 3;voltov",
425 "0123;amps 2;ampére",
426 "0124;amps 3;ampérov",
427 "0125;amps 4;ampéra",
428 "0126;mps 1;meter za sekundu",
429 "0127;mps 2;metre za sekundu",
430 "0128;mps 3;metrov za sekundu",
431 "0129;mps 4;metra za sekundu",
432 "0130;spare 1;jednotka",
433 "0131;spare 2;jednotky",
434 "0132;spare 3;jednotiek",
435 "0133;spare 4;jednotky",
436 "0134;kmh 1;kilometer za hodinu",
437 "0135;kmh 2;kilometre za hodinu",
438 "0136;kmh 3;kilometrov za hodinu",
439 "0137;kmh 4;kilometra za hodinu",
440 "0138;meter 1;meter",
441 "0139;meter 2;metre",
442 "0140;meter 3;metrov",
443 "0141;meter 4;metra",
444 "0142;degrees 1;stupeň",
445 "0143;degrees 2;stupně",
446 "0144;degrees 3;stupňov",
447 "0145;degrees 4;stupňa",
448 "0146;percent 1;percento",
449 "0147;percent 2;percentá",
450 "0148;percent 3;percent",
451 "0149;percent 4;percenta",
452 "0150;milliamps 1;miliampér",
453 "0151;milliamps 2;miliampére",
454 "0152;milliamps 3;miliampérov",
455 "0153;milliamps 4;miliampéra",
456 "0154;mAh 1;miliampérhodina",
457 "0155;mAh 2;miliampérhodiny",
458 "0156;mAh 3;miliampérhodín",
459 "0157;mAh 4;miliampérhodiny",
465 "0163;db 2;decibely",
466 "0164;db 3;decibelov",
467 "0165;db 4;decibela",
476 "0174;hours 1;hodina",
477 "0175;hours 2;hodiny",
478 "0176;hours 3;hodín",
479 "0177;hours 4;hodiny",
480 "0178;minutes 1;minůta",
481 "0179;minutes 2;minůty",
482 "0180;minutes 3;minůt",
483 "0181;minutes 4;minůty",
484 "0182;secondds 1;sekunda",
485 "0183;secondds 2;sekundy",
486 "0184;secondds 3;sekund",
487 "0185;secondds 4;sekundy",
488 "0186;rpm 1;otáčka za minůtu",
489 "0187;rpm 2;otáčky za minůtu",
490 "0188;rpm 3;otáčok za minůtu",
491 "0189;rpm 4;otáčky za minůtu",
497 "a1_red;a1 critical;",
499 "a2_red;a2 critical;",
500 "endtrim;maximum trim reached;",
501 "inactiv;inactivity alarm;",
502 "lowbatt;radio battery low;",
503 "midtrim;trim center;",
504 "rssi_org;rf signal low;",
505 "rssi_red;rf signal critical;",
506 "swalert;switch warning;",
507 "swr_red;radio antenna defective;",
509 "telemko;telemetry lost;",
510 "telemok;telemetry recover;",
511 "thralert;throttle warning;",
512 "timer10;10 seconds;",
513 "timer20;20 seconds;",
514 "timer30;30 seconds;",
515 "timerlt3;timer sound;"
518 private static string[] default_sk_other_strings
=
521 "batcrit;battery critical;",
522 "batlow;low battery;",
523 "camcenter;camera center;",
524 "camfix;camera fixed;",
525 "cammanual;camera manual;",
526 "flapsdn;flaps down;",
528 "fltmode1;flight mode 1;",
529 "fltmode2;flight mode 2;",
530 "fltmode3;flight mode 3;",
531 "fltmode4;flight mode 4;",
532 "fltmode5;flight mode 5;",
533 "fltmode6;flight mode 6;",
534 "fltmode7;flight mode 7;",
535 "fltmode8;flight mode 8;",
536 "fltmode9;flight mode 9;",
537 "fsoff;failsafe off;",
543 "htoff;head tracker off;",
544 "hton;head tracker on;",
547 "lowrates;lowrates;",
550 "nrmmod;normal mode;",
551 "thrhold;throttle locked;",
552 "thrrel;throttle released;"
555 private static string[] default_es_system_strings
=
661 "0104;;cuatrocientos",
666 "0109;;nuevecientos",
681 "0124;;metros por segundo",
683 "0126;;kilómetro por hora",
687 "0130;;miliamperios",
688 "0131;;miliamperios por hora",
718 "0161;;aceleración X",
719 "0162;;aceleración Y",
720 "0163;;aceleración Z",
726 "a1_red;;A1 crítica",
728 "a2_red;;A2 crítica",
729 "eebad;;eeprom corrompida",
730 "eeformat;;Formateo de eeprom en curso",
731 "endtrim;;trim al máximo",
733 "highmah;;assorbimiento elevado",
734 "hightemp;;temperatura elevada",
735 "inactiv;;me tienes abandonada",
736 "lowbatt;;batería del transmisor baja",
737 "midpot;;potenciómetro centrado",
738 "midtrim;;trim centrado",
739 "rssi_org;;recepcion de señal baja",
740 "rssi_red;;recepción de señal crítica",
741 "swr_red;;Problemas con la antena del transmisor",
742 "swalert;;Los interruptores no están en la posición correcta, por favor corrijalo",
743 "tada;OpenTX Welcome sound;Bienvenida a OpenTX",
744 "telemko;;Sin telemetría",
745 "telemok;;Telemetría disponible",
746 "thralert;;El acelerador está activado, por favor, corrijalo",
747 "timer10;;10 segundos",
748 "timer20;;20 segundos",
749 "timer30;;30 segundos",
750 "timerlt3;;3 segundos"
753 private static string[] default_es_other_strings
=
755 "attero;;aterrizaje",
756 "crowof;;crou, desligado",
757 "crowon;;crou, activo",
758 "engoff;;motor apagado",
759 "flapdn;;flaps abajo",
760 "flapup;;flaps arriba",
761 "fltmd1;;fase de vuelo 1",
762 "fltmd2;;fase de vuelo 2",
763 "fltmd3;;fase de vuelo 3",
764 "fltmd4;;fase de vuelo 4",
765 "fltmd5;;fase de vuelo 5",
766 "fltmd6;;fase de vuelo 6",
767 "fltmd7;;fase de vuelo 7",
768 "fltmd8;;fase de vuelo 8",
769 "fltmd9;;fase de vuelo 9",
770 "geardn;;tren abajo.",
771 "gearup;;tren arriba.",
772 "lowbat;;bateria baja",
773 "nrmmod;;modo de vuelo normal",
774 "spdmod;;modo de velocidad",
775 "thmmod;;modo de térmica",
776 "trnoff;;modo de entrenamiento deshabilitado",
777 "trnon;;modo de entrenamiento activado",
782 private static string[] default_pt_system_strings
=
888 "0104;;quatrocentos",
908 "0124;;metros por segundo",
910 "0126;;quilômetros por hora",
915 "0131;;miliamperes por hora",
945 "0161;;aceleração X",
946 "0162;;aceleração Y",
947 "0163;;aceleração Z",
953 "a1_red;;A1 critica",
955 "a2_red;;A2 critica",
956 "eebad;;eeprom corrompida",
957 "eeformat;;formatação da eeprom em curso",
958 "endtrim;;trim no máximo",
960 "highmah;;assorbimento elevato",
961 "hightemp;;temperatura elevata",
962 "inactiv;;atenção, o rádio foi esquecido ligado, por favor desligue-o",
963 "midtrim;;trim centrado",
964 "midpot;;potenciómetro centrado",
965 "lowbatt;;bateria do rádio fraca",
966 "rssi_org;;recepção de sinal muito baixa",
967 "rssi_red;;recepção de sinal crítica",
968 "swalert;;atenção, certifique-se que os interruptores estão na posição certa",
969 "swr_red;;Problema com a antena do transmissor",
970 "tada;;Bem-vindo ao OpenTX",
971 "thralert;;atenção,acelerador não está no mínimo",
972 "timer10;;10 segundos",
973 "timer20;;20 segundos",
974 "timer30;;30 segundos",
975 "timerlt3;;três segundo"
978 private static string[] default_pt_other_strings
=
981 "crowof;;crou, desligado",
982 "crowon;;crou, activo",
983 "engoff;;motor desligado",
984 "flapdn;;flaps estendidos",
985 "flapup;;flaps recolhidos",
986 "fltmd1;;fase de voo 1",
987 "fltmd2;;fase de voo 2",
988 "fltmd3;;fase de voo 3",
989 "fltmd4;;fase de voo 4",
990 "fltmd5;;fase de voo 5",
991 "fltmd6;;fase de vôo 6",
992 "fltmd7;;fase de voo 7",
993 "fltmd8;;fase de voo 8",
994 "fltmd9;;fase de voo 9",
995 "geardn;;trem, em baixo.",
996 "gearup;;trem, em cima.",
997 "lowbat;;bateria fraca",
998 "nrmmod;;modo de voo normal",
999 "sigcrt;;sinal crítico",
1000 "siglow;;sinal baixo",
1001 "spdmod;;modo de velocidade",
1002 "thmmod;;modo de térmica",
1003 "trnoff;;modo de treino desligado",
1004 "trnon;;modo de treino ligado",
1005 "tohigh;;muito alto",
1006 "tolow;;muito baixo"
1009 private static string[] default_cz_system_strings
=
1137 "0126;;metr za sekundu",
1138 "0127;;metry za sekundu",
1139 "0128;;metrů za sekundu",
1140 "0129;;metru za sekundu",
1145 "0134;;kilometr za hodinu",
1146 "0135;;kilometry za hodinu",
1147 "0136;;kilometrů za hodinu",
1148 "0137;;kilometru za hodinu",
1165 "0154;;miliampérhodina",
1166 "0155;;miliampérhodiny",
1167 "0156;;miliampérhodin",
1168 "0157;;miliampérhodiny",
1197 "0186;;otáčka za minutu",
1198 "0187;;otáčky za minutu",
1199 "0188;;otáček za minutu",
1200 "0189;;otáčky za minutu",
1206 "a1_red;;A1,kritická",
1208 "a2_red;;A2,kritická",
1209 "eebad;;neplatná eeprom",
1210 "endtrim;;maximum trimu",
1211 "inactiv;;zapoměl jsi na mě!",
1212 "lowbatt;;baterie rádia je vybitá",
1213 "midtrim;;střed trimu",
1214 "rssi_org;;nízký RF signál",
1215 "rssi_red;;kritický RF signál",
1216 "swalert;;přepínače nejsou ve výchozí poloze",
1217 "swr_red;;problém s anténou rádia",
1218 "tada;;Oupn najn iks",
1219 "telemko;;telemetrie ztracena",
1220 "telemok;;telemetrie je funkční",
1221 "thralert;;plyn není na nule",
1222 "timer10;;deset sekund",
1223 "timer20;;dvacet sekund",
1224 "timer30;;třicet sekund",
1225 "timerlt3;;tři sekund!"
1228 private static string[] default_cz_other_strings
=
1230 "bytvybita;;baterie modelu je vybitá",
1231 "klapky0;;klapky jsou vypnuty",
1232 "klapky1;;klapky jsou zapnuty",
1233 "ksignal;;kritický signál!",
1234 "motor0;;motor je vypnut",
1235 "motor1;;motor je aktivován",
1236 "nizko;;jsi příliš nízko",
1237 "nsignal;;nízký signál!",
1238 "palivo;;dochází palivo",
1239 "podvozek0;;podvozek je zasunut",
1240 "podvozek1;;podvozek je vysunut",
1241 "r_norm;;normální režim aktivován",
1242 "r_pristani;;režim přistání aktivován",
1243 "r_rychly;;rychlý režim aktivován",
1244 "r_start;;režim start aktivován",
1245 "r_termik;;termický režim aktivován",
1246 "stpovolen;;start povolen",
1247 "trener0;;trenér je vypnutý",
1248 "trener1;;trenér je zapnut",
1249 "vario0;;vario je zapnuto",
1250 "vario1;;vario je vypnuto",
1251 "vysoko;;jsi příliš vysoko"
1254 private static string[] default_en_system_strings
=
1365 "0109;thousand;thousand",
1372 "0119;meter per second;meter per second",
1373 "0120;meters per second;meters per second",
1377 "0126;meters;meters",
1378 "0127;degree;degree",
1379 "0128;degrees;degrees",
1380 "0129;percent;percent",
1381 "0130;percent;percent",
1382 "0131;milliamp;milliamp",
1383 "0132;milliamps;milliamps",
1395 "0145;minute;minute",
1396 "0146;minutes;minutes",
1397 "0147;second;second",
1398 "0148;seconds;seconds",
1403 "0160;point zero;point zero",
1404 "0161;point one;point one",
1405 "0162;point two;point two",
1406 "0163;point three;point three",
1407 "0164;point four;point four",
1408 "0165;point five;point five",
1409 "0166;point six;point six",
1410 "0167;point seven;point seven",
1411 "0168;point eight;point eight",
1412 "0169;point nine;point nine",
1413 "a1_org;a1 low;a1 low",
1414 "a1_red;a1 critical;a1 critical",
1415 "a2_org;a2 low;a2 low",
1416 "a2_red;a2 critical;a2 critical",
1417 "endtrim;maximum trim reached;maximum trim reached",
1418 "inactiv;inactivity alarm;inactivity alarm",
1419 "lowbatt;radio battery low;radio battery low",
1420 "midtrim;trim center;center",
1421 "rssi_org;rf signal low;rf signal low",
1422 "rssi_red;rf signal critical;rf signal critical",
1423 "swalert;switch warning;switch warning",
1424 "swr_red;radio antenna defective;radio antenna defective",
1425 "tada;Start Sound;welcome to open T-X",
1426 "telemko;telemetry lost;telemetry lost",
1427 "telemok;telemetry recover;telemetry recover",
1428 "thralert;throttle warning;throttle warning",
1429 "timer10;10 seconds;10 seconds",
1430 "timer20;20 seconds;20 seconds",
1431 "timer30;30 seconds;30 seconds",
1432 "timerlt3;timer sound;3 seconds"
1435 private static string[] default_en_other_strings
=
1437 "atti;attitude;attitude",
1438 "batcrit;battery critical;battery critical",
1439 "batlow;low battery;low battery",
1440 "camcenter;camera center;camera center",
1441 "camfix;camera fixed;camera fixed",
1442 "cammanual;camera manual;camera manual",
1443 "capacity;capacity;capacity",
1444 "engdis;engine disabled;engine disabled",
1445 "engoff;engine off;engine off",
1446 "engon;engine on;engine on",
1447 "flaps1;flaps 1;flaps 1",
1448 "flaps2;flaps 2;flaps 2",
1449 "flapsdn;flaps down;flaps down",
1450 "flapsup;flaps up;flaps up",
1451 "fltmode1;flight mode one;flight mode one",
1452 "fltmode2;flight mode two;flight mode two",
1453 "fltmode3;flight mode three;flight mode three",
1454 "fltmode4;flight mode four;flight mode four",
1455 "fltmode5;flight mode five;flight mode five",
1456 "fltmode6;flight mode six;flight mode six",
1457 "fltmode7;flight mode seven;flight mode seven",
1458 "fltmode8;flight mode eight;flight mode eight",
1459 "fsoff;failsafe off;failsafe off",
1460 "fson;failsafe on;failsafe on",
1461 "geardn;gear down;gear down",
1462 "gearup;gear upp;gear upp",
1464 "horn;horn sound;eeeeeeeee",
1465 "hirates;hi rates;hi rates",
1466 "htoff;head tracker off;head tracker off",
1467 "hton;head tracker on;head tracker on",
1469 "iocoff;ioc off;ioc off",
1470 "lowrates;lowrates;lowrates",
1471 "manual;manual;manual",
1472 "normal;normal;normal",
1473 "nrmmod;normal mode;normal mode",
1474 "pouet;small horn;ee , ee",
1475 "shutter;camera shutter sound;klick",
1476 "thrhold;throttle locked;throttle locked",
1477 "thrrel;throttle released;throttle released",
1478 "wizz;wizzing sound;shiss"
1481 private static string[] default_se_system_strings
=
1514 "0031;31;trettioen",
1554 "0071;71;sjuttioen",
1592 "0109;thousand;tusen",
1599 "0119;meter per second;meter per sekund",
1600 "0120;meters per second;meter per sekund",
1601 "0123;kmh;kilometer i timmen",
1602 "0124;kmh;kilometer i timmen",
1604 "0126;meters;meter",
1606 "0128;degrees;grader",
1607 "0129;percent;procent",
1608 "0130;percent;procent",
1609 "0131;milliamp;milliampere",
1610 "0132;milliamps;milliampere",
1611 "0133;mah;milliampere-timme",
1612 "0134;mah;milliampere-timmar",
1615 "0137;db;dessibell",
1616 "0138;db;dessibell",
1621 "0144;hours;timmar",
1622 "0145;minute;minut",
1623 "0146;minutes;minuter",
1624 "0147;second;sekund",
1625 "0148;seconds;sekunder",
1626 "0149;rpm;varv i minuten",
1627 "0150;rpm;varv i minuten",
1630 "0160;point zero;komma noll",
1631 "0161;point one;komma en",
1632 "0162;point two;komma två",
1633 "0163;point three;komma tre",
1634 "0164;point four;komma fyra",
1635 "0165;point five;komma fem",
1636 "0166;point six;komma sex",
1637 "0167;point seven;komma sju",
1638 "0168;point eight;komma åtta",
1639 "0169;point nine;komma nio",
1640 "a1_org;a1 low;a1 låg",
1641 "a1_red;a1 critical;a1 kritisk",
1642 "a2_org;a2 low;a2 låg",
1643 "a2_red;a2 critical;a2 kritisk",
1644 "endtrim;maximum trim reached;maximum trim",
1645 "inact;inactivity alarm;inaktivitets-larm",
1646 "lowbat;radio battery low;Låg radiobatterispänning",
1647 "midtrim;trim center;center",
1648 "rssi_org;rf signal low;Svag radio-signal",
1649 "rssi_red;rf signal critical;Kritisk radio-signal",
1650 "swalert;switch warning;brytar-varning",
1651 "swr_red;;radio-antennen är defekt",
1652 "tada;;Välkommen till open Te Ex",
1653 "telemko;;telemetri förlorad",
1654 "telemok;;telemetri åter",
1655 "thralert;;gas-varning",
1656 "timer10;;10 sekunder",
1657 "timer20;;20 sekunder",
1658 "timer30;;30 sekunder",
1659 "timerlt3;timer sound;3 sekunder"
1662 private static string[] default_se_other_strings
=
1665 "batcrit;;kritisk batteri-nivå",
1666 "batlow;;låg batteri-nivå",
1667 "camcenter;;kamera centrerad",
1668 "cammanual;;manuell kamera-kontroll",
1669 "capacity;;kapacitet",
1670 "engdis;;motor säkrad",
1671 "engoff;;motor avslagen",
1673 "flaps1;;flaps läge, ett",
1674 "flaps2;;flaps läge två",
1675 "flapsdn;;flaps ned",
1676 "flapsup;;flaps upp",
1677 "fltmode1;;flyg-läge, ett",
1678 "fltmode2;;flyg-läge två",
1679 "fltmode3;;flyg-läge tre",
1680 "fltmode4;;flyg-läge fyra",
1681 "fltmode5;;flyg-läge fem",
1682 "fltmode6;;flyg-läge sex",
1683 "fltmode7;;flyg-läge sju",
1684 "fltmode8;;flyg-läge åtta",
1685 "fsoff;;fäjlsäif avslagen",
1686 "fson;;fäjlsäif på",
1687 "geardn;;landningsställ ned",
1688 "gearup;;landningsställ upp",
1690 "hirates;;höga nivåer",
1691 "htoff;;head tracker avslagen",
1692 "hton;;head tracker på",
1693 "horn;horn sound;eeeeeeeee",
1695 "iocoff;;i o c avslagen",
1696 "lowrates;;låga nivåer",
1699 "nrmmod;;normalt läge",
1700 "pouet;small horn;ee , ee",
1701 "shutter;camera shutter sound;klick",
1702 "thrhold;;gas säkrad",
1703 "thrrel;;gas osäkrad",
1707 "wizz;wizzing sound;shiss"
1710 private static string[] default_it_system_strings
=
1815 "0103;virgola;virgola",
1821 "0109;minuto;minuto",
1822 "0110;minuti;minuti",
1823 "0111;secondo;secondo",
1824 "0112;secondi;secondi",
1827 "0115;;metri per secondo",
1829 "0117;;chilometri/ora",
1833 "0121;;milliampere",
1834 "0122;;milliampere/ora",
1846 "0134;;trasmissione",
1853 "0141;;temperatura",
1854 "0142;;temperatura",
1859 "0147;;totale lipo",
1864 "0152;;accellerazione X",
1865 "0153;;accellerazione Y",
1866 "0154;;accellerazione Z",
1871 "a1_org;A1 in allarme;A1 in allarme",
1872 "a1_red;A1 critico;A1 critico",
1873 "a2_org;A2 in allarme;A2 in allarme",
1874 "a2_red;A2 critico;A2 critico",
1875 "eebad;eeprom corrotta;eeprom corrotta",
1876 "eeformat;formattazone eeprom in corso;formattazone eeprom in corso",
1877 "endtrim;massimo trim raggiunto;massimo trim raggiunto",
1878 "error;errore;errore",
1879 "highmah;assorbimento elevato;assorbimento elevato",
1880 "hightemp;temperatura elevata;temperatura elevata",
1881 "inactiv;radio inattiva controllare;radio inattiva controllare",
1882 "lowbatt;batteria della radio scarica;batteria della radio scarica",
1883 "midpot;potenziometro centrato;potenziometro centrato",
1884 "midtrim;trim centrato;trim centrato",
1885 "rssi_org;Segnale radio basso;Segnale radio basso",
1886 "rssi_red;Segnale radio critico;Segnale radio critico",
1887 "swalert;interruttori non in posizione, verificare;interruttori non in posizione, verificare",
1888 "swr_red;Problema all'antenna della radio;Problema all'antenna della radio",
1890 "telemko;Telemetria assente;Telemetria assente",
1891 "telemok;Telemetria disponibile;Telemetria disponibile",
1892 "thralert;controllo motore non in posizione, verificare;controllo motore non in posizione, verificare",
1893 "timer10;dieci secondi;dieci secondi",
1894 "timer20;venti secondi;venti secondi",
1895 "timer30;trenta secondi;trenta secondi",
1896 "timerlt3;timer sound;3 secondi"
1899 private static string[] default_it_other_strings
=
1901 "attero;;atterraggiio",
1904 "engoff;;motore spento",
1905 "flapdn;;flap estesi",
1906 "flapup;;flap rientrati",
1907 "fltmd1;;fase di volo 1",
1908 "fltmd2;;fase di volo 2",
1909 "fltmd3;;fase di volo 3",
1910 "fltmd4;;fase di volo 4",
1911 "fltmd5;;fase di volo 5",
1912 "fltmd6;;fase di volo 6",
1913 "fltmd7;;fase di volo 7",
1914 "fltmd8;;fase di volo 8",
1915 "fltmd9;;fase di volo 9",
1916 "geardn;;carrello aperto",
1917 "gearup;;carrello chiuso",
1919 "lowbat;;batteria scarica",
1920 "nrmmod;;modo volo normale",
1921 "spdmod;;modo velocità",
1922 "thmmod;;modo termica",
1923 "tohigh;;troppo alto",
1924 "tolow;;troppo basso",
1925 "trnoff;;modalità maestro disattiva",
1926 "trnon;;modalità maestro attiva"
1929 private static string[] default_de_system_strings
=
2032 "0101;1000;tausend",
2033 "0102;;comma;comma",
2043 "0112;;Meter pro sekunde",
2045 "0114;;kilometer pro stunde",
2049 "0118;;Milliampere",
2050 "0119;;Milliampere pro stunde",
2071 "0140;;Geschwindigkeit",
2075 "0144;;Zellen gesamt",
2080 "0149;;Beschleunigung X",
2081 "0150;;Beschleunigung Y",
2082 "0151;;Beschleunigung Z",
2087 "a1_org;;A1 schlecht!",
2088 "a1_red;;A1 kritisch!",
2089 "a2_org;;A2 schlecht!",
2090 "a2_red;;A2 kritisch!",
2091 "eebad;;Das EEPROM ist fehlerhaft",
2092 "eeformat;;Das EEPROM ist immer formatiert",
2093 "endtrim;;Maximale trimmung erreicht",
2095 "highmah;;Senderstrom ist zu hoch!",
2096 "hightemp;;Sendertemperatur ist zu hoch!",
2097 "inactiv;;Sender ist inaktiv,bitte Ueberpruefen Sie",
2098 "lowbatt;;Senderakku niedrig",
2099 "midtrim;;Trim zentriert",
2100 "midpot;;Poti zentriert",
2101 "rssi_org;;Funksignal schlecht!",
2102 "rssi_red;;Funksignal kritisch!",
2103 "swr_red;;Problem mit der sender Antenna",
2104 "swalert;;Schalten fehlpositioniert, bitte pruefen",
2105 "tada;Welcome sound;Willkommen",
2106 "thralert;;Gaskanal nicht Null, bitte pruefen",
2107 "timer10;;10 sekunden",
2108 "timer20;;20 sekunden",
2109 "timer30;;30 sekunden",
2110 "timerlt3;;Noch drei Sekunden" };
2112 private static string[] default_de_other_strings
=
2117 "engoff;;Motor aus",
2118 "flapdn;;Klappen ausgefahren",
2119 "flapup;;Klappen eingefahren",
2129 "geardn;;Fahrwerk ausgefahren",
2130 "gearup;;Fahrwerk eingezogen",
2131 "horn;horn sound;eeeeeeeee",
2132 "lowbat;;Batterie schwach",
2133 "nrmmod;;Normal-Modus ist aktiviert",
2134 "pouet;small horn;ee , ee",
2135 "shutter;camera shutter sound;klick",
2136 "spdmod;;Schnell-Modus ist aktiviert",
2137 "thmmod;;Thermik-Modus ist aktiviert",
2138 "trnon;;Trainer-Modus ein",
2139 "trnoff;;Trainer-Modus aus",
2141 "tolow;;zu niedrig",
2142 "wizz;wizzing sound;shiss"
2145 private static string[] default_fr_system_strings
=
2274 "0127;ms;mètres par seconde",
2276 "0129;kmh;kilomètre heure",
2280 "0133;mA;milliampère",
2281 "0134;mAH;milliampères heure",
2288 "0141;sec;secondes",
2289 "0142;;taux par minute",
2293 "0146;timer;chrono",
2302 "0155;;temperature",
2303 "0156;;temperature",
2307 "0160;;élément lipo",
2311 "0164;;consomation",
2313 "0166;;accelération x",
2314 "0167;;accelération y",
2315 "0168;;accelération z",
2316 "0169;;orientation",
2327 "0180;.0;virgule 0",
2328 "0181;.1;virgule 1",
2329 "0182;.2;virgule 2",
2330 "0183;.3;virgule 3",
2331 "0184;.4;virgule 4",
2332 "0185;.5;virgule 5",
2333 "0186;.6;virgule 6",
2334 "0187;.7;virgule 7",
2335 "0188;.8;virgule 8",
2336 "0189;.9;virgule 9",
2338 "a1_org;a1 low;a1 bas",
2339 "a1_red;a1 critical;a1 critique",
2340 "a2_org;a2 low;a2 bas",
2341 "a2_red;a2 critical;a2 critique",
2342 "eebad;memoire basse;niveau mémoire bas",
2343 "endtrim;trim maximum atteint;trim maximum atteint",
2344 "inact;inactivity alarm;alarme d'innactivité",
2345 "lowbat;radio battery low;batterie transmetteur faible",
2346 "midtrim;trim center;trim centré",
2347 "rssi_org;rf signal low;signal recepteur faible",
2348 "rssi_red;rf signal critical;signal recepteur critique",
2349 "swalert;switch warning;interupteur mal positionné",
2350 "swr_red;radio antenna defective;antenne emeteur defectueuse",
2351 "tada;welcome to opentx;Bienvenue sur Open tx",
2352 "telemko;telemetry lost;télémétrie perdue",
2353 "telemok;telemetry recover;télémétrie retrouvée",
2354 "thralert;throttle warning;mettre les gaz a 0",
2355 "timer10;10 seconds;10 secondes",
2356 "timer20;20 seconds;20 secondes",
2357 "timer30;30 seconds;30 secondes",
2358 "timerlt3;3 seconds;3 secondes"
2361 private static string[] default_fr_other_strings
=
2363 "attero;;atterrissage",
2364 "atti;attitude;attitude",
2365 "batcrit;battery critical;niveau batterie critique",
2366 "batlow;low battery;niveau batterie bas",
2367 "camcenter;camera center;caméra centrée",
2368 "cammanual;camera manual;caméra manuelle",
2369 "capacity;capacity;capacité",
2370 "engdis;engine disabled;moteur calé",
2371 "engoff;engine off;moteur coupé",
2372 "engon;engine on;moteur démarré",
2373 "flaps1;flaps 1;volets 1",
2374 "flaps2;flaps 2;volets 2",
2375 "flapsdn;flaps down;volets sortis",
2376 "flapsup;flaps up;volets rentrés",
2377 "fltmode0;phase de vol 0;phase de vol 0",
2378 "fltmode1;phase de vol 1;phase de vol 1",
2379 "fltmode2;phase de vol 2;phase de vol 2",
2380 "fltmode3;phase de vol 3;phase de vol 3",
2381 "fltmode4;phase de vol 4;phase de vol 4",
2382 "fltmode5;phase de vol 5;phase de vol 5",
2383 "fltmode6;phase de vol 6;phase de vol 6",
2384 "fltmode7;phase de vol 7;phase de vol 7",
2385 "fltmode8;phase de vol 8;phase de vol 8",
2386 "fsoff;failsafe off;failsafe coupé",
2387 "fson;failsafe on;failsafe activé",
2388 "geardn;gear down;train sorti",
2389 "gearup;gear upp;train rentré",
2391 "hirates;hi rates;taux élevé",
2392 "htoff;head tracker off;suivi tète désactivé",
2393 "hton;head tracker on;suivi tète activé",
2395 "iocoff;ioc off;i o c coupé",
2396 "lowrates;lowrates;taux faible",
2397 "manual;manual;manuel",
2398 "normal;normal;normal",
2399 "nrmmod;normal mode;mode normal",
2400 "thrhold;throttle locked;gaz bloqués","thrrel;throttle released;gaz relachés",
2401 "trnoff;;fin écolage",
2405 public string[][] default_system_strings
= new string[10][];
2406 public string[][] default_other_strings
= new string[10][];
2408 public int toInt(string langStr
)
2410 if (langStr
== "cz") return 1;
2411 if (langStr
== "de") return 2;
2412 if (langStr
== "es") return 3;
2413 if (langStr
== "fr") return 4;
2414 if (langStr
== "it") return 5;
2415 if (langStr
== "pl") return 6;
2416 if (langStr
== "pt") return 7;
2417 if (langStr
== "se") return 8;
2418 if (langStr
== "sk") return 9;
2419 else return 0; //English default
2422 public SentenceTables()
2424 default_other_strings
[toInt("cz")] = default_cz_other_strings
;
2425 default_system_strings
[toInt("cz")] = default_cz_system_strings
;
2427 default_other_strings
[toInt("de")] = default_de_other_strings
;
2428 default_system_strings
[toInt("de")] = default_de_system_strings
;
2430 default_other_strings
[toInt("en")] = default_en_other_strings
;
2431 default_system_strings
[toInt("en")] = default_en_system_strings
;
2433 default_other_strings
[toInt("es")] = default_es_other_strings
;
2434 default_system_strings
[toInt("es")] = default_es_system_strings
;
2436 default_other_strings
[toInt("fr")] = default_fr_other_strings
;
2437 default_system_strings
[toInt("fr")] = default_fr_system_strings
;
2439 default_other_strings
[toInt("it")] = default_it_other_strings
;
2440 default_system_strings
[toInt("it")] = default_it_system_strings
;
2442 default_other_strings
[toInt("pl")] = default_pl_other_strings
;
2443 default_system_strings
[toInt("pl")] = default_pl_system_strings
;
2445 default_other_strings
[toInt("pt")] = default_pt_other_strings
;
2446 default_system_strings
[toInt("pt")] = default_pt_system_strings
;
2448 default_other_strings
[toInt("se")] = default_se_other_strings
;
2449 default_system_strings
[toInt("se")] = default_se_system_strings
;
2451 default_other_strings
[toInt("sk")] = default_sk_other_strings
;
2452 default_system_strings
[toInt("sk")] = default_sk_system_strings
;