cy.js (1918B)
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/cy/cy.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("cy",null,{ 25 menuTitle: "Cymraeg", 26 version: "2.6.0", 27 isLoaded: true, 28 domains: { 29 "_": { 30 version: "2.6.0", 31 isLoaded: true, 32 strings: { 33 MathProcessingError: "Gwall prosesu mathemateg", 34 MathError: "Gwall mathemategol", 35 LoadFile: "Yn llwytho %1", 36 Loading: "Yn llwytho", 37 LoadFailed: "Methwyd llwytho'r ffeil: %1", 38 ProcessMath: "Prosesu'r math'g: %1%%", 39 Processing: "Yn prosesu", 40 TypesetMath: "Yn gosod fformat i'r math'g: %1%%", 41 Typesetting: "Yn gosod fformat", 42 MathJaxNotSupported: "'Dyw eich porwr ddim yn cynnal MathJax" 43 } 44 }, 45 "FontWarnings": {}, 46 "HTML-CSS": {}, 47 "HelpDialog": {}, 48 "MathML": {}, 49 "MathMenu": {}, 50 "TeX": {} 51 }, 52 plural: function (n) { 53 if (n === 1) {return 1} // one // needs check 54 return 2; // other // needs check 55 }, 56 number: function (n) { 57 return n; // needs check 58 } 59 }); 60 61 MathJax.Ajax.loadComplete("[MathJax]/localization/cy/cy.js");