INNER CODE UNIT · Python

warn

Julow/Unexpected-Keyboard · gen_method_xml.py:7

def warn(msg):
    print("Warning: " + msg, file=sys.stderr)

def loc(loc_name, script, default_layout, **kwargs):
    return { "name": loc_name, "script": script,
             "default_layout": default_layout, **kwargs }

# The locales are defined here. To add support for a language, add it to the
# following block:

LOCALES = [
  loc("ar", "arabic", "arab_pc_hindu"),
  loc("ar_TN", "arabic", "arab_pc"),
  loc("as", "beng", "beng_assamese"),
  loc("az_AZ", "latin", "latn_qwerty_az", extra_keys="accent_trema:ü:ö@w|accent_cedille:ç:ş@s|ğ@g|ı@k|ə@l"),
  loc("be_BY", "cyrillic", "cyrl_jcuken_ru", extra_keys="ґ|є|і|ї|ў"),
  loc("bg_BG", "cyrillic", "cyrl_ueishsht", extra_keys="€"),
  loc("bn_BD", "latin", "latn_qwerty_us", extra_keys="৳"),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…