mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-20 19:32:39 +00:00
2c3e4a4b5d
* Uses the MediaWiki resource modules to load MathJax Change-Id: I9471b1baf41d2bcc4fdc64a26e7d806e92b9b17f
80 lines
5.1 KiB
JavaScript
80 lines
5.1 KiB
JavaScript
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
|
|
|
/*************************************************************
|
|
*
|
|
* MathJax/localization/zh-hans/TeX.js
|
|
*
|
|
* Copyright (c) 2009-2013 The MathJax Consortium
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*
|
|
*/
|
|
|
|
MathJax.Localization.addTranslation("zh-hans","TeX",{
|
|
version: "2.3",
|
|
isLoaded: true,
|
|
strings: {
|
|
ExtraOpenMissingClose: "\u6709\u591A\u4F59\u7684\u5DE6\u62EC\u53F7\u6216\u7F3A\u5C11\u53F3\u62EC\u53F7",
|
|
ExtraCloseMissingOpen: "\u6709\u591A\u4F59\u7684\u53F3\u62EC\u53F7\u6216\u7F3A\u5C11\u5DE6\u62EC\u53F7",
|
|
MissingLeftExtraRight: "\u4E22\u5931\\left\u6216\u989D\u5916\u51FA\u73B0\\right",
|
|
MissingScript: "\u6709\u4E0A\u6807\u6216\u4E0B\u6807\u7F3A\u5C11\u53C2\u6570",
|
|
ExtraLeftMissingRight: "\u989D\u5916\u7684\\left\u6216\u8005\u4E22\u5931\\right",
|
|
Misplaced: "%1\u88AB\u653E\u7F6E\u4E8E\u9519\u8BEF\u7684\u5730\u65B9",
|
|
MissingOpenForSub: "\u7F3A\u5C11\u4E0B\u6807\u7684\u5DE6\u62EC\u53F7",
|
|
MissingOpenForSup: "\u7F3A\u5C11\u4E0A\u6807\u7684\u5DE6\u62EC\u53F7",
|
|
AmbiguousUseOf: "%1\u7684\u4F7F\u7528\u4E0D\u660E\u786E",
|
|
EnvBadEnd: "\\begin{%1}\u7531\\end{%2}\u7ED3\u675F\u4E4B",
|
|
EnvMissingEnd: "\\end{%1}\u4E22\u5931",
|
|
MissingBoxFor: "\u7F3A\u5C11\u7528\u4E8E%1\u7684\u6846",
|
|
MissingCloseBrace: "\u7F3A\u5C11\u53F3\u62EC\u53F7",
|
|
UndefinedControlSequence: "\u672A\u5B9A\u4E49\u7684\u63A7\u5236\u6570\u5217%1",
|
|
DoubleSubscripts: "\u53CC\u4E0B\u6807\uFF1A\u4F7F\u7528\u62EC\u53F7\u6765\u660E\u786E",
|
|
CantUseHash1: "\u60A8\u65E0\u6CD5\u5728\u6570\u5B66\u6A21\u5F0F\u4E2D\u4F7F\u7528'\u5B8F\u53C2\u6570\u5B57\u7B26#'",
|
|
MisplacedLimits: "%1\u53EA\u5141\u8BB8\u5728\u8FD0\u7B97\u7B26\u4E0A",
|
|
MultipleCommand: "\u591A\u79CD%1",
|
|
IntegerArg: "\u53C2\u6570%1\u5FC5\u987B\u662F\u6574\u6570",
|
|
NotMathMLToken: "%1\u4E0D\u662F\u6743\u6807\u5143\u7D20",
|
|
InvalidMathMLAttr: "\u65E0\u6548MathML\u5C5E\u6027\uFF1A%1",
|
|
UnknownAttrForElement: "%1\u4E0D\u662F%2\u7684\u5DF2\u8BC6\u522B\u5C5E\u6027",
|
|
MissingArgFor: "\u4E0E%1\u76F8\u5173\u7684\u53C2\u6570\u7F3A\u5931",
|
|
InvalidEnv: "\u65E0\u6548\u7684\u73AF\u5883\u540D\u79F0\u201C%1\u201D",
|
|
UnknownEnv: "\u672A\u77E5\u7684\u73AF\u5883\u53D8\u91CF'%1'",
|
|
MissingCloseBracket: "\u65E0\u6CD5\u627E\u5230%1\u7684\u53C2\u6570\u7684\u53F3\u201C]\u201D",
|
|
MissingOrUnrecognizedDelim: "\u627E\u4E0D\u5230\u6216\u65E0\u6CD5\u8BC6\u522B%1\u7684\u5206\u9694\u7B26",
|
|
TokenNotFoundForCommand: "\u65E0\u6CD5\u627E\u5230\u7528\u4E8E%2\u7684%1",
|
|
MathNotTerminated: "\u6570\u5B66\u5F0F\u5728\u6587\u672C\u6846\u4E2D\u672A\u7ED3\u675F",
|
|
CommandNotAllowedInEnv: "%1\u5728%2\u73AF\u5883\u4E2D\u4E0D\u5141\u8BB8",
|
|
IllegalAlign: "\u6307\u5B9A\u7684\u5BF9\u9F50\u65B9\u5F0F%1\u4E0D\u7B26\u7F16\u8F91\u624B\u518C",
|
|
BadMathStyleFor: "%1\u7684\u6570\u5F0F\u6837\u5F0F\u65E0\u6548",
|
|
MultipleBBoxProperty: "%1\u5728%2\u4E2D\u6307\u5B9A\u4E86\u4E24\u6B21",
|
|
ExtraEndMissingBegin: "\u6709\u591A\u4F59\u7684%1\u6216\u7F3A\u5C11\\begingroup",
|
|
UndefinedColorModel: "\u8272\u5F69\u6A21\u5757\u201C%1\u201D\u672A\u5B9A\u4E49",
|
|
ModelArg1: "%1\u6A21\u5757\u7684\u8272\u5F69\u503C\u9700\u8981\u4E09\u4E2A\u6570\u5B57",
|
|
InvalidDecimalNumber: "\u65E0\u6548\u5341\u8FDB\u5236\u6570",
|
|
ModelArg2: "%1\u6A21\u5757\u7684\u8272\u5F69\u503C\u5FC5\u987B\u5728%2\u548C%3\u4E4B\u95F4",
|
|
InvalidNumber: "\u4E0D\u5141\u8BB8\u7684\u6570\u5B57",
|
|
NewextarrowArg1: "%1\u7684\u7B2C\u4E00\u4E2A\u53C2\u6570\u5FC5\u987B\u662F\u4E00\u4E2A\u63A7\u5236\u6570\u5217\u540D\u79F0",
|
|
NewextarrowArg2: "%1\u7684\u7B2C\u4E8C\u4E2A\u53C2\u6570\u5FC5\u987B\u662F\u7531\u9017\u53F7\u5206\u5F00\u7684\u4E24\u4E2A\u6574\u6570",
|
|
NewextarrowArg3: "%1\u7684\u7B2C\u4E09\u4E2A\u53C2\u6570\u5FC5\u987B\u662FUnicode\u5B57\u7B26\u503C",
|
|
NoClosingChar: "\u672A\u80FD\u627E\u5230\u5173\u95ED\u7684%1",
|
|
MissingCS: "%1\u5FC5\u987B\u8DDF\u7740\u4E00\u4E2A\u63A7\u5236\u5E8F\u5217",
|
|
CantUseHash2: "%1\u7684\u6A21\u677F\u4E2D\u975E\u6CD5\u4F7F\u7528#",
|
|
SequentialParam: "%1\u7684\u53C2\u6570\u5FC5\u987B\u987A\u5E8F\u6807\u53F7",
|
|
MismatchUseDef: "%1\u7684\u4F7F\u7528\u4E0D\u7B26\u5408\u5176\u5B9A\u4E49",
|
|
NoClosingDelim: "\u65E0\u6CD5\u627E\u5230\u7528\u4E8E\u7ED3\u675F\u7684\u5206\u9694\u7B26%1"
|
|
}
|
|
});
|
|
|
|
MathJax.Ajax.loadComplete("[MathJax]/localization/zh-hans/TeX.js");
|