summaryrefslogtreecommitdiff
path: root/src/utils/booleanoptions.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 17:06:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 17:06:17 +0300
commit6f475537cb5e12f7088a401c4fb5b583bbabc580 (patch)
tree72d3fb579463bf55382a4e2469a9838b96249fed /src/utils/booleanoptions.h
parente70704f2b1609b49319e34f466afaf4454d92382 (diff)
downloadplus-6f475537cb5e12f7088a401c4fb5b583bbabc580.tar.gz
plus-6f475537cb5e12f7088a401c4fb5b583bbabc580.tar.bz2
plus-6f475537cb5e12f7088a401c4fb5b583bbabc580.tar.xz
plus-6f475537cb5e12f7088a401c4fb5b583bbabc580.zip
Move boolean_options define into separate file.
Diffstat (limited to 'src/utils/booleanoptions.h')
-rw-r--r--src/utils/booleanoptions.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/utils/booleanoptions.h b/src/utils/booleanoptions.h
new file mode 100644
index 000000000..572949c8e
--- /dev/null
+++ b/src/utils/booleanoptions.h
@@ -0,0 +1,30 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2014 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef UTILS_BOOLEANOPTIONS_H
+#define UTILS_BOOLEANOPTIONS_H
+
+#include "utils/gettext.h"
+
+// TRANSLATORS: chat option changed message
+#define BOOLEAN_OPTIONS _("Options to /%s are \"yes\", \"no\", \"true\", "\
+"\"false\", \"1\", \"0\".")
+
+#endif // UTILS_BOOLEANOPTIONS_H