mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 13:01:07 +08:00
wrapped I18n.lookup to inject the "js" namespace
This commit is contained in:
@ -137,7 +137,7 @@ Discourse = Ember.Application.createWithMixins({
|
||||
|
||||
$('#main').on('click.discourse', '[data-not-implemented=true]', function(e) {
|
||||
e.preventDefault();
|
||||
alert(Em.String.i18n('not_implemented'));
|
||||
alert(I18n.t('not_implemented'));
|
||||
return false;
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user