redmineのl_hoursのlって何の略でしょうか?
このlはlocale? local? 何の略なんでしょうか?
https://github.com/redmine/redmine/blob/master/lib/redmine/i18n.rb#L46-L53
def l_hours(hours) hours = hours.to_f l((hours < 2.0 ? :label_f_hour : :label_f_hour_plural), :value => ("%.2f" % hours.to_f)) end def l_hours_short(hours) l(:label_f_hour_short, :value => ("%.2f" % hours.to_f)) end
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/01/26 00:38