mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-08 21:04:26 +00:00
Rename variables
Variable name should not start with underscore as C++ standard stated it is reserved.
This commit is contained in:
parent
b1304057ec
commit
61e61a1fd5
@ -32,7 +32,7 @@
|
|||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
// Additional translations for Web UI
|
// Additional translations for Web UI
|
||||||
static const char *__TRANSLATIONS__[] = {
|
const char *QBT_WEBUI_TRANSLATIONS[] = {
|
||||||
QT_TRANSLATE_NOOP("HttpServer", "Logout"),
|
QT_TRANSLATE_NOOP("HttpServer", "Logout"),
|
||||||
QT_TRANSLATE_NOOP("HttpServer", "Exit qBittorrent"),
|
QT_TRANSLATE_NOOP("HttpServer", "Exit qBittorrent"),
|
||||||
QT_TRANSLATE_NOOP("HttpServer", "Download Torrents from their URLs or Magnet links"),
|
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")
|
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", "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", "Monday", "Schedule the use of alternative rate limits on ..."),
|
||||||
QT_TRANSLATE_NOOP3("HttpServer", "Tuesday", "Schedule the use of alternative rate limits on ..."),
|
QT_TRANSLATE_NOOP3("HttpServer", "Tuesday", "Schedule the use of alternative rate limits on ..."),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user