[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);
this.addButton(_('Cancel'), this.onCancelClick, this);
this.addButton(_('Ok'), this.onOkClick, this);
this.addButton(_('OK'), this.onOkClick, this);
this.addEvents('save');
this.on('show', this.onShow, this);

View File

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

View File

@ -1,6 +1,6 @@
/*!
* Deluge.OtherLimitWindow.js
*
*
* Copyright (c) Damien Churchill 2009-2010 <damoxc@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
@ -36,7 +36,7 @@ Ext.ns('Deluge');
* @extends Ext.Window
*/
Deluge.OtherLimitWindow = Ext.extend(Ext.Window, {
layout: 'fit',
width: 210,
height: 100,
@ -70,7 +70,7 @@ Deluge.OtherLimitWindow = Ext.extend(Ext.Window, {
}
this.addButton(_('Cancel'), this.onCancelClick, this);
this.addButton(_('Ok'), this.onOkClick, this);
this.addButton(_('OK'), this.onOkClick, this);
this.afterMethod('show', this.doFocusField, this);
},

View File

@ -1,6 +1,6 @@
/*!
* Deluge.Sidebar.js
*
*
* Copyright (c) Damien Churchill 2009-2010 <damoxc@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
@ -78,7 +78,7 @@ Deluge.Sidebar = Ext.extend(Ext.Panel, {
deluge.ui.update();
});
this.add(panel);
this.doLayout();
this.panels[filter] = panel;
@ -87,7 +87,7 @@ Deluge.Sidebar = Ext.extend(Ext.Panel, {
deluge.ui.update();
}
if (!panel.list.getSelectionCount()) {
panel.list.select(0);
panel.list.select(0);
}
});
this.fireEvent('filtercreate', this, panel);

View File

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

View File

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

View File

@ -105,7 +105,7 @@ Deluge.preferences.PreferencesWindow = Ext.extend(Ext.Window, {
this.addButton(_('Close'), this.onClose, 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.on('afterrender', this.onAfterRender, this);