Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: chromeos/ime/input_methods.txt

Issue 150723006: Make input_methods.txt to be able to specify indicator string. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more consistent Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chromeos/ime/input_method_whitelist.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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-or-space-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. 19 # 4) The indicator string (ex. INTL for xkb:us:intl:eng). This string will be
20 # no-login: Spcified keyboard layout will not be used on login screen or lock 20 # shown in system tray or indicator window.
21 # screen. 21 # 5) The additional attibution.
22 # login: Specified keyboard layout will be used on login screen or lock
23 # screen.
22 # 24 #
23 # Notes: 25 # Notes:
24 # When adding a line to this list, please also add a mapping from the input 26 # When adding a line to this list, please also add a mapping from the input
25 # method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in 27 # method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in
26 # 28 #
27 # * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py 29 # * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py
28 # 30 #
29 # and update the following files by running this script. 31 # and update the following files by running this script.
30 # 32 #
31 # * chrome/app/generated_resources.grd 33 # * chrome/app/generated_resources.grd
32 # * chrome/browser/resources/chromeos/keyboard_overlay_data.js 34 # * chrome/browser/resources/chromeos/keyboard_overlay_data.js
33 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc 35 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc
34 # 36 #
35 # If you add an XKB layout which depends on X11's Mod3Mask (e.g. Germany Neo2 37 # If you add an XKB layout which depends on X11's Mod3Mask (e.g. Germany Neo2
36 # XKB layout), you should also update IsMod3UsedByCurrentInputMethod() method 38 # XKB layout), you should also update IsMod3UsedByCurrentInputMethod() method
37 # in chrome/browser/ui/ash/event_rewriter.cc. Otherwise, Mod3Mask might be 39 # in chrome/browser/ui/ash/event_rewriter.cc. Otherwise, Mod3Mask might be
38 # removed unexpectedly by the rewriter. 40 # removed unexpectedly by the rewriter.
39 # 41 #
40 42
41 # U.S. English 43 # U.S. English
42 xkb:us::eng» us» en-US,en-AU,id,fil,ms login 44 xkb:us::eng us en-US,en-AU,id,fil,ms US login
43 xkb:us:intl:eng»us(intl)» en-US,nl,pt-BR login 45 xkb:us:intl:eng us(intl) en-US,nl,pt-BR INTL login
44 xkb:us:altgr-intl:eng» us(altgr-intl)» en-US login 46 xkb:us:altgr-intl:eng us(altgr-intl) en-US EXTD login
45 xkb:us:dvorak:eng» us(dvorak)» en-US login 47 xkb:us:dvorak:eng us(dvorak) en-US DV login
46 xkb:us:colemak:eng» us(colemak)» en-US login 48 xkb:us:colemak:eng us(colemak) en-US CO login
47 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng 49 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng
48 # will be selected as the default keyboard when the UI language is set to Dutch. 50 # will be selected as the default keyboard when the UI language is set to Dutch.
49 51
50 # Dutch 52 # Dutch
51 xkb:be::nld» be» nl login 53 xkb:be::nld be nl BE login
52 # We don't support xkb:nl::nld. See b/4430951. 54 # We don't support xkb:nl::nld. See b/4430951.
53 55
54 # French 56 # French
55 xkb:fr::fra» fr» fr login 57 xkb:fr::fra fr fr FR login
56 xkb:be::fra» be» fr login 58 xkb:be::fra be fr BE login
57 xkb:ca::fra» ca» fr login 59 xkb:ca::fra ca fr CA login
58 xkb:ch:fr:fra» ch(fr)» fr login 60 xkb:ch:fr:fra ch(fr) fr CH login
59 xkb:ca:multix:fra ca(multix) fr login 61 xkb:ca:multix:fra ca(multix) fr CA login
60 62
61 # German 63 # German
62 xkb:de::ger» de» de login 64 xkb:de::ger de de DE login
63 xkb:de:neo:ger» de(neo)»de login 65 xkb:de:neo:ger de(neo) de NEO login
64 xkb:be::ger» be» de login 66 xkb:be::ger be de BE login
65 xkb:ch::ger» ch» de login 67 xkb:ch::ger ch de CH login
66 68
67 # Japanese 69 # Japanese
68 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when 70 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when
69 # a new Mozc Japanese IME for another keyboard layout is added. 71 # a new Mozc Japanese IME for another keyboard layout is added.
70 xkb:jp::jpn» jp» ja login 72 xkb:jp::jpn jp ja JA login
71 73
72 # Russian 74 # Russian
73 xkb:ru::rus» ru» ru 75 xkb:ru::rus ru ru RU
74 xkb:ru:phonetic:rus» ru(phonetic)» ru 76 xkb:ru:phonetic:rus ru(phonetic) ru RU
75 77
76 # Keyboard layouts. 78 # Keyboard layouts.
77 xkb:br::por» br» pt-BR login 79 xkb:br::por br pt-BR BR login
78 xkb:bg::bul» bg» bg 80 xkb:bg::bul bg bg BG
79 xkb:bg:phonetic:bul» bg(phonetic)» bg 81 xkb:bg:phonetic:bul bg(phonetic) bg BG
80 xkb:ca:eng:eng» ca(eng)»en-CA login 82 xkb:ca:eng:eng ca(eng) en-CA CA login
81 xkb:cz::cze» cz» cs login 83 xkb:cz::cze cz cs CZ login
82 xkb:cz:qwerty:cze» cz(qwerty)» cs login 84 xkb:cz:qwerty:cze cz(qwerty) cs CS login
83 xkb:ee::est» ee» et login 85 xkb:ee::est ee et EE login
84 xkb:es::spa» es» es login 86 xkb:es::spa es es ES login
85 xkb:es:cat:cat» es(cat)»ca login 87 xkb:es:cat:cat es(cat) ca CAS login
86 xkb:dk::dan» dk» da login 88 xkb:dk::dan dk da DK login
87 xkb:gr::gre» gr» el 89 xkb:gr::gre gr el GR
88 xkb:il::heb» il» he 90 xkb:il::heb il he IL
89 xkb:latam::spa» latam» es,es-419 login 91 xkb:latam::spa latam es,es-419 LA login
90 xkb:lt::lit» lt» lt login 92 xkb:lt::lit lt lt LT login
91 xkb:lv:apostrophe:lav» lv(apostrophe)» lv login 93 xkb:lv:apostrophe:lav lv(apostrophe) lv LV login
92 xkb:hr::scr» hr» hr login 94 xkb:hr::scr hr hr HR login
93 xkb:gb:extd:eng»gb(extd)» en-GB login 95 xkb:gb:extd:eng gb(extd) en-GB GB login
94 xkb:gb:dvorak:eng» gb(dvorak)» en-GB login 96 xkb:gb:dvorak:eng gb(dvorak) en-GB DV login
95 xkb:fi::fin» fi» fi login 97 xkb:fi::fin fi fi FI login
96 xkb:hu::hun» hu» hu login 98 xkb:hu::hun hu hu HU login
97 xkb:it::ita» it» it login 99 xkb:it::ita it it IT login
98 xkb:is::ice» is» is login 100 xkb:is::ice is is IS login
99 xkb:no::nob» no» nb login 101 xkb:no::nob no nb NO login
100 xkb:pl::pol» pl» pl login 102 xkb:pl::pol pl pl PL login
101 xkb:pt::por» pt» pt-PT login 103 xkb:pt::por pt pt-PT PT login
102 xkb:ro::rum» ro» ro login 104 xkb:ro::rum ro ro RO login
103 xkb:se::swe» se» sv login 105 xkb:se::swe se sv SE login
104 xkb:sk::slo» sk» sk 106 xkb:sk::slo sk sk SK
105 xkb:si::slv» si» sl login 107 xkb:si::slv si sl SI login
106 xkb:rs::srp» rs» sr 108 xkb:rs::srp rs sr RS
107 xkb:tr::tur» tr» tr login 109 xkb:tr::tur tr tr TR login
108 xkb:ua::ukr» ua» uk 110 xkb:ua::ukr ua uk UA
109 xkb:by::bel» by» be 111 xkb:by::bel by be BY
110 xkb:am:phonetic:arm» am» hy 112 xkb:am:phonetic:arm am hy AM
111 xkb:ge::geo» ge» ka 113 xkb:ge::geo ge ka GE
112 xkb:mn::mon» mn» mn 114 xkb:mn::mon mn mn MN
113 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa 115 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa
114 # if necessary. 116 # if necessary.
OLDNEW
« no previous file with comments | « chromeos/ime/input_method_whitelist.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698