mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
localize card links, add_link, remove_links
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
//+----------------------------------------------------------------------------+
|
||||
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
|
||||
//| Copyright: (C) Twan van Laarhoven and the other MSE developers |
|
||||
//| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
//+----------------------------------------------------------------------------+
|
||||
|
||||
// ----------------------------------------------------------------------------- : Includes
|
||||
|
||||
#include <util/prec.hpp>
|
||||
#include <data/card_link.hpp>
|
||||
|
||||
// ----------------------------------------------------------------------------- : CardLink
|
||||
|
||||
CardLink::CardLink() {}
|
||||
|
||||
String CardLink::name() {
|
||||
return selected.get() + _(" // ") + linked.get();
|
||||
}
|
||||
|
||||
IMPLEMENT_REFLECTION_NO_GET_MEMBER(CardLink) {
|
||||
REFLECT_LOCALIZED(selected);
|
||||
REFLECT_LOCALIZED(linked);
|
||||
}
|
||||
Reference in New Issue
Block a user