mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-30 15:41:53 +03:00
Fix incorrect translation displayed after language change
It is expected in WebUI that the language change applies immediately (without a program restart) and this static caching prevents that.
This commit is contained in:
parent
5f165c4c00
commit
c896982efb
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ SearchHandler *SearchPluginManager::startSearch(const QString &pattern, const QS
|
||||||
|
|
||||||
QString SearchPluginManager::categoryFullName(const QString &categoryName)
|
QString SearchPluginManager::categoryFullName(const QString &categoryName)
|
||||||
{
|
{
|
||||||
static const QHash<QString, QString> categoryTable {
|
const QHash<QString, QString> categoryTable {
|
||||||
{"all", tr("All categories")},
|
{"all", tr("All categories")},
|
||||||
{"movies", tr("Movies")},
|
{"movies", tr("Movies")},
|
||||||
{"tv", tr("TV shows")},
|
{"tv", tr("TV shows")},
|
||||||
|
|
Loading…
Reference in a new issue