couple of bug fixes, add some strings to be passed through gettext in
the rendered html
This commit is contained in:
parent
480673c1d1
commit
8398fa91f5
File diff suppressed because one or more lines are too long
|
@ -6,9 +6,8 @@
|
||||||
<link rel="shortcut icon" href="$base/static/images/deluge-icon.png" type="image/png" />
|
<link rel="shortcut icon" href="$base/static/images/deluge-icon.png" type="image/png" />
|
||||||
<link rel="stylesheet" type="text/css" href="$base/template/static/css/mooui.css" />
|
<link rel="stylesheet" type="text/css" href="$base/template/static/css/mooui.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="$base/template_style.css" />
|
<link rel="stylesheet" type="text/css" href="$base/template_style.css" />
|
||||||
<script src="$base/static/mootools-1.2-core.js" type="text/javascript"></script>
|
<script src="$base/static/mootools-1.2.1-core-yc.js" type="text/javascript"></script>
|
||||||
<script src="$base/static/mootools-1.2-more.js" type="text/javascript"></script>
|
<script src="$base/static/mootools-1.2-more.js" type="text/javascript"></script>
|
||||||
<script src="$base/template/static/js/gears_init.js" type="text/javascript"></script>
|
|
||||||
<script src="$base/template/static/js/Rpc.js" type="text/javascript"></script>
|
<script src="$base/template/static/js/Rpc.js" type="text/javascript"></script>
|
||||||
<script src="$base/static/mooui.js" type="text/javascript"></script>
|
<script src="$base/static/mooui.js" type="text/javascript"></script>
|
||||||
<script src="$base/gettext.js" type="text/javascript"></script>
|
<script src="$base/gettext.js" type="text/javascript"></script>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<h3>Torrents</h3>
|
<h3>$_('Torrents')</h3>
|
||||||
<select size="8"/>
|
<select size="8"></select>
|
||||||
<div id="addButtons">
|
<div id="addButtons">
|
||||||
<button class="file">File</button>
|
<button class="file">$_('File')</button>
|
||||||
<button class="url">Url</button>
|
<button class="url">$_('Url')</button>
|
||||||
<button class="infohash">Infohash</button>
|
<button class="infohash">$_('Infohash')</button>
|
||||||
<button class="remove">Remove</button>
|
<button class="remove">$_('Remove')</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="tabs" class="moouiTabs"></div>
|
<div id="tabs" class="moouiTabs"></div>
|
||||||
<div id="buttons">
|
<div id="buttons">
|
||||||
<button class="cancel">Cancel</button>
|
<button class="cancel">$_('Cancel')</button>
|
||||||
<button class="add">Add</button>
|
<button class="add">$_('Add')</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -35,7 +35,6 @@ Deluge.Widgets.AddWindow = new Class({
|
||||||
this.torrents = this.content.getElement('select');
|
this.torrents = this.content.getElement('select');
|
||||||
this.torrents.addEvent('change', this.bound.onTorrentChanged);
|
this.torrents.addEvent('change', this.bound.onTorrentChanged);
|
||||||
this.torrentInfo = new Hash();
|
this.torrentInfo = new Hash();
|
||||||
|
|
||||||
this.tabs = new Widgets.Tabs(this.content.getElement('div.moouiTabs'));
|
this.tabs = new Widgets.Tabs(this.content.getElement('div.moouiTabs'));
|
||||||
this.filesTab = new Deluge.Widgets.AddTorrent.FilesTab();
|
this.filesTab = new Deluge.Widgets.AddTorrent.FilesTab();
|
||||||
this.tabs.addPage(this.filesTab);
|
this.tabs.addPage(this.filesTab);
|
||||||
|
|
Loading…
Reference in New Issue