summaryrefslogtreecommitdiff
path: root/src/gui/buyselldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 12:35:22 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 12:51:43 +0300
commita7c723b681ddefdcaa84cb9b16681c65818d7110 (patch)
tree3c7100a90db00c3eacc41977cdb5bbae99e6ca40 /src/gui/buyselldialog.cpp
parent04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (diff)
downloadplus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.gz
plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.bz2
plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.xz
plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.zip
add comments for translators
Diffstat (limited to 'src/gui/buyselldialog.cpp')
-rw-r--r--src/gui/buyselldialog.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/buyselldialog.cpp b/src/gui/buyselldialog.cpp
index ae031fffe..32e762c1d 100644
--- a/src/gui/buyselldialog.cpp
+++ b/src/gui/buyselldialog.cpp
@@ -35,6 +35,7 @@
BuySellDialog::DialogList BuySellDialog::dialogInstances;
BuySellDialog::BuySellDialog(const int npcId) :
+ // TRANSLATORS: shop window name
Window(_("Shop"), false, nullptr, "buysell.xml"),
gcn::ActionListener(),
mNpcId(npcId),
@@ -45,6 +46,7 @@ BuySellDialog::BuySellDialog(const int npcId) :
}
BuySellDialog::BuySellDialog(std::string nick) :
+ // TRANSLATORS: shop window name
Window(_("Shop"), false, nullptr, "buysell.xml"),
gcn::ActionListener(),
mNpcId(-1),
@@ -61,7 +63,13 @@ void BuySellDialog::init()
static const char *buttonNames[] =
{
- N_("Buy"), N_("Sell"), N_("Cancel"), nullptr
+ // TRANSLATORS: shop window button
+ N_("Buy"),
+ // TRANSLATORS: shop window button
+ N_("Sell"),
+ // TRANSLATORS: shop window button
+ N_("Cancel"),
+ nullptr
};
const int buttonPadding = getOption("buttonpadding", 10);
int x = buttonPadding;