"मॉड्यूल:Convert/text": अवतरणों में अंतर
Content deleted Content added
insert a blank line so the next edit shows a clean diff |
translations from User:Johnuniq/translate |
||
पंक्ति 5:
local translation_table = {
group = 2, -- group numbers 3 digits, then 2 digits
per_word = '
plural_suffix = '', -- disable plural unit names
from_en = {
पंक्ति 95:
local SIprefixes = {
-- The prefix field is what the prefix should be, if different from the prefix used.
2, -- SIprefixes[1] = maximum number of characters (as seen by mw.ustring.sub) in a prefix
['Y'] = { exponent = 24, name = '
['Z'] = { exponent = 21, name = '
['E'] = { exponent = 18, name = '
['P'] = { exponent = 15, name = '
['T'] = { exponent = 12, name = '
['G'] = { exponent = 9, name = '
['M'] = { exponent = 6, name = '
['k'] = { exponent = 3, name = '
['h'] = { exponent = 2, name = '
['da']= { exponent = 1, name = '
['d'] = { exponent = -1, name = '
['c'] = { exponent = -2, name = '
['m'] = { exponent = -3, name = '
['μ'] = { exponent = -6, name = '
['µ'] = { exponent = -6, name = '
['u'] = { exponent = -6, name = '
['n'] = { exponent = -9, name = '
['p'] = { exponent =-12, name = '
['f'] = { exponent =-15, name = '
['a'] = { exponent =-18, name = '
['z'] = { exponent =-21, name = '
['y'] = { exponent =-24, name = '
}
पंक्ति 141:
-- One of the following categories is included in the text of each message.
local all_categories = {
unit = "[[श्रेणी:कनवर्ट साँचे में त्रुटि]]",
option = "[[
}
पंक्ति 162:
-- regex = gsub_regex,
-- replace = gsub_table,
-- } Mouseover title text
cvt_bad_num = { '
cvt_big_prec = { '
cvt_invalid_num = { 'Number has overflowed'
cvt_no_num = { '
cvt_no_num2 = { '
cvt_bad_frac = { 'frac "%s" must be an integer above 1' , 'अमान्य भिन्न'
cvt_bad_prec = { '
cvt_bad_sigfig = { 'sigfig "%s" must be a positive integer'
cvt_empty_option = { '
cvt_no_spell = { '
cvt_unknown_option = { '
cvt_bad_default = { '
cvt_bad_unit = { '
cvt_no_default = { '
cvt_no_unit = { '
cvt_unknown = { '
cvt_should_be = { '%s'
cvt_mismatch = { '
cvt_bug_convert = { '
cvt_lookup = { '
}
-- Text to join input value/unit with output value/unit.
local disp_joins = {
["or"] = { "
["sqbr-sp"] = { " [" , "]" },
["sqbr-nbsp"] = { " [" , "]" },
पंक्ति 207:
["+"] = " + ",
[","] = ", ",
[", and"] = ",
[", or"] = ",
["by"] = "
["-"] = "–",
["to about"] = "
["and"] = { off = "
["and(-)"] = { off = "
["or"] = { off = "
["to"] = { off = "
["to(-)"] = { off = "
["+/-"] = { off = " ± ", on = " ± ", adj = " ± ", is_range_change = true },
["x"] = { off = "
["xx"] = " × ",
["*"] = "×", -- use "*" to replace "x" in {{convert/2}} which is different from "x" in old {{convert}}
पंक्ति 233:
["±"] = "+/-",
["±"] = "+/-",
["और"] = "and",
["या"] = "or",
["से"] = "to",
}
Line 297 ⟶ 300:
["flip"] = "opt_flip", -- reverse order of input/output
["j"] = "opt_use_nbsp", -- "join": use " " instead of " " between value and unit name
["mid"] = "
["nocomma"] = "opt_nocomma", -- no numsep in input or output numbers
["off"] = "", -- ignored (off is the default)
["on"] = "
["pre"] = "opt_one_preunit", -- user-specified text before input unit
["ri0"] = "ri0", -- round input with precision = 0
|