Files
mediawiki-extensions-Univer…/lib/jquery.ime/rules/sr/sr-kbd.js
petarpetkovic e6540fba0c Update jquery.ime from upstream
* Correct rule for letter 'ж' on Serbian keyboard

Updating to
01628102d3

Bug: T115704
Change-Id: Ifbd23cddaa2fa66ea3f54112750be7affb862dbf
2018-05-29 06:10:47 +00:00

99 lines
1.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

( function ( $ ) {
'use strict';
var srKbd = {
id: 'sr-kbd',
name: 'Serbian keyboard',
description: 'Serbian keyboard layout',
date: '2013-02-12',
URL: 'http://github.com/wikimedia/jquery.ime',
author: 'Parag Nemade',
license: 'GPLv3',
version: '1.0',
patterns: [
[ '\'g', 'ѓ' ],
[ '\'G', 'Ѓ' ],
[ '\'k', 'ќ' ],
[ '\'K', 'Ќ' ],
[ '\\@', '\"' ],
[ '\\^', '&' ],
[ '\\&', '/' ],
[ '\\*', '(' ],
[ '\\(', ')' ],
[ '\\)', '=' ],
[ '\\-', '\'' ],
[ '\\_', '?' ],
[ '\\=', '+' ],
[ '\\+', '*' ],
[ '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', 'М' ],
[ '\\<', ';' ],
[ '\\>', ':' ],
[ '/', '-' ],
[ '\\?', '_' ]
]
};
$.ime.register( srKbd );
}( jQuery ) );