pt.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
  2. /* vim: set ts=2 et sw=2 tw=80: */
  3. /*************************************************************
  4. *
  5. * MathJax/localization/pt/pt.js
  6. *
  7. * Copyright (c) 2009-2015 The MathJax Consortium
  8. *
  9. * Licensed under the Apache License, Version 2.0 (the "License");
  10. * you may not use this file except in compliance with the License.
  11. * You may obtain a copy of the License at
  12. *
  13. * http://www.apache.org/licenses/LICENSE-2.0
  14. *
  15. * Unless required by applicable law or agreed to in writing, software
  16. * distributed under the License is distributed on an "AS IS" BASIS,
  17. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. * See the License for the specific language governing permissions and
  19. * limitations under the License.
  20. *
  21. */
  22. MathJax.Localization.addTranslation("pt",null,{
  23. menuTitle: "portugus\u00EA",
  24. version: "2.5.0",
  25. isLoaded: true,
  26. domains: {
  27. "_": {
  28. version: "2.5.0",
  29. isLoaded: true,
  30. strings: {
  31. MathProcessingError: "Erro no processamento das f\u00F3rmulas",
  32. MathError: "Erro de matem\u00E1tica",
  33. LoadFile: "A carregar %1",
  34. Loading: "A carregar",
  35. LoadFailed: "O ficheiro n\u00E3o pode ser carregado: %1",
  36. ProcessMath: "Processando f\u00F3rmula: %1%%",
  37. Processing: "Processando",
  38. TypesetMath: "Formatando f\u00F3rmulas: %1%%",
  39. Typesetting: "Formatando",
  40. MathJaxNotSupported: "O seu navegador n\u00E3o suporta MathJax"
  41. }
  42. },
  43. "FontWarnings": {},
  44. "HTML-CSS": {},
  45. "HelpDialog": {},
  46. "MathML": {},
  47. "MathMenu": {},
  48. "TeX": {}
  49. },
  50. plural: function (n) {
  51. if (n === 1) {return 1} // one
  52. return 2; // other
  53. },
  54. number: function (n) {
  55. return String(n).replace(".", ","); // replace dot by comma
  56. }
  57. });
  58. MathJax.Ajax.loadComplete("[MathJax]/localization/pt/pt.js");