lt.js (2091B)
1 /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */ 2 /* vim: set ts=2 et sw=2 tw=80: */ 3 4 /************************************************************* 5 * 6 * MathJax/localization/lt/lt.js 7 * 8 * Copyright (c) 2009-2015 The MathJax Consortium 9 * 10 * Licensed under the Apache License, Version 2.0 (the "License"); 11 * you may not use this file except in compliance with the License. 12 * You may obtain a copy of the License at 13 * 14 * http://www.apache.org/licenses/LICENSE-2.0 15 * 16 * Unless required by applicable law or agreed to in writing, software 17 * distributed under the License is distributed on an "AS IS" BASIS, 18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 * See the License for the specific language governing permissions and 20 * limitations under the License. 21 * 22 */ 23 24 MathJax.Localization.addTranslation("lt",null,{ 25 menuTitle: "lietuvi\u0173", 26 version: "2.6.0", 27 isLoaded: true, 28 domains: { 29 "_": { 30 version: "2.6.0", 31 isLoaded: true, 32 strings: { 33 MathProcessingError: "Matematikos apdorojimo klaida", 34 MathError: "Matematikos klaida", 35 LoadFile: "\u012Ekeliama %1", 36 Loading: "\u012Ekeliama", 37 LoadFailed: "Nepavyko \u012Fkelti bylos: %1", 38 ProcessMath: "Apdorojama matematika: %1%%", 39 Processing: "Apdorojama", 40 TypesetMath: "Renkami matematikos \u017Eenklai: %1%%", 41 Typesetting: "\u017Denkl\u0173 rinkimas", 42 MathJaxNotSupported: "J\u016Bs\u0173 nar\u0161ykl\u0117 \u201EMathJax\u201C nenumato" 43 } 44 }, 45 "FontWarnings": {}, 46 "HTML-CSS": {}, 47 "HelpDialog": {}, 48 "MathML": {}, 49 "MathMenu": {}, 50 "TeX": {} 51 }, 52 plural: function (n) { 53 if (n % 10 === 1 && n % 100 !== 11) { 54 return 1; 55 } else if (n % 10 >=2 && n % 10 <= 9 && (n % 100 < 10 || n % 100 >= 20)) { 56 return 2; 57 } else { 58 return 3; 59 } 60 }, 61 number: function (n) { 62 return n; // needs check 63 } 64 }); 65 66 MathJax.Ajax.loadComplete("[MathJax]/localization/lt/lt.js");