summaryrefslogtreecommitdiffstats
path: root/tderandr
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-08-07 13:20:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-08-07 13:23:21 +0200
commit879b8a1c054f8dee6f7672c56b7bcac4f8b548aa (patch)
treea6fecb99253c30a0e92f74394b0e6719552197ce /tderandr
parent4da21068f8654d2dc57cc89417b489fe7b9a8c1a (diff)
downloadtdelibs-879b8a1c054f8dee6f7672c56b7bcac4f8b548aa.tar.gz
tdelibs-879b8a1c054f8dee6f7672c56b7bcac4f8b548aa.zip
Allow extraction of strings for rotations in tderandr
so that strings can be translated. This resolves issue #96. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 99ddb86155eff1e7f5d90e63fd432cc6571317aa)
Diffstat (limited to 'tderandr')
-rw-r--r--tderandr/libtderandr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tderandr/libtderandr.h b/tderandr/libtderandr.h
index 0e07ad96e..1bf38c0f5 100644
--- a/tderandr/libtderandr.h
+++ b/tderandr/libtderandr.h
@@ -35,10 +35,10 @@
#include <ksimpleconfig.h>
#include <tdelibs_export.h>
-#define ROTATION_0_DEGREES_STRING "0 degrees"
-#define ROTATION_90_DEGREES_STRING "90 degrees"
-#define ROTATION_180_DEGREES_STRING "180 degrees"
-#define ROTATION_270_DEGREES_STRING "270 degrees"
+#define ROTATION_0_DEGREES_STRING I18N_NOOP("0 degrees")
+#define ROTATION_90_DEGREES_STRING I18N_NOOP("90 degrees")
+#define ROTATION_180_DEGREES_STRING I18N_NOOP("180 degrees")
+#define ROTATION_270_DEGREES_STRING I18N_NOOP("270 degrees")
/**
* Simple API covering most of the uses of libtderandr.