From 3e9311b09655e091ccba62186efb113884da2c50 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 6 Aug 2017 17:08:14 +0800 Subject: [PATCH] Correctly handle translation Fixup of 07a85a10187a4684afb342b31cbc38da9f78a183 --- src/webui/extra_translations.h | 1 + src/webui/www/public/setlocation.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webui/extra_translations.h b/src/webui/extra_translations.h index a634d0f60..7048c085f 100644 --- a/src/webui/extra_translations.h +++ b/src/webui/extra_translations.h @@ -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__[] = { diff --git a/src/webui/www/public/setlocation.html b/src/webui/www/public/setlocation.html index ddc08a231..94a171ca8 100644 --- a/src/webui/www/public/setlocation.html +++ b/src/webui/www/public/setlocation.html @@ -2,7 +2,7 @@ - QBT_TR(Set location)QBT_TR[CONTEXT=TransferListWidget] + QBT_TR(Set location)QBT_TR[CONTEXT=HttpServer]