Sha256: 26d260adb7a11b193f119080f6ad5efe758e92d431a1ebf883d96c8e5ccf5339
Contents?: true
Size: 396 Bytes
Versions: 1
Compression:
Stored size: 396 Bytes
Contents
Volontariat.THelper = Ember.Helper.helper((params) -> key = params[0] no_html = params[1] text = Volontariat.t key if text == undefined if no_html == true "Missing translation: #{key}" else new (Ember.Handlebars.SafeString)('<span class="translation_missing" title="translation missing: ' + Volontariat.locale + '.' + key + '">' + key + '</span>') else text )
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voluntary-ember_js-0.1.0 | app/assets/javascripts/voluntary/ember_js/helpers/t_helper.js.coffee |