summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js')
-rw-r--r--deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js22
1 files changed, 9 insertions, 13 deletions
diff --git a/deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js b/deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js
index a259529d3..7c306ba27 100644
--- a/deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js
+++ b/deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js
@@ -1,6 +1,6 @@
/*!
* Deluge.preferences.EncryptionPage.js
- *
+ *
* Copyright (c) Damien Churchill 2009-2010 <damoxc@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -39,12 +39,12 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
border: false,
title: _('Encryption'),
-
+
initComponent: function() {
Deluge.preferences.Encryption.superclass.initComponent.call(this);
var optMan = deluge.preferences.getOptionsManager();
-
+
var fieldset = this.add({
xtype: 'fieldset',
border: false,
@@ -54,7 +54,8 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
width: 300
});
optMan.bind('enc_in_policy', fieldset.add({
- fieldLabel: _('Inbound'),
+ fieldLabel: _('Incoming:'),
+ labelSeparator : '',
mode: 'local',
width: 150,
store: new Ext.data.ArrayStore({
@@ -71,7 +72,8 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
displayField: 'text'
}));
optMan.bind('enc_out_policy', fieldset.add({
- fieldLabel: _('Outbound'),
+ fieldLabel: _('Outgoing:'),
+ labelSeparator : '',
mode: 'local',
width: 150,
store: new Ext.data.SimpleStore({
@@ -88,7 +90,8 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
displayField: 'text'
}));
optMan.bind('enc_level', fieldset.add({
- fieldLabel: _('Level'),
+ fieldLabel: _('Level:'),
+ labelSeparator : '',
mode: 'local',
width: 150,
store: new Ext.data.SimpleStore({
@@ -104,12 +107,5 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
valueField: 'id',
displayField: 'text'
}));
- optMan.bind('enc_prefer_rc4', fieldset.add({
- xtype: 'checkbox',
- name: 'enc_prefer_rc4',
- height: 40,
- hideLabel: true,
- boxLabel: _('Encrypt entire stream')
- }));
}
});