Correctly handle translation

Fixup of 07a85a1018
This commit is contained in:
Chocobo1 2017-08-06 17:08:14 +08:00
parent 1bfb8d35cd
commit 3e9311b096
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
2 changed files with 2 additions and 1 deletions

View File

@ -75,6 +75,7 @@ static const char *__TRANSLATIONS__[] = {
QT_TRANSLATE_NOOP("HttpServer", "Hard Disk"),
QT_TRANSLATE_NOOP("HttpServer", "Share ratio limit must be between 0 and 9998.")
QT_TRANSLATE_NOOP("HttpServer", "Seeding time limit must be between 0 and 525600 minutes.")
QT_TRANSLATE_NOOP("HttpServer", "Set location")
};
static const struct { const char *source; const char *comment; } __COMMENTED_TRANSLATIONS__[] = {

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>QBT_TR(Set location)QBT_TR[CONTEXT=TransferListWidget]</title>
<title>QBT_TR(Set location)QBT_TR[CONTEXT=HttpServer]</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
<script type="text/javascript" src="scripts/mootools-1.2-more.js" charset="utf-8"></script>