Merge pull request #1154 from uniun/missing-translations-entity

FIX. Missing translation entity
This commit is contained in:
Damian Mooyman 2015-03-10 22:50:26 +13:00
commit c0a44db56b
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"
} }