summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 58c21a0)
raw | patch | inline | side by side (parent: 58c21a0)
author | mfloryan <mfloryan@users.sourceforge.net> | |
Wed, 26 Mar 2008 15:52:30 +0000 (15:52 +0000) | ||
committer | mfloryan <mfloryan@users.sourceforge.net> | |
Wed, 26 Mar 2008 15:52:30 +0000 (15:52 +0000) |
diff --git a/src/extension/internal/bitmap/addNoise.cpp b/src/extension/internal/bitmap/addNoise.cpp
index 358a71c4cdcfc0fef1404b9776c15519c045017b..1726ffb4357b0e992cd1818e4c14d57e2c3f3751 100644 (file)
"<name>" N_("Add Noise") "</name>\n"
"<id>org.inkscape.effect.bitmap.addNoise</id>\n"
"<param name=\"noiseType\" gui-text=\"" N_("Type") "\" type=\"enum\" >\n"
- "<item value='Uniform Noise'>" N_("Uniform Noise") "</item>\n"
- "<item value='Gaussian Noise'>" N_("Gaussian Noise") "</item>\n"
- "<item value='Multiplicative Gaussian Noise'>" N_("Multiplicative Gaussian Noise") "</item>\n"
- "<item value='Impulse Noise'>" N_("Impulse Noise") "</item>\n"
- "<item value='Laplacian Noise'>" N_("Laplacian Noise") "</item>\n"
- "<item value='Poisson Noise'>" N_("Poisson Noise") "</item>\n"
+ "<_item value='Uniform Noise'>" N_("Uniform Noise") "</_item>\n"
+ "<_item value='Gaussian Noise'>" N_("Gaussian Noise") "</_item>\n"
+ "<_item value='Multiplicative Gaussian Noise'>" N_("Multiplicative Gaussian Noise") "</_item>\n"
+ "<_item value='Impulse Noise'>" N_("Impulse Noise") "</_item>\n"
+ "<_item value='Laplacian Noise'>" N_("Laplacian Noise") "</_item>\n"
+ "<_item value='Poisson Noise'>" N_("Poisson Noise") "</_item>\n"
"</param>\n"
"<effect>\n"
"<object-type>all</object-type>\n"
index 4f899128f8e5dbd49eefca38c4795f7967eaf6ae..7699365f361fcd3110775bf7d2a8f2a926ab4e3f 100644 (file)
"<name>" N_("Channel") "</name>\n"
"<id>org.inkscape.effect.bitmap.channel</id>\n"
"<param name=\"layer\" gui-text=\"" N_("Layer") "\" type=\"enum\" >\n"
- "<item value='Red Channel'>" N_("Red Channel") "</item>\n"
- "<item value='Green Channel'>" N_("Green Channel") "</item>\n"
- "<item value='Blue Channel'>" N_("Blue Channel") "</item>\n"
- "<item value='Cyan Channel'>" N_("Cyan Channel") "</item>\n"
- "<item value='Magenta Channel'>" N_("Magenta Channel") "</item>\n"
- "<item value='Yellow Channel'>" N_("Yellow Channel") "</item>\n"
- "<item value='Black Channel'>" N_("Black Channel") "</item>\n"
- "<item value='Opacity Channel'>" N_("Opacity Channel") "</item>\n"
- "<item value='Matte Channel'>" N_("Matte Channel") "</item>\n"
+ "<_item value='Red Channel'>" N_("Red Channel") "</_item>\n"
+ "<_item value='Green Channel'>" N_("Green Channel") "</_item>\n"
+ "<_item value='Blue Channel'>" N_("Blue Channel") "</_item>\n"
+ "<_item value='Cyan Channel'>" N_("Cyan Channel") "</_item>\n"
+ "<_item value='Magenta Channel'>" N_("Magenta Channel") "</_item>\n"
+ "<_item value='Yellow Channel'>" N_("Yellow Channel") "</_item>\n"
+ "<_item value='Black Channel'>" N_("Black Channel") "</_item>\n"
+ "<_item value='Opacity Channel'>" N_("Opacity Channel") "</_item>\n"
+ "<_item value='Matte Channel'>" N_("Matte Channel") "</_item>\n"
"</param>\n"
"<effect>\n"
"<object-type>all</object-type>\n"
diff --git a/src/extension/internal/bitmap/levelChannel.cpp b/src/extension/internal/bitmap/levelChannel.cpp
index c3498fd6406e30be0302fe917c9ddb949fa43a4e..601e4d6936ecac630bec84137604ed1eb8c4c918 100644 (file)
"<name>" N_("Level (with Channel)") "</name>\n"
"<id>org.inkscape.effect.bitmap.levelChannel</id>\n"
"<param name=\"channel\" gui-text=\"" N_("Channel") "\" type=\"enum\" >\n"
- "<item value='Red Channel'>" N_("Red Channel") "</item>\n"
- "<item value='Green Channel'>" N_("Green Channel") "</item>\n"
- "<item value='Blue Channel'>" N_("Blue Channel") "</item>\n"
- "<item value='Cyan Channel'>" N_("Cyan Channel") "</item>\n"
- "<item value='Magenta Channel'>" N_("Magenta Channel") "</item>\n"
- "<item value='Yellow Channel'>" N_("Yellow Channel") "</item>\n"
- "<item value='Black Channel'>" N_("Black Channel") "</item>\n"
- "<item value='Opacity Channel'>" N_("Opacity Channel") "</item>\n"
- "<item value='Matte Channel'>" N_("Matte Channel") "</item>\n"
+ "<_item value='Red Channel'>" N_("Red Channel") "</_item>\n"
+ "<_item value='Green Channel'>" N_("Green Channel") "</_item>\n"
+ "<_item value='Blue Channel'>" N_("Blue Channel") "</_item>\n"
+ "<_item value='Cyan Channel'>" N_("Cyan Channel") "</_item>\n"
+ "<_item value='Magenta Channel'>" N_("Magenta Channel") "</_item>\n"
+ "<_item value='Yellow Channel'>" N_("Yellow Channel") "</_item>\n"
+ "<_item value='Black Channel'>" N_("Black Channel") "</_item>\n"
+ "<_item value='Opacity Channel'>" N_("Opacity Channel") "</_item>\n"
+ "<_item value='Matte Channel'>" N_("Matte Channel") "</_item>\n"
"</param>\n"
"<param name=\"blackPoint\" gui-text=\"" N_("Black Point") "\" type=\"float\" min=\"0.0\" max=\"100.0\">0.0</param>\n"
"<param name=\"whitePoint\" gui-text=\"" N_("White Point") "\" type=\"float\" min=\"0.0\" max=\"100.0\">100.0</param>\n"
index 455230dad6afc712721e0dbe448f5670fcc980b8..b33fee9bfea6801ae2fb706738a7da1ce9d9d02c 100644 (file)
"<name>" N_("Cairo PDF Output") "</name>\n"
"<id>org.inkscape.output.pdf.cairo</id>\n"
"<param name=\"PDFversion\" gui-text=\"" N_("Restrict to PDF version") "\" type=\"enum\" >\n"
- "<item value='PDF14'>" N_("PDF 1.4") "</item>\n"
+ "<_item value='PDF14'>" N_("PDF 1.4") "</_item>\n"
"</param>\n"
"<param name=\"textToPath\" gui-text=\"" N_("Convert texts to paths") "\" type=\"boolean\">false</param>\n"
"<param name=\"blurToBitmap\" gui-text=\"" N_("Convert blur effects to bitmaps") "\" type=\"boolean\">false</param>\n"
index 4b0f17d30fcffc3fa4593103a5d7a0bf613d6eab..1a4a4a5760ad7e1e8642652213470639106838be 100644 (file)
"<name>" N_("Cairo PS Output") "</name>\n"
"<id>" SP_MODULE_KEY_PRINT_CAIRO_PS "</id>\n"
"<param name=\"PSlevel\" gui-text=\"" N_("Restrict to PS level") "\" type=\"enum\" >\n"
- "<item value='PS3'>" N_("PostScript level 3") "</item>\n"
+ "<_item value='PS3'>" N_("PostScript level 3") "</_item>\n"
#if (CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 2))
- "<item value='PS2'>" N_("PostScript level 2") "</item>\n"
+ "<_item value='PS2'>" N_("PostScript level 2") "</_item>\n"
#endif
"</param>\n"
"<param name=\"textToPath\" gui-text=\"" N_("Convert texts to paths") "\" type=\"boolean\">false</param>\n"
index 199512e0ef13f2c68c017a992d2f5bcb841babc2..336b4fd66e846ed6aa5705b3bd43470d9e517b97 100644 (file)
const char * contents = sp_repr_children(child_repr)->content();
if (contents != NULL)
// don't translate when 'item' but do translate when '_item'
+ // NOTE: internal extensions use build_from_mem and don't need _item but
+ // still need to include if are to be localized
newguitext = new Glib::ustring( !strcmp(chname, "_item") ? _(contents) : contents );
else
continue;