Add i18n for message in editor pop-up

This commit is contained in:
Christophe Vilayphiou committed 2012-08-14 01:20:45 +08:00
1 parent bd56685b07
commit ab1c457a51
3 files changed
+4

No files matched your search

@@ -1,3 +1,4 @@
<%#= encoding: utf-8 %>
$(document).on('click', '#ajax_form_submit', function(){
// $('#ajaxForm').ajaxSubmit({
// beforeSubmit: function(a,f,o) {
@@ -35,6 +36,7 @@ $(document).on('click', '#ajax_form_submit', function(){
})
if(!sub){
$("#dyn_error").text("Cannot be empty.");
$("#dyn_error").text("<%= I18n.t('cant_empty_star') %>");
return false;
}
},