pt.js (1967B)
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/pt/pt.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("pt",null,{ 25 menuTitle: "portugus\u00EA", 26 version: "2.6.0", 27 isLoaded: true, 28 domains: { 29 "_": { 30 version: "2.6.0", 31 isLoaded: true, 32 strings: { 33 MathProcessingError: "Erro no processamento das f\u00F3rmulas", 34 MathError: "Erro de matem\u00E1tica", 35 LoadFile: "A carregar %1", 36 Loading: "A carregar", 37 LoadFailed: "O ficheiro n\u00E3o pode ser carregado: %1", 38 ProcessMath: "Processando f\u00F3rmula: %1%%", 39 Processing: "Processando", 40 TypesetMath: "Formatando f\u00F3rmulas: %1%%", 41 Typesetting: "Formatando", 42 MathJaxNotSupported: "O seu navegador n\u00E3o suporta 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 54 return 2; // other 55 }, 56 number: function (n) { 57 return String(n).replace(".", ","); // replace dot by comma 58 } 59 }); 60 61 MathJax.Ajax.loadComplete("[MathJax]/localization/pt/pt.js");