diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-15 20:21:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-15 20:21:16 +0300 |
commit | 516d635b6cbce6e38cc3e4f227f6ab0b073925b9 (patch) | |
tree | 61f4e9eab9bae255375e94c29d4663b5d8f217c5 /src/gui | |
parent | 0e7b238a3794a9d2bb8dbf66adfe65bf6f1f4046 (diff) | |
download | manaplus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.gz manaplus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.bz2 manaplus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.xz manaplus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.zip |
Fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/tabs/debugwindowtabs.cpp | 6 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_video.h | 2 | ||||
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/widgets/tabs/debugwindowtabs.cpp b/src/gui/widgets/tabs/debugwindowtabs.cpp index c46954f20..761ee93e4 100644 --- a/src/gui/widgets/tabs/debugwindowtabs.cpp +++ b/src/gui/widgets/tabs/debugwindowtabs.cpp @@ -51,11 +51,11 @@ MapDebugTab::MapDebugTab(const Widget2 *const widget) : DebugTab(widget), // TRANSLATORS: debug window label - mMusicFileLabel(new Label(this, strprintf(_("Music:")))), + mMusicFileLabel(new Label(this, _("Music:"))), // TRANSLATORS: debug window label - mMapLabel(new Label(this, strprintf(_("Map:")))), + mMapLabel(new Label(this, _("Map:"))), // TRANSLATORS: debug window label - mMinimapLabel(new Label(this, strprintf(_("Minimap:")))), + mMinimapLabel(new Label(this, _("Minimap:"))), mTileMouseLabel(new Label(this, strprintf("%s (%d, %d)", // TRANSLATORS: debug window label _("Cursor:"), 0, 0))), diff --git a/src/gui/widgets/tabs/setup_video.h b/src/gui/widgets/tabs/setup_video.h index 9bff510bc..e1a94557e 100644 --- a/src/gui/widgets/tabs/setup_video.h +++ b/src/gui/widgets/tabs/setup_video.h @@ -68,7 +68,7 @@ class Setup_Video final : public SetupTab, Label *mFpsLabel; Slider *mAltFpsSlider; Label *mAltFpsLabel; -#if !defined(ANDROID) && !defined(__APPLE__) || !defined(__native_client__) +#if !defined(ANDROID) && !defined(__APPLE__) && !defined(__native_client__) Button *mDetectButton; #endif TextDialog *mDialog; diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index 5bd7da12e..cefeaca7b 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -264,6 +264,10 @@ ItemAmountWindow::ItemAmountWindow(const Usage usage, // TRANSLATORS: amount window message setCaption(_("Select amount of items to send.")); break; + case CraftAdd: + // TRANSLATORS: amount window message + setCaption(_("Select amount of items to craft.")); + break; #endif case CartAdd: // TRANSLATORS: amount window message |