added plug-ins/MapObject/mapobject_apply.c and plug-ins/maze/maze.h. Fixes

2004-05-23 Henrik Brix Andersen <brix@gimp.org>

* po-plugins/POTFILES.in: added plug-ins/MapObject/mapobject_apply.c
and plug-ins/maze/maze.h. Fixes part of bug #142996

* app/config/gimprc-blurbs.h
* plug-ins/gfig/gfig-spiral.c (spiral_button_press)
* plug-ins/gimpressionist/orientation.c (create_orientationpage)
* plug-ins/common/diffraction.c (diffraction_dialog)
* plug-ins/common/bumpmap.c (bumpmap_dialog)
* plug-ins/maze/maze.h
* plug-ins/MapObject/mapobject_apply.c (compute_image)
* app/tools/gimpmeasuretool.c (gimp_measure_tool_dialog_update)
* plug-ins/print/gimp_main_window.c (create_scaling_frame): marked
strings for translation, corrected small typos. Fixes part of bug
#142996
This commit is contained in:
Henrik Brix Andersen 2004-05-23 12:43:13 +00:00 committed by Henrik Brix Andersen
parent 7964ab058b
commit 58e6a476ab
12 changed files with 45 additions and 21 deletions

View file

@ -1,3 +1,17 @@
2004-05-23 Henrik Brix Andersen <brix@gimp.org>
* app/config/gimprc-blurbs.h
* plug-ins/gfig/gfig-spiral.c (spiral_button_press)
* plug-ins/gimpressionist/orientation.c (create_orientationpage)
* plug-ins/common/diffraction.c (diffraction_dialog)
* plug-ins/common/bumpmap.c (bumpmap_dialog)
* plug-ins/maze/maze.h
* plug-ins/MapObject/mapobject_apply.c (compute_image)
* app/tools/gimpmeasuretool.c (gimp_measure_tool_dialog_update)
* plug-ins/print/gimp_main_window.c (create_scaling_frame): marked
strings for translation, corrected small typos. Fixes part of bug
#142996
2004-05-23 Žygimantas Beručka <uid0@akl.lt>
* configure.in: Added "lt" to ALL_LINGUAS.

View file

@ -190,14 +190,14 @@ N_("Generally only a concern for 8-bit displays, this sets the minimum " \
"windowing system."
#define MONITOR_XRESOLUTION_BLURB \
"Sets the monitor's horizontal resolution, in dots per inch. If set to " \
"0, forces the X server to be queried for both horizontal and vertical " \
"resolution information."
N_("Sets the monitor's horizontal resolution, in dots per inch. If set to " \
"0, forces the X server to be queried for both horizontal and vertical " \
"resolution information.")
#define MONITOR_YRESOLUTION_BLURB \
"Sets the monitor's vertical resolution, in dots per inch. If set to " \
"0, forces the X server to be queried for both horizontal and vertical " \
"resolution information."
N_("Sets the monitor's vertical resolution, in dots per inch. If set to " \
"0, forces the X server to be queried for both horizontal and vertical " \
"resolution information.")
#define NAVIGATION_PREVIEW_SIZE_BLURB \
N_("Sets the size of the navigation preview available in the lower right " \

View file

@ -777,7 +777,7 @@ gimp_measure_tool_dialog_update (GimpMeasureTool *mtool,
if (shell->dot_for_dot)
{
g_snprintf (buf, sizeof (buf), "%.1f %s, %.2f \302\260",
pixel_distance, "pixels", pixel_angle);
pixel_distance, _("pixels"), pixel_angle);
}
else
{

View file

@ -14,6 +14,9 @@
#include "mapobject_image.h"
#include "mapobject_shade.h"
#include "libgimp/stdplugins-intl.h"
/*************/
/* Main loop */
/*************/
@ -267,16 +270,16 @@ compute_image (void)
switch (mapvals.maptype)
{
case MAP_PLANE:
gimp_progress_init ("Map to Plane...");
gimp_progress_init (_("Map to Plane..."));
break;
case MAP_SPHERE:
gimp_progress_init ("Map to Sphere...");
gimp_progress_init (_("Map to Sphere..."));
break;
case MAP_BOX:
gimp_progress_init ("Map to Box...");
gimp_progress_init (_("Map to Box..."));
break;
case MAP_CYLINDER:
gimp_progress_init ("Map to Cylinder...");
gimp_progress_init (_("Map to Cylinder..."));
break;
}

View file

@ -135,7 +135,7 @@ enum
{
LINEAR = 0,
SPHERICAL,
SINUOSIDAL
SINUSOIDAL
};
enum
@ -354,7 +354,7 @@ query (void)
{ GIMP_PDB_INT32, "ambient", "Ambient lighting factor" },
{ GIMP_PDB_INT32, "compensate", "Compensate for darkening" },
{ GIMP_PDB_INT32, "invert", "Invert bumpmap" },
{ GIMP_PDB_INT32, "type", "Type of map (LINEAR (0), SPHERICAL (1), SINUOSIDAL (2))" }
{ GIMP_PDB_INT32, "type", "Type of map (LINEAR (0), SPHERICAL (1), SINUSOIDAL (2))" }
};
gimp_install_procedure ("plug_in_bump_map",
@ -691,7 +691,7 @@ bumpmap_init_params (bumpmap_params_t *params)
params->lut[i] = (int) (255.0 * sqrt(1.0 - n * n) + 0.5);
break;
case SINUOSIDAL:
case SINUSOIDAL:
n = i / 255.0;
params->lut[i] = (int) (255.0 * (sin((-G_PI / 2.0) + G_PI * n) + 1.0) /
2.0 + 0.5);
@ -967,7 +967,7 @@ bumpmap_dialog (void)
_("_Linear Map"), LINEAR, NULL,
_("_Spherical Map"), SPHERICAL, NULL,
_("S_inuosidal Map"), SINUOSIDAL, NULL,
_("S_inusoidal Map"), SINUSOIDAL, NULL,
NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);

View file

@ -632,7 +632,7 @@ diffraction_dialog (void)
&dvals.scattering);
adj = gimp_scale_entry_new (GTK_TABLE (table), 0, 2,
_("Po_latization:"), SCALE_WIDTH, 7,
_("Po_larization:"), SCALE_WIDTH, 7,
dvals.polarization, -1.0, 1.0, 0.02, 0.2, 3,
TRUE, 0, 0,
NULL, NULL);

View file

@ -54,7 +54,7 @@ spiral_button_press (GtkWidget *widget,
{
if ((event->type == GDK_2BUTTON_PRESS) &&
(event->button == 1))
num_sides_dialog (_("Spiral Number of Points"),
num_sides_dialog (_("Spiral Number of Turns"),
&spiral_num_turns, &spiral_toggle, 1, 20);
return FALSE;
}

View file

@ -75,7 +75,7 @@ create_orientationpage (GtkNotebook *notebook)
150, -1, pcvals.orientfirst,
0.0, 360.0, 1.0, 10.0, 0,
TRUE, 0, 0,
_("The angle of the first brush to create"),
_("The starting angle of the first brush to create"),
NULL);
g_signal_connect (orientfirstadjust, "value_changed",
G_CALLBACK (gimp_double_adjustment_update),
@ -87,7 +87,7 @@ create_orientationpage (GtkNotebook *notebook)
150, -1, pcvals.orientlast,
0.0, 360.0, 1.0, 10.0, 0,
TRUE, 0, 0,
_("The angle of the first brush to create"),
_("The angle span of the first brush to create"),
NULL);
g_signal_connect (orientlastadjust, "value_changed",
G_CALLBACK (gimp_double_adjustment_update),

View file

@ -1,5 +1,5 @@
/* $Id$ */
#define MAZE_TITLE "Maze"
#define MAZE_TITLE N_("Maze")
#define MAZE_URL "http://gimp-plug-ins.sourceforge.net/maze/help.html"
#define HELP_OPENS_NEW_WINDOW FALSE

View file

@ -1171,7 +1171,7 @@ create_scaling_frame (void)
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (event_box);
label = gtk_label_new ("Scale by:");
label = gtk_label_new (_("Scale by:"));
gtk_container_add (GTK_CONTAINER (event_box), label);
gtk_widget_show (label);

View file

@ -1,3 +1,8 @@
2004-05-23 Henrik Brix Andersen <brix@gimp.org>
* POTFILES.in: added plug-ins/MapObject/mapobject_apply.c and
plug-ins/maze/maze.h. Fixes part of bug #142996
2004-05-23 Žygimantas Beručka <uid0@akl.lt>
* lt.po: Updated Lithuanian translation.

View file

@ -7,6 +7,7 @@ plug-ins/Lighting/lighting_apply.c
plug-ins/Lighting/lighting_main.c
plug-ins/Lighting/lighting_ui.c
plug-ins/MapObject/arcball.c
plug-ins/MapObject/mapobject_apply.c
plug-ins/MapObject/mapobject_main.c
plug-ins/MapObject/mapobject_ui.c
plug-ins/bmp/bmp.c
@ -234,6 +235,7 @@ plug-ins/imagemap/imap_toolbar.c
plug-ins/imagemap/imap_tools.c
plug-ins/maze/algorithms.c
plug-ins/maze/maze.c
plug-ins/maze/maze.h
plug-ins/maze/maze_face.c
plug-ins/pagecurl/pagecurl.c
plug-ins/print/gimp_color_window.c