mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -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
|
||||
#define COCKATRICE_CARD_PICTURE_LOADER_CACHE_METHOD_H
|
||||
#include <QCoreApplication>
|
||||
#include <QList>
|
||||
#include <QString>
|
||||
|
||||
|
|
@ -20,8 +21,9 @@ struct CacheMethodInfo
|
|||
static inline const QList<CacheMethodInfo> methods()
|
||||
{
|
||||
static QList<CacheMethodInfo> all = {
|
||||
{CacheMethod::NETWORK_CACHE, "Network Cache"},
|
||||
{CacheMethod::FILESYSTEM_CACHE, "Filesystem Cache"},
|
||||
{CacheMethod::NETWORK_CACHE, QCoreApplication::translate("CardPictureLoaderCacheMethod", "Network Cache")},
|
||||
{CacheMethod::FILESYSTEM_CACHE,
|
||||
QCoreApplication::translate("CardPictureLoaderCacheMethod", "Filesystem Cache")},
|
||||
};
|
||||
return all;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue