use INIT_I18N_UI ()

-Yosh
This commit is contained in:
Manish Singh 1999-08-28 19:23:22 +00:00
parent 287fd04b10
commit ccf7f01085
32 changed files with 61 additions and 32 deletions

View File

@ -1,3 +1,30 @@
Sat Aug 28 12:15:15 PDT 1999 Manish Singh <yosh@gimp.org>
* plug-ins/borderaverage/borderaverage.c
* plug-ins/common/CML_explorer.c
* plug-ins/common/apply_lens.c
* plug-ins/common/blur.c
* plug-ins/common/bumpmap.c
* plug-ins/common/checkerboard.c
* plug-ins/common/colorify.c
* plug-ins/common/compose.cplug-ins/common/compose.c
* plug-ins/common/convmatrix.c
* plug-ins/common/cubism.c
* plug-ins/common/decompose.c
* plug-ins/common/depthmerge.c
* plug-ins/common/destripe.c
* plug-ins/common/gif.c
* plug-ins/common/gifload.c
* plug-ins/common/jpeg.c
* plug-ins/common/mail.c
* plug-ins/common/oilify.c
* plug-ins/common/png.c
* plug-ins/common/ps.c
* plug-ins/common/psp.c
* plug-ins/common/xbm.c
* plug-ins/print/print.c: use INIT_I18N_UI (from SHIRASAKI Yasuhiro
<yasuhiro@awa.tohoku.ac.jp>)
Sat Aug 28 10:53:17 PDT 1999 Manish Singh <yosh@gimp.org>
* tools/pdbgen/pdb/layer.pdb

View File

@ -115,7 +115,7 @@ run (char *name,
GStatusType status = STATUS_SUCCESS;
gint8 *result_color;
INIT_I18N();
INIT_I18N_UI();
run_mode = param[0].data.d_int32;

View File

@ -2,7 +2,7 @@
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* CML_explorer.c -- This is a plug-in for The GIMP 1.0
* Time-stamp: <1997/11/22 23:54:47 narazaki@InetQ.or.jp>
* Time-stamp: <1999-08-28 20:37:08 yasuhiro>
* Copyright (C) 1997 Shuji Narazaki <narazaki@InetQ.or.jp>
* Version: 1.0.11
* URL: http://www.inetq.or.jp/~narazaki/TheGIMP/
@ -528,6 +528,7 @@ run (char *name,
switch (run_mode)
{
case RUN_INTERACTIVE:
INIT_I18N_UI();
gimp_get_data (PLUG_IN_NAME, &VALS);
if (! DIALOG ())
return;

View File

@ -157,7 +157,7 @@ run(char *name,
GRunModeType run_mode;
GStatusType status = STATUS_SUCCESS;
INIT_I18N();
INIT_I18N_UI();
run_mode = param[0].data.d_int32;

View File

@ -245,7 +245,7 @@ run(char *name, int nparams, GParam *param, int *nreturn_vals,
char prog_label[32];
static GParam values[1];
INIT_I18N();
INIT_I18N_UI();
/*
* Get the specified drawable, do standard initialization.

View File

@ -115,7 +115,7 @@ run (char *name,
GStatusType status = STATUS_SUCCESS;
gint8 *result_color;
INIT_I18N();
INIT_I18N_UI();
run_mode = param[0].data.d_int32;

View File

@ -375,7 +375,7 @@ run(char *name,
GRunModeType run_mode;
GStatusType status;
INIT_I18N();
INIT_I18N_UI();
status = STATUS_SUCCESS;
run_mode = param[0].data.d_int32;

View File

@ -118,7 +118,7 @@ run (gchar *name,
GRunModeType run_mode;
GStatusType status = STATUS_SUCCESS;
INIT_I18N();
INIT_I18N_UI();
run_mode = param[0].data.d_int32;

View File

@ -146,7 +146,7 @@ run (char *name,
static GParam values[1];
GDrawable *drawable;
INIT_I18N();
INIT_I18N_UI();
status = STATUS_SUCCESS;
run_mode = param[0].data.d_int32;

View File

@ -275,7 +275,7 @@ run (char *name,
int compose_by_drawable;
char msg[256];
INIT_I18N ();
INIT_I18N_UI ();
run_mode = param[0].data.d_int32;
compose_by_drawable = (strcmp (name, "plug_in_drawable_compose") == 0);

View File

@ -189,7 +189,7 @@ static void run(char *name, int n_params, GParam * param,
GStatusType status = STATUS_SUCCESS;
int x,y;
INIT_I18N();
INIT_I18N_UI();
(void)name; /* Shut up warnings about unused parameters. */
*nreturn_vals = 1;

View File

@ -202,7 +202,7 @@ run (char *name,
GRunModeType run_mode;
GStatusType status = STATUS_SUCCESS;
INIT_I18N();
INIT_I18N_UI();
run_mode = param[0].data.d_int32;

View File

@ -249,7 +249,7 @@ run (char *name,
gint32 image_ID_extract[MAX_EXTRACT_IMAGES];
gint j;
INIT_I18N ();
INIT_I18N_UI();
run_mode = param[0].data.d_int32;

View File

@ -217,7 +217,7 @@ static void run(char *name,
GStatusType status;
DepthMerge dm;
INIT_I18N();
INIT_I18N_UI();
runMode = (GRunModeType)param[0].data.d_int32;
status = STATUS_SUCCESS;

View File

@ -174,7 +174,7 @@ run(char *name, /* I - Name of filter program. */
static GParam values[1]; /* Return values */
INIT_I18N();
INIT_I18N_UI();
/*
* Initialize parameter data...

View File

@ -445,7 +445,7 @@ run (char *name,
argv = g_new (gchar *, 1);
argv[0] = g_strdup ("gif");
INIT_I18N();
INIT_I18N_UI();
gtk_init (&argc, &argv);
gtk_rc_parse (gimp_gtkrc ());

View File

@ -165,7 +165,7 @@ run (char *name,
if (strcmp (name, "file_gif_load") == 0)
{
INIT_I18N();
INIT_I18N_UI();
image_ID = load_image (param[1].data.d_string);

View File

@ -374,7 +374,7 @@ run (char *name,
}
else if (strcmp (name, "file_jpeg_save") == 0)
{
INIT_I18N();
INIT_I18N_UI();
image_ID = param[1].data.d_int32;
if(image_comment) {

View File

@ -236,7 +236,7 @@ run (char *name,
GStatusType status = STATUS_SUCCESS;
gint32 image_ID;
INIT_I18N();
INIT_I18N_UI();
run_mode = param[0].data.d_int32;
drawable_ID = param[2].data.d_drawable;

View File

@ -143,7 +143,7 @@ run (char *name,
GRunModeType run_mode;
GStatusType status = STATUS_SUCCESS;
INIT_I18N();
INIT_I18N_UI();
run_mode = param[0].data.d_int32;

View File

@ -215,7 +215,7 @@ run(char *name, /* I - Name of filter program. */
}
else if (strcmp (name, "file_png_save") == 0)
{
INIT_I18N();
INIT_I18N_UI();
*nreturn_vals = 1;

View File

@ -383,7 +383,7 @@ run (char *name,
if (strcmp (name, "file_ps_load") == 0)
{
INIT_I18N();
INIT_I18N_UI();
*nreturn_vals = 2;
values[1].type = PARAM_IMAGE;
@ -430,7 +430,7 @@ run (char *name,
}
else if (strcmp (name, "file_ps_save") == 0)
{
INIT_I18N();
INIT_I18N_UI();
switch (run_mode)
{

View File

@ -383,7 +383,7 @@ run (char *name,
if (strcmp (name, "file_ps_load") == 0)
{
INIT_I18N();
INIT_I18N_UI();
*nreturn_vals = 2;
values[1].type = PARAM_IMAGE;
@ -430,7 +430,7 @@ run (char *name,
}
else if (strcmp (name, "file_ps_save") == 0)
{
INIT_I18N();
INIT_I18N_UI();
switch (run_mode)
{

View File

@ -1770,6 +1770,7 @@ run (char *name,
switch (run_mode)
{
case RUN_INTERACTIVE:
INIT_I18N_UI();
/* Possibly retrieve data */
gimp_get_data ("file_pnm_save", &psvals);

View File

@ -226,7 +226,7 @@ run (char *name,
GRunModeType run_mode;
gint32 image_ID;
INIT_I18N();
INIT_I18N_UI();
strncpy(xsvals.comment, _("Made with Gimp"), MAX_COMMENT);
run_mode = param[0].data.d_int32;

View File

@ -374,7 +374,7 @@ run (char *name,
}
else if (strcmp (name, "file_jpeg_save") == 0)
{
INIT_I18N();
INIT_I18N_UI();
image_ID = param[1].data.d_int32;
if(image_comment) {

View File

@ -374,7 +374,7 @@ run (char *name,
}
else if (strcmp (name, "file_jpeg_save") == 0)
{
INIT_I18N();
INIT_I18N_UI();
image_ID = param[1].data.d_int32;
if(image_comment) {

View File

@ -374,7 +374,7 @@ run (char *name,
}
else if (strcmp (name, "file_jpeg_save") == 0)
{
INIT_I18N();
INIT_I18N_UI();
image_ID = param[1].data.d_int32;
if(image_comment) {

View File

@ -374,7 +374,7 @@ run (char *name,
}
else if (strcmp (name, "file_jpeg_save") == 0)
{
INIT_I18N();
INIT_I18N_UI();
image_ID = param[1].data.d_int32;
if(image_comment) {

View File

@ -374,7 +374,7 @@ run (char *name,
}
else if (strcmp (name, "file_jpeg_save") == 0)
{
INIT_I18N();
INIT_I18N_UI();
image_ID = param[1].data.d_int32;
if(image_comment) {

View File

@ -374,7 +374,7 @@ run (char *name,
}
else if (strcmp (name, "file_jpeg_save") == 0)
{
INIT_I18N();
INIT_I18N_UI();
image_ID = param[1].data.d_int32;
if(image_comment) {

View File

@ -391,7 +391,7 @@ run(char *name, /* I - Name of print program. */
char *tmpfile; /* temp filename */
#endif
INIT_I18N();
INIT_I18N_UI();
/*
* Initialize parameter data...