[WebUI] Small fixes to text labels

This commit is contained in:
Calum Lind 2014-09-04 10:41:48 +01:00
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

@ -1,6 +1,6 @@
/*! /*!
* Deluge.OtherLimitWindow.js * Deluge.OtherLimitWindow.js
* *
* Copyright (c) Damien Churchill 2009-2010 <damoxc@gmail.com> * Copyright (c) Damien Churchill 2009-2010 <damoxc@gmail.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
@ -36,7 +36,7 @@ Ext.ns('Deluge');
* @extends Ext.Window * @extends Ext.Window
*/ */
Deluge.OtherLimitWindow = Ext.extend(Ext.Window, { Deluge.OtherLimitWindow = Ext.extend(Ext.Window, {
layout: 'fit', layout: 'fit',
width: 210, width: 210,
height: 100, height: 100,
@ -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

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

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);