translate via i18next
This commit is contained in:
parent
a8c9bf0c6d
commit
f54d72644b
20 changed files with 1410 additions and 155 deletions
|
|
@ -22,7 +22,7 @@ BR.Util = {
|
|||
},
|
||||
|
||||
getError: function(xhr) {
|
||||
var msg = 'no response from server';
|
||||
var msg = i18next.t('warning.no-response');
|
||||
if (xhr.responseText) {
|
||||
msg = xhr.responseText;
|
||||
} else if (xhr.status || xhr.statusText) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue