lt.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*************************************************************
  2. *
  3. * MathJax/localization/lt/lt.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("lt",null,{
  21. menuTitle: "lietuvi\u0173",
  22. version: "2.7.5",
  23. isLoaded: true,
  24. domains: {
  25. "_": {
  26. version: "2.7.5",
  27. isLoaded: true,
  28. strings: {
  29. MathProcessingError: "Matematikos apdorojimo klaida",
  30. MathError: "Matematikos klaida",
  31. LoadFile: "\u012Ekeliama %1",
  32. Loading: "\u012Ekeliama",
  33. LoadFailed: "Nepavyko \u012Fkelti bylos: %1",
  34. ProcessMath: "Apdorojama matematika: %1%%",
  35. Processing: "Apdorojama",
  36. TypesetMath: "Renkami matematikos \u017Eenklai: %1%%",
  37. Typesetting: "\u017Denkl\u0173 rinkimas",
  38. MathJaxNotSupported: "J\u016Bs\u0173 nar\u0161ykl\u0117 \u201EMathJax\u201C nenumato"
  39. }
  40. },
  41. "FontWarnings": {},
  42. "HTML-CSS": {},
  43. "HelpDialog": {},
  44. "MathML": {},
  45. "MathMenu": {},
  46. "TeX": {}
  47. },
  48. plural: function (n) {
  49. if (n % 10 === 1 && n % 100 !== 11) {
  50. return 1;
  51. } else if (n % 10 >=2 && n % 10 <= 9 && (n % 100 < 10 || n % 100 >= 20)) {
  52. return 2;
  53. } else {
  54. return 3;
  55. }
  56. },
  57. number: function (n) {
  58. return n; // needs check
  59. }
  60. });
  61. MathJax.Ajax.loadComplete("[MathJax]/localization/lt/lt.js");