Rename variables

Variable name should not start with underscore as C++ standard stated it
is reserved.
This commit is contained in:
Chocobo1 2018-05-11 20:09:11 +08:00 committed by sledgehammer999
parent 8007971a53
commit 6cfeefe054
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -32,7 +32,7 @@
#include <QObject>
// Additional translations for Web UI
static const char *__TRANSLATIONS__[] = {
const char *QBT_WEBUI_TRANSLATIONS[] = {
QT_TRANSLATE_NOOP("HttpServer", "Logout"),
QT_TRANSLATE_NOOP("HttpServer", "Exit qBittorrent"),
QT_TRANSLATE_NOOP("HttpServer", "Download Torrents from their URLs or Magnet links"),
@ -81,7 +81,7 @@ static const char *__TRANSLATIONS__[] = {
QT_TRANSLATE_NOOP("HttpServer", "Rename torrent")
};
static const struct { const char *source; const char *comment; } __COMMENTED_TRANSLATIONS__[] = {
const struct { const char *source; const char *comment; } QBT_WEBUI_COMMENTED_TRANSLATIONS[] = {
QT_TRANSLATE_NOOP3("HttpServer", "Other...", "Save Files to: Watch Folder / Default Folder / Other..."),
QT_TRANSLATE_NOOP3("HttpServer", "Monday", "Schedule the use of alternative rate limits on ..."),
QT_TRANSLATE_NOOP3("HttpServer", "Tuesday", "Schedule the use of alternative rate limits on ..."),