1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-02 09:55:55 +00:00

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
parent b1304057ec
commit 61e61a1fd5
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

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 ..."),