From cc9045837fd8690c029b8508ed1bc471b5c3ad5b Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Tue, 24 Feb 2009 14:40:13 -0800 Subject: [PATCH] Update bulgarian layouts and add new standard phonetic layout. #20301 On Dec 5, 2007 the Bulgarian government created a new standard phonetic keyboard layout which differs from the traditional phonetic keyboard layout. This patch adds it as a third option, and updates the standard with minor modifications recommended by the Bulgarian Academy of Science. Signed-off-by: Bryce Harrington --- rules/base.xml.in | 10 +++++- symbols/bg | 101 ++++++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 97 insertions(+), 14 deletions(-) diff --git a/rules/base.xml.in b/rules/base.xml.in index f12390a..ef7a4fb 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -1771,7 +1771,15 @@ phonetic - <_description>Phonetic + <_description>Traditional Phonetic + + + + + + + bas_phonetic + <_description>Standard Phonetic diff --git a/symbols/bg b/symbols/bg index 8c4913c..b990d20 100644 --- a/symbols/bg +++ b/symbols/bg @@ -1,9 +1,5 @@ -// $XKeyboardConfig$ - -// based on a keyboard map: -// ////////////////////////////////////////////////////////////////////////// -// Copyright (C) 1999, 2000 by Anton Zinoviev +// Copyright (C) 1999, 2000, 2005 by Anton Zinoviev // // This software may be used, modified, copied, distributed, and sold, // in both source and binary form provided that the above copyright @@ -13,14 +9,13 @@ // use. // ////////////////////////////////////////////////////////////////////////// -// Version 1.6r1 +// Version 1.9-BAN partial default alphanumeric_keys xkb_symbols "bds" { -// BDS is the Bulgarian Institute for Standardization - name[Group1]= "Bulgaria"; +key.type[Group1] = "TWO_LEVEL"; key { [ parenleft, parenright ] }; key { [ 1, exclam ] }; key { [ 2, question ] }; @@ -32,10 +27,11 @@ xkb_symbols "bds" { key { [ 8, slash ] }; key { [ 9, emdash ] }; key { [ 0, numerosign ] }; - key { [ minus, I ] }; - key { [ period, V ] }; + key { [ minus, dollar ] }; + key { [ period, EuroSign ] }; key { [ comma, Cyrillic_yeru ] }; +key.type[Group1] = "ALPHABETIC"; key { [ Cyrillic_u, Cyrillic_U ] }; key { [ Cyrillic_ie, Cyrillic_IE ] }; key { [ Cyrillic_i, Cyrillic_I ] }; @@ -46,9 +42,11 @@ xkb_symbols "bds" { key { [ Cyrillic_de, Cyrillic_DE ] }; key { [ Cyrillic_ze, Cyrillic_ZE ] }; key { [ Cyrillic_tse, Cyrillic_TSE ] }; +key.type[Group1] = "TWO_LEVEL"; key { [ semicolon, section ] }; - key { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] }; +key.type[Group1] = "ALPHABETIC"; + key { [ Cyrillic_softsign, U045D ] }; key { [ Cyrillic_ya, Cyrillic_YA ] }; key { [ Cyrillic_a, Cyrillic_A ] }; key { [ Cyrillic_o, Cyrillic_O ] }; @@ -59,7 +57,6 @@ xkb_symbols "bds" { key { [ Cyrillic_ve, Cyrillic_VE ] }; key { [ Cyrillic_em, Cyrillic_EM ] }; key { [ Cyrillic_che, Cyrillic_CHE ] }; - key { [ apostrophe, Cyrillic_YERU ] }; key { [ Cyrillic_yu, Cyrillic_YU ] }; key { [ Cyrillic_shorti, Cyrillic_SHORTI ] }; @@ -72,14 +69,22 @@ xkb_symbols "bds" { key { [ Cyrillic_el, Cyrillic_EL ] }; key { [ Cyrillic_be, Cyrillic_BE ] }; +key.type[Group1] = "TWO_LEVEL"; + key { [ doublelowquotemark,leftdoublequotemark ] }; + + key { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] }; + // End alphanumeric section + key { type[Group1] = "KEYPAD", + [ KP_Delete, KP_Separator ] }; + }; partial alphanumeric_keys xkb_symbols "phonetic" { - name[Group1]= "Bulgaria - Phonetic"; + name[Group1]= "Bulgaria - Traditional Phonetic"; key { [ Cyrillic_che, Cyrillic_CHE ] }; key { [ 1, exclam ] }; @@ -135,3 +140,73 @@ xkb_symbols "phonetic" { // End alphanumeric section }; + +partial default alphanumeric_keys +xkb_symbols "bas_phonetic" { + name[Group1]= "Bulgarian - Standard Phonetic"; + +key.type[Group1] = "ALPHABETIC"; + key { [ Cyrillic_yu, Cyrillic_YU ] }; +key.type[Group1] = "TWO_LEVEL"; + key { [ 1, exclam ] }; + key { [ 2, at ] }; + key { [ 3, numerosign ] }; + key { [ 4, dollar ] }; + key { [ 5, percent ] }; + key { [ 6, EuroSign ] }; + key { [ 7, section ] }; + key { [ 8, asterisk ] }; + key { [ 9, parenleft ] }; + key { [ 0, parenright ] }; + key { [ minus, emdash ] }; + key { [ equal, plus ] }; + +key.type[Group1] = "ALPHABETIC"; + key { [ Cyrillic_che, Cyrillic_CHE ] }; + key { [ Cyrillic_sha, Cyrillic_SHA ] }; + key { [ Cyrillic_ie, Cyrillic_IE ] }; + key { [ Cyrillic_er, Cyrillic_ER ] }; + key { [ Cyrillic_te, Cyrillic_TE ] }; + key { [ Cyrillic_hardsign, Cyrillic_HARDSIGN ] }; + key { [ Cyrillic_u, Cyrillic_U ] }; + key { [ Cyrillic_i, Cyrillic_I ] }; + key { [ Cyrillic_o, Cyrillic_O ] }; + key { [ Cyrillic_pe, Cyrillic_PE ] }; + key { [ Cyrillic_ya, Cyrillic_YA ] }; + key { [ Cyrillic_shcha, Cyrillic_SHCHA ] }; + + key { [ Cyrillic_a, Cyrillic_A ] }; + key { [ Cyrillic_es, Cyrillic_ES ] }; + key { [ Cyrillic_de, Cyrillic_DE ] }; + key { [ Cyrillic_ef, Cyrillic_EF ] }; + key { [ Cyrillic_ghe, Cyrillic_GHE ] }; + key { [ Cyrillic_ha, Cyrillic_HA ] }; + key { [ Cyrillic_shorti, Cyrillic_SHORTI ] }; + key { [ Cyrillic_ka, Cyrillic_KA ] }; + key { [ Cyrillic_el, Cyrillic_EL ] }; +key.type[Group1] = "TWO_LEVEL"; + key { [ semicolon, colon ] }; + key { [ apostrophe, quotedbl ] }; +key.type[Group1] = "ALPHABETIC"; + key { [ Cyrillic_softsign, U045D ] }; + + key { [ Cyrillic_ze, Cyrillic_ZE ] }; + key { [ Cyrillic_zhe, Cyrillic_ZHE ] }; + key { [ Cyrillic_tse, Cyrillic_TSE ] }; + key { [ Cyrillic_ve, Cyrillic_VE ] }; + key { [ Cyrillic_be, Cyrillic_BE ] }; + key { [ Cyrillic_en, Cyrillic_EN ] }; + key { [ Cyrillic_em, Cyrillic_EM ] }; +key.type[Group1] = "TWO_LEVEL"; + key { [ comma, doublelowquotemark ] }; + key { [ period, leftdoublequotemark ] }; + key { [ slash, question ] }; + + key { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] }; + + // End alphanumeric section + + key { type[Group1] = "KEYPAD", + [ KP_Delete, KP_Separator ] }; +}; + -- 1.6.0.4