Sha256: ebfbb6e86f2b3e050ee493695aa685497fc8c7a9814e336cd580897255836428
Contents?: true
Size: 285 Bytes
Versions: 3
Compression:
Stored size: 285 Bytes
Contents
#= require i18n_screwdriver/md5 interpolate = (message, data) -> message.replace(/%{([^{}]*)}/g, (a, b) -> data[b]) I18n.screw = (message, data) -> md5 = window.md5(message) translation = I18n.translations[I18n.locale][md5] translation ?= "" interpolate(translation, data)
Version data entries
3 entries across 3 versions & 1 rubygems