[WebUI] Small fixes to text labels

This commit is contained in:
Calum Lind 2014-09-04 10:41:48 +01:00
parent 403fdb31a1
commit 91943ba7e3
7 changed files with 21 additions and 21 deletions

View File

@ -54,7 +54,7 @@ Deluge.EditTrackersWindow = Ext.extend(Ext.Window, {
Deluge.EditTrackersWindow.superclass.initComponent.call(this); Deluge.EditTrackersWindow.superclass.initComponent.call(this);
this.addButton(_('Cancel'), this.onCancelClick, this); this.addButton(_('Cancel'), this.onCancelClick, this);
this.addButton(_('Ok'), this.onOkClick, this); this.addButton(_('OK'), this.onOkClick, this);
this.addEvents('save'); this.addEvents('save');
this.on('show', this.onShow, this); this.on('show', this.onShow, this);

View File

@ -144,15 +144,15 @@ deluge.menus.torrent = new Ext.menu.Menu({
hideOnClick: false, hideOnClick: false,
menu: new Ext.menu.Menu({ menu: new Ext.menu.Menu({
items: [{ items: [{
text: _('50') text: '50'
}, { }, {
text: _('100') text: '100'
}, { }, {
text: _('200') text: '200'
}, { }, {
text: _('300') text: '300'
}, { }, {
text: _('500') text: '500'
},{ },{
text: _('Unlimited') text: _('Unlimited')
}] }]
@ -163,15 +163,15 @@ deluge.menus.torrent = new Ext.menu.Menu({
hideOnClick: false, hideOnClick: false,
menu: new Ext.menu.Menu({ menu: new Ext.menu.Menu({
items: [{ items: [{
text: _('0') text: '0'
}, { }, {
text: _('1') text: '1'
}, { }, {
text: _('2') text: '2'
}, { }, {
text: _('3') text: '3'
}, { }, {
text: _('5') text: '5'
},{ },{
text: _('Unlimited') text: _('Unlimited')
}] }]

View File

@ -70,7 +70,7 @@ Deluge.OtherLimitWindow = Ext.extend(Ext.Window, {
} }
this.addButton(_('Cancel'), this.onCancelClick, this); this.addButton(_('Cancel'), this.onCancelClick, this);
this.addButton(_('Ok'), this.onOkClick, this); this.addButton(_('OK'), this.onOkClick, this);
this.afterMethod('show', this.doFocusField, this); this.afterMethod('show', this.doFocusField, this);
}, },

View File

@ -141,7 +141,7 @@ Deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, {
}], }],
otherWin: { otherWin: {
title: _('Set Maximum Download Speed'), title: _('Set Maximum Download Speed'),
unit: _('Kib/s') unit: _('KiB/s')
} }
}) })
}, '-', { }, '-', {
@ -189,7 +189,7 @@ Deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, {
}], }],
otherWin: { otherWin: {
title: _('Set Maximum Upload Speed'), title: _('Set Maximum Upload Speed'),
unit: _('Kib/s') unit: _('KiB/s')
} }
}) })
}, '-', { }, '-', {

View File

@ -106,7 +106,7 @@
columns: [{ columns: [{
id:'queue', id:'queue',
header: _('#'), header: '#',
width: 30, width: 30,
sortable: true, sortable: true,
renderer: queueRenderer, renderer: queueRenderer,

View File

@ -105,7 +105,7 @@ Deluge.preferences.PreferencesWindow = Ext.extend(Ext.Window, {
this.addButton(_('Close'), this.onClose, this); this.addButton(_('Close'), this.onClose, this);
this.addButton(_('Apply'), this.onApply, this); this.addButton(_('Apply'), this.onApply, this);
this.addButton(_('Ok'), this.onOk, this); this.addButton(_('OK'), this.onOk, this);
this.optionsManager = new Deluge.OptionsManager(); this.optionsManager = new Deluge.OptionsManager();
this.on('afterrender', this.onAfterRender, this); this.on('afterrender', this.onAfterRender, this);