Module:Convert/text: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
nswiki>Union of Christian States (Created page with "-- Text used by Module:Convert, for en.wikipedia.org (English). -- This is a separate module to simplify translation for use on another wiki. -- See [[:en:Template:Convert/Tra...") |
(update from sandbox per Template talk:Convert#Module version 6) |
||
Line 161: | Line 161: | ||
local en_option_name = { |
local en_option_name = { |
||
-- ["local text for option name"] = "en name used in this module" |
-- ["local text for option name"] = "en name used in this module" |
||
["$"] = "$", |
|||
["abbr"] = "abbr", |
["abbr"] = "abbr", |
||
["adj"] = "adj", |
["adj"] = "adj", |
||
Line 190: | Line 191: | ||
-- that do not start with "opt_". |
-- that do not start with "opt_". |
||
local en_option_value = { |
local en_option_value = { |
||
-- $=x is handled as a special case: x should be a currency symbol that will be used instead of "$" |
|||
["abbr"] = { |
["abbr"] = { |
||
-- ["local text for option value"] = "en value used in this module" |
-- ["local text for option value"] = "en value used in this module" |
||
Line 223: | Line 225: | ||
["gaps"] = "opt_gaps", -- use gaps, not numsep, to separate groups of digits |
["gaps"] = "opt_gaps", -- use gaps, not numsep, to separate groups of digits |
||
["gaps5"] = "opt_gaps, opt_comma5", -- opt_gaps + opt_comma5 |
["gaps5"] = "opt_gaps, opt_comma5", -- opt_gaps + opt_comma5 |
||
["off"] = "opt_nocomma", -- no numsep in input or output numbers |
|||
}, |
}, |
||
["debug"] = { |
["debug"] = { |
||
Line 228: | Line 231: | ||
}, |
}, |
||
["disp"] = { |
["disp"] = { |
||
["/"] = " |
["/"] = "or", -- see "slash" |
||
["2"] = "opt_output_only", -- display only output value and symbol/name (not input) |
["2"] = "opt_output_only", -- display only output value and symbol/name (not input) |
||
["5"] = "opt_round5", -- round output value to nearest 5 |
["5"] = "opt_round5", -- round output value to nearest 5 |
||
Line 244: | Line 247: | ||
["output only"] = "opt_output_only", |
["output only"] = "opt_output_only", |
||
["preunit"] = "opt_two_preunits", -- user-specified text before input and output units |
["preunit"] = "opt_two_preunits", -- user-specified text before input and output units |
||
["s"] = " |
["s"] = "or", -- see "slash" |
||
["slash"] = " |
["slash"] = "or", -- 2014-11-03: "disp=slash" is now equivalent to "disp=or" as slash is unhelpful |
||
["sqbr"] = "sqbr", -- join: '[...]' |
["sqbr"] = "sqbr", -- join: '[...]' |
||
["table"] = "opt_table", -- output is suitable for a table cell with align="right" |
["table"] = "opt_table", -- output is suitable for a table cell with align="right" |