Commit a0a26105 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Internationalisation.

parent 90b61292
......@@ -278,6 +278,8 @@
'Load': 'Charger',
'load in the database': 'chargé dans la base de données',
'Load in the database': 'Chargé dans la base de données',
'Loading failed': 'Echec du chargement',
'Loading...': 'Chargement en cours...',
'Logged in': 'Logged in',
'Logged out': 'Logged out',
'Login': 'Login',
......
......@@ -154,7 +154,9 @@
"trEditAndInsert = '%s'" % T('Edit and insert'),
"trError = '%s'" % T('Error'),
"trExisting = '%s'" % T('Existing'),
"trFailure = '%s'" % T('Loading failed'),
"trFound = '%s'" % T('Found'),
"trLoading = '%s'" % T('Loading...'),
"trLost = '%s'" % T('Lost'),
"trModified = '%s'" % T('Modified'),
"trRejected = '%s'" % T('Rejected'),
......@@ -188,7 +190,7 @@
// but I never succeed with Ext JS 4.2.1. Therefore it is done by hand
//
mask = Ext.create('Ext.LoadMask', {
msg: 'Loading data from ' + host + '...',
msg: trLoading,
target: Ext.ComponentQuery.query('xviewport')[0]
});
mask.show();
......@@ -214,7 +216,7 @@
},
autoLoad: true,
failure: function () {
Ext.Msg.alert('Status', 'Data transfer from '+ host +' failed');
Ext.Msg.alert(trError, trFailure);
},
loadMask: false,
scripts: true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment