mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Web UI: Complete translatable strings
This commit is contained in:
parent
c5ce99ebec
commit
dcdb319653
@ -241,7 +241,7 @@ void AbstractWebApplication::translateDocument(QString& data)
|
||||
"HttpServer", "confirmDeletionDlg", "TrackerList", "TorrentFilesModel",
|
||||
"options_imp", "Preferences", "TrackersAdditionDlg", "ScanFoldersModel",
|
||||
"PropTabBar", "TorrentModel", "downloadFromURL", "MainWindow", "misc",
|
||||
"StatusBar"
|
||||
"StatusBar", "AboutDlg", "about", "PeerListWidget"
|
||||
};
|
||||
const size_t context_count = sizeof(contexts) / sizeof(contexts[0]);
|
||||
int i = 0;
|
||||
|
@ -36,13 +36,12 @@ static const char *__TRANSLATIONS__[] = {
|
||||
QT_TRANSLATE_NOOP("HttpServer", "File"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Edit"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Help"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Logout"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Download Torrents from their URL or Magnet link"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Only one link per line"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Download local torrent"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Torrent files were correctly added to download list."),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Point to torrent file"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Download"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Are you sure you want to delete the selected torrents from the transfer list and hard disk?"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Are you sure you want to delete the selected torrents from the transfer list?"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Download rate limit must be greater than 0 or disabled."),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Upload rate limit must be greater than 0 or disabled."),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Maximum number of connections limit must be greater than 0 or disabled."),
|
||||
@ -65,8 +64,23 @@ static const char *__TRANSLATIONS__[] = {
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Invalid Username or Password."),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Password"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Login"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "qBittorrent web User Interface"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Upload Failed!")
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Upload Failed!"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Original authors"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Upload limit:"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Download limit:"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Apply"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Add"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Upload Torrents"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Use a different port for DHT and BitTorrent"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "DHT port:"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "All"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Downloading"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Seeding"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Completed"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Resumed"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Paused"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Active"),
|
||||
QT_TRANSLATE_NOOP("HttpServer", "Inactive")
|
||||
};
|
||||
|
||||
static const struct { const char *source; const char *comment; } __COMMENTED_TRANSLATIONS__[] = {
|
||||
|
@ -1,8 +1,7 @@
|
||||
<img src="images/skin/mascot.png" align="right"></img>
|
||||
<p>qBittorrent ${VERSION} QBT_TR(Web UI)QBT_TR</p>
|
||||
<p>Copyright (c) 2011-2015 The qBittorrent project</p>
|
||||
<p>Homepage: <a href="http://www.qbittorrent.org">http://www.qbittorrent.org</a></p>
|
||||
<p>QBT_TR(Home Page: )QBT_TR <a href="http://www.qbittorrent.org">http://www.qbittorrent.org</a></p>
|
||||
|
||||
<h3>Original authors</h3>
|
||||
<h3>QBT_TR(Original authors)QBT_TR</h3>
|
||||
<a href="mailto:ishanarora@gmail.com">Ishan Arora</a>, <a href="mailto:ank.iitd@gmail.com">Ankit Gupta</a>, <a href="mailto:shikhar.ap@gmail.com">Chandan Shikhar Dua</a> and <a href="mailto:swapnil.iitd@gmail.com">Swapnil Kumar</a>.
|
||||
|
||||
|
@ -363,7 +363,7 @@ initializeWindows = function() {
|
||||
new Event(e).stop();
|
||||
new MochaUI.Window({
|
||||
id: 'aboutpage',
|
||||
title: 'About',
|
||||
title: 'QBT_TR(About)QBT_TR',
|
||||
loadMethod: 'xhr',
|
||||
contentURL: 'about.html',
|
||||
width: 650,
|
||||
|
Loading…
Reference in New Issue
Block a user