Update jquery.i18n from upstream
Upstream: https://github.com/wikimedia/jquery.i18n Upstream changes: * Fixed a potential js error because of wrong logic * Fixed some JShint errors * Added license and credits files * Updated gitignore file * Fixed uk and ru grammar rules and updating tests * Source code formatting updates Change-Id: I43433cc3d9993045160dc85ed9e73370d22794cf
This commit is contained in:
@@ -9,14 +9,17 @@
|
||||
|
||||
$.i18n.languages.os = $.extend( {}, $.i18n.languages['default'], {
|
||||
convertGrammar: function ( word, form ) {
|
||||
var endAllative, jot, hyphen, ending;
|
||||
|
||||
// Ending for allative case
|
||||
var endAllative = 'мæ';
|
||||
endAllative = 'мæ';
|
||||
// Variable for 'j' beetwen vowels
|
||||
var jot = '';
|
||||
jot = '';
|
||||
// Variable for "-" for not Ossetic words
|
||||
var hyphen = '';
|
||||
hyphen = '';
|
||||
// Variable for ending
|
||||
var ending = '';
|
||||
ending = '';
|
||||
|
||||
// Checking if the $word is in plural form
|
||||
if ( word.match( /тæ$/i ) ) {
|
||||
word = word.substring( 0, word.length - 1 );
|
||||
|
||||
Reference in New Issue
Block a user