i18n issues

--Sven
This commit is contained in:
Sven Neumann 1999-11-20 02:16:17 +00:00
parent 2ab36b085f
commit b83af4ea3f
10 changed files with 66 additions and 53 deletions

View file

@ -1,3 +1,16 @@
Sat Nov 20 02:46:12 MET 1999 Sven Neumann <sven@gimp.org>
* common/colortoalpha.c
* common/film.c
* common/grid.c
* common/mapcolor.c
* common/nova.c
* common/papertile.c
* common/rotate.c
* ifscompose/ifscompose.c
* sinus/sinus.c: internationalization fixes
(hopefully got it right now)
Sat Nov 20 01:59:10 MET 1999 Sven Neumann <sven@gimp.org>
* libgimp/gimpcolorbutton.c: include config.h to enable NLS
@ -19,6 +32,7 @@ Sat Nov 20 00:27:26 GMT 1999 Andy Thomas <alt@gimp.org>
between this behaviour and the "original" way of having
one nav dialog per display.
>>>>>>> 1.1829
Sat Nov 20 01:27:12 MET 1999 Sven Neumann <sven@gimp.org>
* convolve.c

View file

@ -21,6 +21,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include "gtk/gtk.h"
@ -95,22 +96,22 @@ query ()
{
static GParamDef args[] =
{
{ PARAM_INT32, "run_mode", "Interactive, non-interactive" },
{ PARAM_IMAGE, "image", "Input image (unused)" },
{ PARAM_INT32, "run_mode", "Interactive, non-interactive" },
{ PARAM_IMAGE, "image", "Input image (unused)" },
{ PARAM_DRAWABLE, "drawable", "Input drawable" },
{ PARAM_COLOR, "color", "Color to remove"},
{ PARAM_COLOR, "color", "Color to remove"},
};
static GParamDef *return_vals = NULL;
static int nargs = sizeof (args) / sizeof (args[0]);
static int nreturn_vals = 0;
gimp_install_procedure ("plug_in_colortoalpha",
"Convert the color in an image to alpha",
"This replaces as much of a given color as possible in each pixel with a corresponding amount of alpha, then readjusts the color accordingly.",
_("Convert the color in an image to alpha"),
_("This replaces as much of a given color as possible in each pixel with a corresponding amount of alpha, then readjusts the color accordingly."),
"Seth Burgess",
"Seth Burgess <sjburges@gimp.org>",
"7th Aug 1999",
"<Image>/Filters/Colors/Color To Alpha",
_("7th Aug 1999"),
_("<Image>/Filters/Colors/Color To Alpha"),
"RGBA",
PROC_PLUG_IN,
nargs, nreturn_vals,

View file

@ -226,7 +226,7 @@ query ()
"Peter Kirchgessner",
"Peter Kirchgessner (peter@kirchgessner.net)",
"1997",
N_("<Image>/Filters/Combine/Film"),
_("<Image>/Filters/Combine/Film"),
"INDEXED*, GRAY*, RGB*",
PROC_PLUG_IN,
nargs, nreturn_vals,

View file

@ -27,6 +27,7 @@
* For more info see libgimp/gimpsizeentry.h
*/
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include "gtk/gtk.h"
@ -119,12 +120,12 @@ void query (void)
static int nreturn_vals = 0;
gimp_install_procedure ("plug_in_grid",
"Draws a grid.",
"",
_("Draws a grid."),
_("no help available"),
"Tim Newsome",
"Tim Newsome, Sven Neumann, Tom Rathborne",
"1997, 1999",
"<Image>/Filters/Render/Grid",
_("<Image>/Filters/Render/Grid"),
"RGB*, GRAY*",
PROC_PLUG_IN,
nargs, nreturn_vals,

View file

@ -27,6 +27,7 @@
static char dversio[] = "v1.00 26-Oct-98";
static char ident[] = "@(#) GIMP mapcolor plug-in v1.00 26-Oct-98";
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -131,28 +132,28 @@ query (void)
static int nmap_args = sizeof (map_args) / sizeof (map_args[0]);
gimp_install_procedure ("plug_in_color_adjust",
"Adjust current foreground/background color in the\
drawable to black/white",
"The current foreground color is mapped to black, \
the current background color is mapped to white.",
_("Adjust current foreground/background color in the\
drawable to black/white"),
_("The current foreground color is mapped to black, \
the current background color is mapped to white."),
"Peter Kirchgessner",
"Peter Kirchgessner",
dversio,
"<Image>/Filters/Colors/Adjust Fgrd.-Bkgrd.",
_("<Image>/Filters/Colors/Adjust Fgrd.-Bkgrd."),
"RGB*",
PROC_PLUG_IN,
nadjust_args, 0,
adjust_args, NULL);
gimp_install_procedure ("plug_in_color_map",
"Map two source colors to two destination colors. \
Other colors are mapped by interpolation.",
"Map two source colors to two destination colors. \
Other colors are mapped by interpolation.",
_("Map two source colors to two destination colors. \
Other colors are mapped by interpolation."),
_("Map two source colors to two destination colors. \
Other colors are mapped by interpolation."),
"Peter Kirchgessner",
"Peter Kirchgessner",
dversio,
"<Image>/Filters/Colors/Color Mapping",
_("<Image>/Filters/Colors/Color Mapping"),
"RGB*",
PROC_PLUG_IN,
nmap_args, 0,

View file

@ -233,19 +233,17 @@ query ()
static GParamDef *return_vals = NULL;
static gint nargs = sizeof (args) / sizeof (args[0]);
static gint nreturn_vals = 0;
gchar *help_string =
" This plug-in produces an effect like a supernova burst. The"
" amount of the light effect is approximately in proportion to 1/r,"
" where r is the distance from the center of the star. It works with"
" RGB*, GRAY* image.";
gimp_install_procedure ("plug_in_nova",
"Produce Supernova effect to the specified drawable",
help_string,
_("Produce Supernova effect to the specified drawable"),
_("This plug-in produces an effect like a supernova burst. The "
"amount of the light effect is approximately in proportion to 1/r, "
"where r is the distance from the center of the star. It works with "
"RGB*, GRAY* image."),
"Eiichi Takamori",
"Eiichi Takamori",
"1997",
"<Image>/Filters/Light Effects/SuperNova",
_("<Image>/Filters/Light Effects/SuperNova"),
"RGB*, GRAY*",
PROC_PLUG_IN,
nargs, nreturn_vals,

View file

@ -20,6 +20,7 @@
*============================================================================*/
#include "config.h"
#include <stdlib.h>
#include <gtk/gtk.h>
#include "libgimp/gimp.h"
@ -31,8 +32,6 @@
/*============================================================================*/
#define PLUGIN_PROCEDURE_NAME "plug_in_papertile"
#define PLUGIN_TITLE "Paper Tile"
#define PLUGIN_PATH "<Image>/Filters/Map/Paper Tile"
/*============================================================================*/
@ -935,13 +934,12 @@ plugin_query ( void )
gimp_install_procedure
( PLUGIN_PROCEDURE_NAME,
"cuts an image into paper tiles, and slides each paper tile.",
"This plug-in cuts an image into paper tiles "
"and slides each paper tile.",
_("Cuts an image into paper tiles, and slides each paper tile."),
_("This plug-in cuts an image into paper tiles and slides each paper tile."),
"Hirotsuna Mizuno <s1041150@u-aizu.ac.jp>",
"Copyright (c)1997-1999 Hirotsuna Mizuno",
"September 31, 1999",
PLUGIN_PATH,
_("September 31, 1999"),
_("<Image>/Filters/Map/Paper Tile"),
"RGB*",
PROC_PLUG_IN,
numof_args,

View file

@ -161,7 +161,7 @@ gimp_install_procedure ("plug_in_layer_rot90",
PLUG_IN_AUTHOR,
PLUG_IN_COPYRIGHT,
PLUG_IN_VERSION,
N_("<Image>/Layers/Rotate/90 degrees"),
_("<Image>/Layers/Rotate/90 degrees"),
PLUG_IN_IMAGE_TYPES,
PROC_PLUG_IN,
nmenuargs, nreturn_vals,
@ -172,7 +172,7 @@ gimp_install_procedure ("plug_in_layer_rot180",
PLUG_IN_AUTHOR,
PLUG_IN_COPYRIGHT,
PLUG_IN_VERSION,
N_("<Image>/Layers/Rotate/180 degrees"),
_("<Image>/Layers/Rotate/180 degrees"),
PLUG_IN_IMAGE_TYPES,
PROC_PLUG_IN,
nmenuargs, nreturn_vals,
@ -183,7 +183,7 @@ gimp_install_procedure ("plug_in_layer_rot270",
PLUG_IN_AUTHOR,
PLUG_IN_COPYRIGHT,
PLUG_IN_VERSION,
N_("<Image>/Layers/Rotate/270 degrees"),
_("<Image>/Layers/Rotate/270 degrees"),
PLUG_IN_IMAGE_TYPES,
PROC_PLUG_IN,
nmenuargs, nreturn_vals,
@ -195,7 +195,7 @@ gimp_install_procedure ("plug_in_image_rot90",
PLUG_IN_AUTHOR,
PLUG_IN_COPYRIGHT,
PLUG_IN_VERSION,
N_("<Image>/Image/Transforms/Rotate/90 degrees"),
_("<Image>/Image/Transforms/Rotate/90 degrees"),
PLUG_IN_IMAGE_TYPES,
PROC_PLUG_IN,
nmenuargs, nreturn_vals,
@ -206,7 +206,7 @@ gimp_install_procedure ("plug_in_image_rot180",
PLUG_IN_AUTHOR,
PLUG_IN_COPYRIGHT,
PLUG_IN_VERSION,
N_("<Image>/Image/Transforms/Rotate/180 degrees"),
_("<Image>/Image/Transforms/Rotate/180 degrees"),
PLUG_IN_IMAGE_TYPES,
PROC_PLUG_IN,
nmenuargs, nreturn_vals,
@ -217,7 +217,7 @@ gimp_install_procedure ("plug_in_image_rot270",
PLUG_IN_AUTHOR,
PLUG_IN_COPYRIGHT,
PLUG_IN_VERSION,
N_("<Image>/Image/Transforms/Rotate/270 degrees"),
_("<Image>/Image/Transforms/Rotate/270 degrees"),
PLUG_IN_IMAGE_TYPES,
PROC_PLUG_IN,
nmenuargs, nreturn_vals,

View file

@ -340,18 +340,18 @@ query ()
static int nreturn_vals = 0;
gimp_install_procedure ("plug_in_ifs_compose",
"Create an Iterated Function System Fractal",
"Interactively create an Iterated Function System fractal."
"Use the window on the upper left to adjust the component"
"transformations of the fractal. The operation that is performed"
"is selected by the buttons underneath the window, or from a"
"menu popped up by the right mouse button. The fractal will be"
"rendered with a transparent background if the current image has"
"a transparent background.",
_("Create an Iterated Function System Fractal"),
_("Interactively create an Iterated Function System fractal."
"Use the window on the upper left to adjust the component"
"transformations of the fractal. The operation that is performed"
"is selected by the buttons underneath the window, or from a"
"menu popped up by the right mouse button. The fractal will be"
"rendered with a transparent background if the current image has"
"a transparent background."),
"Owen Taylor",
"Owen Taylor",
"1997",
"<Image>/Filters/Render/IfsCompose",
_("<Image>/Filters/Render/IfsCompose"),
"RGB*, GRAY*",
PROC_PLUG_IN,
nargs, nreturn_vals,

View file

@ -165,12 +165,12 @@ static void query ()
static gint nreturn_vals = 0;
gimp_install_procedure ("plug_in_sinus",
"Generates a texture with sinus functions",
_("Generates a texture with sinus functions"),
"FIX ME: sinus help",
"Xavier Bouchoux",
"Xavier Bouchoux",
"1997",
"<Image>/Filters/Render/Sinus",
_("<Image>/Filters/Render/Sinus"),
"RGB*, GRAY*",
PROC_PLUG_IN,
nargs, nreturn_vals,