[beryl-commits] r1501 - trunk/beryl-plugins/src
reggaemanu at server.beryl-project.org
reggaemanu at server.beryl-project.org
Sat Dec 2 23:35:27 CET 2006
Author: reggaemanu
Date: 2006-12-02 23:35:08 +0100 (Sat, 02 Dec 2006)
New Revision: 1501
Modified:
trunk/beryl-plugins/src/3d.c
Log:
plugins: make 3d plugin translatable
Modified: trunk/beryl-plugins/src/3d.c
===================================================================
--- trunk/beryl-plugins/src/3d.c 2006-12-02 16:28:35 UTC (rev 1500)
+++ trunk/beryl-plugins/src/3d.c 2006-12-02 22:35:08 UTC (rev 1501)
@@ -757,11 +757,11 @@
o = &tds->opt[TD_SCREEN_OPTION_SPACE];
o->name = "space";
- o->shortDesc = "Space between windows";
+ o->shortDesc = N_("Space between windows");
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
- o->longDesc = "Change the space between the windows.";
+ o->longDesc = N_("Change the space between the windows.");
o->type = CompOptionTypeFloat;
o->value.f = TD_SPACE_DEFAULT;
o->rest.f.min = TD_SPACE_MIN;
@@ -770,11 +770,11 @@
o = &tds->opt[TD_SCREEN_OPTION_SPEED];
o->name = "speed";
- o->shortDesc = "3D animation speed";
+ o->shortDesc = N_("3D animation speed");
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
- o->longDesc = "Change the speed of the 3D animation.";
+ o->longDesc = N_("Change the speed of the 3D animation.");
o->type = CompOptionTypeFloat;
o->value.f = TD_SPEED_DEFAULT;
o->rest.f.min = TD_SPEED_MIN;
@@ -783,31 +783,31 @@
o = &tds->opt[TD_SCREEN_OPTION_CREATE_MIPMAPS];
o->name = "mipmaps";
- o->shortDesc = "create mipmaps";
+ o->shortDesc = N_("create mipmaps");
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
- o->longDesc = "Create mipmaps.";
+ o->longDesc = N_("Create mipmaps.");
o->type = CompOptionTypeBool;
o->value.f = TD_CREATE_MIPMAPS_DEFAULT;
o = &tds->opt[TD_SCREEN_OPTION_DISABLE_BACKFACE_CULLING];
o->name = "noculling";
- o->shortDesc = "Disable Backface Culling";
+ o->shortDesc = N_("Disable Backface Culling");
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
- o->longDesc = "Disable Backface Culling.";
+ o->longDesc = N_("Disable Backface Culling.");
o->type = CompOptionTypeBool;
o->value.f = TD_DISABLE_BACKFACE_CULLING_DEFAULT;
o = &tds->opt[TD_SCREEN_OPTION_DISABLE_CAPS_IN_INSIDE_CUBE];
o->name = "nocaps";
- o->shortDesc = "Disable caps in inside cube";
+ o->shortDesc = N_("Disable caps in inside cube");
o->group = N_("");
o->subGroup = N_("");
o->displayHints = "";
- o->longDesc = "Disable cube caps when inside cube mode is used.";
+ o->longDesc = N_("Disable cube caps when inside cube mode is used.");
o->type = CompOptionTypeBool;
o->value.f = TD_DISABLE_CAPS_IN_INSIDE_CUBE_DEFAULT;
}
@@ -1022,8 +1022,8 @@
static CompPluginVTable tdVTable = {
"3d",
- "A 3D world",
- "Windows live in a 3D world.",
+ N_("A 3D world"),
+ N_("Windows live in a 3D world."),
tdInit,
tdFini,
tdInitDisplay,
@@ -1041,7 +1041,7 @@
0,
0,
BERYL_ABI_INFO,
- "beryl plugins"
+ "beryl-plugins"
};
CompPluginVTable *getCompPluginInfo(void)
More information about the commits
mailing list