Modulo:Convert/text: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Moroboshi (discussione | contributi)
fix alla localizzazione
Moroboshi (discussione | contributi)
disattivo alcune opzioni
Riga 79:
['M'] = { exponent = 6, name = 'mega' },
['k'] = { exponent = 3, name = 'chilo'},
['h'] = { exponent = 2, name = 'hectoetto'},
['da']= { exponent = 1, name = 'deca' },
['d'] = { exponent = -1, name = 'deci' },
Riga 116:
-- One of the following categories is included in the text of each message.
local all_categories = {
unit = "[[Categoria:Errori di compilazione del template Converti - unità di misura non valide]]",
option = "[[Categoria:Errori di compilazione del template Converti - opzioni non valide]]",
}
 
Riga 194:
["by"] = " per ",
["-"] = "–",
["to about"] = " fino a circa ",
["and"] = { off = " e ", on = " e ", exception = true },
["and(-)"] = { input = " e ", output = "–" },
["or"] = { off = " o " , on = " o " , exception = true },
["to"] = { off = " a " , on = " a " , exception = true },
["to(-)"] = { input = " a ", output = "–" },
["+/-"] = { off = " ± ", on = " ± ", adj = " ± ", is_range_change = true },
Riga 211:
-- ["alternative name for a range"] = "standard range name"
["&"] = "and",
["e"] = "-and",
["–"] = "-",
["–"] = "-",
["to-"] = "to(-)",
["a-"] = "to(-)",
["×"] = "x",
["×"] = "x",
["±"] = "+/-",
["±"] = "+/-",
["eo"] = "eor",
["oper"] = "ox",
["per(x)"] = "perby(x)",
["fino a circa"] = "to about"
}
 
Line 239 ⟶ 242:
["$"] = "$",
["abbr"] = "abbr",
-- ["adj"] = "adj",
["comma"] = "comma",
["debug"] = "debug",
Line 250 ⟶ 253:
["round"] = "round",
["sigfig"] = "sigfig",
-- ["sing"] = "adj", -- "sing" is an old alias for "adj"
["sortable"] = "sortable",
-- ["sp"] = "sp",
-- ["spell"] = "spell",
["stylein"] = "stylein",
["styleout"] = "styleout",
Line 286 ⟶ 289:
["~"] = "opt_also_symbol", -- show input unit symbol as well as name
},
-- ["adj"] = {
-- ["1"] = "opt_singular", -- unit name is singular when value satisfies: (-1 <= v and v < 0) or (0 < v and v <= 1)
-- ["flip"] = "opt_flip?", -- reverse order of input/output
-- ["j"] = "opt_use_nbsp", -- "join": use "&nbsp;" instead of " " between value and unit name
-- ["mid"] = "opt_adjectival, opt_adj_mid", -- adj=on with user-specified text after input unit (between input and output)
-- ["nocomma"] = "opt_nocomma?", -- no numsep in input or output numbers
-- ["off"] = "", -- ignored (off is the default)
-- ["on"] = "opt_adjectival", -- unit name is singular and hyphenated
-- ["pre"] = "opt_one_preunit", -- user-specified text before input unit
-- ["ri0"] = "opt_ri=0", -- round input with precision = 0
-- ["ri1"] = "opt_ri=1", -- round input with precision = 1
-- ["ri2"] = "opt_ri=2", -- round input with precision = 2
-- ["ri3"] = "opt_ri=3", -- round input with precision = 3
-- },
["comma"] = {
["5"] = "opt_comma5", -- only use numsep grouping if 5 or more digits
["gaps"] = "opt_gaps", -- use gaps, not numsep, to separate groups of digits
["gaps3"] = "opt_gaps, opt_gaps3", -- group only in threes rather than default of no gap before a single digit after decimal mark
-- ["gaps5"] = "opt_gaps?", -- deprecated 2015-05-29, was: opt_gaps + opt_comma5
["off"] = "opt_nocomma", -- no numsep in input or output numbers
},
Line 371 ⟶ 374:
["out"] = "opt_sortable_on?", -- same as "on"
},
-- ["sp"] = {
-- ["us"] = "opt_sp_us", -- use U.S. spelling (like "meter" instead of default "metre")
-- },
-- ["spell"] = { -- only English spelling is supported; not scientific notation; only some fractions
-- ["in"] = "opt_spell_in", -- spell input value in words
-- ["In"] = "opt_spell_in, opt_spell_upper", -- spell input value in words with first letter uppercase
-- ["on"] = "opt_spell_in, opt_spell_out", -- spell input and output values in words
-- ["On"] = "opt_spell_in, opt_spell_out, opt_spell_upper", -- same, with first letter of first word in result uppercase
-- },
-- stylein=x is handled as a special case: x can be any text
-- styleout=x is handled as a special case: x can be any text