- Initial support for Web UI internationalization !

- Updated french translation
This commit is contained in:
Christophe Dumez
2009-11-23 12:57:16 +00:00
parent 87f93a7a1d
commit b1bbbd79c4
66 changed files with 4228 additions and 1655 deletions

View File

@@ -11,7 +11,7 @@
<h3>About</h3>
<img src="../images/mascot.png" align="right"></img>
<p>qBittorrent WebUI version 1.0</p>
<p>qBittorrent WebUI</p>
<p>Copyright (c) 2008 by Christopher Dumez</p>
<p>Homepage : http://www.qbittorrent.com</p>

View File

@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Download from URL</title>
<title>_(Download from URL)</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<link rel="stylesheet" href="css/mocha.css" type="text/css" />
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
@@ -10,8 +10,8 @@
</head>
<body>
<center>
<h1 class="vcenter"><img class="vcenter" title="Download from URL" src="images/skin/url.png"/>Download Torrents from their URL or Magnet link</h1>
<textarea name="list" id="urls" rows="10" cols="1"></textarea><p>Only one link per line</p><a id=downButton>Download</a>
<h1 class="vcenter"><img class="vcenter" title="Download from URL" src="images/skin/url.png"/>_(Download Torrents from their URL or Magnet link)</h1>
<textarea name="list" id="urls" rows="10" cols="1"></textarea><p>_(Only one link per line)</p><a id=downButton>_(Download)</a>
</center>
</body>
</html>

View File

@@ -26,32 +26,32 @@
<div id="desktopNavbar">
<ul>
<li>
<a class="returnFalse">File</a>
<a class="returnFalse">_(File)</a>
<ul>
<li><a id="downloadLink">Download from URL</a></li>
<li><a id="uploadLink">Download local torrent</a></li>
<li><a id="uploadLink">_(Open torrent)</a></li>
<li><a id="downloadLink">_(Download from URL)</a></li>
</ul>
</li>
<li>
<a class="returnFalse">Edit</a>
<a class="returnFalse">_(Edit)</a>
<ul>
<li><a id="resumeAllLink">Start All</a></li>
<li><a id="pauseAllLink">Pause All</a></li>
<li><a id="recheckAllLink">Recheck All</a></li>
<li class="divider"><a id="resumeLink">Start</a></li>
<li><a id="pauseLink">Pause</a></li>
<li><a id="recheckLink">Recheck</a></li>
<li class="divider"><a id="deleteLink">Delete</a></li>
<li><a id="deletePermLink">Delete from HD</a></li>
<li><a id="resumeAllLink">_(Start All)</a></li>
<li><a id="pauseAllLink">_(Pause All)</a></li>
<li class="divider"><a id="resumeLink">_(Start)</a></li>
<li><a id="pauseLink">_(Pause)</a></li>
<li><a id="recheckLink">_(Force recheck)</a></li>
<li class="divider"><a id="deleteLink">_(Delete)</a></li>
<li><a id="deletePermLink">_(Delete from HD)</a></li>
</ul>
</li>
<li>
<a class="returnFalse">Help</a>
<a class="returnFalse">_(Help)</a>
<ul>
<li><a id="bugLink">Report a bug</a></li>
<li><a id="siteLink">Visit Website</a></li>
<li><a id="docsLink">Documentation</a></li>
<li><a id="aboutLink">About</a></li>
<li><a id="bugLink">_(Report a bug)</a></li>
<li><a id="siteLink">_(Visit Website)</a></li>
<li><a id="docsLink">_(Documentation)</a></li>
<li><a id="aboutLink">_(About)</a></li>
</ul>
</li>
</ul>
@@ -75,11 +75,11 @@
<table>
<tr><td id="Filters">
<ul>
<li><a href="#" onclick="setFilter('all');"><img src="images/oxygen/folder.png"/>All</li>
<li><a href="#" onclick="setFilter('downloading');"><img src="images/skin/downloading.png"/>Downloading</li>
<li><a href="#" onclick="setFilter('completed');"><img src="images/skin/seeding.png"/>Completed</li>
<li><a href="#" onclick="setFilter('active');"><img src="images/oxygen/draw-triangle2.png"/>Active</li>
<li><a href="#" onclick="setFilter('inactive');"><img src="images/oxygen/draw-rectangle.png"/>Inactive</li>
<li><a href="#" onclick="setFilter('all');"><img src="images/oxygen/folder.png"/>_(All)</li>
<li><a href="#" onclick="setFilter('downloading');"><img src="images/skin/downloading.png"/>_(Downloading)</li>
<li><a href="#" onclick="setFilter('completed');"><img src="images/skin/seeding.png"/>_(Completed)</li>
<li><a href="#" onclick="setFilter('active');"><img src="images/oxygen/draw-triangle2.png"/>_(Active)</li>
<li><a href="#" onclick="setFilter('inactive');"><img src="images/oxygen/draw-rectangle.png"/>_(Inactive)</li>
</ul>
</td>
<td id="Transfers">
@@ -87,16 +87,16 @@
<thead>
<tr>
<th></th>
<th>Name</th>
<th>_(Name)</th>
<th id='prioHeader'>#</th>
<th>Size</th>
<th style="width: 90px;">Done</th>
<th>Seeds</th>
<th>Peers</th>
<th>Down Speed</th>
<th>Up Speed</th>
<th>ETA</th>
<th>Ratio</th>
<th>_(Size)</th>
<th style="width: 90px;">_(Done)</th>
<th>_(Seeds)</th>
<th>_(Peers)</th>
<th>_(Down Speed)</th>
<th>_(Up Speed)</th>
<th>_(ETA)</th>
<th>_(Ratio)</th>
</tr>
</thead>

View File

@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Upload local torrent file</title>
<title>_(Download local torrent)</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<link rel="stylesheet" href="css/mocha.css" type="text/css" />
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
@@ -16,10 +16,10 @@ function showSuccess() {
</head>
<body>
<center>
<h1 class="vcenter"><img class="vcenter" title="Download local torrent" src="images/skin/open.png"/>Download local torrent</h1>
<h1 class="vcenter"><img class="vcenter" title="Download local torrent" src="images/skin/open.png"/>_(Download local torrent)</h1>
<span style="padding: 10px;" class="invisible" id="successMessage">
<br/><br/>
Torrent files were correctly uploaded.
_(Torrent files were correctly added to download list.)
</span>
<iframe src="uploadframe.html" width="100%" frameborder="0" style="padding: 10px;" id="myiframe">
<p>Your Web browser does not support iframes</p>

View File

@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Upload local torrent file</title>
<title>_(Download local torrent)</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<link rel="stylesheet" href="css/mocha.css" type="text/css" />
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
@@ -21,8 +21,8 @@ function submitForm(form) {
<body>
<form action="/command/upload" enctype="multipart/form-data" method="post" name="uploadForm">
<input type="file" name="torrentfile" id="torrentfile" size="40"/><p>Point to torrent file</p><!--<input type="submit" value="Download"/> -->
<a id="upButton" onclick="javascript:submitForm();">Download</a>
<input type="file" name="torrentfile" id="torrentfile" size="40"/><p>_(Point to torrent file)</p><!--<input type="submit" value="Download"/> -->
<a id="upButton" onclick="javascript:submitForm();">_(Download)</a>
</form>
</body>
</html>