i18n
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
<div id="projects">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Project</th>
|
||||
<th>Mode</th>
|
||||
<th>Code Name</th>
|
||||
<th>Start</th>
|
||||
<th>End</th>
|
||||
<th>Time Zone</th>
|
||||
<th>[#]lang:project[#]</th>
|
||||
<th>[#]lang:mode[#]</th>
|
||||
<th>[#]lang:code_name[#]</th>
|
||||
<th>[#]lang:start[#]</th>
|
||||
<th>[#]lang:end[#]</th>
|
||||
<th>[#]lang:time_zone[#]</th>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -25,7 +25,7 @@ oSpot.pageInit = function(asHash) {
|
||||
|
||||
oSpot.onFeedback = function(sType, sMsg, asContext) {
|
||||
delete asContext.a;
|
||||
sMsg += ' (context: ';
|
||||
sMsg += ' (';
|
||||
$.each(asContext, function(sKey, sElem) {
|
||||
sMsg += sKey+'='+sElem+' / ' ;
|
||||
});
|
||||
@@ -65,7 +65,7 @@ function commit(event, $This) {
|
||||
self.get(
|
||||
'set_admin',
|
||||
function(asData){
|
||||
oSpot.onFeedback('success', 'Sauvegarde OK', asInputs);
|
||||
oSpot.onFeedback('success', self.lang('admin_save_success'), asInputs);
|
||||
setProjects([asData.values]);
|
||||
},
|
||||
asInputs,
|
||||
|
||||
Reference in New Issue
Block a user