Module:Convert/text: Difference between revisions

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:
local en_option_name = {
-- ["local text for option name"] = "en name used in this module"
["$"] = "$",
["abbr"] = "abbr",
["adj"] = "adj",
Line 190 ⟶ 191:
-- that do not start with "opt_".
local en_option_value = {
-- $=x is handled as a special case: x should be a currency symbol that will be used instead of "$"
["abbr"] = {
-- ["local text for option value"] = "en value used in this module"
Line 223 ⟶ 225:
["gaps"] = "opt_gaps", -- use gaps, not numsep, to separate groups of digits
["gaps5"] = "opt_gaps, opt_comma5", -- opt_gaps + opt_comma5
["off"] = "opt_nocomma", -- no numsep in input or output numbers
},
["debug"] = {
Line 228 ⟶ 231:
},
["disp"] = {
["/"] = "slashor", -- join:see '/'"slash"
["2"] = "opt_output_only", -- display only output value and symbol/name (not input)
["5"] = "opt_round5", -- round output value to nearest 5
Line 244 ⟶ 247:
["output only"] = "opt_output_only",
["preunit"] = "opt_two_preunits", -- user-specified text before input and output units
["s"] = "slashor", -- join:see '/'"slash"
["slash"] = "slashor", -- join2014-11-03: '/'"disp=slash" is now equivalent to "disp=or" as slash is unhelpful
["sqbr"] = "sqbr", -- join: '[...]'
["table"] = "opt_table", -- output is suitable for a table cell with align="right"
Anonymous user