app/assets/javascrips/i18n_screwdriver/screw.coffee in i18n_screwdriver-9.2 vs app/assets/javascrips/i18n_screwdriver/screw.coffee in i18n_screwdriver-9.3
- old
+ new
@@ -4,7 +4,7 @@
message.replace(/%{([^{}]*)}/g, (a, b) -> data[b])
I18n.screw = (message, data) ->
md5 = window.md5(message)
translation = I18n.translations[I18n.locale][md5]
- translation ?= ""
+ translation ?= I18n.onMissingTranslation(md5, message)
interpolate(translation, data)