mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
tr() strings
Took 1 minute Took 6 seconds
This commit is contained in:
parent
c4627bda32
commit
9314d4ab5c
1 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
#ifndef COCKATRICE_CARD_PICTURE_LOADER_CACHE_METHOD_H
|
#ifndef COCKATRICE_CARD_PICTURE_LOADER_CACHE_METHOD_H
|
||||||
#define COCKATRICE_CARD_PICTURE_LOADER_CACHE_METHOD_H
|
#define COCKATRICE_CARD_PICTURE_LOADER_CACHE_METHOD_H
|
||||||
|
#include <QCoreApplication>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
|
@ -20,8 +21,9 @@ struct CacheMethodInfo
|
||||||
static inline const QList<CacheMethodInfo> methods()
|
static inline const QList<CacheMethodInfo> methods()
|
||||||
{
|
{
|
||||||
static QList<CacheMethodInfo> all = {
|
static QList<CacheMethodInfo> all = {
|
||||||
{CacheMethod::NETWORK_CACHE, "Network Cache"},
|
{CacheMethod::NETWORK_CACHE, QCoreApplication::translate("CardPictureLoaderCacheMethod", "Network Cache")},
|
||||||
{CacheMethod::FILESYSTEM_CACHE, "Filesystem Cache"},
|
{CacheMethod::FILESYSTEM_CACHE,
|
||||||
|
QCoreApplication::translate("CardPictureLoaderCacheMethod", "Filesystem Cache")},
|
||||||
};
|
};
|
||||||
return all;
|
return all;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue