summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-29 03:44:42 +0300
committerAndrei Karas <akaras@inbox.ru>2011-03-29 03:44:42 +0300
commitd96214d5980d6adf7ff3e8ef4efc2d5c57aff6e9 (patch)
tree95fdd6592c653535763ec0b0f937f8e1d44a0bea
parent835db97c56850ad0ee9084c2b1f792f51006ae9b (diff)
downloadmanaplus-d96214d5980d6adf7ff3e8ef4efc2d5c57aff6e9.tar.gz
manaplus-d96214d5980d6adf7ff3e8ef4efc2d5c57aff6e9.tar.bz2
manaplus-d96214d5980d6adf7ff3e8ef4efc2d5c57aff6e9.tar.xz
manaplus-d96214d5980d6adf7ff3e8ef4efc2d5c57aff6e9.zip
Add translation for some strings in setup video tab.
Was missing calls to gettext.
-rw-r--r--src/gui/setup_video.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index 543d7aa8d..2f1b81b1d 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -163,7 +163,7 @@ public:
if (i >= getNumberOfElements() || i < 0)
return _("???");
- return SIZE_NAME[i];
+ return gettext(SIZE_NAME[i]);
}
};
@@ -188,7 +188,7 @@ public:
if (i >= getNumberOfElements() || i < 0)
return _("???");
- return OPENGL_NAME[i];
+ return gettext(OPENGL_NAME[i]);
}
};