mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 06:02:29 -06:00
WebUI: Improve translation macro.
Now we use QBT_TR(translatable string)QBT_TR.
This commit is contained in:
@@ -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 local torrent)</title>
|
||||
<title>QBT_TR(Download local torrent)QBT_TR</title>
|
||||
<link rel="stylesheet" href="css/style.css" type="text/css" />
|
||||
<link rel="stylesheet" href="css/Window.css" type="text/css" />
|
||||
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
|
||||
@@ -16,7 +16,7 @@ function stateChangeHandler() {
|
||||
if (this.responseText != "") {
|
||||
alert(this.responseText);
|
||||
} else {
|
||||
alert("_(Upload Failed!)");
|
||||
alert("QBT_TR(Upload Failed!)QBT_TR");
|
||||
}
|
||||
}
|
||||
$('upload_spinner').style.display = "none";
|
||||
@@ -66,7 +66,7 @@ window.addEvent('load', function() {
|
||||
<input type="file" id="fileselect" name="fileselect[]" multiple="multiple" />
|
||||
</div>
|
||||
<div id="submitbutton" style="margin-top: 30px;">
|
||||
<button type="submit" style="font-size: 1em;">_(Upload Torrents)</button>
|
||||
<button type="submit" style="font-size: 1em;">QBT_TR(Upload Torrents)QBT_TR</button>
|
||||
</div>
|
||||
</form>
|
||||
<div id="upload_spinner" class="mochaSpinner"></div>
|
||||
|
||||
Reference in New Issue
Block a user