diff --git a/cockatrice/src/cardfilter.cpp b/cockatrice/src/cardfilter.cpp index 0ccb1086..ce72d794 100644 --- a/cockatrice/src/cardfilter.cpp +++ b/cockatrice/src/cardfilter.cpp @@ -1,47 +1,47 @@ #include "cardfilter.h" -const char *CardFilter::typeName(Type t) +const QString CardFilter::typeName(Type t) { switch (t) { case TypeAnd: - return "AND"; + return tr("AND", "Logical conjunction operator used in card filter"); case TypeOr: - return "OR"; + return tr("OR", "Logical disjunction operator used in card filter"); case TypeAndNot: - return "AND NOT"; + return tr("AND NOT", "Negated logical conjunction operator used in card filter"); case TypeOrNot: - return "OR NOT"; + return tr("OR NOT", "Negated logical disjunction operator used in card filter"); default: - return ""; + return QString(""); } } -const char *CardFilter::attrName(Attr a) +const QString CardFilter::attrName(Attr a) { switch (a) { case AttrName: - return "Name"; + return tr("Name"); case AttrType: - return "Type"; + return tr("Type"); case AttrColor: - return "Color"; + return tr("Color"); case AttrText: - return "Text"; + return tr("Text"); case AttrSet: - return "Set"; + return tr("Set"); case AttrManaCost: - return "Mana Cost"; + return tr("Mana Cost"); case AttrCmc: - return "CMC"; + return tr("CMC"); case AttrRarity: - return "Rarity"; + return tr("Rarity"); case AttrPow: - return "Power"; + return tr("Power"); case AttrTough: - return "Toughness"; + return tr("Toughness"); case AttrLoyalty: - return "Loyalty"; + return tr("Loyalty"); default: - return ""; + return QString(""); } } diff --git a/cockatrice/src/cardfilter.h b/cockatrice/src/cardfilter.h index b9b18b92..514ebd3e 100644 --- a/cockatrice/src/cardfilter.h +++ b/cockatrice/src/cardfilter.h @@ -1,10 +1,13 @@ #ifndef CARDFILTER_H #define CARDFILTER_H +#include #include -class CardFilter +class CardFilter : public QObject { + Q_OBJECT + public: enum Type { @@ -54,8 +57,8 @@ public: return a; } - static const char *typeName(Type t); - static const char *attrName(Attr a); + static const QString typeName(Type t); + static const QString attrName(Attr a); }; #endif diff --git a/cockatrice/src/filterbuilder.cpp b/cockatrice/src/filterbuilder.cpp index b3275b90..03a4632c 100644 --- a/cockatrice/src/filterbuilder.cpp +++ b/cockatrice/src/filterbuilder.cpp @@ -12,7 +12,7 @@ FilterBuilder::FilterBuilder(QWidget *parent) : QWidget(parent) filterCombo = new QComboBox; filterCombo->setObjectName("filterCombo"); for (int i = 0; i < CardFilter::AttrEnd; i++) - filterCombo->addItem(tr(CardFilter::attrName(static_cast(i))), QVariant(i)); + filterCombo->addItem(CardFilter::attrName(static_cast(i)), QVariant(i)); typeCombo = new QComboBox; typeCombo->setObjectName("typeCombo"); diff --git a/cockatrice/src/filtertree.h b/cockatrice/src/filtertree.h index 3045d4e1..043bc95c 100644 --- a/cockatrice/src/filtertree.h +++ b/cockatrice/src/filtertree.h @@ -54,18 +54,14 @@ public: { return (parent() != NULL) ? parent()->childIndex(this) : -1; } - virtual QString text() const + virtual const QString text() const { - return QString(textCStr()); + return QString(""); } virtual bool isLeaf() const { return false; } - virtual const char *textCStr() const - { - return ""; - } virtual void nodeChanged() const { if (parent() != NULL) @@ -126,7 +122,7 @@ public: const FilterItemList *findTypeList(CardFilter::Type type) const; FilterItemList *typeList(CardFilter::Type type); FilterTreeNode *parent() const; - const char *textCStr() const + const QString text() const { return CardFilter::attrName(attr); } @@ -154,7 +150,7 @@ public: } int termIndex(const QString &term) const; FilterTreeNode *termNode(const QString &term); - const char *textCStr() const + const QString text() const { return CardFilter::typeName(type); } @@ -190,14 +186,10 @@ public: { return p; } - QString text() const + const QString text() const { return term; } - const char *textCStr() const - { - return term.toStdString().c_str(); - } bool isLeaf() const { return true; @@ -263,9 +255,9 @@ public: FilterTreeNode *termNode(CardFilter::Attr attr, CardFilter::Type type, const QString &term); FilterTreeNode *termNode(const CardFilter *f); FilterTreeNode *attrTypeNode(CardFilter::Attr attr, CardFilter::Type type); - const char *textCStr() const + const QString text() const { - return "root"; + return QString("root"); } int index() const { diff --git a/cockatrice/src/filtertreemodel.cpp b/cockatrice/src/filtertreemodel.cpp index 29bf6b58..f01f7b4a 100644 --- a/cockatrice/src/filtertreemodel.cpp +++ b/cockatrice/src/filtertreemodel.cpp @@ -128,10 +128,7 @@ QVariant FilterTreeModel::data(const QModelIndex &index, int role) const case Qt::ToolTipRole: case Qt::StatusTipRole: case Qt::WhatsThisRole: - if (!node->isLeaf()) - return tr(node->textCStr()); - else - return node->text(); + return node->text(); case Qt::CheckStateRole: if (node->isEnabled()) return Qt::Checked; diff --git a/cockatrice/translations/cockatrice_en.ts b/cockatrice/translations/cockatrice_en.ts index be13c84b..8c02bad7 100644 --- a/cockatrice/translations/cockatrice_en.ts +++ b/cockatrice/translations/cockatrice_en.ts @@ -192,22 +192,22 @@ This is only saved for moderators and cannot be seen by the banned person. BetaReleaseChannel - + Beta Releases - + No reply received from the release update server. - + Invalid reply received from the release update server. - + No reply received from the file update server. @@ -215,36 +215,118 @@ This is only saved for moderators and cannot be seen by the banned person. CardDatabaseModel - + Name - + Sets - + Mana cost - + Card type - + P/T - + Color(s) + + CardFilter + + + AND + Logical conjunction operator used in card filter + + + + + OR + Logical disjunction operator used in card filter + + + + + AND NOT + Negated logical conjunction operator used in card filter + + + + + OR NOT + Negated logical disjunction operator used in card filter + + + + + Name + + + + + Type + + + + + Color + + + + + Text + + + + + Set + + + + + Mana Cost + + + + + CMC + + + + + Rarity + + + + + Power + + + + + Toughness + + + + + Loyalty + + + CardFrame @@ -664,6 +746,21 @@ This is only saved for moderators and cannot be seen by the banned person.Login + + + Server URL + + + + + Communication Port + + + + + Unique Server Name + + Connection Warning @@ -708,77 +805,82 @@ This is only saved for moderators and cannot be seen by the banned person. - + + General + + + + Game type - + &Password: - + Only &buddies can join - + Only &registered users can join - + Joining restrictions - + &Spectators can watch - + Spectators &need a password to watch - + Spectators can &chat - + Spectators can see &hands - + Spectators - + &Clear - + Create game - + Game information - + Error - + Server error. @@ -1095,37 +1197,42 @@ Make sure to enable the 'Token' set in the "Manage sets" dia - + &Creator name: - + + General + + + + &Game types - + at &least: - + at &most: - + Maximum player count - + Restrictions - + Filter games @@ -1391,12 +1498,12 @@ Make sure to enable the 'Token' set in the "Manage sets" dia DlgSettings - + Unknown Error loading card database - + Your card database is invalid. Cockatrice may not function correctly with an invalid database @@ -1407,7 +1514,7 @@ Would you like to change your database location setting? - + Your card database version is too old. This can cause problems loading card information or images @@ -1418,7 +1525,7 @@ Would you like to change your database location setting? - + Your card database did not finish loading Please file a ticket at http://github.com/Cockatrice/Cockatrice/issues with your cards.xml attached @@ -1427,21 +1534,21 @@ Would you like to change your database location setting? - + File Error loading your card database. Would you like to change your database location setting? - + Your card database was loaded but contains no cards. Would you like to change your database location setting? - + Unknown card database load status Please file a ticket at http://github.com/Cockatrice/Cockatrice/issues @@ -1450,59 +1557,59 @@ Would you like to change your database location setting? - - - + + + Error - + The path to your deck directory is invalid. Would you like to go back and set the correct path? - + The path to your card pictures directory is invalid. Would you like to go back and set the correct path? - + Settings - + General - + Appearance - + User Interface - + Deck Editor - + Chat - + Sound - + Shortcuts @@ -1529,9 +1636,9 @@ Would you like to change your database location setting? DlgUpdate - - - + + + Error @@ -1567,98 +1674,98 @@ Please visit the download page to update manually. - + No Update Available - + Cockatrice is up to date! - + You are already running the latest version available in the chosen release channel. - + Current version - + Selected release channel - - - - Update Available - - - - - - A new version of Cockatrice is available! - - - - - - New version - - - Released + Update Available - Changelog + A new version of Cockatrice is available! + + + + + + New version + + Released + + + + + + Changelog + + + + Do you want to update now? - + Unfortunately there are no download packages available for your operating system. You may have to build from source yourself. - + Please check the download page manually and visit the wiki for instructions on compiling. - + An error occurred while checking for updates: - + An error occurred while downloading an update: - + Cockatrice is unable to open the installer. - + Try to update manually by closing Cockatrice and running the installer. - + Download location @@ -1673,14 +1780,14 @@ You may have to build from source yourself. - - - + + + Update Error - + Installing... @@ -2023,7 +2130,7 @@ You may have to build from source yourself. MainWindow - + The server has reached its maximum user capacity, please check back later. @@ -2054,7 +2161,7 @@ You may have to build from source yourself. - + Invalid username. @@ -2194,184 +2301,184 @@ Will now login. - - + - + - - - - + + + + - - - - - - - + + + + + + + + Error - + Server timeout - + Failed Login - + Incorrect username or password. Please check your authentication information and try again. - + There is already an active session using this user name. Please close that session first and re-login. - - + + You are banned until %1. - - + + You are banned indefinitely. - + This server requires user registration. Do you want to register now? - + This server requires client ID's. Your client is either failing to generate an ID or you are running a modified client. Please close and reopen your client to try again. - + An internal error has occurred, please try closing and reopening your client and try again. If the error persists try updating your client to the most recent build and if need be contact your software provider. - + Account activation - + Server Full - + Unknown login error: %1 - - + + This usually means that your client version is out of date, and the server sent a reply your client doesn't understand. - + Your username must respect these rules: - + is %1 - %2 characters long - + can %1 contain lowercase characters - - - - + + + + NOT - + can %1 contain uppercase characters - + can %1 contain numeric characters - + can contain the following punctuation: %1 - + first character can %1 be a punctuation mark - + can not contain any of the following words: %1 - + can not match any of the following expressions: %1 - + You may only use A-Z, a-z, 0-9, _, ., and - in your username. - - - - + + + + Registration denied - + Registration is currently disabled on this server - + There is already an existing account with the same user name. - + It's mandatory to specify a valid email address when registering. - + Your client seems to be missing features this server requires for connection. @@ -2386,355 +2493,360 @@ This usually means that your client version is out of date, and the server sent - + + To update your client, go to 'Help -> Check for Client Updates'. + + + + Your account has not been activated yet. You need to provide the activation token received in the activation email. - + The email address provider used during registration has been blacklisted for use on this server. - + It appears you are attempting to register a new account on this server yet you already have an account registered with the email provided. This server restricts the number of accounts a user can register per address. Please contact the server operator for further assistance or to obtain your credential information. - + Password too short. - + Registration failed for a technical problem on the server. - + Unknown registration error: %1 - + Account activation failed - + Socket error: %1 - + You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server. Local version is %1, remote version is %2. - + Your Cockatrice client is obsolete. Please update your Cockatrice version. Local version is %1, remote version is %2. - + Connecting to %1... - + Registering to %1 as %2... - + Disconnected - + Connected, logging in at %1 - - - + + + Requesting forgot password to %1 as %2... - + &Connect... - + &Disconnect - + Start &local game... - + &Watch replay... - + &Deck editor - + &Full screen - + &Register to server... - + &Settings... - - + + &Exit - + A&ctions - + &Cockatrice - + C&ard Database - + Open custom image folder - + Open custom sets folder - + Add custom sets/cards - + Edit &tokens... - + &About Cockatrice - + &Tip of the Day - + Check for Client Updates - + View &debug log - + &Help - + Check for card updates... - + Card database - + Cockatrice is unable to load the card database. Do you want to update your card database now? If unsure or first time user, choose "Yes" - - + + Yes - - + + No - + Open settings - + New sets found - + %1 new set(s) found in the card database Set code(s): %2 Do you want to enable it/them? - + View sets - + Welcome - - - + + + Information - + A card database update is already running. - + Unable to run the card database updater: - + failed to start. - + crashed. - + timed out. - + write error. - + read error. - + unknown error. - + The card database updater exited with an error: %1 - + Update completed successfully. Cockatrice will now reload the card database. - + You can only import XML databases at this time. - - - + + + Forgot Password - + Your password has been reset successfully, you now may log in using the new credentials. - + Failed to reset user account password, please contact the server operator to reset your password. - + Activation request received, please check your email for an activation token. - - - - - + + + + + Load sets/cards - + &Manage sets... - + Hi! It seems like you're running this version of Cockatrice for the first time. All the sets in the card database have been enabled. Read more about changing the set order or disabling specific sets and consequent effects in the "Manage Sets" dialog. - + This server supports additional features that your client doesn't have. This is most likely not a problem, but this message might mean there is a new version of Cockatrice available or this server is running a custom or pre-release version. @@ -2742,18 +2854,18 @@ To update your client, go to Help -> Check for Updates. - + Selected file cannot be found. - + The new sets/cards have been added successfully. Cockatrice will now reload the card database. - + Sets/cards failed to import. @@ -2761,17 +2873,17 @@ Cockatrice will now reload the card database. MessageLogWidget - + The game has been closed. - + You have been kicked out of the game. - + %1 is now watching the game. @@ -2786,7 +2898,7 @@ Cockatrice will now reload the card database. - + The game has started. @@ -2835,9 +2947,14 @@ Cockatrice will now reload the card database. from the stack + + + %1 attaches %2 to %3's %4. + + - + a card @@ -2876,115 +2993,100 @@ Cockatrice will now reload the card database. %1 plays %2%3. + + + %1 is looking at the top %3 card(s) %2. + top card for singular, top %3 cards for plural + + + + + - + %1 turns %2 face-down. - + %1 turns %2 face-up. - + %1 has left the game (%2). - + %1 is not watching the game any more (%2). - + Untap - + Upkeep - + Draw - + First Main - + Beginning of Combat - + Declare Attackers - + Declare Blockers - + Combat Damage - + End of Combat - + Second Main - + End/Cleanup - + Unknown Phase - + %1's turn. - - - red - - - - - - - - yellow - - - - - - - - green - - - - - %1 is now keeping the top card %2 revealed. @@ -2996,32 +3098,32 @@ Cockatrice will now reload the card database. - + You are watching a replay of game #%1. - + %1 has joined the game. - + %1 is ready to start the game. - + %1 is not ready to start the game any more. - + %1 has locked their sideboard. - + %1 has unlocked their sideboard. @@ -3041,42 +3143,79 @@ Cockatrice will now reload the card database. - + + %1 places %2 %3 on %4 (now %5). + + + + + %1 removes %2 %3 from %4 (now %5). + + + + + red counter(s) + + + + + + + + yellow counter(s) + + + + + + + + green counter(s) + + + + + + + %1 shuffles %2. - + Heads - + Tails - + %1 flipped a coin. It landed as %2. - + %1 rolls a %2 with a %3-sided die. - + %1 draws %2 card(s). - + + + + - + %1 undoes their last draw. - + %1 undoes their last draw (%2). @@ -3141,12 +3280,12 @@ Cockatrice will now reload the card database. - + %1 takes a mulligan to %2. - + %1 draws their initial hand. @@ -3156,7 +3295,7 @@ Cockatrice will now reload the card database. - + %1 unattaches %2. @@ -3206,57 +3345,47 @@ Cockatrice will now reload the card database. - - %1 places %2 %3 counter(s) on %4 (now %5). - - - - - %1 removes %2 %3 counter(s) from %4 (now %5). - - - - + %1 taps their permanents. - + %1 untaps their permanents. - + %1 taps %2. - + %1 untaps %2. - + %1 sets counter %2 to %3 (%4%5). - + %1 sets %2 to not untap normally. - + %1 sets %2 to untap normally. - + %1 sets PT of %2 to %3. - + %1 sets annotation of %2 to %3. @@ -3266,52 +3395,47 @@ Cockatrice will now reload the card database. - - %1 is looking at the top %2 card(s) %3. - - - - + %1 stops looking at %2. - + %1 reveals %2 to %3. - + %1 reveals %2. - + %1 randomly reveals %2%3 to %4. - + %1 randomly reveals %2%3. - + %1 peeks at face down card #%2. - + %1 peeks at face down card #%2: %3. - + %1 reveals %2%3 to %4. - + %1 reveals %2%3. @@ -3319,79 +3443,90 @@ Cockatrice will now reload the card database. MessagesSettingsPage - + + Word1 Word2 Word3 + + + + Add message - + + Message: + Edit message + + + + Chat settings - + Custom alert words - + Enable chat mentions - + Enable mention completer - + In-game message macros - + Ignore chat room messages sent by unregistered users - + Ignore private messages sent by unregistered users - - + + Invert text color - + Enable desktop notifications for private messages - + Enable desktop notification for mentions - + Enable room message history on join - - + + (Color is hexadecimal) - + Separate words with a space, alphanumeric characters only @@ -3457,485 +3592,496 @@ Cockatrice will now reload the card database. Player - + Reveal top cards of library - + Number of cards: (max. %1) - + &View graveyard - + &View exile - + Player "%1" - - - - + + + + &Graveyard - - - - + + + + &Exile - + &Move hand to... - - - - + + + + &Top of library - - - - + + + + &Bottom of library - + &Move graveyard to... - - - - + + + + &Hand - + &Move exile to... - + &View library - + View &top cards of library... - + Reveal &library to... - + Reveal t&op cards to... - + &Always reveal top card - + O&pen deck in deck editor - + &View sideboard - + &Draw card - + D&raw cards... - + &Undo last draw - + Take &mulligan - + &Shuffle - + Play top card &face down - - - Move top cards to &graveyard... - - - - - Move top cards to &exile... - - - - - Put top card on &bottom - - - - - Put bottom card &in graveyard - - - - - &Reveal hand to... - - - - - Reveal r&andom card to... - - - - - Reveal random card to... - - - - - &Sideboard - - - - - &Library - - - - - &Counters - - - - - &Untap all permanents - - - R&oll die... + Move top card to grave&yard - &Create token... + Move top card to e&xile - C&reate another token + Move top cards to &graveyard... - Cr&eate predefined token + Move top cards to &exile... - S&ay + Put top card on &bottom + + + + + Put bottom card &in graveyard + + + + + &Reveal hand to... + + + + + Reveal r&andom card to... - C&ard + Reveal random card to... + + + + + &Sideboard + + + + + &Library - &All players + &Counters + + + + + &Untap all permanents - &Play + R&oll die... - &Hide + &Create token... - Play &Face Down + C&reate another token - - Toggle &normal untapping - - - - - &Peek at card face - - - - - &Clone - - - - - Attac&h to card... - - - - - Unattac&h - - - - - &Draw arrow... - - - - - &Increase power - - - - - &Decrease power - - - - - I&ncrease toughness - - - - - D&ecrease toughness - - - - - In&crease power and toughness - - - - - Dec&rease power and toughness - - - - - Set &power and toughness... - - - - - &Set annotation... - - - - - Red - - - - - Yellow - - - - - Green - - - - - X cards from the top of library... - - - - - - C&reate another %1 token - - - - - Create tokens - - - - - - - - - - Token: - - - - - Place card X cards from top of library - - - - - How many cards from the top of the deck should this card be placed: - - - - - View related cards - - - - - - Attach to - - - - - All tokens - - - - - View top cards of library + + Cr&eate predefined token + S&ay + + + + + C&ard + + + + + &All players + + + + + &Play + + + + + &Hide + + + + + Play &Face Down + + + + + Toggle &normal untapping + + + + + &Peek at card face + + + + + &Clone + + + + + Attac&h to card... + + + + + Unattac&h + + + + + &Draw arrow... + + + + + &Increase power + + + + + &Decrease power + + + + + I&ncrease toughness + + + + + D&ecrease toughness + + + + + In&crease power and toughness + + + + + Dec&rease power and toughness + + + + + Set &power and toughness... + + + + + Reset p&ower and toughness + + + + + &Set annotation... + + + + + Red + + + + + Yellow + + + + + Green + + + + + X cards from the top of library... + + + + + + C&reate another %1 token + + + + + Create tokens + + + + + + + Token: + + + + + Place card X cards from top of library + + + + + How many cards from the top of the deck should this card be placed: + + + + + View related cards + + + + + Attach to + + + + + All tokens + + + + + View top cards of library + + + + &Tap / Untap Turn sideways or back again - + T&urn Over Turn face up/face down - + &Add counter (%1) - + &Remove counter (%1) - + &Set counters (%1)... - + Number of cards: - + Draw cards - - - - - + + + + + Number: - + Move top cards to grave - + Move top cards to exile - + Roll die - + Number of sides: - + Set power/toughness - + Please enter the new PT: - + Set annotation - + Please enter the new annotation: - + Set counters @@ -3943,37 +4089,37 @@ Cockatrice will now reload the card database. QMenuBar - + Services - + Hide %1 - + Hide Others - + Show All - + Preferences... - + Quit %1 - + About %1 @@ -4002,17 +4148,17 @@ Cockatrice will now reload the card database. - + Maindeck - + Sideboard - + Tokens @@ -4109,12 +4255,12 @@ Cockatrice will now reload the card database. SequenceEdit - + Shortcut already in use - + Invalid key @@ -4150,13 +4296,13 @@ Cockatrice will now reload the card database. ShortcutsSettings - + Your configuration file contained invalid shortcuts. Please check your shortcut settings! - + The following shortcuts have been set to default: @@ -4206,27 +4352,27 @@ Please check your shortcut settings! SoundSettingsPage - + Enable &sounds - + Current sounds theme: - + Test system sound engine - + Sound settings - + Master volume @@ -4283,27 +4429,27 @@ Please check your shortcut settings! StableReleaseChannel - + Stable Releases - + No reply received from the release update server. - + Invalid reply received from the release update server. - + No reply received from the tag update server. - + Invalid reply received from the tag update server. @@ -4349,194 +4495,194 @@ Please check your shortcut settings! TabDeckEditor - + &Clear all filters - + Delete selected - + Deck &name: - + &Comments: - + Hash: - + &New deck - + &Load deck... - + &Save deck - + Save deck &as... - + Load deck from cl&ipboard... - + &Print deck... - + Search by card name - + Add to Deck - + Add to Sideboard - + Show Related cards - + Save deck to clipboard - + Annotated - + Not Annotated - + &Send deck to online service - + Create decklist (decklist.org) - + Analyze deck (deckstats.net) - + Analyze deck (tappedout.net) - + &Close - + Add card to &maindeck - + Add card to &sideboard - + &Remove row - + &Increment number - + &Decrement number - + &Deck Editor + + + + Card Info + + + + + + Deck + + - Card Info - - - - - - Deck - - - - - Filters - + &View - - - + + + Visible - - - + + + Floating - + Reset layout - + Deck: %1 @@ -4552,43 +4698,43 @@ Do you want to save the changes? - + Load deck - - - - - + + + + + Error - + The deck could not be saved. - - + + The deck could not be saved. Please check that the directory is writable and try again. - + Save deck - + There are no cards in your deck to be exported - + No deck was selected to be saved. @@ -5747,127 +5893,142 @@ Please refrain from engaging in this activity or further actions may be taken ag WndSets - + Move selected set to the top - + Move selected set up - + Move selected set down - + Move selected set to the bottom - + Search by set name, code, or type - + Default order - + Restore original art priority order - + Enable all sets - + Disable all sets - + Enable selected set(s) - + Disable selected set(s) - + Deck Editor - + Only cards in enabled sets will appear in the deck editor card list - + Card Art - + Image priority is decided in the following order - + The - + CUSTOM Folder - + Enabled Sets (Top to Bottom) - + Disabled Sets (Top to Bottom) - Warning: + Hints - - While the set list is sorted by any of the columns, custom art priority setting is disabled. + + Note - - To disable sorting click on the same column header again until this message disappears. + + Sorting by column allows you to find a set while not changing set priority. - + + To enable ordering again, click the column header until this message disappears. + + + + + Use the current sorting as the set priority instead + + + + + Sorts the set priority using the same column + + + + Manage sets - + Success - + The sets database has been saved successfully. @@ -5906,635 +6067,674 @@ Please refrain from engaging in this activity or further actions may be taken ag shortcutsTab - + Main Window - + Deck editor - + Local gameplay - + Watch replay - + Connect - + Register - + Full screen - + Settings - + Check for card updates - + Disconnect - + Exit - + Deck Editor - + Analyze deck - + Load deck (clipboard) - + Clear all filters - + New deck - + Clear selected filter - + Open custom pic folder - + Close - + Print deck - + Delete card - + Edit tokens - + Reset layout - + Add card - + Save deck - + Remove card - + Save deck as - + Load deck - - + + Counters - + Life - - - - - - - - - - - - - + + + + + + + + + + + + + Set - - - - - - - - - - - - + + + + + + + + + + + + Add - - - - - - - - - - - - + + + + + + + + + + + + Remove - + Red - + Green - + Yellow - + Storm - + W - + U - + B - + R - + G - + X - + Main Window | Deck Editor - + Power / Toughness - + Power and Toughness - + Add (+1/+1) - + Remove (-1/-1) - + + Reset + + + + Toughness - + Remove (-0/-1) - + Add (+0/+1) - + Power - + Remove (-1/-0) - + Add (+1/+0) - + Game Phases - + Untap - + Upkeep - - + Draw - + Main 1 - + Start combat - + Attack - + Block - + Damage - + End combat - + Main 2 - + End - + Next phase - + Next turn - + Playing Area - + + Move selected card to + + + + + Top cards of library + + + + + Gameplay | Draw | Move | View + + + + Manage sets - + Export deck - + Save deck (clip) - + Save deck (clip; no annotations) - + Tap / Untap Card - + Untap all - + Toggle untap - + Flip card - + Peek card - + Play card - + Attach card - + Unattach card - + Clone card - + Create token - + Create all related tokens - + Create another token - + Set annotation - + Phases | P/T | Playing Area - - Move card to - - - - + Bottom library - + Top library - - + + Graveyard - - + + Exile - + Hand - + + Play face down + + + + View - + Library - - Tops card of library - - - - + Sideboard - + Close recent view - + + Move top card to + + + + + Graveyard Once + + + + + Graveyard Multiple + + + + + Exile Once + + + + + Exile Multiple + + + + Game Lobby - + Load remote deck - + Load local deck - + Gameplay - + Draw arrow - + Leave game - + Remove local arrows - + Concede - + Roll dice - + Rotate view CW - + Shuffle library - + Rotate view CCW - + + Drawing + + + + Mulligan - + Draw card - + Draw cards - + Undo draw - + Always reveal top card - - Draw | Move | View | Gameplay - - - - + How to set custom shortcuts - + Restore all default shortcuts - + Clear all shortcuts diff --git a/oracle/translations/oracle_en.ts b/oracle/translations/oracle_en.ts index 883f9599..a65be73a 100644 --- a/oracle/translations/oracle_en.ts +++ b/oracle/translations/oracle_en.ts @@ -4,22 +4,22 @@ IntroPage - + Introduction - + This wizard will import the list of sets, cards, and tokens that will be used by Cockatrice. - + Language: - + Version: @@ -27,122 +27,127 @@ LoadSetsPage - + Source selection - + Please specify a source for the list of sets and cards. You can specify a URL address that will be downloaded or use an existing file from your computer. - + Download URL: - + Local file: - + Restore default URL - + Choose file... - + Load sets file - - Sets JSON file (*.json *.zip) + + Sets JSON file (%1) - - Sets JSON file (*.json) - - - - - - - - - + + + + + + Error - + The provided URL is not valid. - + Downloading (0MB) - + Please choose a file. - + Cannot open file '%1'. - + Downloading (%1MB) - + Network error: %1. - + Parsing file - + + Xz extraction failed. + + + + + Sorry, this version of Oracle does not support xz compressed files. + + + + Failed to open Zip archive: %1. - + Zip extraction failed: the Zip archive doesn't contain exactly one file. - + Zip extraction failed: %1. - + Sorry, this version of Oracle does not support zipped files. - + Do you want to try to download a fresh copy of the uncompressed file instead? - + The file was retrieved successfully, but it does not contain any sets data. @@ -150,48 +155,48 @@ LoadSpoilersPage - + Downloading (%1MB) - - + + Error - + Network error: %1. - + The provided URL is not valid. - + Downloading (0MB) - + Spoilers source selection - + Please specify a spoiler source. - + Download URL: - + Restore default URL @@ -199,48 +204,48 @@ LoadTokensPage - + Tokens source selection - + Please specify a source for the list of tokens. - + Download URL: - + Restore default URL - - + + Error - + The provided URL is not valid. - + Downloading (0MB) - + Downloading (%1MB) - + Network error: %1. @@ -248,7 +253,7 @@ OracleImporter - + Dummy set containing tokens @@ -256,12 +261,12 @@ OracleWizard - + Oracle Importer - + Save @@ -269,69 +274,69 @@ SaveSetsPage - - + + Error - + No set has been imported. - + Sets imported - + The following sets has been imported. Press "Save" to save the imported cards to the Cockatrice database. - + Save to the default path (recommended) - + &Save - + Import finished: %1 cards. - + %1: %2 cards imported - + Save card database - + XML; card database (*.xml) - + Success - + The card database has been saved successfully to %1 - + The file could not be saved to %1 @@ -339,37 +344,37 @@ SaveSpoilersPage - + Spoilers imported - + The spoilers file has been imported. Press "Save" to save the imported spoilers to the Cockatrice card database. - + Save to the default path (recommended) - + Save spoiler database - + XML; card database (*.xml) - + Error - + The file could not be saved to %1 @@ -377,48 +382,48 @@ SaveTokensPage - + Tokens imported - + The tokens has been imported. Press "Save" to save the imported tokens to the Cockatrice tokens database. - + Save to the default path (recommended) - + Save token database - + XML; token database (*.xml) - + Success - + The token database has been saved successfully to %1 - + Error - + The file could not be saved to %1