মডিউল:বয়স/খেলাঘর: সংশোধিত সংস্করণের মধ্যে পার্থক্য

বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
Johnuniq (আলোচনা | অবদান)
add blank line
Johnuniq (আলোচনা | অবদান)
more localization tweaks
৩১ নং লাইন:
['txt-comma-and'] = ', ও ',
['txt-error'] = 'ত্রুটি: ',
['txt-format-default'] = 'df', -- 'df' (day first = dmy) or 'mf' (month first = mdy)
['txt-module-convertnumeric'] = 'Module:ConvertNumeric',
['txt-module-date'] = 'মডিউল:তারিখ',
৩৭ নং লাইন:
['txt-bda'] = '<span style="display:none"> (<span class="bday">$1</span>) </span>$2<span class="noprint ForceAgeToShow"> (বয়স&nbsp;$3)</span>',
['txt-dda'] = '$2<span style="display:none">($1)</span> (বয়স&nbsp;$3)',
['txt-bda-disp'] = 'disp_raw', -- disp_raw → age is a number only; disp_age → age is a number and unit (normally years but months or days if very young)
['txt-dda-disp'] = 'disp_raw',
['txt-dmy'] = '%-d %B %-Y',
['txt-mdy'] = '%B %-d, %-Y',
}
 
২০৩ ⟶ ২০৭ নং লাইন:
local function dateFormat(args)
-- Return string for wanted date format.
local default = mtext['txt-format-default'] -- 'df' (day first = dmy) or 'mf' (month first = mdy)
local other = default == 'df' and 'mf' or 'df'
local wanted = stripToNil(args[other]) and other or default
৯৬৪ ⟶ ৯৬৮ নং লাইন:
return message('mt-invalid-bd-age')
end
local disp, show = mtext['disp_raw', 'ytxt-bda-disp']
local show = 'y'
if diff.years < 2 then
disp = 'disp_age'
১,০৭০ ⟶ ১,০৭৫ নং লাইন:
show = 'y',
abbr = 'abbr_off',
disp = mtext['disp_rawtxt-dda-disp'],
range = 'dash',
sep = 'sep_space',