Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # The list of keyboard layouts that we support. The keyboard layout metadata is | 1 # The list of keyboard layouts that we support. The keyboard layout metadata is |
| 2 # also defined here. | 2 # also defined here. |
| 3 # | 3 # |
| 4 # Each non-comment line contains the following tab-separated columns. | 4 # Each non-comment line contains the following tab-separated columns. |
| 5 # | 5 # |
| 6 # 1) The input method ID used by Chrome. (ex. "xkb:ca::fra") You should *NEVER* | 6 # 1) The input method ID used by Chrome. (ex. "xkb:ca::fra") You should *NEVER* |
| 7 # change the ID since the ID might be written in user's ~/Preferences. For | 7 # change the ID since the ID might be written in user's ~/Preferences. For |
| 8 # example, three-letter ISO 639-2/B codes are used for IDs start with "xkb:" | 8 # example, three-letter ISO 639-2/B codes are used for IDs start with "xkb:" |
| 9 # for histrical reason, but we should not replace them with two-letter 639-1 | 9 # for histrical reason, but we should not replace them with two-letter 639-1 |
| 10 # codes that are currently in use in the 3rd column. | 10 # codes that are currently in use in the 3rd column. |
| 11 # 2) The keyboard layout ID used by XKB. (ex. "us", "us(dvorak)", "ca", | 11 # 2) The keyboard layout ID used by XKB. (ex. "us", "us(dvorak)", "ca", |
| 12 # "handwriting-vk,jp"). See also: /usr/share/X11/xkb/symbols. | 12 # "handwriting-vk,jp"). See also: /usr/share/X11/xkb/symbols. |
| 13 # 3) The language code (ex. "fr"). Only one format, ISO 639-1 compliant two- | 13 # 3) The language code (ex. "fr"). Only one format, ISO 639-1 compliant two- |
| 14 # letter language code which can be recognized by ICU, is allowed. Do not use | 14 # letter language code which can be recognized by ICU, is allowed. Do not use |
| 15 # three-letter ones (ISO 639-2/T and 639-2/B) here. For "en", "pt", and "zh", | 15 # three-letter ones (ISO 639-2/T and 639-2/B) here. For "en", "pt", and "zh", |
| 16 # two-letter upper-case country code should be added (ex. "en-US", "zh-TW"). | 16 # two-letter upper-case country code should be added (ex. "en-US", "zh-TW"). |
| 17 # See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for details. | 17 # See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for details. |
| 18 # We can specify multiple language code with comma separator. | 18 # We can specify multiple language code with comma separator. |
| 19 # 4) The additional attibution. | |
| 20 # no-login: Spcified keyboard layout will not be used on login screen or lock | |
| 21 # scren. | |
|
Zachary Kuznia
2013/08/21 23:13:21
s/scren/screen/
Seigo Nonaka
2013/08/21 23:55:31
Done.
| |
| 19 # | 22 # |
| 20 # Notes: | 23 # Notes: |
| 21 # When adding a line to this list, please also add a mapping from the input | 24 # When adding a line to this list, please also add a mapping from the input |
| 22 # method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in | 25 # method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in |
| 23 # | 26 # |
| 24 # * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py | 27 # * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py |
| 25 # | 28 # |
| 26 # and update the following files by running this script. | 29 # and update the following files by running this script. |
| 27 # | 30 # |
| 28 # * chrome/app/generated_resources.grd | 31 # * chrome/app/generated_resources.grd |
| 29 # * chrome/browser/resources/chromeos/keyboard_overlay_data.js | 32 # * chrome/browser/resources/chromeos/keyboard_overlay_data.js |
| 30 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc | 33 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc |
| 31 # | 34 # |
| 32 # If you add an XKB layout which depends on X11's Mod3Mask (e.g. Germany Neo2 | 35 # If you add an XKB layout which depends on X11's Mod3Mask (e.g. Germany Neo2 |
| 33 # XKB layout), you should also update IsMod3UsedByCurrentInputMethod() method | 36 # XKB layout), you should also update IsMod3UsedByCurrentInputMethod() method |
| 34 # in chrome/browser/ui/ash/event_rewriter.cc. Otherwise, Mod3Mask might be | 37 # in chrome/browser/ui/ash/event_rewriter.cc. Otherwise, Mod3Mask might be |
| 35 # removed unexpectedly by the rewriter. | 38 # removed unexpectedly by the rewriter. |
| 36 # | 39 # |
| 37 # If you add a new language such that some of its layouts can be used at | |
| 38 # signin screen (e.g. it is "Full Latin Keyboard Layout" therefore allowing | |
| 39 # input of gmail password), you should also update | |
| 40 # kHasLatinKeyboardLanguageList[] in | |
| 41 # chrome/browser/chromeos/input_method/input_method_manager_impl_ll.cc | |
| 42 # | |
| 43 # If you add a new keyboard layout for existing language, please ensure | |
| 44 # that information in kHasLatinKeyboardLanguageList[] is still correct. | |
| 45 | 40 |
| 46 # U.S. English | 41 # U.S. English |
| 47 xkb:us::eng us en-US,en-AU,id,fil,ms | 42 xkb:us::eng us en-US,en-AU,id,fil,ms |
| 48 xkb:us:intl:eng us(intl) en-US,nl,pt-BR | 43 xkb:us:intl:eng us(intl) en-US,nl,pt-BR |
| 49 xkb:us:altgr-intl:eng us(altgr-intl) en-US | 44 xkb:us:altgr-intl:eng us(altgr-intl) en-US |
| 50 xkb:us:dvorak:eng us(dvorak) en-US | 45 xkb:us:dvorak:eng us(dvorak) en-US |
| 51 xkb:us:colemak:eng us(colemak) en-US | 46 xkb:us:colemak:eng us(colemak) en-US |
| 52 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng | 47 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng |
| 53 # will be selected as the default keyboard when the UI language is set to Dutch. | 48 # will be selected as the default keyboard when the UI language is set to Dutch. |
| 54 | 49 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 68 xkb:de:neo:ger de(neo) de | 63 xkb:de:neo:ger de(neo) de |
| 69 xkb:be::ger be de | 64 xkb:be::ger be de |
| 70 xkb:ch::ger ch de | 65 xkb:ch::ger ch de |
| 71 | 66 |
| 72 # Japanese | 67 # Japanese |
| 73 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when | 68 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when |
| 74 # a new Mozc Japanese IME for another keyboard layout is added. | 69 # a new Mozc Japanese IME for another keyboard layout is added. |
| 75 xkb:jp::jpn jp ja | 70 xkb:jp::jpn jp ja |
| 76 | 71 |
| 77 # Russian | 72 # Russian |
| 78 xkb:ru::rus» ru» ru | 73 xkb:ru::rus» ru» ru no-login |
| 79 xkb:ru:phonetic:rus» ru(phonetic)» ru | 74 xkb:ru:phonetic:rus» ru(phonetic)» ru no-login |
| 80 | 75 |
| 81 # Keyboard layouts. | 76 # Keyboard layouts. |
| 82 xkb:br::por br pt-BR | 77 xkb:br::por br pt-BR |
| 83 xkb:bg::bul» bg» bg | 78 xkb:bg::bul» bg» bg no-login |
| 84 xkb:bg:phonetic:bul» bg(phonetic)» bg | 79 xkb:bg:phonetic:bul» bg(phonetic)» bg no-login |
| 85 xkb:ca:eng:eng ca(eng) en-CA | 80 xkb:ca:eng:eng ca(eng) en-CA |
| 86 xkb:cz::cze cz cs | 81 xkb:cz::cze cz cs |
| 87 xkb:cz:qwerty:cze cz(qwerty) cs | 82 xkb:cz:qwerty:cze cz(qwerty) cs |
| 88 xkb:ee::est ee et | 83 xkb:ee::est ee et |
| 89 xkb:es::spa es es | 84 xkb:es::spa es es |
| 90 xkb:es:cat:cat es(cat) ca | 85 xkb:es:cat:cat es(cat) ca |
| 91 xkb:dk::dan dk da | 86 xkb:dk::dan dk da |
| 92 xkb:gr::gre» gr» el | 87 xkb:gr::gre» gr» el no-login |
| 93 xkb:il::heb» il» he | 88 xkb:il::heb» il» he no-login |
| 94 xkb:latam::spa» latam» es,es-419 | 89 xkb:latam::spa» latam» es,es-419 |
| 95 xkb:lt::lit lt lt | 90 xkb:lt::lit lt lt |
| 96 xkb:lv:apostrophe:lav lv(apostrophe) lv | 91 xkb:lv:apostrophe:lav lv(apostrophe) lv |
| 97 xkb:hr::scr hr hr | 92 xkb:hr::scr hr hr |
| 98 xkb:gb:extd:eng gb(extd) en-GB | 93 xkb:gb:extd:eng gb(extd) en-GB |
| 99 xkb:gb:dvorak:eng gb(dvorak) en-GB | 94 xkb:gb:dvorak:eng gb(dvorak) en-GB |
| 100 xkb:fi::fin fi fi | 95 xkb:fi::fin fi fi |
| 101 xkb:hu::hun hu hu | 96 xkb:hu::hun hu hu |
| 102 xkb:it::ita it it | 97 xkb:it::ita it it |
| 103 xkb:is::ice is is | 98 xkb:is::ice is is |
| 104 xkb:no::nob no nb | 99 xkb:no::nob no nb |
| 105 xkb:pl::pol pl pl | 100 xkb:pl::pol pl pl |
| 106 xkb:pt::por pt pt-PT | 101 xkb:pt::por pt pt-PT |
| 107 xkb:ro::rum ro ro | 102 xkb:ro::rum ro ro |
| 108 xkb:se::swe se sv | 103 xkb:se::swe se sv |
| 109 xkb:sk::slo» sk» sk | 104 xkb:sk::slo» sk» sk no-login |
| 110 xkb:si::slv si sl | 105 xkb:si::slv si sl |
| 111 xkb:rs::srp» rs» sr | 106 xkb:rs::srp» rs» sr no-login |
| 112 xkb:tr::tur tr tr | 107 xkb:tr::tur tr tr |
| 113 xkb:ua::ukr ua uk | 108 xkb:ua::ukr ua uk |
| 114 xkb:by::bel» by» be | 109 xkb:by::bel» by» be no-login |
| 115 xkb:am:phonetic:arm» am» hy | 110 xkb:am:phonetic:arm» am» hy no-login |
| 116 xkb:ge::geo» ge» ka | 111 xkb:ge::geo» ge» ka no-login |
| 117 xkb:mn::mon» mn» mn | 112 xkb:mn::mon» mn» mn no-login |
| 118 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa | 113 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa |
| 119 # if necessary. | 114 # if necessary. |
| OLD | NEW |