Module:TAMNAMS: Difference between revisions

Ganaram inukshuk (talk | contribs)
m bugfix
Ganaram inukshuk (talk | contribs)
Removed periods from abbrevs
Line 388: Line 388:
if abbrev_format == "abbrev" or abbrev_format == "ABBREV" then
if abbrev_format == "abbrev" or abbrev_format == "ABBREV" then
return string.format("%s%d%ss.", quality, step_count, mos_prefix)
return string.format("%s%d%ss", quality, step_count, mos_prefix)
elseif abbrev_format == "shortened" or abbrev_format == "SHORTENED" then
elseif abbrev_format == "shortened" or abbrev_format == "SHORTENED" then
return string.format("%s %d-%ss.", quality, step_count, mos_prefix)
return string.format("%s %d-%ss.", quality, step_count, mos_prefix)
Line 413: Line 413:
if abbrev_format == "abbrev" or abbrev_format == "ABBREV" then
if abbrev_format == "abbrev" or abbrev_format == "ABBREV" then
return string.format("%s%d%ss.", quality, step_count, mos_prefix)
return string.format("%s%d%ss", quality, step_count, mos_prefix)
elseif abbrev_format == "shortened" or abbrev_format == "SHORTENED" then
elseif abbrev_format == "shortened" or abbrev_format == "SHORTENED" then
return string.format("%s %d-%sd.", quality, step_count, mos_prefix)
return string.format("%s %d-%sd.", quality, step_count, mos_prefix)