WebUI: Improve translation macro.

Now we use QBT_TR(translatable string)QBT_TR.
This commit is contained in:
Vladimir Golovnev (Glassez)
2014-12-17 14:58:32 +03:00
parent f43d8f1139
commit d80a14a2e1
21 changed files with 272 additions and 272 deletions

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