FIX. Missing translation entity

Missing translation entity on Update URL button.
This commit is contained in:
Elvinas L. 2015-01-13 12:36:09 +02:00
parent ee4639ed74
commit 9da7e90bf4
3 changed files with 5 additions and 3 deletions

View File

@ -118,7 +118,7 @@
// update button // update button
updateURLFromTitle = $('<button />', { updateURLFromTitle = $('<button />', {
'class': 'update ss-ui-button-small', 'class': 'update ss-ui-button-small',
'text': 'Update URL', 'text': ss.i18n._t('URLSEGMENT.UpdateURL'),
'click': function(e) { 'click': function(e) {
e.preventDefault(); e.preventDefault();
self.updateURLSegment(self.val()); self.updateURLSegment(self.val());

View File

@ -40,7 +40,8 @@ if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
"CMSMain.RollbackToVersion": "Do you really want to roll back to version #%s of this page?", "CMSMain.RollbackToVersion": "Do you really want to roll back to version #%s of this page?",
"URLSEGMENT.Edit": "Edit", "URLSEGMENT.Edit": "Edit",
"URLSEGMENT.OK": "OK", "URLSEGMENT.OK": "OK",
"URLSEGMENT.Cancel": "Cancel" "URLSEGMENT.Cancel": "Cancel",
"URLSEGMENT.UpdateURL": "Update URL"
} }
); );
} }

View File

@ -35,5 +35,6 @@
"CMSMain.RollbackToVersion": "Do you really want to roll back to version #%s of this page?", "CMSMain.RollbackToVersion": "Do you really want to roll back to version #%s of this page?",
"URLSEGMENT.Edit": "Edit", "URLSEGMENT.Edit": "Edit",
"URLSEGMENT.OK": "OK", "URLSEGMENT.OK": "OK",
"URLSEGMENT.Cancel": "Cancel" "URLSEGMENT.Cancel": "Cancel",
"URLSEGMENT.UpdateURL": "Update URL"
} }