diff options
Diffstat (limited to 'www/wiki/extensions/UniversalLanguageSelector/lib/jquery.ime/rules/hy/hy-typewriter.js')
-rw-r--r-- | www/wiki/extensions/UniversalLanguageSelector/lib/jquery.ime/rules/hy/hy-typewriter.js | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/www/wiki/extensions/UniversalLanguageSelector/lib/jquery.ime/rules/hy/hy-typewriter.js b/www/wiki/extensions/UniversalLanguageSelector/lib/jquery.ime/rules/hy/hy-typewriter.js new file mode 100644 index 00000000..04392e6e --- /dev/null +++ b/www/wiki/extensions/UniversalLanguageSelector/lib/jquery.ime/rules/hy/hy-typewriter.js @@ -0,0 +1,168 @@ +/** + * Armenian typewriter layout + * Based on themonly official state standard for Armenian keyboard layout: + * http://www.sarm.am/en/standarts/view/5741 + * + * This layout complies with Unicode 6.1, including all valid Armenian punctuation signs, + * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign. + * Please, double-check with Unicode before making any changes here. + * + * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key, + * producing digits and punctuation marks from standard US keyboard layout. + */ + +( function ( $ ) { + 'use strict'; + + var hyTypewriter = { + id: 'hy-typewriter', + name: 'Հայերեն Գրամեքենա', + description: 'Armenian typewriter keyboard layout', + date: '2013-07-08', + URL: 'http://www.sarm.am/en/standarts/view/5741', + author: 'Aleksey Chalabyan Ալեքսեյ Չալաբյան a.k.a Xelgen', + license: 'GPLv3', + version: '1.0', + patterns: [ + [ '1', 'ֆ' ], + [ '\\!', 'Ֆ' ], + [ '2', 'ձ' ], + [ '\\@', 'Ձ' ], + [ '3', '-' ], + [ '\\#', '' ], + [ '4', ',' ], + [ '\\$', '֏' ], + [ '5', '։' ], + [ '\\%', '֊' ], + [ '6', '՞' ], + [ '\\^', '—' ], + [ '7', '․' ], + [ '\\&', 'և' ], + [ '8', '՛' ], + [ '\\*', '՚' ], + [ '9', ')' ], + [ '\\(', '(' ], + [ '0', 'օ' ], + [ '\\)', 'Օ' ], + [ '\\-', 'է' ], + [ '\\_', 'Է' ], + [ '\\=', 'ղ' ], + [ '\\+', 'Ղ' ], + [ '\\`', '՝' ], + [ '\\~', '՜' ], + [ 'q', 'ճ' ], + [ 'Q', 'Ճ' ], + [ 'w', 'փ' ], + [ 'W', 'Փ' ], + [ 'e', 'բ' ], + [ 'E', 'Բ' ], + [ 'r', 'ս' ], + [ 'R', 'Ս' ], + [ 't', 'մ' ], + [ 'T', 'Մ' ], + [ 'y', 'ո' ], + [ 'Y', 'Ո' ], + [ 'u', 'ւ' ], + [ 'U', 'Ւ' ], + [ 'i', 'կ' ], + [ 'I', 'Կ' ], + [ 'o', 'ը' ], + [ 'O', 'Ը' ], + [ 'p', 'թ' ], + [ 'P', 'Թ' ], + [ '\\[', 'ծ' ], + [ '\\{', 'Ծ' ], + [ '\\]', 'ց' ], + [ '\\}', 'Ց' ], + [ '\\\\', '»' ], + [ '\\|', '«' ], + [ 'a', 'ջ' ], + [ 'A', 'Ջ' ], + [ 's', 'վ' ], + [ 'S', 'Վ' ], + [ 'd', 'գ' ], + [ 'D', 'Գ' ], + [ 'f', 'ե' ], + [ 'F', 'Ե' ], + [ 'g', 'ա' ], + [ 'G', 'Ա' ], + [ 'h', 'ն' ], + [ 'H', 'Ն' ], + [ 'j', 'ի' ], + [ 'J', 'Ի' ], + [ 'k', 'տ' ], + [ 'K', 'Տ' ], + [ 'l', 'հ' ], + [ 'L', 'Հ' ], + [ ';', 'պ' ], + [ ':', 'Պ' ], + [ '\'', 'ր' ], + [ '\"', 'Ր' ], + [ 'z', 'ժ' ], + [ 'Z', 'Ժ' ], + [ 'x', 'դ' ], + [ 'X', 'Դ' ], + [ 'c', 'չ' ], + [ 'C', 'Չ' ], + [ 'v', 'յ' ], + [ 'V', 'Յ' ], + [ 'b', 'զ' ], + [ 'B', 'Զ' ], + [ 'n', 'լ' ], + [ 'N', 'Լ' ], + [ 'm', 'ք' ], + [ 'M', 'Ք' ], + [ ',', 'խ' ], + [ '\\<', 'Խ' ], + [ '\\.', 'շ' ], + [ '\\>', 'Շ' ], + [ '/', 'ռ' ], + [ '\\?', 'Ռ' ] + ], + patterns_x: [ + [ '1', '1' ], + [ '\\!', '!' ], + [ '2', '2' ], + [ '\\@', '@' ], + [ '3', '3' ], + [ '\\#', '#' ], + [ '4', '4' ], + [ '\\$', '$' ], + [ '5', '5' ], + [ '\\%', '%' ], + [ '6', '6' ], + [ '\\^', '^' ], + [ '7', '7' ], + [ '\\&', '&' ], + [ '8', '8' ], + [ '\\*', '*' ], + [ '9', '9' ], + [ '\\(', '(' ], + [ '0', '0' ], + [ '\\)', ')' ], + [ '\\-', '-' ], + [ '\\_', '_' ], + [ '\\=', '=' ], + [ '\\+', '+' ], + [ '\\`', '`' ], + [ '\\~', '~' ], + [ '\\[', '[' ], + [ '\\{', '{' ], + [ '\\]', ']' ], + [ '\\}', '}' ], + [ '\\\\', '\\' ], + [ '\\|', '|' ], + [ ';', ';' ], + [ '\\:', ':' ], + [ '\'', '\'' ], + [ '\"', '\"' ], + [ '\\<', '<' ], + [ '\\.', '.' ], + [ '\\>', '>' ], + [ '/', '/' ], + [ '\\?', '?' ] + ] + }; + + $.ime.register( hyTypewriter ); +}( jQuery ) ); |