summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/resize.c
diff options
context:
space:
mode:
authorreggaemanu <reggaemanu@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-05 18:13:44 +0000
committerreggaemanu <reggaemanu@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-05 18:13:44 +0000
commit58badd1ead9ebc48a33735b1bdb35b502b2537ee (patch)
tree89a568295d7273e836ed9d1aef9454afa8b281af /beryl-plugins/src/resize.c
parent6e1b12dc273c8600402e1b928a245b1f5c923835 (diff)
downloadmarex-dev-58badd1ead9ebc48a33735b1bdb35b502b2537ee.tar.gz
marex-dev-58badd1ead9ebc48a33735b1bdb35b502b2537ee.tar.bz2
beryl-plugins: make all non-translatable strings translatable
git-svn-id: file:///beryl/trunk@1027 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/resize.c')
-rw-r--r--beryl-plugins/src/resize.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/beryl-plugins/src/resize.c b/beryl-plugins/src/resize.c
index 75ad9fd..69adf44 100644
--- a/beryl-plugins/src/resize.c
+++ b/beryl-plugins/src/resize.c
@@ -100,10 +100,10 @@ typedef enum _ResizeMode
} ResizeMode;
char *resizeModes[] = {
- "Normal",
- "Stretch",
- "Outline",
- "Filled Outline",
+ N_("Normal"),
+ N_("Stretch"),
+ N_("Outline"),
+ N_("Filled Outline")
};
#define RESIZE_MODE_DEFAULT ResizeModeNormal
@@ -1032,16 +1032,16 @@ static void resizeDisplayInitOptions (ResizeDisplay *rd)
o = &rd->opt[RESIZE_DISPLAY_OPTION_WARP_POINTER];
o->name = "warp_pointer";
- o->shortDesc = "Warp pointer when starting a resize with mouse initiate combo.";
- o->longDesc = "If this is set, the pointer will be warped to the "
- "closest corner when you press start a resize.";
+ o->shortDesc = N_("Warp pointer when starting a resize with mouse initiate combo.");
+ o->longDesc = N_("If this is set, the pointer will be warped to the "
+ "closest corner when you press start a resize.");
o->type = CompOptionTypeBool;
o->value.b = RESIZE_WARP_POINTER_DEFAULT;
o = &rd->opt[RESIZE_DISPLAY_OPTION_OPACITY];
o->name = "opacity";
- o->shortDesc = "Opacity";
- o->longDesc = "Opacity level of resizing windows";
+ o->shortDesc = N_("Opacity");
+ o->longDesc = N_("Opacity level of resizing windows");
o->type = CompOptionTypeInt;
o->value.i = RESIZE_OPACITY_DEFAULT;
o->rest.i.min = RESIZE_OPACITY_MIN;
@@ -1049,9 +1049,9 @@ static void resizeDisplayInitOptions (ResizeDisplay *rd)
o = &rd->opt[RESIZE_DISPLAY_OPTION_OPACIFY_MIN_OPACITY];
o->name = "opacify_min_opacity";
- o->shortDesc = "Minimum opacity for opacify";
+ o->shortDesc = N_("Minimum opacity for opacify");
o->longDesc =
- "Opacify only windows whose opacity is higher than this value";
+ N_("Opacify only windows whose opacity is higher than this value");
o->type = CompOptionTypeInt;
o->value.i = RESIZE_OPACIFY_MIN_OPACITY_DEFAULT;
o->rest.i.min = RESIZE_OPACIFY_MIN_OPACITY_MIN;
@@ -1059,18 +1059,18 @@ static void resizeDisplayInitOptions (ResizeDisplay *rd)
o = &rd->opt[RESIZE_DISPLAY_OPTION_SYNC_WINDOW];
o->name = "sync_window";
- o->shortDesc = "Repaints the window on each resize step";
- o->longDesc = "If this is set to true the window will repaint itself "
- "during resize, which may cause some lag.";
+ o->shortDesc = N_("Repaints the window on each resize step");
+ o->longDesc = N_("If this is set to true the window will repaint itself "
+ "during resize, which may cause some lag.");
o->type = CompOptionTypeBool;
o->value.b = RESIZE_SYNC_WINDOW_DEFAULT;
o = &rd->opt[RESIZE_DISPLAY_OPTION_MODE];
o->name = "resize_mode";
- o->shortDesc = "Resize Display Mode";
+ o->shortDesc = N_("Resize Display Mode");
o->longDesc =
- "Select between normal, stretched texture, outline and filled "
- "outline mode.";
+ N_("Select between normal, stretched texture, outline and filled "
+ "outline mode.");
o->type = CompOptionTypeString;
o->value.s = strdup (resizeModes[RESIZE_MODE_DEFAULT]);
o->rest.s.string = resizeModes;
@@ -1078,8 +1078,8 @@ static void resizeDisplayInitOptions (ResizeDisplay *rd)
o = &rd->opt[RESIZE_DISPLAY_OPTION_BORDER_COLOR];
o->name = "border_color";
- o->shortDesc = "Outline Color";
- o->longDesc = "Outline color for outline and filled outline mode";
+ o->shortDesc = N_("Outline Color");
+ o->longDesc = N_("Outline color for outline and filled outline mode");
o->type = CompOptionTypeColor;
o->value.c[0] = 0x2fff;
o->value.c[1] = 0x2fff;
@@ -1088,8 +1088,8 @@ static void resizeDisplayInitOptions (ResizeDisplay *rd)
o = &rd->opt[RESIZE_DISPLAY_OPTION_FILL_COLOR];
o->name = "fill_color";
- o->shortDesc = "Fill Color";
- o->longDesc = "Fill color for filled outline mode";
+ o->shortDesc = N_("Fill Color");
+ o->longDesc = N_("Fill color for filled outline mode");
o->type = CompOptionTypeColor;
o->value.c[0] = 0x2fff;
o->value.c[1] = 0x2fff;