https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3AConvert%2Ftext%2FsandboxModul:Convert/text/sandbox - Versionsgeschichte2025-05-26T03:08:45ZVersionsgeschichte dieser Seite in WikipediaMediaWiki 1.45.0-wmf.2https://de.wikipedia.org/w/index.php?title=Modul:Convert/text/sandbox&diff=178366499&oldid=prevNov3rd17: it. Version zum Übertragen2018-06-16T11:28:22Z<p>it. Version zum Übertragen</p>
<p><b>Neue Seite</b></p><div>-- Text used by Module:Convert, for en.wikipedia.org (English).<br />
-- This is a separate module to simplify translation for use on another wiki.<br />
-- See [[:en:Template:Convert/Transwiki guide]] if copying to another wiki.<br />
<br />
local translation_table = {<br />
numdot = ',', -- decimal mark<br />
numsep = '&nbsp;', -- separator for number grouping<br />
per_word = 'per', -- for units like "miles per gallon"<br />
plural_suffix = '', -- disable plural unit names<br />
specials = { -- for special processing by makeunits<br />
-- PLEASE DO NOT CHANGE THE FOLLOWING<br />
-- until all the units have been fixed<br />
-- (the text used here must be the same as that used in the unit definitions).<br />
utype = {<br />
-- ["unit type in local language"] = "name_used_in_this_script"<br />
["efficenza del carburante"] = "type_fuel_efficiency",<br />
["lunghezza"] = "type_length",<br />
["temperatura"] = "type_temperature",<br />
["volume"] = "type_volume",<br />
},<br />
ucode = {<br />
exception = {<br />
-- ["unit code in local language"] = "name_used_in_module_convert"<br />
["ft"] = "integer_more_precision",<br />
["in"] = "subunit_more_precision",<br />
["lb"] = "integer_more_precision",<br />
},<br />
istemperature = {<br />
-- Common temperature scales (not keVT or MK).<br />
-- ["unit code in local language"] = 1<br />
["C"] = true,<br />
["F"] = true,<br />
["K"] = true,<br />
["R"] = true,<br />
},<br />
usesymbol = {<br />
-- Use unit symbol not name if abbr not specified.<br />
-- ["unit code in local language"] = 1<br />
["C"] = 1,<br />
["F"] = 1,<br />
["K"] = 1,<br />
["R"] = 1,<br />
["C-change"] = 1,<br />
["F-change"] = 1,<br />
["K-change"] = 1,<br />
},<br />
alttype = {<br />
-- Unit has an alternate type that is a valid conversion.<br />
-- ["unit code in local language"] = "alternate type in local language"<br />
["Nm"] = "energia",<br />
["ftlb"] = "momento meccanico",<br />
["ftlb-f"] = "momento meccanico",<br />
["ftlbf"] = "momento meccanico",<br />
["inlb"] = "momento meccanico",<br />
["inlb-f"] = "momento meccanico",<br />
["inlbf"] = "momento meccanico",<br />
["inoz-f"] = "momento meccanico",<br />
["inozf"] = "momento meccanico",<br />
},<br />
},<br />
},<br />
mtext = {<br />
-- Text used by Module:Convert/makeunits.<br />
titles = {<br />
-- name_used_in_this_script = "Title of page"<br />
conversion_data = 'Template:Converti/Man/Conversion data',<br />
},<br />
},<br />
}<br />
-- Some units accept an SI prefix before the unit code, such as "kg" for kilogram.<br />
local SIprefixes = {<br />
-- The prefix field is what the prefix should be, if different from the prefix used.<br />
['Y'] = { exponent = 24, name = 'yotta'},<br />
['Z'] = { exponent = 21, name = 'zetta'},<br />
['E'] = { exponent = 18, name = 'exa' },<br />
['P'] = { exponent = 15, name = 'peta' },<br />
['T'] = { exponent = 12, name = 'tera' },<br />
['G'] = { exponent = 9, name = 'giga' },<br />
['M'] = { exponent = 6, name = 'mega' },<br />
['k'] = { exponent = 3, name = 'chilo'},<br />
['h'] = { exponent = 2, name = 'etto'},<br />
['da']= { exponent = 1, name = 'deca' },<br />
['d'] = { exponent = -1, name = 'deci' },<br />
['c'] = { exponent = -2, name = 'centi'},<br />
['m'] = { exponent = -3, name = 'milli'},<br />
['μ'] = { exponent = -6, name = 'micro', prefix = 'µ'}, -- key = 'GREEK SMALL LETTER MU' (U+03BC) utf-8 CE BC<br />
['µ'] = { exponent = -6, name = 'micro'}, -- key = 'MICRO SIGN' (U+00B5) utf-8 C2 B5<br />
['u'] = { exponent = -6, name = 'micro', prefix = 'µ'}, -- not an SI prefix, but allow for people typing this<br />
['n'] = { exponent = -9, name = 'nano' },<br />
['p'] = { exponent =-12, name = 'pico' },<br />
['f'] = { exponent =-15, name = 'femto'},<br />
['a'] = { exponent =-18, name = 'atto' },<br />
['z'] = { exponent =-21, name = 'zepto'},<br />
['y'] = { exponent =-24, name = 'yocto'},<br />
}<br />
<br />
-- Some units can be qualified with one of the following prefixes, when linked.<br />
local customary_units = {<br />
{ "US", link = "Sistema consuetudinario statunitense" },<br />
{ "U.S.", link = "Sistema consuetudinario statunitense" },<br />
{ "imperial", link = "Sistema imperiale britannico" },<br />
{ "imp", link = "Sistema imperiale britannico" },<br />
}<br />
<br />
-- Names when using engineering notation (a prefix of "eN" where N is a number; example "e6km").<br />
-- key = { "name", link = "article title", exponent = numeric_key_value }<br />
-- If lk=on and link is defined, the name of the number will appear as a link.<br />
local eng_scales = {<br />
["3"] = { "migliaia di", exponent = 3 },<br />
["6"] = { "milioni di", exponent = 6 },<br />
["9"] = { "miliardi di", link = "Miliardo", exponent = 9 },<br />
["12"] = { "bilione di", link = "Bilione", exponent = 12 },<br />
["15"] = { "biliardo di", link = "Biliardo (numero)", exponent = 15 },<br />
}<br />
<br />
-- One of the following categories is included in the text of each message.<br />
local all_categories = {<br />
unit = "[[Categoria:Errori di compilazione del template Converti]]",<br />
option = "[[Categoria:Errori di compilazione del template Converti]]",<br />
}<br />
<br />
-- For some error messages, the following puts the wanted style around<br />
-- each unit code marked like '...%{ft%}...'.<br />
local unitcode_regex = '%%([{}])'<br />
local unitcode_replace = { ['{'] = '"', ['}'] = '"' } -- no longer need the more elaborate substitute used before 2013-09-28<br />
<br />
-- All messages that may be displayed if a problem occurs.<br />
local all_messages = {<br />
-- Message format string, %s parameters: anchor, title, text, category.<br />
-- Each displayed message starts with "Convert:" so can easily locate by searching article.<br />
cvt_format = '<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Template:Converti/Man/Messaggi#%s|<span title="Converti: %s">converti: %s</span>]]</i>]</sup>%s',<br />
cvt_format2 = '<sup class="noprint Inline-Template" style="white-space:nowrap;">[[Template:Converti/Man/Messaggi#%s|<span title="Converti: %s">%s</span>]]</sup>%s',<br />
-- Each of following messages is a table:<br />
-- { [1] = 'title', -- mouseover title text<br />
-- [2] = 'text', -- link text displayed in article<br />
-- [3] = 'category key', -- key to lookup category in all_categories<br />
-- [4] = 'anchor', -- anchor for link to relevant section on help page<br />
-- regex = gsub_regex,<br />
-- replace = gsub_table,<br />
-- } Mouseover title text Link text CatKey Anchor<br />
cvt_bad_num = { 'Il valore "%s" deve essere un numero', 'numero non valido', 'option', 'invalid_number'},<br />
cvt_big_prec = { 'La precisione "%s" è troppo grande', 'precisione troppo grande', 'option', 'precision_too_large' },<br />
cvt_invalid_num = { 'Overflow aritmetico del numero', 'overflow aritmetico', 'option', 'number_overflow' },<br />
cvt_no_num = { 'Manca il numero da convertire', 'serve un numero', 'option', 'needs_number' },<br />
cvt_no_num2 = { 'Manca un altro numero all\'intervallo', 'serve un altro numero', 'option', 'needs_another_number' },<br />
cvt_bad_frac = { 'Il frazionale "%s" deve essere un intero maggiore di 1', 'frazione non valida', 'option', 'invalid_fraction' },<br />
cvt_bad_prec = { 'La precisione "%s" deve essere un intero', 'precisione non valida', 'option', 'invalid_precision' },<br />
cvt_bad_sigfig = { 'sigfig "%s" deve essere un intero positivo', 'sigfig non valido', 'option', 'invalid_sigfig'},<br />
cvt_empty_option = { 'Opzione vuota "%s" ignorata', 'opzione vuota', 'option', 'empty_option' },<br />
cvt_deprecated = { 'Opzione "%s" deprecata', '*', 'option', 'opzione deprecata', format = 'cvt_format2' },<br />
cvt_no_spell = { 'Spelling is not available', 'bug, ask for help', 'option', 'ask_for_help' },<br />
cvt_unknown_option = { 'Opzione "%s" non valida, è stata ignorata', 'opzione non valida', 'option', 'invalid_option'},<br />
cvt_bad_default = { 'L\'unità di misura "%s" ha un valore di default non valido', 'bug, ask for help', 'unit', 'ask_for_help' },<br />
cvt_bad_unit = { 'L\'unità di misura "%s" non è valida', 'unità di misura non valida', 'unit', 'unit_invalid_here' },<br />
cvt_no_default = { 'L\'unità di misura "%s" non ha un\'unità di conversione valida', 'bug, ask for help', 'unit', 'ask_for_help' },<br />
cvt_no_unit = { 'Manca il nome dell\'unità di misura', 'nome dell\'unità mancante', 'unit', 'needs_unit_name' },<br />
cvt_unknown = { 'Il nome dell\'unità di misura "%s" non è stato riconosciuto', 'unità di misura sconosciuta', 'unit', 'unknown_unit' },<br />
cvt_should_be = { '%s', 'unità ambigua', 'unit', 'ambiguous_unit', regex = unitcode_regex, replace = unitcode_replace },<br />
cvt_mismatch = { 'Non posso convertire l\'unità di misura "%s" in "%s"', 'unità di misura incompatibili', 'unit', 'unit_mismatch' },<br />
cvt_bug_convert = { 'Bug: non posso convertire tra le unità specificate', 'bug, ask for help', 'unit', 'ask_for_help' },<br />
cvt_lookup = { 'L\'unità "%s" non è definita correttamente', 'bug, ask for help', 'unit', 'ask_for_help' },<br />
cvt_enwiki_num = { 'Il valore "%s" dovrebbe essere scritto come: "%s"', 'numero non valido', 'option', 'invalid_number' },<br />
}<br />
<br />
-- Text to join input value/unit with output value/unit.<br />
local disp_joins = {<br />
-- [1]=before output, [2]=after output, [3]=between outputs in a combination; default "; "<br />
-- [wantname] gives default abbr=off<br />
["or"] = { " o " , "" , " o ", wantname = true },<br />
["sqbr-sp"] = { " [" , "]" },<br />
["sqbr-nbsp"] = { "&nbsp;[" , "]" },<br />
["comma"] = { ", " , "" , ", " },<br />
["slash-sp"] = { " / " , "" , wantname = true },<br />
["slash-nbsp"] = { "&nbsp;/ ", "" , wantname = true },<br />
["slash-nosp"] = { "/" , "" , wantname = true },<br />
["b"] = { " (" , ")" },<br />
["(or)"] = { " (" , ")", " or " },<br />
["br"] = { "<br />" , "" , wantname = true },<br />
["br()"] = { "<br />(" , ")", wantname = true },<br />
}<br />
<br />
-- Text to separate values in a range.<br />
local range_types = {<br />
-- Specifying a table requires either:<br />
-- * "off" and "on" values (for "abbr=off" and "abbr=on"), or<br />
-- * "input" and "output" values (for LHS and RHS);<br />
-- other fields are optional.<br />
-- When "adj=on|abbr=off" applies, spaces in range text are replaced with hyphens.<br />
-- With "exception = true", that also occurs with "adj=on|abbr=on".<br />
-- If "adj" is defined here, that text (unchanged) is used with "adj=on".<br />
["+"] = " + ",<br />
[","] = ",&nbsp;",<br />
[", and"] = " e ",<br />
[", or"] = " o ",<br />
["by"] = " per ",<br />
["-"] = "–",<br />
["to about"] = " fino a circa ",<br />
["and"] = { off = " e ", on = " e " },<br />
["and(-)"] = { input = " e ", output = "–" },<br />
["or"] = { off = " o " , on = " o "},<br />
["to"] = { off = " fino a " , on = " fino a " },<br />
["to(-)"] = { input = "&nbsp;a ", output = "–" },<br />
["+/-"] = { off = "&nbsp;±&nbsp;", on = "&nbsp;±&nbsp;", adj = "&nbsp;±&nbsp;", is_range_change = true },<br />
["by(x)"] = { input = " per ", output = " ×&nbsp;", out_range_x = true },<br />
["x"] = { off = " per ", on = " ×&nbsp;", abbr_range_x = true },<br />
["X"] = { off = " per ", on = " ×&nbsp;" }, -- TEMPORARY and undocumented option for experiments to compare with new abbr_range_x<br />
["xx"] = "&nbsp;×&nbsp;",<br />
["*"] = "×", -- use "*" to replace "x" in {{convert/2}} which is different from "x" in old {{convert}}<br />
}<br />
<br />
local range_aliases = {<br />
-- ["alternative name for a range"] = "standard range name"<br />
["&"] = "and",<br />
["e"] = "and",<br />
["–"] = "-",<br />
["&ndash;"] = "-",<br />
["to-"] = "to(-)",<br />
["a-"] = "to(-)",<br />
["×"] = "x",<br />
["&times;"] = "x",<br />
["±"] = "+/-",<br />
["&plusmn;"] = "+/-",<br />
["o"] = "or",<br />
["per"] = "x",<br />
["per(x)"] = "by(x)",<br />
["fino a"] = "to",<br />
["fino a(-)"] = "to(-)",<br />
["fino a circa"] = "to about"<br />
}<br />
<br />
-- Convert accepts range text delimited with whitespace, for example, {{convert|1 to 2|ft}}.<br />
-- In addition, the following "words" are accepted without spaces, for example, {{convert|1-2|ft}}.<br />
-- Words must be in correct order for searching, for example, 'x' after 'xx'.<br />
local range_words = { '-', '–', 'xx', 'x', '*' }<br />
<br />
local ranges = {<br />
types = range_types,<br />
aliases = range_aliases,<br />
words = range_words,<br />
}<br />
<br />
-- Valid option names.<br />
local en_option_name = {<br />
-- ["local text for option name"] = "en name used in this module"<br />
["$"] = "$",<br />
["abbr"] = "abbr",<br />
["adj"] = "adj",<br />
["comma"] = "comma",<br />
["debug"] = "debug",<br />
["disp"] = "disp",<br />
["frac"] = "frac",<br />
["lang"] = "lang",<br />
["lk"] = "lk",<br />
["near"] = "near",<br />
["order"] = "order",<br />
["round"] = "round",<br />
["sigfig"] = "sigfig",<br />
-- ["sing"] = "adj", -- "sing" is an old alias for "adj"<br />
["sortable"] = "sortable",<br />
-- ["sp"] = "sp",<br />
-- ["spell"] = "spell",<br />
["stylein"] = "stylein",<br />
["styleout"] = "styleout",<br />
}<br />
<br />
-- Valid option values.<br />
-- Convention: parms.opt_xxx refers to an option that is set here<br />
-- (not intended to be set by the template which invokes this module).<br />
-- Example: At en.wiki, "abbr" includes:<br />
-- ["comma"] = "opt_nocomma"<br />
-- As a result, if the template uses abbr=comma, this script sets:<br />
-- parms["opt_nocomma"] = true<br />
-- parms["abbr"] = nil<br />
-- Therefore parms.abbr will be nil, or will have one of the listed values<br />
-- that do not start with "opt_".<br />
-- An option value of form "xxx?" is the same as "xxx" but shows the input as deprecated.<br />
local en_option_value = {<br />
-- $=x is handled as a special case: x should be a currency symbol that will be used instead of "$"<br />
["abbr"] = {<br />
-- ["local text for option value"] = "en value used in this module"<br />
["comma"] = "opt_nocomma?", -- no numsep in input or output numbers<br />
["def"] = "", -- ignored (some wrapper templates call convert with "abbr=def" to mean "default abbreviation")<br />
["h"] = "on", -- abbr=on + use "h" for hand unit (default)<br />
["hh"] = "opt_hand_hh", -- abbr=on + use "hh" for hand unit<br />
["in"] = "in", -- use symbol for LHS unit<br />
["mos"] = "mos", -- in a range, repeat the input unit (no longer used)<br />
["none"] = "off", -- old name for "off"<br />
["off"] = "off", -- use name for all units<br />
["on"] = "on", -- use symbol for all units<br />
["out"] = "out", -- use symbol for RHS unit (default)<br />
["values"] = "opt_values", -- show only input and output numbers, not units<br />
["~"] = "opt_also_symbol", -- show input unit symbol as well as name<br />
--- localizzazioni in italiano<br />
["valori"] = "opt_values", -- show only input and output numbers, not units<br />
},<br />
["adj"] = {<br />
["1"] = "opt_singular", -- unit name is singular when value satisfies: (-1 <= v and v < 0) or (0 < v and v <= 1)<br />
["flip"] = "opt_flip?", -- reverse order of input/output<br />
["j"] = "opt_use_nbsp", -- "join": use "&nbsp;" instead of " " between value and unit name<br />
["mid"] = "opt_adjectival, opt_adj_mid", -- adj=on with user-specified text after input unit (between input and output)<br />
["nocomma"] = "opt_nocomma?", -- no numsep in input or output numbers<br />
["off"] = "", -- ignored (off is the default)<br />
["on"] = "opt_adjectival", -- unit name is singular and hyphenated<br />
["pre"] = "opt_one_preunit", -- user-specified text before input unit<br />
["ri0"] = "opt_ri=0", -- round input with precision = 0<br />
["ri1"] = "opt_ri=1", -- round input with precision = 1<br />
["ri2"] = "opt_ri=2", -- round input with precision = 2<br />
["ri3"] = "opt_ri=3", -- round input with precision = 3<br />
},<br />
["comma"] = {<br />
["5"] = "opt_comma5", -- only use numsep grouping if 5 or more digits<br />
["gaps"] = "opt_gaps", -- use gaps, not numsep, to separate groups of digits<br />
["gaps3"] = "opt_gaps, opt_gaps3", -- group only in threes rather than default of no gap before a single digit after decimal mark<br />
["gaps5"] = "opt_gaps?", -- deprecated 2015-05-29, was: opt_gaps + opt_comma5<br />
["off"] = "opt_nocomma", -- no numsep in input or output numbers<br />
},<br />
["debug"] = {<br />
["yes"] = "opt_sortable_debug", -- make the normally hidden sort key visible<br />
},<br />
["disp"] = {<br />
["/"] = "or?", -- see "slash"<br />
["2"] = "opt_output_only?", -- display only output value and symbol/name (not input)<br />
["5"] = "opt_round=5", -- round output value to nearest 5<br />
["b"] = "b", -- join: '(...)'<br />
["(or)"] = "(or)", -- join: '(...)' with 'or' between outputs in a combination<br />
["br"] = "br", -- join: '<br />'<br />
["br()"] = "br()", -- join: '<br />(...)'<br />
["comma"] = "comma", -- join: ','<br />
["flip5"] = "opt_flip, opt_round=5?", -- disp=flip + disp=5<br />
["nocomma"] = "opt_nocomma?", -- no numsep in input or output numbers<br />
["number"] = "opt_output_number_only", -- display output value (not input, and not output symbol/name)<br />
["or"] = "or", -- join: 'or'<br />
["out"] = "opt_output_only",<br />
["output number only"] = "opt_output_number_only",<br />
["output only"] = "opt_output_only",<br />
["preunit"] = "opt_two_preunits", -- user-specified text before input and output units<br />
["s"] = "or?", -- see "slash"<br />
["slash"] = "or?", -- 2014-11-03: "disp=slash" is now equivalent to "disp=or" as slash is unhelpful<br />
["sqbr"] = "sqbr", -- join: '[...]'<br />
["table"] = "opt_table", -- output is suitable for a table cell with align="right"<br />
["tablecen"] = "opt_tablecen", -- output is suitable for a table cell with align="center"<br />
["u2"] = "opt_output_unit_only?", -- display output symbol/name (not input, and not output value)<br />
["unit"] = "opt_input_unit_only", -- display input symbol/name (not output, and not input value)<br />
["unit or text"] = "opt_input_unit_only, opt_ignore_error", -- display input symbol/name, or given unit code if not known<br />
["unit2"] = "opt_output_unit_only",<br />
["x"] = "x", -- join: <first>...<second> (user-specified text)<br />
-- localizzazioni in italiano<br />
["(o)"] = "(or)", -- join: '(...)' with 'or' between outputs in a combination<br />
["inverti"] = "opt_flip", -- reverse order of input/output<br />
["inverti5"] = "opt_flip, opt_round=5?", -- disp=flip + disp=5<br />
["novirgola"] = "opt_nocomma?", -- no numsep in input or output numbers<br />
["numero"] = "opt_output_number_only", -- display output value (not input, and not output symbol/name)<br />
["o"] = "or", -- join: 'or'<br />
["preunità"] = "opt_two_preunits", -- user-specified text before input and output units<br />
["quadre"] = "sqbr", -- join: '[...]'<br />
["risultato"] = "opt_output_only",<br />
["valore risultato"] = "opt_output_number_only",<br />
["tabella"] = "opt_table", -- output is suitable for a table cell with align="right"<br />
["tabellac"] = "opt_tablecen", -- output is suitable for a table cell with align="center"<br />
["unità"] = "opt_input_unit_only", -- display input symbol/name (not output, and not input value)<br />
["unità o testo"] = "opt_input_unit_only, opt_ignore_error", -- display input symbol/name, or given unit code if not known<br />
["unità2"] = "opt_output_unit_only",<br />
["virgola"] = "comma" -- join: ','<br />
},<br />
-- frac=x is handled as a special case: x must be an integer (possibly in local language) = 2 or more<br />
["lang"] = { -- language for output digits (both en and local digits are always accepted for input)<br />
["en"] = "opt_lang_en", -- use en digits for numbers, regardless of local language<br />
["local"] = "opt_lang_local", -- use local digits for numbers (default, although config can change default to en)<br />
},<br />
["lk"] = {<br />
["in"] = "in", -- link LHS unit name or symbol<br />
["off"] = "off", -- do not link: same as default except for hand unit<br />
["on"] = "on", -- link all unit names or symbols (but not twice for the same unit)<br />
["out"] = "out", -- link RHS unit name or symbol<br />
},<br />
["near"] = {<br />
["5"] = "opt_round=5?", -- round output value to nearest 5<br />
},<br />
["order"] = {<br />
["flip"] = "opt_flip", -- reverse order of input/output<br />
},<br />
["round"] = {<br />
["0.5"] = "opt_round=0.5", -- round output value to nearest 0.5<br />
["0,5"] = "opt_round=0.5", -- round output value to nearest 0.5<br />
["5"] = "opt_round=5", -- round output value to nearest 5<br />
["10"] = "opt_round=10", -- round output value to nearest 10 (same as but clearer than "|-1")<br />
["25"] = "opt_round=25", -- round output value to nearest 25<br />
["50"] = "opt_round=50", -- round output value to nearest 50<br />
["each"] = "opt_round_each", -- using default precision in a range, round each output separately (default uses highest precision of each item in range)<br />
},<br />
-- sigfig=x is handled as a special case: x must be an integer (possibly in local language) = 1 or more<br />
["sortable"] = {<br />
["off"] = "", -- ignored (off is the default)<br />
["in"] = "opt_sortable_on?", -- same as "on"<br />
["on"] = "opt_sortable_on", -- output sort key for use in a sortable table, based on value from converting to a standard base unit<br />
["out"] = "opt_sortable_on?", -- same as "on"<br />
},<br />
-- ["sp"] = {<br />
-- ["us"] = "opt_sp_us", -- use U.S. spelling (like "meter" instead of default "metre")<br />
-- },<br />
-- ["spell"] = { -- only English spelling is supported; not scientific notation; only some fractions<br />
-- ["in"] = "opt_spell_in", -- spell input value in words<br />
-- ["In"] = "opt_spell_in, opt_spell_upper", -- spell input value in words with first letter uppercase<br />
-- ["on"] = "opt_spell_in, opt_spell_out", -- spell input and output values in words<br />
-- ["On"] = "opt_spell_in, opt_spell_out, opt_spell_upper", -- same, with first letter of first word in result uppercase<br />
-- },<br />
-- stylein=x is handled as a special case: x can be any text<br />
-- styleout=x is handled as a special case: x can be any text<br />
}<br />
<br />
return {<br />
SIprefixes = SIprefixes,<br />
all_categories = all_categories,<br />
all_messages = all_messages,<br />
currency = { ['$'] = true, ['£'] = true },<br />
customary_units = customary_units,<br />
disp_joins = disp_joins,<br />
en_option_name = en_option_name,<br />
en_option_value = en_option_value,<br />
eng_scales = eng_scales,<br />
ranges = ranges,<br />
translation_table = translation_table,<br />
}</div>Nov3rd17