mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-18 10:53:37 +00:00
d74c81c233
When displaying a nosuchfunction or nosuchmodule error, include the name of the nonexistent function or module. Change-Id: I17fc2c68dc8267302a82eee3cb2c5df9b5a3c46c
66 lines
4.6 KiB
JSON
66 lines
4.6 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Victor Vasiliev"
|
|
]
|
|
},
|
|
"scribunto-desc": "Framework for embedding scripting languages into MediaWiki pages",
|
|
"scribunto-ignore-errors": "Allow saving code with errors",
|
|
"scribunto-line": "at line $1",
|
|
"scribunto-module-line": "in $1 at line $2",
|
|
"scribunto-parser-error": "Script error",
|
|
"scribunto-parser-dialog-title": "Script error",
|
|
"scribunto-error-short": "Script error: $1",
|
|
"scribunto-error-long": "Script errors:\n\n$1",
|
|
"scribunto-doc-page-name": "Module:$1/doc",
|
|
"scribunto-doc-page-does-not-exist": "''Documentation for this module may be created at [[$1]]''",
|
|
"scribunto-doc-page-show": "{{$1}}\n<hr />",
|
|
"scribunto-doc-page-header": "'''This is the documentation page for [[$1]]'''",
|
|
"scribunto-console-intro": "* The module exports are available as the variable \"p\", including unsaved modifications.\n* Precede a line with \"=\" to evaluate it as an expression, or use print().\n* Use mw.log() in module code to send messages to this console.",
|
|
"scribunto-console-title": "Debug console",
|
|
"scribunto-console-too-large": "This console session is too large. Please clear the console history or reduce the size of the module.",
|
|
"scribunto-console-current-src": "console input",
|
|
"scribunto-console-clear": "Clear",
|
|
"scribunto-console-cleared": "The console state was cleared because the module was updated.",
|
|
"scribunto-console-cleared-session-lost": "The console state was cleared because the session data was lost.",
|
|
"scribunto-common-error-category": "Pages with script errors",
|
|
"scribunto-common-error-category-desc": "There was an error when processing the modules included on the page.",
|
|
"scribunto-common-nosuchmodule": "Script error: No such module \"$2\".",
|
|
"scribunto-common-nofunction": "Script error: You must specify a function to call.",
|
|
"scribunto-common-nosuchfunction": "Script error: The function \"$2\" does not exist.",
|
|
"scribunto-common-timeout": "The time allocated for running scripts has expired.",
|
|
"scribunto-common-oom": "The amount of memory allowed for running scripts has been exceeded.",
|
|
"scribunto-common-backtrace": "Backtrace:",
|
|
"scribunto-lua-in-function": "in function \"$1\"",
|
|
"scribunto-lua-in-main": "in main chunk",
|
|
"scribunto-lua-in-function-at": "in the function at $1:$2",
|
|
"scribunto-lua-backtrace-line": "$1: $2",
|
|
"scribunto-lua-error-location": "Lua error $1: $2.",
|
|
"scribunto-lua-error": "Lua error: $2.",
|
|
"scribunto-lua-noreturn": "Script error: The module did not return a value. It is supposed to return an export table.",
|
|
"scribunto-lua-notarrayreturn": "Script error: The module returned something other than a table. It is supposed to return an export table.",
|
|
"scribunto-luastandalone-proc-error": "Lua error: Cannot create process.",
|
|
"scribunto-luastandalone-proc-error-msg": "Lua error: Cannot create process: $2",
|
|
"scribunto-luastandalone-proc-error-proc-open": "Lua error: Cannot create process: proc_open is not available. Check PHP's \"disable_functions\" configuration directive.",
|
|
"scribunto-luastandalone-proc-error-safe-mode": "Lua error: Cannot create process. Note that PHP's deprecated \"safe_mode\" configuration directive is enabled.",
|
|
"scribunto-luastandalone-decode-error": "Lua error: Internal error: Unable to decode message.",
|
|
"scribunto-luastandalone-write-error": "Lua error: Internal error: Error writing to pipe.",
|
|
"scribunto-luastandalone-read-error": "Lua error: Internal error: Error reading from pipe.",
|
|
"scribunto-luastandalone-gone": "Lua error: Internal error: The interpreter has already exited.",
|
|
"scribunto-luastandalone-signal": "Lua error: Internal error: The interpreter has terminated with signal \"$2\".",
|
|
"scribunto-luastandalone-exited": "Lua error: Internal error: The interpreter exited with status $2.",
|
|
"scribunto-module-with-errors-category": "Scribunto modules with errors",
|
|
"scribunto-module-with-errors-category-desc": "The module has an error in it.",
|
|
"scribunto-limitreport-timeusage": "Lua time usage",
|
|
"scribunto-limitreport-timeusage-value": "$1/$2 seconds",
|
|
"scribunto-limitreport-virtmemusage": "Lua virtual size",
|
|
"scribunto-limitreport-virtmemusage-value": "$1/$2",
|
|
"scribunto-limitreport-estmemusage": "Lua estimated memory usage",
|
|
"scribunto-limitreport-estmemusage-value": "$1",
|
|
"scribunto-limitreport-memusage": "Lua memory usage",
|
|
"scribunto-limitreport-memusage-value": "$1/$2",
|
|
"scribunto-limitreport-profile": "Lua Profile",
|
|
"scribunto-limitreport-profile-ms": "$1 ms",
|
|
"scribunto-limitreport-profile-percent": "$1%"
|
|
}
|