Skip to content

Commit

Permalink
Add Romanian translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragan232 authored and czietz committed Dec 14, 2023
1 parent bb217bd commit 4999576
Show file tree
Hide file tree
Showing 6 changed files with 1,753 additions and 1 deletion.
74 changes: 74 additions & 0 deletions bios/keyb_ro.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/*
* keyb_ro.h - Romanian keyboard layout definition
*
* Copyright (C) 2020-2023 The EmuTOS development team
*
* This file is distributed under the GPL, version 2 or at your
* option any later version. See doc/license.txt for details.
*/

static const UBYTE keytbl_ro_norm[] = {
0, 0x1b, '1', '2', '3', '4', '5', '6',
'7', '8', '9', '0', '-', '=', 0x08, 0x09,
'q', 'w', 'e', 'r', 't', 'y', 'u', 'i',
'o', 'p', 0xe3, 0xee, 0x0d, 0, 'a', 's',
'd', 'f', 'g', 'h', 'j', 'k', 'l', 0xba,
0xfe, '`', 0, 0xe2, 'z', 'x', 'c', 'v',
'b', 'n', 'm', ',', '.', '/', 0, 0,
0, ' ', 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, '-', 0, 0, 0, '+', 0,
0, 0, 0, 0x7f, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, '(', ')', '/', '*', '7',
'8', '9', '4', '5', '6', '1', '2', '3',
'0', '.', 0x0d, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
};

static const UBYTE keytbl_ro_shft[] = {
0, 0x1b, '!', '@', '#', '$', '%', '^',
'&', '*', '(', ')', '_', '+', 0x08, 0x09,
'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I',
'O', 'P', 0xc3, 0xde, 0x0d, 0, 'A', 'S',
'D', 'F', 'G', 'H', 'J', 'K', 'L', 0xaa,
0xde, '~', 0, 0xc2, 'Z', 'X', 'C', 'V',
'B', 'N', 'M', ';', ':', '?', 0, 0,
0, ' ', 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, '7',
'8', 0, '-', '4', 0, '6', '+', 0,
'2', 0, '0', 0x7f, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, '(', ')', '/', '*', '7',
'8', '9', '4', '5', '6', '1', '2', '3',
'0', '.', 0x0d, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
};

static const UBYTE keytbl_ro_caps[] = {
0, 0x1b, '1', '2', '3', '4', '5', '6',
'7', '8', '9', '0', '-', '=', 0x08, 0x09,
'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I',
'O', 'P', '[', ']', 0x0d, 0, 'A', 'S',
'D', 'F', 'G', 'H', 'J', 'K', 'L', ';',
'\'', '`', 0, '\\', 'Z', 'X', 'C', 'V',
'B', 'N', 'M', ',', '.', '/', 0, 0,
0, ' ', 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, '-', 0, 0, 0, '+', 0,
0, 0, 0, 0x7f, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, '(', ')', '/', '*', '7',
'8', '9', '4', '5', '6', '1', '2', '3',
'0', '.', 0x0d, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
};


static const struct keytbl keytbl_ro = {
keytbl_ro_norm,
keytbl_ro_shft,
keytbl_ro_caps,
NULL,
0
};
2 changes: 1 addition & 1 deletion country.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# option any later version. See doc/license.txt for details.
#

COUNTRIES = us de fr cz gr es fi sg ru it uk no se nl pl hu tr
COUNTRIES = us de fr cz gr es fi sg ru it uk no se nl pl hu tr ro
ifeq (,$(findstring $(COUNTRY),$(COUNTRIES)))
$(error Unknown COUNTRY=$(COUNTRY))
endif
Expand Down
1 change: 1 addition & 0 deletions include/ctrycodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
*/
#define COUNTRY_PL 17 /* Poland */
#define COUNTRY_RU 19 /* Russia */
#define COUNTRY_RO 24 /* Romania */
#define COUNTRY_GR 31 /* Greece */

/*
Expand Down
1 change: 1 addition & 0 deletions localise.ctl
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ pl pl pl l2 IDT_24H|IDT_DDMMYY|'/'
ru ru ru ru IDT_24H|IDT_DDMMYY|'/'
gr gr gr gr IDT_24H|IDT_DDMMYY|'/'
tr tr tr tr IDT_24H|IDT_DDMMYY|'.'
ro ro ro l2 IDT_24H|IDT_DDMMYY|'.'
1 change: 1 addition & 0 deletions po/LINGUAS
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ nl atarist
cs latin2
hu latin2
pl latin2
ro latin2

ru russian-atarist

Expand Down
Loading

0 comments on commit 4999576

Please sign in to comment.