class R18n::Locales::Th
Thai locale
Public Instance Methods
pluralize(_number)
click to toggle source
# File lib/r18n-core/locales/th.rb, line 31 def pluralize(_number) 'n' end
strftime(time, format)
click to toggle source
Calls superclass method
R18n::Locale#strftime
# File lib/r18n-core/locales/th.rb, line 35 def strftime(time, format) year = (time.year + 543).to_s super(time, format.gsub('%Y', year).gsub('%y', year[-2..-1])) end