Sha256: e84fa8fda3b43be1aff7dac590704b99f67dc543fdbccb173faff82ac41d7641
Contents?: true
Size: 330 Bytes
Versions: 6
Compression:
Stored size: 330 Bytes
Contents
@RailsAdmin ||= {} @RailsAdmin.I18n = class Locale @init: (@locale, @translations)-> moment.locale(@locale) if typeof(@translations) == "string" @translations = JSON.parse(@translations) @t:(key) -> humanize = key.charAt(0).toUpperCase() + key.replace(/_/g, " ").slice(1) @translations[key] || humanize
Version data entries
6 entries across 6 versions & 1 rubygems