pt.js 1.9 KB

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