ce.js (2428B)
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/ce/ce.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("ce",null,{ 25 menuTitle: "\u041D\u043E\u0445\u0447\u0438\u0439\u043D \u043C\u043E\u0442\u0442", 26 version: "2.6.0", 27 isLoaded: true, 28 domains: { 29 "_": { 30 version: "2.6.0", 31 isLoaded: true, 32 strings: { 33 MathProcessingError: "\u041C\u0430\u0442\u0435\u043C\u0430\u0442\u0438\u043A\u0438\u043D \u043A\u0435\u0447\u0434\u0430\u0440\u0430\u043D \u0433\u04C0\u0430\u043B\u0430\u0442", 34 MathError: "\u041C\u0430\u0442\u0435\u043C\u0430\u0442\u0438\u043A\u0438\u043D \u0433\u04C0\u0430\u043B\u0430\u0442", 35 LoadFile: "\u0427\u0443\u0439\u043E\u043B\u0443\u0448 %1", 36 Loading: "\u0427\u0443\u0439\u043E\u043B\u0443\u0448", 37 LoadFailed: "\u0427\u0443\u044F\u043A\u043A\u0445\u0430 \u0446\u0430\u0435\u043B\u0438\u0440\u0430: %1", 38 ProcessMath: "\u041C\u0430\u0442\u0435\u043C\u0430\u0442\u0438\u043A\u0430 \u043A\u0435\u0447\u044F\u0440: %1%%", 39 Processing: "\u041A\u0435\u0447\u0434\u0430\u0440" 40 } 41 }, 42 "FontWarnings": {}, 43 "HTML-CSS": {}, 44 "HelpDialog": {}, 45 "MathML": {}, 46 "MathMenu": {}, 47 "TeX": {} 48 }, 49 plural: function (n) { 50 if (n % 10 === 1 && n % 100 !== 11) return 1; // one 51 if (2 <= n % 10 && n % 10 <= 4 && 12 <= n % 100 && n % 100 <= 14) return 2; // few 52 if (n % 10 === 0 || (5 <= n % 10 && n % 10 <= 9) || 53 (11 <= n % 100 && n % 100 <= 14)) return 2; // many 54 return 3; // other 55 }, 56 number: function (n) { 57 return n; 58 } 59 }); 60 61 MathJax.Ajax.loadComplete("[MathJax]/localization/ce/ce.js");