mediawiki-extensions-Scribunto/Scribunto.i18n.php
tstarling 54cedd69b8 Introduced standalone interpreter, implemented module isolation
* Introduced a Lua implementation based on shelling out to a standard Lua binary.
* Bundled several Lua binaries for common platforms. I haven't added a 32-bit Linux binary yet, but that will come.
* Refactored the existing Lua class, bringing out functionality common to all Lua implementations into a set of common base classes.
* Moved the bulk of the implementation-specific functionality into a set of "interpreter" classes.
* Renamed LuaSandboxEngine to Scribunto_LuaSandboxEngine
* Don't create an engine object unconditionally when the ParserLimitReport hook is called.
* Implemented isolation of module global variable namespaces. This means that separate {{#invoke}} calls can't pass data to each other -- this was a desired feature in planning since it allows more flexibility in wikitext parser design. Isolation for mw.import() means that modules cannot accidentally create global variables which affect other modules -- exports are solely via the return value.

Change-Id: I3fa35651fe5b1fbfd85adeadc220b1ea31cd6f0b
2012-04-13 20:45:26 +10:00

37 lines
2 KiB
PHP

<?php
/**
* Internationalisation file for extension Scribunto.
*
* @file
* @ingroup Extensions
*/
$messages = array();
/** English
* @author Victor Vasiliev
*/
$messages['en'] = array(
'scribunto-desc' => 'Framework for embedding scripting languages into MediaWiki pages',
'scribunto-codelocation' => 'in $1 at line $2',
'scribunto-luasandbox-error' => 'Lua error: $2',
'scribunto-error' => 'Script {{PLURAL:$1|error|errors}}:',
'scribunto-common-toofewargs' => 'Lua error: Too few arguments to function $2',
'scribunto-common-nosuchmodule' => 'Script error: No such module',
'scribunto-common-nofunction' => 'Script error: You must specify a function to call.',
'scribunto-common-nosuchfunction' => 'Script error: The function you specified did 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-lua-error' => 'Lua error: $2',
'scribunto-luasandbox-noreturn' => 'Script error: The module did not return a value, it should return an export table.',
'scribunto-luasandbox-toomanyreturns' => 'Script error: The module returned multiple values, it should return an export table.',
'scribunto-luasandbox-notarrayreturn' => 'Script error: The module returned something other than a table, it should return an export table.',
'scribunto-luastandalone-proc-error' => 'Lua error: cannot create process',
'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',
);