Merged from trunk revisions 26170:26246.

svn path=/branches/soc-2008-tagging/; revision=26247
This commit is contained in:
Aurimas Juška 2008-07-20 16:34:08 +00:00
parent 14b97ec792
commit ca1ec7ce2e
93 changed files with 17493 additions and 15562 deletions

252
ChangeLog
View File

@ -27,6 +27,15 @@
(gimp_combo_tag_entry_popup_list): fixed popup width to properly match
tag entry width.
2008-07-19 Martin Nordholts <martinn@svn.gnome.org>
* app/widgets/gimpnavigationview.[ch]: Don't expose implementation
details and extend the interface with trivial new functions.
* app/display/gimpnavigationeditor.c
(gimp_navigation_editor_popup): Use the new interface instead of
directly accessing the members of the navigation view.
2008-07-19 Aurimas Juška <aurisj@svn.gnome.org>
* app/widgets/gimpcombotagentry.[ch]: highlight selected tags in popup
@ -38,6 +47,81 @@
which is displayed when GimpTagEntry is not focused and there is no
text typed.
2008-07-18 Sven Neumann <sven@gimp.org>
* app/core/core-types.h: removed delta_time, delta_x, delta_y,
distance and random from the GimpCoords struct. These don't need
to be kept here and they can't be properly interpolated.
* app/core/gimpcoords.c: changed accordingly.
* app/xcf/xcf-load.c (xcf_load_vector): the size of the GimpCoords
struct changed.
* app/display/gimpdisplayshell.[ch] (struct _GimpDisplayShell):
added some members to store values from the last event that are
needed in gimp_display_shell_eval_event() and which are not any
longer part of GimpCoords.
* app/display/gimpdisplayshell-coords.c
(gimp_display_shell_eval_event): changed accordingly.
* app/paint/gimppaintoptions.c: calculate a random number when one
is needed.
* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
GimpCoords doesn't have a "random" field any longer.
2008-07-18 Sven Neumann <sven@gimp.org>
* app/core/core-types.h (GIMP_COORDS_DEFAULT_VALUES): initialize
all members of the GimpCoords struct.
2008-07-17 Sven Neumann <sven@gimp.org>
* app/core/gimpcoords.c (gimp_coords_mix): also mix in the new
members of the GimpCoords struct.
2008-07-17 Sven Neumann <sven@gimp.org>
* app/core/gimpcoords.c (gimp_coords_mix): formatting.
* app/vectors/gimpbezierstroke.c: formatting.
2008-07-17 Sven Neumann <sven@gimp.org>
* app/tools/gimpcolorizetool.c: fixed typo pointed out by
Žygimantas Beručka.
2008-07-17 Sven Neumann <sven@gimp.org>
* app/paint/gimppaintcore.[ch]: removed 'use_pressure' field from
GimpPaintCore.
* app/paint/gimppaintoptions.[ch]: removed 'use_pressure' parameter.
* app/paint/gimpairbrush.c
* app/paint/gimpbrushcore.c
* app/paint/gimpclone.c
* app/paint/gimpconvolve.c
* app/paint/gimpdodgeburn.c
* app/paint/gimperaser.c
* app/paint/gimpheal.c
* app/paint/gimppaintbrush.c
* app/paint/gimpsmudge.c
* app/tools/gimppainttool.c: changed accordingly.
2008-07-17 Tor Lillqvist <tml@novell.com>
* app/Makefile.am (win32_ldflags): Use -Wl,--large-address-aware
on Windows so that we can use more that 2 GB user data space (if
available; i.e. if running on a 64-bit OS, or a 32-bit OS booted
with /3GB). See discussion in bug #522073.
2008-07-17 Sven Neumann <sven@gimp.org>
* libgimp/gimpui.c: improved the documentation of gimpui_init().
2008-07-17 Aurimas Juška <aurisj@svn.gnome.org>
* app/widgets/gimptagentry.c (gimp_tag_entry_load_selection): display
@ -54,15 +138,162 @@
* app/widgets/gimpdatafactoryview.c: tag assigment entry visualy
connected to data view.
2008-07-13 Aurimas Juška <aurisj@svn.gnome.org>
2008-07-16 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcombotagentry.c: if scrollbar appears in popup
window, re-layout tags.
* configure.in: bumped version to 2.5.3.
2008-07-16 Sven Neumann <sven@gimp.org>
* Made 2.5.2 development release.
2008-07-16 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/dialog.c: also start the search when the
slash key is pressed. Added a "find-again" feature bound to Ctrl-G.
2008-07-16 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/dialog.c: applied patch from Róman Joost
as attached to bug #542826 (with some minor modifications). This
adds a "Search in this page" feature bound to Ctrl-F.
2008-07-15 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/edit.pdb: fixed documentation (bug #542972).
* app/pdb/edit-cmds.c
* libgimp/gimpedit_pdb.c: regenerated.
2008-07-14 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/palette.pdb: added new PDB function
gimp-palette-get-colors that retrieves all colors from a palette
in a single call. Based on patches from bug #332206.
* app/pdb/palette-cmds.c
* app/pdb/internal-procs.c
* libgimp/gimppalette_pdb.[ch]: regenerated.
* libgimp/gimp.def: updated.
2008-07-14 Sven Neumann <sven@gimp.org>
* tools/pdbgen/app.pl: added support for color arrays.
2008-07-14 Sven Neumann <sven@gimp.org>
* app/pdb/gimp-pdb-compat.c (gimp_pdb_compat_arg_type_from_gtype):
added mapping from GIMP_TYPE_COLOR_ARRAY to GIMP_PDB_COLORARRAY.
2008-07-14 Sven Neumann <sven@gimp.org>
Add new PDB data type PDB_COLORARRAY for using arrays of GimpRGB
colors as argument or return value.
* libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): replaced
the unused GIMP_PDB_BOUNDARY with GIMP_PDB_COLORARRAY.
* libgimpbase/gimpprotocol.h: increased GIMP_PROTOCOL_VERSION.
(struct _GPParam): added d_colorarray entry to the union.
* libgimpbase/gimpprotocol.c
* libgimp/gimp.[ch]
* app/pdb/gimp-pdb-compat.c
* app/plug-in/plug-in-params.c
* app/plug-in/gimpplugin-message.c
* tools/pdbgen/pdb.pl: deal with the new data type.
* tools/pdbgen/enums.pl: regenerated.
* plug-ins/pygimp/pygimp-pdb.c
* plug-ins/script-fu/scheme-wrapper.c: handle the new data type.
2008-07-14 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontrollerkeyboard.c: changed cursor key event
prefix from "key-" to "cursor-".
* etc/controllerrc: changed accordingly. Also removed default
bindings for cursor keys without modifiers as many tools use the
cursor keys already.
2008-07-14 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-scale.c
(gimp_display_shell_scale_setup): added some line breaks to
improve readability.
2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell-scale.[ch]
(gimp_display_shell_center_image): Allow to choose what axes to
center on.
(gimp_display_shell_scale_fill)
(gimp_display_shell_scale_fit_in): Explicitly center on both axes.
* app/display/gimpdisplayshell.c (gimp_display_shell_fill): Center
the image in the previously empty display shell. Rather hackish,
but seems to work fine.
2008-07-13 Sven Neumann <sven@gimp.org>
* app/widgets/Makefile.am
* app/widgets/gimpdbusservice.[ch]
* app/widgets/dbus-service.xml: removed here ...
* app/gui/Makefile.am
* app/gui/gimpdbusservice.[ch]
* app/gui/dbus-service.xml: ... and moved here.
(gimp_dbus_service_activate): raise the first display instead of
the toolbox.
* app/gui/gui-unique.c (gui_unique_win32_idle_open): same change
here, raise the display instead of the toolbox.
* app/unique.c: changed accordingly.
2008-07-13 Sven Neumann <sven@gimp.org>
* app/unique.c
* app/gui/gui-unique.c: on Win32, if the gimp binary is started
without filenames, raise the toolbox, just as we do in the DBus
code path.
2008-07-13 Aurimas Juška <aurisj@svn.gnome.org>
* app/widgets/gimpcombotagentry.c: correctly calculate border
thickness so that scrollbars would not appear when unneeded.
* app/unique.c (gimp_unique_win32_open): check for NULL pointer to
prevent crash when there are no filenames provided.
2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_new): Get rid
of non-intelligent scrollbar stepper sensitivity code.
* app/display/gimpdisplayshell-scroll.c
(gimp_display_shell_scroll_clamp_offsets): Add intelligent
scrollbar stepper sensitivity code.
2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell-scroll.c
(gimp_display_shell_setup_hscrollbar_with_value): Consistency
cleanup.
2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell-scale.[ch]
(gimp_display_shell_center_image): New function.
(gimp_display_shell_scale_fill)
(gimp_display_shell_scale_fit_in): Center the image at the end.
2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell-scroll.c
(gimp_display_shell_setup_hscrollbar_with_value)
(gimp_display_shell_setup_vscrollbar_with_value): Use
gimp_display_shell_get_scaled_image_size() instead of inaccurately
calculate that information locally.
2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
@ -85,6 +316,17 @@
ask gimp_display_shell_set_initial_scale() for display size, we
don't care anyway.
2008-07-13 Aurimas Juška <aurisj@svn.gnome.org>
* app/widgets/gimpcombotagentry.c: if scrollbar appears in popup
window, re-layout tags.
2008-07-13 Aurimas Juška <aurisj@svn.gnome.org>
* app/widgets/gimpcombotagentry.c: correctly calculate border
thickness so that scrollbars would not appear when unneeded.
2008-07-13 Aurimas Juška <aurisj@svn.gnome.org>
* app/core/gimp.c: cache pattern, gradient and palette tags in addition

7
NEWS
View File

@ -19,13 +19,18 @@ Changes in GIMP 2.5.2
- allow to map dynamics to hardness for the Eraser tool
- provide gimp-remote functionality on Windows
- disable the build and install of the gimp-remote tool by default
- allow to scroll beyond the image borders
- added new PDB data type for transferring color arrays
- added new PDB function gimp-palette-get-colors
- added text search to the Help Browser plug-in
- bug fixes and code cleanup
Contributors:
Sven Neumann, Michael Natterer, Martin Nordholts, Manish Singh,
Lars-Peter Clausen, Alexia Death, Tor Lillqvist, Jakub Steiner
Lars-Peter Clausen, Alexia Death, Tor Lillqvist, Róman Joost,
Jakub Steiner
Changes in GIMP 2.5.1

View File

@ -69,7 +69,7 @@ EXTRA_DIST = \
wilber.ico
if OS_WIN32
mwindows = -mwindows
win32_ldflags = -mwindows -Wl,--large-address-aware
endif
if USE_BINRELOC
@ -102,7 +102,7 @@ AM_LDFLAGS = \
-u $(SYMPREFIX)gimp_image_map_config_get_type \
-u $(SYMPREFIX)gimp_plug_in_manager_restore
gimp_2_5_LDFLAGS = $(AM_LDFLAGS) $(mwindows)
gimp_2_5_LDFLAGS = $(AM_LDFLAGS) $(win32_ldflags)
gimp_2_5_LDADD = \
gui/libappgui.a \

View File

@ -45,11 +45,14 @@
#define GIMP_COORDS_MAX_WHEEL 1.0
#define GIMP_COORDS_DEFAULT_WHEEL 0.5
#define GIMP_COORDS_DEFAULT_VALUES { 0.0, 0.0, \
GIMP_COORDS_DEFAULT_PRESSURE, \
GIMP_COORDS_DEFAULT_TILT, \
GIMP_COORDS_DEFAULT_TILT, \
GIMP_COORDS_DEFAULT_WHEEL }
#define GIMP_COORDS_DEFAULT_VELOCITY 0.0
#define GIMP_COORDS_DEFAULT_VALUES { 0.0, 0.0, \
GIMP_COORDS_DEFAULT_PRESSURE, \
GIMP_COORDS_DEFAULT_TILT, \
GIMP_COORDS_DEFAULT_TILT, \
GIMP_COORDS_DEFAULT_WHEEL, \
GIMP_COORDS_DEFAULT_VELOCITY }
/* base classes */
@ -201,12 +204,7 @@ struct _GimpCoords
gdouble xtilt;
gdouble ytilt;
gdouble wheel;
gdouble delta_time;
gdouble delta_x;
gdouble delta_y;
gdouble distance;
gdouble velocity;
gdouble random;
};

View File

@ -44,12 +44,13 @@ gimp_coords_mix (const gdouble amul,
{
if (b)
{
ret_val->x = amul * a->x + bmul * b->x ;
ret_val->y = amul * a->y + bmul * b->y ;
ret_val->pressure = amul * a->pressure + bmul * b->pressure ;
ret_val->xtilt = amul * a->xtilt + bmul * b->xtilt ;
ret_val->ytilt = amul * a->ytilt + bmul * b->ytilt ;
ret_val->wheel = amul * a->wheel + bmul * b->wheel ;
ret_val->x = amul * a->x + bmul * b->x;
ret_val->y = amul * a->y + bmul * b->y;
ret_val->pressure = amul * a->pressure + bmul * b->pressure;
ret_val->xtilt = amul * a->xtilt + bmul * b->xtilt;
ret_val->ytilt = amul * a->ytilt + bmul * b->ytilt;
ret_val->wheel = amul * a->wheel + bmul * b->wheel;
ret_val->velocity = amul * a->velocity + bmul * b->velocity;
}
else
{
@ -59,6 +60,7 @@ gimp_coords_mix (const gdouble amul,
ret_val->xtilt = amul * a->xtilt;
ret_val->ytilt = amul * a->ytilt;
ret_val->wheel = amul * a->wheel;
ret_val->velocity = amul * a->velocity;
}
}
@ -118,7 +120,7 @@ gimp_coords_scalarprod (const GimpCoords *a,
a->pressure * b->pressure +
a->xtilt * b->xtilt +
a->ytilt * b->ytilt +
a->wheel * b->wheel );
a->wheel * b->wheel);
}

View File

@ -213,6 +213,11 @@ gimp_display_shell_eval_event (GimpDisplayShell *shell,
gdouble inertia_factor,
guint32 time)
{
gdouble delta_time = 0.001;
gdouble delta_x = 0.0;
gdouble delta_y = 0.0;
gdouble distance = 1.0;
/* Smoothing causes problems with cursor tracking
* when zoomed above screen resolution so we need to supress it.
*/
@ -221,22 +226,21 @@ gimp_display_shell_eval_event (GimpDisplayShell *shell,
inertia_factor = 0.0;
}
if (shell->last_disp_motion_time == 0)
if (shell->last_motion_time == 0)
{
/* First pair is invalid to do any velocity calculation,
* so we apply constant values.
* so we apply a constant value.
*/
coords->velocity = 1.0;
coords->delta_time = 0.001;
coords->distance = 1;
coords->velocity = 1.0;
}
else
{
gdouble dx = coords->delta_x = shell->last_coords.x - coords->x;
gdouble dy = coords->delta_y = shell->last_coords.y - coords->y;
gdouble filter;
gdouble dist;
delta_x = shell->last_coords.x - coords->x;
delta_y = shell->last_coords.y - coords->y;
#define SMOOTH_FACTOR 0.3
/* Events with distances less than the screen resolution are not
@ -244,20 +248,18 @@ gimp_display_shell_eval_event (GimpDisplayShell *shell,
*/
filter = MIN (1 / shell->scale_x, 1 / shell->scale_y) / 2.0;
if (fabs (dx) < filter && fabs (dy) < filter)
if (fabs (delta_x) < filter && fabs (delta_y) < filter)
return FALSE;
coords->delta_time = time - shell->last_disp_motion_time;
coords->delta_time = (shell->last_coords.delta_time * (1 - SMOOTH_FACTOR)
+ coords->delta_time * SMOOTH_FACTOR);
coords->distance = dist = sqrt (SQR (dx) + SQR (dy));
delta_time = (shell->last_motion_delta_time * (1 - SMOOTH_FACTOR)
+ (time - shell->last_motion_time) * SMOOTH_FACTOR);
coords->random = g_random_double_range (0.0, 1.0);
distance = dist = sqrt (SQR (delta_x) + SQR (delta_y));
/* If even smoothed time resolution does not allow to guess for speed,
* use last velocity.
*/
if ((coords->delta_time == 0))
if (delta_time == 0)
{
coords->velocity = shell->last_coords.velocity;
}
@ -266,14 +268,13 @@ gimp_display_shell_eval_event (GimpDisplayShell *shell,
/* We need to calculate the velocity in screen coordinates
* for human interaction
*/
gdouble screen_distance = (coords->distance *
gdouble screen_distance = (distance *
MIN (shell->scale_x, shell->scale_y));
/* Calculate raw valocity */
coords->velocity = ((screen_distance / (gdouble) coords->delta_time) /
VELOCITY_UNIT);
coords->velocity = ((screen_distance / delta_time) / VELOCITY_UNIT);
/* Adding velocity dependent smooth, feels better in tools this way. */
/* Adding velocity dependent smoothing, feels better in tools. */
coords->velocity = (shell->last_coords.velocity *
(1 - MIN (SMOOTH_FACTOR, coords->velocity)) +
coords->velocity *
@ -282,10 +283,11 @@ gimp_display_shell_eval_event (GimpDisplayShell *shell,
/* Speed needs upper limit */
coords->velocity = MIN (coords->velocity, 1.0);
}
/* High speed -> less smooth*/
inertia_factor *= (1 - coords->velocity);
if (inertia_factor > 0 && coords->distance > 0)
if (inertia_factor > 0 && distance > 0)
{
/* Apply smoothing to X and Y. */
@ -301,23 +303,21 @@ gimp_display_shell_eval_event (GimpDisplayShell *shell,
gdouble new_x;
gdouble new_y;
sin_new = coords->delta_x / coords->distance;
sin_old = shell->last_coords.delta_x / shell->last_coords.distance;
sin_new = delta_x / distance;
sin_old = shell->last_motion_delta_x / shell->last_motion_distance;
sin_avg = sin (asin (sin_old) * inertia_factor +
asin (sin_new) * (1 - inertia_factor));
cos_new = coords->delta_y / coords->distance;
cos_old = shell->last_coords.delta_y / shell->last_coords.distance;
cos_new = delta_y / distance;
cos_old = shell->last_motion_delta_y / shell->last_motion_distance;
cos_avg = cos (acos (cos_old) * inertia_factor +
acos (cos_new) * (1 - inertia_factor));
coords->delta_x = sin_avg * coords->distance;
coords->delta_y = cos_avg * coords->distance;
delta_x = sin_avg * distance;
delta_y = cos_avg * distance;
new_x =
(shell->last_coords.x - coords->delta_x) * 0.5 + coords->x * 0.5;
new_y =
(shell->last_coords.y - coords->delta_y) * 0.5 + coords->y * 0.5;
new_x = (shell->last_coords.x - delta_x) * 0.5 + coords->x * 0.5;
new_y = (shell->last_coords.y - delta_y) * 0.5 + coords->y * 0.5;
cur_deviation = SQR (coords->x - new_x) + SQR (coords->y - new_y);
@ -333,18 +333,17 @@ gimp_display_shell_eval_event (GimpDisplayShell *shell,
coords->x = new_x;
coords->y = new_y;
coords->delta_x = shell->last_coords.x - coords->x;
coords->delta_y = shell->last_coords.y - coords->y;
delta_x = shell->last_coords.x - coords->x;
delta_y = shell->last_coords.y - coords->y;
/* Recalculate distance */
coords->distance = sqrt (SQR (coords->delta_x) +
SQR (coords->delta_y));
distance = sqrt (SQR (delta_x) + SQR (delta_y));
}
#ifdef VERBOSE
g_printerr ("DIST: %f, DT:%f, Vel:%f, Press:%f,smooth_dd:%f, sf %f\n",
coords->distance,
coords->delta_time,
distance,
delta_time,
shell->last_coords.velocity,
coords->pressure,
coords->distance - dist,
@ -352,8 +351,13 @@ gimp_display_shell_eval_event (GimpDisplayShell *shell,
#endif
}
shell->last_coords = *coords;
shell->last_disp_motion_time = time;
shell->last_coords = *coords;
shell->last_motion_time = time;
shell->last_motion_delta_time = delta_time;
shell->last_motion_delta_x = delta_x;
shell->last_motion_delta_y = delta_y;
shell->last_motion_distance = distance;
return TRUE;
}

View File

@ -38,6 +38,7 @@
#include "gimpdisplay.h"
#include "gimpdisplayshell.h"
#include "gimpdisplayshell-private.h"
#include "gimpdisplayshell-scale.h"
#include "gimpdisplayshell-scroll.h"
#include "gimpdisplayshell-title.h"
@ -161,11 +162,15 @@ gimp_display_shell_scale_setup (GimpDisplayShell *shell)
if (image)
{
horizontal_upper = img2real (shell, TRUE, FUNSCALEX (shell, shell->disp_width));
horizontal_max_size = img2real (shell, TRUE, MAX (image_width, image_height));
horizontal_upper = img2real (shell, TRUE,
FUNSCALEX (shell, shell->disp_width));
horizontal_max_size = img2real (shell, TRUE,
MAX (image_width, image_height));
vertical_upper = img2real (shell, FALSE, FUNSCALEY (shell, shell->disp_height));
vertical_max_size = img2real (shell, FALSE, MAX (image_width, image_height));
vertical_upper = img2real (shell, FALSE,
FUNSCALEY (shell, shell->disp_height));
vertical_max_size = img2real (shell, FALSE,
MAX (image_width, image_height));
}
else
{
@ -184,14 +189,18 @@ gimp_display_shell_scale_setup (GimpDisplayShell *shell)
&scaled_image_viewport_offset_y);
horizontal_lower -= img2real (shell, TRUE,
FUNSCALEX (shell, (gdouble) scaled_image_viewport_offset_x));
FUNSCALEX (shell,
(gdouble) scaled_image_viewport_offset_x));
horizontal_upper -= img2real (shell, TRUE,
FUNSCALEX (shell, (gdouble) scaled_image_viewport_offset_x));
FUNSCALEX (shell,
(gdouble) scaled_image_viewport_offset_x));
vertical_lower -= img2real (shell, FALSE,
FUNSCALEY (shell, (gdouble) scaled_image_viewport_offset_y));
FUNSCALEY (shell,
(gdouble) scaled_image_viewport_offset_y));
vertical_upper -= img2real (shell, FALSE,
FUNSCALEY (shell, (gdouble) scaled_image_viewport_offset_y));
FUNSCALEY (shell,
(gdouble) scaled_image_viewport_offset_y));
/* Finally setup the actual rulers */
@ -430,6 +439,7 @@ gimp_display_shell_scale_fit_in (GimpDisplayShell *shell)
(gdouble) shell->disp_height / (gdouble) image_height);
gimp_display_shell_scale (shell, GIMP_ZOOM_TO, zoom_factor);
gimp_display_shell_center_image (shell, TRUE, TRUE);
}
/**
@ -468,6 +478,67 @@ gimp_display_shell_scale_fill (GimpDisplayShell *shell)
(gdouble) shell->disp_height / (gdouble) image_height);
gimp_display_shell_scale (shell, GIMP_ZOOM_TO, zoom_factor);
gimp_display_shell_center_image (shell, TRUE, TRUE);
}
/**
* gimp_display_shell_center_image:
* @shell:
* @horizontally:
* @vertically:
*
* Centers the image in the display shell on the desired axes.
*
**/
void
gimp_display_shell_center_image (GimpDisplayShell *shell,
gboolean horizontally,
gboolean vertically)
{
gint sw, sh;
gint target_offset_x, target_offset_y;
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
if (! shell->display)
return;
target_offset_x = shell->offset_x;
target_offset_y = shell->offset_y;
gimp_display_shell_get_scaled_image_size (shell, &sw, &sh);
if (horizontally)
{
if (sw < shell->disp_width)
{
target_offset_x = -(shell->disp_width - sw) / 2;
}
else
{
target_offset_x = (sw - shell->disp_width) / 2;
}
}
if (vertically)
{
if (sh < shell->disp_height)
{
target_offset_y = -(shell->disp_height - sh) / 2;
}
else
{
target_offset_y = (sh - shell->disp_height) / 2;
}
}
/* Note that we can't use gimp_display_shell_scroll_private() here
* because that would expose the image twice, causing unwanted
* flicker.
*/
gimp_display_shell_scale_by_values (shell, gimp_zoom_model_get_factor (shell->zoom),
target_offset_x, target_offset_y,
shell->display->config->resize_windows_on_zoom);
}
/**

View File

@ -38,6 +38,9 @@ void gimp_display_shell_scale_to (GimpDisplayShell *shell,
gdouble y);
void gimp_display_shell_scale_fit_in (GimpDisplayShell *shell);
void gimp_display_shell_scale_fill (GimpDisplayShell *shell);
void gimp_display_shell_center_image (GimpDisplayShell *shell,
gboolean horizontally,
gboolean vertically);
void gimp_display_shell_scale_by_values (GimpDisplayShell *shell,
gdouble scale,
gint offset_x,

View File

@ -166,6 +166,32 @@ gimp_display_shell_scroll_clamp_offsets (GimpDisplayShell *shell)
max_offset_y = sh + overpan_amount - shell->disp_height;
}
/* Handle scrollbar stepper sensitiity */
gtk_range_set_lower_stepper_sensitivity (GTK_RANGE (shell->hsb),
min_offset_x < shell->offset_x ?
GTK_SENSITIVITY_ON :
GTK_SENSITIVITY_OFF);
gtk_range_set_upper_stepper_sensitivity (GTK_RANGE (shell->hsb),
max_offset_x > shell->offset_x ?
GTK_SENSITIVITY_ON :
GTK_SENSITIVITY_OFF);
gtk_range_set_lower_stepper_sensitivity (GTK_RANGE (shell->vsb),
min_offset_y < shell->offset_y ?
GTK_SENSITIVITY_ON :
GTK_SENSITIVITY_OFF);
gtk_range_set_upper_stepper_sensitivity (GTK_RANGE (shell->vsb),
max_offset_y > shell->offset_y ?
GTK_SENSITIVITY_ON :
GTK_SENSITIVITY_OFF);
/* Clamp */
shell->offset_x = CLAMP (shell->offset_x, min_offset_x, max_offset_x);
shell->offset_y = CLAMP (shell->offset_y, min_offset_y, max_offset_y);
}
@ -374,15 +400,15 @@ gimp_display_shell_setup_hscrollbar_with_value (GimpDisplayShell *shell,
! shell->display->image)
return;
sw = SCALEX (shell, gimp_image_get_width (shell->display->image));
gimp_display_shell_get_scaled_image_size (shell, &sw, NULL);
if (shell->disp_width < sw)
{
shell->hsbdata->upper = MAX (value + shell->disp_width,
sw);
shell->hsbdata->lower = MIN (value,
0);
shell->hsbdata->upper = MAX (value + shell->disp_width,
sw);
}
else
{
@ -414,15 +440,15 @@ gimp_display_shell_setup_vscrollbar_with_value (GimpDisplayShell *shell,
! shell->display->image)
return;
sh = SCALEY (shell, gimp_image_get_height (shell->display->image));
gimp_display_shell_get_scaled_image_size (shell, NULL, &sh);
if (shell->disp_height < sh)
{
shell->vsbdata->upper = MAX (value + shell->disp_height,
sh);
shell->vsbdata->lower = MIN (value,
0);
shell->vsbdata->upper = MAX (value + shell->disp_height,
sh);
}
else
{

View File

@ -337,10 +337,16 @@ gimp_display_shell_init (GimpDisplayShell *shell)
shell->scroll_start_x = 0;
shell->scroll_start_y = 0;
shell->button_press_before_focus = FALSE;
shell->highlight = NULL;
shell->mask = NULL;
shell->last_motion_time = 0;
shell->last_motion_delta_x = 0.0;
shell->last_motion_delta_y = 0.0;
shell->last_motion_distance = 0.0;
shell->last_motion_delta_time = 0.0;
gtk_window_set_role (GTK_WINDOW (shell), "gimp-image-window");
gtk_window_set_resizable (GTK_WINDOW (shell), TRUE);
@ -936,9 +942,6 @@ gimp_display_shell_new (GimpDisplay *display,
1, 1, image_width));
shell->hsb = gtk_hscrollbar_new (shell->hsbdata);
gtk_range_set_lower_stepper_sensitivity (GTK_RANGE (shell->hsb), GTK_SENSITIVITY_ON);
gtk_range_set_upper_stepper_sensitivity (GTK_RANGE (shell->hsb), GTK_SENSITIVITY_ON);
GTK_WIDGET_UNSET_FLAGS (shell->hsb, GTK_CAN_FOCUS);
/* the vertical scrollbar */
@ -946,9 +949,6 @@ gimp_display_shell_new (GimpDisplay *display,
1, 1, image_height));
shell->vsb = gtk_vscrollbar_new (shell->vsbdata);
gtk_range_set_lower_stepper_sensitivity (GTK_RANGE (shell->vsb), GTK_SENSITIVITY_ON);
gtk_range_set_upper_stepper_sensitivity (GTK_RANGE (shell->vsb), GTK_SENSITIVITY_ON);
GTK_WIDGET_UNSET_FLAGS (shell->vsb, GTK_CAN_FOCUS);
/* create the contents of the inner_table ********************************/
@ -1322,6 +1322,35 @@ gimp_display_shell_empty (GimpDisplayShell *shell)
gimp_ui_manager_update (shell->popup_manager, shell->display);
}
static void
gimp_display_shell_center_image_callback (GimpDisplayShell *shell,
GtkAllocation *allocation,
GtkWidget *canvas)
{
gint sw, sh;
gboolean center_horizontally;
gboolean center_vertically;
gimp_display_shell_get_scaled_image_size (shell, &sw, &sh);
/* We only want to center on the axes on which the image is smaller
* than the display canvas. If it is larger, it will be centered on
* that axis later, and if we center on all axis unconditionally, we
* end up with the wrong centering if the image is larger than the
* display canvas.
*/
center_horizontally = sw < shell->disp_width;
center_vertically = sh < shell->disp_height;
gimp_display_shell_center_image (shell,
center_horizontally,
center_vertically);
g_signal_handlers_disconnect_by_func (canvas,
gimp_display_shell_center_image_callback,
shell);
}
static gboolean
gimp_display_shell_fill_idle (GimpDisplayShell *shell)
{
@ -1357,6 +1386,15 @@ gimp_display_shell_fill (GimpDisplayShell *shell,
gimp_help_set_help_data (shell->canvas, NULL, NULL);
/* Not pretty, but we need to center the image as soon as the canvas
* has got its new size allocated. The centering will be wrong if we
* do it too early, and if we do it too late flickering will occur
* due to the image being rendered twice.
*/
g_signal_connect_swapped (shell->canvas, "size-allocate",
G_CALLBACK (gimp_display_shell_center_image_callback),
shell);
shell->fill_idle_id = g_idle_add_full (G_PRIORITY_LOW,
(GSourceFunc) gimp_display_shell_fill_idle,
shell, NULL);

View File

@ -180,8 +180,6 @@ struct _GimpDisplayShell
gint scroll_start_x;
gint scroll_start_y;
gboolean button_press_before_focus;
guint32 last_disp_motion_time; /* previous time of a forwarded motion event */
guint32 last_read_motion_time;
GdkRectangle *highlight; /* in image coordinates, can be NULL */
GimpDrawable *mask;
@ -190,6 +188,14 @@ struct _GimpDisplayShell
gpointer scroll_info;
GimpCoords last_coords; /* last motion event */
guint32 last_motion_time; /* previous time of a forwarded motion event */
guint32 last_read_motion_time;
gdouble last_motion_delta_time;
gdouble last_motion_delta_x;
gdouble last_motion_delta_y;
gdouble last_motion_distance;
};
struct _GimpDisplayShellClass

View File

@ -231,6 +231,10 @@ gimp_navigation_editor_popup (GimpDisplayShell *shell,
GdkScreen *screen;
gint x, y;
gint x_org, y_org;
gint view_marker_x;
gint view_marker_y;
gint view_marker_width;
gint view_marker_height;
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
g_return_if_fail (GTK_IS_WIDGET (widget));
@ -272,14 +276,20 @@ gimp_navigation_editor_popup (GimpDisplayShell *shell,
/* decide where to put the popup */
gdk_window_get_origin (widget->window, &x_org, &y_org);
gimp_navigation_view_get_local_marker (view,
&view_marker_x,
&view_marker_y,
&view_marker_width,
&view_marker_height);
x = (x_org + click_x -
view->p_x -
0.5 * (view->p_width - BORDER_PEN_WIDTH) -
view_marker_x -
0.5 * (view_marker_width - BORDER_PEN_WIDTH) -
2 * style->xthickness);
y = (y_org + click_y -
view->p_y -
0.5 * (view->p_height - BORDER_PEN_WIDTH) -
view_marker_y -
0.5 * (view_marker_height - BORDER_PEN_WIDTH) -
2 * style->ythickness);
/* If the popup doesn't fit into the screen, we have a problem.
@ -305,9 +315,9 @@ gimp_navigation_editor_popup (GimpDisplayShell *shell,
gdk_flush ();
/* fill in then grab pointer */
view->motion_offset_x = 0.5 * (view->p_width - BORDER_PEN_WIDTH);
view->motion_offset_y = 0.5 * (view->p_height - BORDER_PEN_WIDTH);
gimp_navigation_view_set_motion_offset (view,
0.5 * (view_marker_width - BORDER_PEN_WIDTH),
0.5 * (view_marker_height - BORDER_PEN_WIDTH));
gimp_navigation_view_grab_pointer (view);
}

View File

@ -15,9 +15,11 @@ INCLUDES = \
noinst_LIBRARIES = libappgui.a
libappgui_a_SOURCES = \
libappgui_a_sources = \
color-history.c \
color-history.h \
gimpdbusservice.c \
gimpdbusservice.h \
gui.c \
gui.h \
gui-message.c \
@ -36,4 +38,23 @@ libappgui_a_SOURCES = \
ige-mac-menu.c \
ige-mac-menu.h
EXTRA_DIST = makefile.msc
libappgui_a_built_sources = gimpdbusservice-glue.h
libappgui_a_SOURCES = $(libappgui_a_built_sources) $(libappgui_a_sources)
EXTRA_DIST = \
dbus-service.xml \
makefile.msc
#
# rules to generate built sources
#
# setup autogeneration dependencies
gen_sources = gimpdbusservice-glue.h
CLEANFILES = $(gen_sources)
$(srcdir)/gimpdbusservice.c: gimpdbusservice-glue.h
gimpdbusservice-glue.h: $(srcdir)/dbus-service.xml
$(DBUS_BINDING_TOOL) --mode=glib-server --prefix=gimp $< > $(@F)

View File

@ -26,15 +26,17 @@
#include <gtk/gtk.h>
#include <dbus/dbus-glib.h>
#include "widgets-types.h"
#include "gui-types.h"
#include "core/gimp.h"
#include "core/gimpcontainer.h"
#include "file/file-open.h"
#include "display/gimpdisplay.h"
#include "gimpdbusservice.h"
#include "gimpdbusservice-glue.h"
#include "gimpuimanager.h"
static void gimp_dbus_service_class_init (GimpDBusServiceClass *klass);
@ -103,16 +105,13 @@ gboolean
gimp_dbus_service_activate (GimpDBusService *service,
GError **dbus_error)
{
const GList *managers;
GimpObject *display;
g_return_val_if_fail (GIMP_IS_DBUS_SERVICE (service), FALSE);
/* raise the toolbox */
managers = gimp_ui_managers_from_name ("<Image>");
display = gimp_container_get_first_child (service->gimp->displays);
if (managers)
gimp_ui_manager_activate_action (managers->data,
"dialogs", "dialogs-toolbox");
gtk_window_present (GTK_WINDOW (GIMP_DISPLAY (display)->shell));
return TRUE;
}

View File

@ -18,7 +18,7 @@
#include "config.h"
#include <glib-object.h>
#include <gtk/gtk.h>
#ifdef G_OS_WIN32
#include <windows.h>
@ -30,12 +30,14 @@
#include <dbus/dbus-glib-lowlevel.h>
#endif
#include "core/core-types.h"
#include "gui/gui-types.h"
#include "core/gimp.h"
#include "core/gimpcontainer.h"
#include "widgets/gimpdbusservice.h"
#include "display/gimpdisplay.h"
#include "gimpdbusservice.h"
#include "gui-unique.h"
@ -128,12 +130,16 @@ typedef struct
static IdleOpenData *
idle_open_data_new (const gchar *name,
gint len,
gboolean as_new)
{
IdleOpenData *data = g_slice_new (IdleOpenData);
IdleOpenData *data = g_slice_new0 (IdleOpenData);
data->name = g_strdup (name);
data->as_new = as_new;
if (len > 0)
{
data->name = g_strdup (name);
data->as_new = as_new;
}
return data;
}
@ -148,7 +154,19 @@ idle_open_data_free (IdleOpenData *data)
static gboolean
gui_unique_win32_idle_open (IdleOpenData *data)
{
file_open_from_command_line (unique_gimp, data->name, data->as_new);
if (data->name)
{
file_open_from_command_line (unique_gimp, data->name, data->as_new);
}
else
{
/* raise the first display */
GimpObject *display;
display = gimp_container_get_first_child (unique_gimp->displays);
gtk_window_present (GTK_WINDOW (GIMP_DISPLAY (display)->shell));
}
return FALSE;
}
@ -163,27 +181,28 @@ gui_unique_win32_message_handler (HWND hWnd,
switch (uMsg)
{
case WM_COPYDATA:
{
COPYDATASTRUCT *copydata = (COPYDATASTRUCT *) lParam;
if (unique_gimp)
{
COPYDATASTRUCT *copydata = (COPYDATASTRUCT *) lParam;
GSource *source;
GClosure *closure;
IdleOpenData *data;
if (unique_gimp && copydata->cbData > 0)
{
GSource *source;
GClosure *closure;
IdleOpenData *data = idle_open_data_new (copydata->lpData, copydata->dwData != 0);
data = idle_open_data_new (copydata->lpData,
copydata->cbData,
copydata->dwData != 0);
closure = g_cclosure_new (G_CALLBACK (gui_unique_win32_idle_open),
data,
(GClosureNotify) idle_open_data_free);
closure = g_cclosure_new (G_CALLBACK (gui_unique_win32_idle_open),
data,
(GClosureNotify) idle_open_data_free);
g_object_watch_closure (unique_gimp, closure);
g_object_watch_closure (unique_gimp, closure);
source = g_idle_source_new ();
g_source_set_closure (source, closure);
g_source_attach (source, NULL);
g_source_unref (source);
}
}
source = g_idle_source_new ();
g_source_set_closure (source, closure);
g_source_attach (source, NULL);
g_source_unref (source);
}
return TRUE;
default:

View File

@ -143,8 +143,7 @@ gimp_airbrush_paint (GimpPaintCore *paint_core,
airbrush->paint_options = paint_options;
dynamic_rate = gimp_paint_options_get_dynamic_rate (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
timeout = 10000 / (options->rate * dynamic_rate);

View File

@ -355,7 +355,6 @@ gimp_brush_core_start (GimpPaintCore *paint_core,
core->scale = gimp_paint_options_get_dynamic_size (paint_options,
coords,
paint_core->use_pressure,
GIMP_BRUSH_CORE_GET_CLASS (core)->handles_scaling_brush);
core->spacing = (gdouble) gimp_brush_get_spacing (core->main_brush) / 100.0;
@ -636,7 +635,6 @@ gimp_brush_core_interpolate (GimpPaintCore *paint_core,
p * delta_wheel);
paint_core->cur_coords.velocity = (paint_core->last_coords.velocity +
p * delta_velocity);
paint_core->cur_coords.random = g_random_double_range (0.0, 1.0);
if (core->jitter > 0.0)
{
@ -689,12 +687,10 @@ gimp_brush_core_get_paint_area (GimpPaintCore *paint_core,
gint brush_width, brush_height;
if (GIMP_BRUSH_CORE_GET_CLASS (core)->handles_scaling_brush)
{
core->scale = gimp_paint_options_get_dynamic_size (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure,
TRUE);
}
core->scale = gimp_paint_options_get_dynamic_size (paint_options,
&paint_core->cur_coords,
TRUE);
/* else use scale from start(), we don't support on-the-fly scaling */
gimp_brush_scale_size (core->brush, core->scale,

View File

@ -237,12 +237,10 @@ gimp_clone_motion (GimpSourceCore *source_core,
}
opacity *= gimp_paint_options_get_dynamic_opacity (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
hardness = gimp_paint_options_get_dynamic_hardness (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
gimp_brush_core_paste_canvas (GIMP_BRUSH_CORE (paint_core), drawable,
MIN (opacity, GIMP_OPACITY_OPAQUE),

View File

@ -151,8 +151,7 @@ gimp_convolve_motion (GimpPaintCore *paint_core,
rate = options->rate;
rate *= gimp_paint_options_get_dynamic_rate (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
gimp_convolve_calculate_matrix (convolve, options->type,
brush_core->brush->mask->width / 2,

View File

@ -237,12 +237,10 @@ gimp_dodge_burn_motion (GimpPaintCore *paint_core,
g_free (temp_data);
opacity *= gimp_paint_options_get_dynamic_opacity (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
hardness = gimp_paint_options_get_dynamic_hardness (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
/* Replace the newly dodgedburned area (canvas_buf) to the image */
gimp_brush_core_replace_canvas (GIMP_BRUSH_CORE (paint_core), drawable,

View File

@ -132,12 +132,10 @@ gimp_eraser_motion (GimpPaintCore *paint_core,
area->width * area->height, area->bytes);
opacity *= gimp_paint_options_get_dynamic_opacity (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
hardness = gimp_paint_options_get_dynamic_hardness (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
gimp_brush_core_paste_canvas (GIMP_BRUSH_CORE (paint_core), drawable,
MIN (opacity, GIMP_OPACITY_OPAQUE),

View File

@ -438,8 +438,7 @@ gimp_heal_motion (GimpSourceCore *source_core,
gdouble hardness;
hardness = gimp_paint_options_get_dynamic_hardness (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
mask_buf = gimp_brush_core_get_brush_mask (GIMP_BRUSH_CORE (source_core),
GIMP_BRUSH_HARD,
@ -547,8 +546,7 @@ gimp_heal_motion (GimpSourceCore *source_core,
temp_buf_free (temp);
opacity *= gimp_paint_options_get_dynamic_opacity (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
/* replace the canvas with our healed data */
gimp_brush_core_replace_canvas (GIMP_BRUSH_CORE (paint_core),

View File

@ -129,8 +129,7 @@ _gimp_paintbrush_motion (GimpPaintCore *paint_core,
paint_appl_mode = paint_options->application_mode;
grad_point = gimp_paint_options_get_dynamic_color (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
/* optionally take the color from the current gradient */
if (gimp_paint_options_get_gradient_color (paint_options, image,
@ -175,12 +174,10 @@ _gimp_paintbrush_motion (GimpPaintCore *paint_core,
}
opacity *= gimp_paint_options_get_dynamic_opacity (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
hardness = gimp_paint_options_get_dynamic_hardness (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
/* finally, let the brush core paste the colored area on the canvas */
gimp_brush_core_paste_canvas (brush_core, drawable,

View File

@ -150,7 +150,6 @@ gimp_paint_core_init (GimpPaintCore *core)
core->x2 = 0;
core->y2 = 0;
core->use_pressure = FALSE;
core->use_saved_proj = FALSE;
core->undo_tiles = NULL;

View File

@ -55,7 +55,6 @@ struct _GimpPaintCore
gint x1, y1; /* undo extents in image coords */
gint x2, y2; /* undo extents in image coords */
gboolean use_pressure; /* look at coords->pressure */
gboolean use_saved_proj; /* keep the unmodified proj around */
TileManager *undo_tiles; /* tiles which have been modified */

View File

@ -980,8 +980,7 @@ gimp_paint_options_get_dynamics_mix (gdouble mix1,
gdouble
gimp_paint_options_get_dynamic_opacity (GimpPaintOptions *paint_options,
const GimpCoords *coords,
gboolean use_pressure)
const GimpCoords *coords)
{
gdouble opacity = 1.0;
@ -996,14 +995,14 @@ gimp_paint_options_get_dynamic_opacity (GimpPaintOptions *paint_options,
gdouble velocity = -1.0;
gdouble random = -1.0;
if (paint_options->pressure_options->opacity && use_pressure)
if (paint_options->pressure_options->opacity)
pressure = GIMP_PAINT_PRESSURE_SCALE * coords->pressure;
if (paint_options->velocity_options->opacity)
velocity = GIMP_PAINT_VELOCITY_SCALE * (1 - coords->velocity);
if (paint_options->random_options->opacity)
random = coords->random;
random = g_random_double_range (0.0, 1.0);
opacity = gimp_paint_options_get_dynamics_mix (pressure,
paint_options->pressure_options->prescale,
@ -1019,7 +1018,6 @@ gimp_paint_options_get_dynamic_opacity (GimpPaintOptions *paint_options,
gdouble
gimp_paint_options_get_dynamic_size (GimpPaintOptions *paint_options,
const GimpCoords *coords,
gboolean use_pressure,
gboolean use_dynamics)
{
gdouble scale = 1.0;
@ -1030,11 +1028,11 @@ gimp_paint_options_get_dynamic_size (GimpPaintOptions *paint_options,
gdouble velocity = -1.0;
gdouble random = -1.0;
if (paint_options->pressure_options->size && use_pressure)
if (paint_options->pressure_options->size)
{
pressure = coords->pressure;
}
else if (paint_options->pressure_options->inverse_size && use_pressure)
else if (paint_options->pressure_options->inverse_size)
{
pressure = 1.0 - 0.9 * coords->pressure;
}
@ -1050,11 +1048,11 @@ gimp_paint_options_get_dynamic_size (GimpPaintOptions *paint_options,
if (paint_options->random_options->size)
{
random = 1.0 - coords->random;
random = 1.0 - g_random_double_range (0.0, 1.0);
}
else if (paint_options->random_options->inverse_size)
{
random = coords->random;
random = g_random_double_range (0.0, 1.0);
}
scale = gimp_paint_options_get_dynamics_mix (pressure,
@ -1078,8 +1076,7 @@ gimp_paint_options_get_dynamic_size (GimpPaintOptions *paint_options,
gdouble
gimp_paint_options_get_dynamic_rate (GimpPaintOptions *paint_options,
const GimpCoords *coords,
gboolean use_pressure)
const GimpCoords *coords)
{
gdouble rate = 1.0;
@ -1094,14 +1091,14 @@ gimp_paint_options_get_dynamic_rate (GimpPaintOptions *paint_options,
gdouble velocity = -1.0;
gdouble random = -1.0;
if (paint_options->pressure_options->rate && use_pressure)
if (paint_options->pressure_options->rate)
pressure = GIMP_PAINT_PRESSURE_SCALE * coords->pressure;
if (paint_options->velocity_options->rate)
velocity = GIMP_PAINT_VELOCITY_SCALE * (1 - coords->velocity);
if (paint_options->random_options->rate)
random = coords->random;
random = g_random_double_range (0.0, 1.0);
rate = gimp_paint_options_get_dynamics_mix (pressure,
paint_options->pressure_options->prescale,
@ -1117,8 +1114,7 @@ gimp_paint_options_get_dynamic_rate (GimpPaintOptions *paint_options,
gdouble
gimp_paint_options_get_dynamic_color (GimpPaintOptions *paint_options,
const GimpCoords *coords,
gboolean use_pressure)
const GimpCoords *coords)
{
gdouble color = 1.0;
@ -1133,14 +1129,14 @@ gimp_paint_options_get_dynamic_color (GimpPaintOptions *paint_options,
gdouble velocity = -1.0;
gdouble random = -1.0;
if (paint_options->pressure_options->color && use_pressure)
if (paint_options->pressure_options->color)
pressure = GIMP_PAINT_PRESSURE_SCALE * coords->pressure;
if (paint_options->velocity_options->color)
velocity = GIMP_PAINT_VELOCITY_SCALE * coords->velocity;
if (paint_options->random_options->color)
random = coords->random;
random = g_random_double_range (0.0, 1.0);
color = gimp_paint_options_get_dynamics_mix (pressure,
paint_options->pressure_options->prescale,
@ -1155,8 +1151,7 @@ gimp_paint_options_get_dynamic_color (GimpPaintOptions *paint_options,
gdouble
gimp_paint_options_get_dynamic_hardness (GimpPaintOptions *paint_options,
const GimpCoords *coords,
gboolean use_pressure)
const GimpCoords *coords)
{
gdouble hardness = 1.0;
@ -1171,14 +1166,14 @@ gimp_paint_options_get_dynamic_hardness (GimpPaintOptions *paint_options,
gdouble velocity = -1.0;
gdouble random = -1.0;
if (paint_options->pressure_options->hardness && use_pressure)
if (paint_options->pressure_options->hardness)
pressure = GIMP_PAINT_PRESSURE_SCALE * coords->pressure;
if (paint_options->velocity_options->hardness)
velocity = GIMP_PAINT_VELOCITY_SCALE * (1 - coords->velocity);
if (paint_options->random_options->hardness)
random = coords->random;
random = g_random_double_range (0.0, 1.0);
hardness = gimp_paint_options_get_dynamics_mix (pressure,
paint_options->pressure_options->prescale,

View File

@ -139,25 +139,20 @@ GimpBrushApplicationMode
gdouble gimp_paint_options_get_dynamic_opacity (GimpPaintOptions *paint_options,
const GimpCoords *coords,
gboolean use_pressure);
const GimpCoords *coords);
gdouble gimp_paint_options_get_dynamic_size (GimpPaintOptions *paint_options,
const GimpCoords *coords,
gboolean use_pressure,
gboolean use_dynamics);
gdouble gimp_paint_options_get_dynamic_rate (GimpPaintOptions *paint_options,
const GimpCoords *coords,
gboolean use_pressure);
const GimpCoords *coords);
gdouble gimp_paint_options_get_dynamic_color (GimpPaintOptions *paint_options,
const GimpCoords *coords,
gboolean use_pressure);
const GimpCoords *coords);
gdouble gimp_paint_options_get_dynamic_hardness(GimpPaintOptions *paint_options,
const GimpCoords *coords,
gboolean use_pressure);
const GimpCoords *coords);
#endif /* __GIMP_PAINT_OPTIONS_H__ */

View File

@ -264,8 +264,7 @@ gimp_smudge_motion (GimpPaintCore *paint_core,
/* Enable dynamic rate */
dynamic_rate = gimp_paint_options_get_dynamic_rate (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
rate = (options->rate / 100.0) * dynamic_rate;
/* The tempPR will be the built up buffer (for smudge) */
@ -306,12 +305,10 @@ gimp_smudge_motion (GimpPaintCore *paint_core,
copy_region (&tempPR, &destPR);
opacity *= gimp_paint_options_get_dynamic_opacity (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
hardness = gimp_paint_options_get_dynamic_hardness (paint_options,
&paint_core->cur_coords,
paint_core->use_pressure);
&paint_core->cur_coords);
gimp_brush_core_replace_canvas (GIMP_BRUSH_CORE (paint_core), drawable,
MIN (opacity, GIMP_OPACITY_OPAQUE),

View File

@ -799,7 +799,7 @@ register_edit_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-edit-cut",
"Cut from the specified drawable.",
"If there is a selection in the image, then the area specified by the selection is cut from the specified drawable and placed in an internal GIMP edit buffer. It can subsequently be retrieved using the 'gimp-edit-paste' command. If there is no selection, then the specified drawable will be removed and its contents stored in the internal GIMP edit buffer.",
"If there is a selection in the image, then the area specified by the selection is cut from the specified drawable and placed in an internal GIMP edit buffer. It can subsequently be retrieved using the 'gimp-edit-paste' command. If there is no selection, then the specified drawable will be removed and its contents stored in the internal GIMP edit buffer. This procedure will fail if the selected area lies completely outside the bounds of the current drawable and there is nothing to copy from.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -813,7 +813,7 @@ register_edit_procs (GimpPDB *pdb)
gimp_procedure_add_return_value (procedure,
g_param_spec_boolean ("non-empty",
"non empty",
"TRUE if the cut was successful, FALSE if the selection contained only transparent pixels",
"TRUE if the cut was successful, FALSE if there was nothing to copy from",
FALSE,
GIMP_PARAM_READWRITE));
gimp_pdb_register_procedure (pdb, procedure);
@ -828,7 +828,7 @@ register_edit_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-edit-copy",
"Copy from the specified drawable.",
"If there is a selection in the image, then the area specified by the selection is copied from the specified drawable and placed in an internal GIMP edit buffer. It can subsequently be retrieved using the 'gimp-edit-paste' command. If there is no selection, then the specified drawable's contents will be stored in the internal GIMP edit buffer.",
"If there is a selection in the image, then the area specified by the selection is copied from the specified drawable and placed in an internal GIMP edit buffer. It can subsequently be retrieved using the 'gimp-edit-paste' command. If there is no selection, then the specified drawable's contents will be stored in the internal GIMP edit buffer. This procedure will fail if the selected area lies completely outside the bounds of the current drawable and there is nothing to copy from.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -842,7 +842,7 @@ register_edit_procs (GimpPDB *pdb)
gimp_procedure_add_return_value (procedure,
g_param_spec_boolean ("non-empty",
"non empty",
"TRUE if the copy was successful, FALSE if the selection contained only transparent pixels",
"TRUE if the cut was successful, FALSE if there was nothing to copy from",
FALSE,
GIMP_PARAM_READWRITE));
gimp_pdb_register_procedure (pdb, procedure);
@ -871,7 +871,7 @@ register_edit_procs (GimpPDB *pdb)
gimp_procedure_add_return_value (procedure,
g_param_spec_boolean ("non-empty",
"non empty",
"TRUE if the copy was successful, FALSE if the selection contained only transparent pixels",
"TRUE if the copy was successful",
FALSE,
GIMP_PARAM_READWRITE));
gimp_pdb_register_procedure (pdb, procedure);
@ -965,7 +965,7 @@ register_edit_procs (GimpPDB *pdb)
gimp_procedure_add_return_value (procedure,
gimp_param_spec_string ("real-name",
"real name",
"The real name given to the buffer, or NULL if the selection contained only transparent pixels",
"The real name given to the buffer, or NULL if the cut failed",
FALSE, FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));
@ -1002,7 +1002,7 @@ register_edit_procs (GimpPDB *pdb)
gimp_procedure_add_return_value (procedure,
gimp_param_spec_string ("real-name",
"real name",
"The real name given to the buffer, or NULL if the selection contained only transparent pixels",
"The real name given to the buffer, or NULL if the copy failed",
FALSE, FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));
@ -1039,7 +1039,7 @@ register_edit_procs (GimpPDB *pdb)
gimp_procedure_add_return_value (procedure,
gimp_param_spec_string ("real-name",
"real name",
"The real name given to the buffer, or NULL if the selection contained only transparent pixels",
"The real name given to the buffer, or NULL if the copy failed",
FALSE, FALSE, FALSE,
NULL,
GIMP_PARAM_READWRITE));

View File

@ -148,7 +148,9 @@ gimp_pdb_compat_param_spec (Gimp *gimp,
G_PARAM_READWRITE);
break;
case GIMP_PDB_BOUNDARY:
case GIMP_PDB_COLORARRAY:
pspec = gimp_param_spec_color_array (name, name, desc,
G_PARAM_READWRITE);
break;
case GIMP_PDB_VECTORS:
@ -220,7 +222,6 @@ gimp_pdb_compat_arg_type_to_gtype (GimpPDBArgType type)
return GIMP_TYPE_RGB;
case GIMP_PDB_REGION:
case GIMP_PDB_BOUNDARY:
break;
case GIMP_PDB_DISPLAY:
@ -241,6 +242,9 @@ gimp_pdb_compat_arg_type_to_gtype (GimpPDBArgType type)
case GIMP_PDB_SELECTION:
return GIMP_TYPE_SELECTION_ID;
case GIMP_PDB_COLORARRAY:
return GIMP_TYPE_COLOR_ARRAY;
case GIMP_PDB_VECTORS:
return GIMP_TYPE_VECTORS_ID;
@ -268,7 +272,7 @@ gimp_pdb_compat_arg_type_from_gtype (GType type)
if (! pdb_type_quark)
{
struct
const struct
{
GType g_type;
GimpPDBArgType pdb_type;
@ -287,13 +291,14 @@ gimp_pdb_compat_arg_type_from_gtype (GType type)
{ G_TYPE_STRING, GIMP_PDB_STRING },
{ GIMP_TYPE_RGB, GIMP_PDB_COLOR },
{ GIMP_TYPE_INT32_ARRAY, GIMP_PDB_INT32ARRAY },
{ GIMP_TYPE_INT16_ARRAY, GIMP_PDB_INT16ARRAY },
{ GIMP_TYPE_INT8_ARRAY, GIMP_PDB_INT8ARRAY },
{ GIMP_TYPE_FLOAT_ARRAY, GIMP_PDB_FLOATARRAY },
{ GIMP_TYPE_STRING_ARRAY, GIMP_PDB_STRINGARRAY },
{ GIMP_TYPE_RGB, GIMP_PDB_COLOR },
{ GIMP_TYPE_COLOR_ARRAY, GIMP_PDB_COLORARRAY },
{ GIMP_TYPE_DISPLAY_ID, GIMP_PDB_DISPLAY },
{ GIMP_TYPE_IMAGE_ID, GIMP_PDB_IMAGE },

View File

@ -29,7 +29,7 @@
#include "internal-procs.h"
/* 586 procedures registered total */
/* 587 procedures registered total */
void
internal_procs_init (GimpPDB *pdb)

View File

@ -247,6 +247,54 @@ palette_get_info_invoker (GimpProcedure *procedure,
return return_vals;
}
static GValueArray *
palette_get_colors_invoker (GimpProcedure *procedure,
Gimp *gimp,
GimpContext *context,
GimpProgress *progress,
const GValueArray *args,
GError **error)
{
gboolean success = TRUE;
GValueArray *return_vals;
const gchar *name;
gint32 num_colors = 0;
GimpRGB *colors = NULL;
name = g_value_get_string (&args->values[0]);
if (success)
{
GimpPalette *palette = gimp_pdb_get_palette (gimp, name, FALSE, error);
if (palette)
{
GList *list = palette->colors;
gint i;
num_colors = palette->n_colors;
colors = g_new (GimpRGB, num_colors);
for (i = 0; i < num_colors; i++, list = g_list_next (list))
colors[i] = ((GimpPaletteEntry *)(list->data))->color;
}
else
{
success = FALSE;
}
}
return_vals = gimp_procedure_get_return_values (procedure, success);
if (success)
{
g_value_set_int (&return_vals->values[1], num_colors);
gimp_value_take_colorarray (&return_vals->values[2], colors, num_colors);
}
return return_vals;
}
static GValueArray *
palette_get_columns_invoker (GimpProcedure *procedure,
Gimp *gimp,
@ -747,6 +795,41 @@ register_palette_procs (GimpPDB *pdb)
gimp_pdb_register_procedure (pdb, procedure);
g_object_unref (procedure);
/*
* gimp-palette-get-colors
*/
procedure = gimp_procedure_new (palette_get_colors_invoker);
gimp_object_set_static_name (GIMP_OBJECT (procedure),
"gimp-palette-get-colors");
gimp_procedure_set_static_strings (procedure,
"gimp-palette-get-colors",
"Gets all colors from the specified palette.",
"This procedure retrieves all color entries of the specified palette.",
"Sven Neumann <sven@gimp.org>",
"Sven Neumann",
"2006",
NULL);
gimp_procedure_add_argument (procedure,
gimp_param_spec_string ("name",
"name",
"The palette name",
FALSE, FALSE, TRUE,
NULL,
GIMP_PARAM_READWRITE));
gimp_procedure_add_return_value (procedure,
gimp_param_spec_int32 ("num-colors",
"num colors",
"Length of the colors array",
0, G_MAXINT32, 0,
GIMP_PARAM_READWRITE));
gimp_procedure_add_return_value (procedure,
gimp_param_spec_color_array ("colors",
"colors",
"The colors in the palette",
GIMP_PARAM_READWRITE));
gimp_pdb_register_procedure (pdb, procedure);
g_object_unref (procedure);
/*
* gimp-palette-get-columns
*/

View File

@ -618,7 +618,8 @@ gimp_plug_in_handle_proc_install (GimpPlugIn *plug_in,
if ((proc_install->params[i].type == GIMP_PDB_INT32ARRAY ||
proc_install->params[i].type == GIMP_PDB_INT8ARRAY ||
proc_install->params[i].type == GIMP_PDB_FLOATARRAY ||
proc_install->params[i].type == GIMP_PDB_STRINGARRAY)
proc_install->params[i].type == GIMP_PDB_STRINGARRAY ||
proc_install->params[i].type == GIMP_PDB_COLORARRAY)
&&
proc_install->params[i - 1].type != GIMP_PDB_INT32)
{

View File

@ -221,8 +221,16 @@ plug_in_params_to_args (GParamSpec **pspecs,
g_value_set_int (&value, params[i].data.d_selection);
break;
case GIMP_PDB_BOUNDARY:
g_message ("the \"boundary\" arg type is not currently supported");
case GIMP_PDB_COLORARRAY:
count = g_value_get_int (&args->values[i - 1]);
if (full_copy)
gimp_value_set_colorarray (&value,
params[i].data.d_colorarray,
count);
else
gimp_value_set_static_colorarray (&value,
params[i].data.d_colorarray,
count);
break;
case GIMP_PDB_VECTORS:
@ -374,8 +382,11 @@ plug_in_args_to_params (GValueArray *args,
params[i].data.d_selection = g_value_get_int (value);
break;
case GIMP_PDB_BOUNDARY:
g_message ("the \"boundary\" arg type is not currently supported");
case GIMP_PDB_COLORARRAY:
if (full_copy)
params[i].data.d_colorarray = gimp_value_dup_colorarray (value);
else
params[i].data.d_colorarray = (GimpRGB *) gimp_value_get_colorarray (value);
break;
case GIMP_PDB_VECTORS:

View File

@ -109,7 +109,7 @@ gimp_colorize_tool_class_init (GimpColorizeToolClass *klass)
im_tool_class->shell_desc = _("Colorize the Image");
im_tool_class->settings_name = "colorize";
im_tool_class->import_dialog_title = _("Import Colorize Settings");
im_tool_class->export_dialog_title = _("Export Colorsize Settings");
im_tool_class->export_dialog_title = _("Export Colorize Settings");
im_tool_class->get_operation = gimp_colorize_tool_get_operation;
im_tool_class->map = gimp_colorize_tool_map;

View File

@ -274,7 +274,6 @@ gimp_paint_tool_button_press (GimpTool *tool,
GimpPaintOptions *paint_options = GIMP_PAINT_TOOL_GET_OPTIONS (tool);
GimpPaintCore *core = paint_tool->core;
GimpDrawable *drawable;
GdkDisplay *gdk_display;
GimpCoords curr_coords;
gint off_x, off_y;
GError *error = NULL;
@ -311,11 +310,6 @@ gimp_paint_tool_button_press (GimpTool *tool,
tool->display = display;
}
gdk_display = gtk_widget_get_display (display->shell);
core->use_pressure = (gimp_devices_get_current (display->image->gimp) !=
gdk_display_get_core_pointer (gdk_display));
if (! gimp_paint_core_start (core, drawable, paint_options, &curr_coords,
&error))
{
@ -345,7 +339,6 @@ gimp_paint_tool_button_press (GimpTool *tool,
GIMP_BRUSH_HARD);
core->start_coords = core->last_coords;
core->use_pressure = FALSE;
gimp_paint_tool_round_line (core, hard, state);
}

View File

@ -58,6 +58,7 @@ gimp_unique_open (const gchar **filenames,
#endif
}
#ifndef GIMP_CONSOLE_COMPILATION
static gchar *
gimp_unique_filename_to_uri (const gchar *filename,
const gchar *cwd,
@ -87,6 +88,8 @@ gimp_unique_filename_to_uri (const gchar *filename,
return uri;
}
#endif
#if HAVE_DBUS_GLIB
@ -97,7 +100,7 @@ gimp_unique_dbus_open (const gchar **filenames,
#ifndef GIMP_CONSOLE_COMPILATION
/* for the DBus service names */
#include "widgets/gimpdbusservice.h"
#include "gui/gimpdbusservice.h"
DBusGConnection *connection = dbus_g_bus_get (DBUS_BUS_SESSION, NULL);
@ -188,32 +191,43 @@ gimp_unique_win32_open (const gchar **filenames,
if (window_handle)
{
COPYDATASTRUCT copydata;
gchar *cwd = g_get_current_dir ();
GError *error = NULL;
gint i;
for (i = 0; filenames[i]; i++)
{
gchar *uri = gimp_unique_filename_to_uri (filenames[i], cwd, &error);
COPYDATASTRUCT copydata = { 0, };
if (uri)
{
copydata.lpData = uri;
copydata.cbData = strlen (uri) + 1; /* size in bytes */
copydata.dwData = (long) as_new;
if (filenames)
{
gchar *cwd = g_get_current_dir ();
GError *error = NULL;
gint i;
SendMessage (window_handle,
WM_COPYDATA, window_handle, &copydata);
}
else
{
g_printerr ("conversion to uri failed: %s\n", error->message);
g_clear_error (&error);
}
}
for (i = 0; filenames[i]; i++)
{
gchar *uri;
g_free (cwd);
uri = gimp_unique_filename_to_uri (filenames[i], cwd, &error);
if (uri)
{
copydata.lpData = uri;
copydata.cbData = strlen (uri) + 1; /* size in bytes */
copydata.dwData = (long) as_new;
SendMessage (window_handle,
WM_COPYDATA, window_handle, &copydata);
}
else
{
g_printerr ("conversion to uri failed: %s\n", error->message);
g_clear_error (&error);
}
}
g_free (cwd);
}
else
{
SendMessage (window_handle,
WM_COPYDATA, window_handle, &copydata);
}
return TRUE;
}

View File

@ -245,11 +245,12 @@ gimp_bezier_stroke_new_from_coords (const GimpCoords *coords,
}
static void
gimp_bezier_stroke_anchor_delete (GimpStroke *stroke,
GimpAnchor *anchor)
gimp_bezier_stroke_anchor_delete (GimpStroke *stroke,
GimpAnchor *anchor)
{
GList *list, *list2;
gint i;
GList *list;
GList *list2;
gint i;
/* Anchors always are surrounded by two handles that have to
* be deleted too */
@ -271,7 +272,8 @@ static GimpStroke *
gimp_bezier_stroke_open (GimpStroke *stroke,
GimpAnchor *end_anchor)
{
GList *list, *list2;
GList *list;
GList *list2;
GimpStroke *new_stroke = NULL;
list = g_list_find (stroke->anchors, end_anchor);
@ -318,10 +320,12 @@ gimp_bezier_stroke_anchor_insert (GimpStroke *stroke,
GimpAnchor *predec,
gdouble position)
{
GList *segment_start, *list, *list2;
GimpCoords subdivided[8];
GimpCoords beziercoords[4];
gint i;
GList *segment_start;
GList *list;
GList *list2;
GimpCoords subdivided[8];
GimpCoords beziercoords[4];
gint i;
segment_start = g_list_find (stroke->anchors, predec);
@ -424,10 +428,11 @@ gimp_bezier_stroke_point_move_relative (GimpStroke *stroke,
const GimpCoords *deltacoord,
GimpAnchorFeatureType feature)
{
GimpCoords offsetcoords[2];
GList *segment_start, *list;
GimpCoords offsetcoords[2];
GList *segment_start;
GList *list;
gint i;
gdouble feel_good;
gdouble feel_good;
segment_start = g_list_find (stroke->anchors, predec);
@ -480,7 +485,8 @@ gimp_bezier_stroke_point_move_absolute (GimpStroke *stroke,
GimpCoords deltacoord;
GimpCoords tmp1, tmp2, abs_pos;
GimpCoords beziercoords[4];
GList *segment_start, *list;
GList *segment_start;
GList *list;
gint i;
segment_start = g_list_find (stroke->anchors, predec);
@ -514,7 +520,8 @@ gimp_bezier_stroke_point_move_absolute (GimpStroke *stroke,
static void
gimp_bezier_stroke_close (GimpStroke *stroke)
{
GList *start, *end;
GList *start;
GList *end;
GimpAnchor *anchor;
start = g_list_first (stroke->anchors);
@ -569,7 +576,8 @@ gimp_bezier_stroke_nearest_point_get (const GimpStroke *stroke,
GimpCoords point;
GimpCoords segmentcoords[4];
GList *anchorlist;
GimpAnchor *segment_start, *segment_end = NULL;
GimpAnchor *segment_start;
GimpAnchor *segment_end = NULL;
GimpAnchor *anchor;
gint count;
@ -671,9 +679,9 @@ gimp_bezier_stroke_segment_nearest_point_get (const GimpCoords *beziercoords,
*/
GimpCoords subdivided[8];
gdouble dist1, dist2;
gdouble dist1, dist2;
GimpCoords point1, point2;
gdouble pos1, pos2;
gdouble pos1, pos2;
gimp_coords_difference (&beziercoords[1], &beziercoords[0], &point1);
gimp_coords_difference (&beziercoords[3], &beziercoords[2], &point2);
@ -683,8 +691,8 @@ gimp_bezier_stroke_segment_nearest_point_get (const GimpCoords *beziercoords,
&& gimp_coords_length_squared (&point2) < precision))
{
GimpCoords line, dcoord;
gdouble length2, scalar;
gint i;
gdouble length2, scalar;
gint i;
gimp_coords_difference (&(beziercoords[3]),
&(beziercoords[0]),
@ -794,7 +802,8 @@ gimp_bezier_stroke_nearest_tangent_get (const GimpStroke *stroke,
GimpCoords point;
GimpCoords segmentcoords[4];
GList *anchorlist;
GimpAnchor *segment_start, *segment_end = NULL;
GimpAnchor *segment_start;
GimpAnchor *segment_end = NULL;
GimpAnchor *anchor;
gint count;
@ -889,10 +898,12 @@ gimp_bezier_stroke_segment_nearest_tangent_get (const GimpCoords *beziercoords,
GimpCoords *ret_point,
gdouble *ret_pos)
{
GArray *ret_coords, *ret_params;
GimpCoords dir, line, dcoord, min_point;
gdouble min_dist = -1, dist, length2, scalar, ori, ori2;
gint i;
GArray *ret_coords;
GArray *ret_params;
GimpCoords dir, line, dcoord, min_point;
gdouble min_dist = -1;
gdouble dist, length2, scalar, ori, ori2;
gint i;
gimp_coords_difference (coord2, coord1, &line);
@ -1274,7 +1285,8 @@ gimp_bezier_stroke_connect_stroke (GimpStroke *stroke,
GimpStroke *extension,
GimpAnchor *neighbor)
{
GList *list1, *list2;
GList *list1;
GList *list2;
list1 = g_list_find (stroke->anchors, anchor);
list1 = gimp_bezier_stroke_get_anchor_listitem (list1);
@ -1446,10 +1458,11 @@ gimp_bezier_stroke_anchor_convert (GimpStroke *stroke,
static GimpBezierDesc *
gimp_bezier_stroke_make_bezier (const GimpStroke *stroke)
{
GArray *points, *cmd_array;
GimpBezierDesc *bezdesc;
GArray *points;
GArray *cmd_array;
GimpBezierDesc *bezdesc;
cairo_path_data_t pathdata;
gint num_cmds, i;
gint num_cmds, i;
points = gimp_stroke_control_points_get (stroke, NULL);
@ -1701,7 +1714,8 @@ gimp_bezier_stroke_cubicto (GimpStroke *stroke,
}
static gdouble
arcto_circleparam (gdouble h, gdouble *y)
arcto_circleparam (gdouble h,
gdouble *y)
{
gdouble t0 = 0.5;
gdouble dt = 0.25;
@ -1737,7 +1751,9 @@ arcto_circleparam (gdouble h, gdouble *y)
}
static void
arcto_subdivide (gdouble t, gint part, GimpCoords *p)
arcto_subdivide (gdouble t,
gint part,
GimpCoords *p)
{
GimpCoords p01, p12, p23, p012, p123, p0123;
@ -2145,7 +2161,7 @@ gimp_bezier_coords_subdivide2 (const GimpCoords *beziercoords,
*/
GimpCoords subdivided[8];
gdouble middle_t = (start_t + end_t) / 2;
gdouble middle_t = (start_t + end_t) / 2;
subdivided[0] = beziercoords[0];
subdivided[6] = beziercoords[3];
@ -2184,12 +2200,15 @@ gimp_bezier_coords_subdivide2 (const GimpCoords *beziercoords,
precision)) /* 1st half */
{
*ret_coords = g_array_append_vals (*ret_coords, &(subdivided[0]), 3);
if (ret_params)
{
gdouble params[3];
params[0] = start_t;
params[1] = (2 * start_t + middle_t) / 3;
params[2] = (start_t + 2 * middle_t) / 3;
*ret_params = g_array_append_vals (*ret_params, &(params[0]), 3);
}
}
@ -2205,12 +2224,15 @@ gimp_bezier_coords_subdivide2 (const GimpCoords *beziercoords,
precision)) /* 2nd half */
{
*ret_coords = g_array_append_vals (*ret_coords, &(subdivided[3]), 3);
if (ret_params)
{
gdouble params[3];
params[0] = middle_t;
params[1] = (2 * middle_t + end_t) / 3;
params[2] = (middle_t + 2 * end_t) / 3;
*ret_params = g_array_append_vals (*ret_params, &(params[0]), 3);
}
}

View File

@ -11,8 +11,6 @@ INCLUDES = \
-I$(top_builddir)/app \
-I$(top_srcdir)/app \
$(GTK_CFLAGS) \
$(PANGOFT2_CFLAGS) \
$(DBUS_GLIB_CFLAGS) \
-I$(includedir)
noinst_LIBRARIES = libappwidgets.a
@ -112,8 +110,6 @@ libappwidgets_a_sources = \
gimpdataeditor.h \
gimpdatafactoryview.c \
gimpdatafactoryview.h \
gimpdbusservice.c \
gimpdbusservice.h \
gimpdeviceinfo.c \
gimpdeviceinfo.h \
gimpdevices.c \
@ -354,30 +350,21 @@ libappwidgets_a_sources = \
gtkvwrapbox.c \
gtkvwrapbox.h
libappwidgets_a_built_sources = gimpdbusservice-glue.h widgets-enums.c
libappwidgets_a_built_sources = widgets-enums.c
libappwidgets_a_SOURCES = \
$(libappwidgets_a_built_sources) $(libappwidgets_a_sources)
EXTRA_DIST = \
dbus-service.xml \
makefile.msc
EXTRA_DIST = makefile.msc
#
# rules to generate built sources
#
# setup autogeneration dependencies
gen_sources = xgen-wec gimpdbusservice-glue.h
gen_sources = xgen-wec
CLEANFILES = $(gen_sources)
$(srcdir)/gimpdbusservice.c: gimpdbusservice-glue.h
gimpdbusservice-glue.h: $(srcdir)/dbus-service.xml
$(DBUS_BINDING_TOOL) --mode=glib-server --prefix=gimp $< > $(@F)
widgets-enums.c: $(srcdir)/widgets-enums.h $(GIMP_MKENUMS)
$(GIMP_MKENUMS) \
--fhead "#include \"config.h\"\n#include <gtk/gtk.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"widgets-enums.h\"\n#include \"gimp-intl.h\"" \

View File

@ -66,103 +66,103 @@ G_DEFINE_TYPE (GimpControllerKeyboard, gimp_controller_keyboard,
static KeyboardEvent keyboard_events[] =
{
{ GDK_Up, GDK_MOD1_MASK | GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"key-up-shift-control-alt",
"cursor-up-shift-control-alt",
N_("Cursor Up") },
{ GDK_Up, GDK_MOD1_MASK | GDK_CONTROL_MASK,
"key-up-control-alt",
"cursor-up-control-alt",
N_("Cursor Up") },
{ GDK_Up, GDK_MOD1_MASK | GDK_SHIFT_MASK,
"key-up-shift-alt",
"cursor-up-shift-alt",
N_("Cursor Up") },
{ GDK_Up, GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"key-up-shift-control",
"cursor-up-shift-control",
N_("Cursor Up") },
{ GDK_Up, GDK_MOD1_MASK,
"key-up-alt",
"cursor-up-alt",
N_("Cursor Up") },
{ GDK_Up, GDK_CONTROL_MASK,
"key-up-control",
"cursor-up-control",
N_("Cursor Up") },
{ GDK_Up, GDK_SHIFT_MASK,
"key-up-shift",
"cursor-up-shift",
N_("Cursor Up") },
{ GDK_Up, 0,
"key-up",
"cursor-up",
N_("Cursor Up") },
{ GDK_Down, GDK_MOD1_MASK | GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"key-down-shift-control-alt",
"cursor-down-shift-control-alt",
N_("Cursor Down") },
{ GDK_Down, GDK_MOD1_MASK | GDK_CONTROL_MASK,
"key-down-control-alt",
"cursor-down-control-alt",
N_("Cursor Down") },
{ GDK_Down, GDK_MOD1_MASK | GDK_SHIFT_MASK,
"key-down-shift-alt",
"cursor-down-shift-alt",
N_("Cursor Down") },
{ GDK_Down, GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"key-down-shift-control",
"cursor-down-shift-control",
N_("Cursor Down") },
{ GDK_Down, GDK_MOD1_MASK,
"key-down-alt",
"cursor-down-alt",
N_("Cursor Down") },
{ GDK_Down, GDK_CONTROL_MASK,
"key-down-control",
"cursor-down-control",
N_("Cursor Down") },
{ GDK_Down, GDK_SHIFT_MASK,
"key-down-shift",
"cursor-down-shift",
N_("Cursor Down") },
{ GDK_Down, 0,
"key-down",
"cursor-down",
N_("Cursor Down") },
{ GDK_Left, GDK_MOD1_MASK | GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"key-left-shift-control-alt",
"cursor-left-shift-control-alt",
N_("Cursor Left") },
{ GDK_Left, GDK_MOD1_MASK | GDK_CONTROL_MASK,
"key-left-control-alt",
"cursor-left-control-alt",
N_("Cursor Left") },
{ GDK_Left, GDK_MOD1_MASK | GDK_SHIFT_MASK,
"key-left-shift-alt",
"cursor-left-shift-alt",
N_("Cursor Left") },
{ GDK_Left, GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"key-left-shift-control",
"cursor-left-shift-control",
N_("Cursor Left") },
{ GDK_Left, GDK_MOD1_MASK,
"key-left-alt",
"cursor-left-alt",
N_("Cursor Left") },
{ GDK_Left, GDK_CONTROL_MASK,
"key-left-control",
"cursor-left-control",
N_("Cursor Left") },
{ GDK_Left, GDK_SHIFT_MASK,
"key-left-shift",
"cursor-left-shift",
N_("Cursor Left") },
{ GDK_Left, 0,
"key-left",
"cursor-left",
N_("Cursor Left") },
{ GDK_Right, GDK_MOD1_MASK | GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"key-right-shift-control-alt",
"cursor-right-shift-control-alt",
N_("Cursor Right") },
{ GDK_Right, GDK_MOD1_MASK | GDK_CONTROL_MASK,
"key-right-control-alt",
"cursor-right-control-alt",
N_("Cursor Right") },
{ GDK_Right, GDK_MOD1_MASK | GDK_SHIFT_MASK,
"key-right-shift-alt",
"cursor-right-shift-alt",
N_("Cursor Right") },
{ GDK_Right, GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"key-right-shift-control",
"cursor-right-shift-control",
N_("Cursor Right") },
{ GDK_Right, GDK_MOD1_MASK,
"key-right-alt",
"cursor-right-alt",
N_("Cursor Right") },
{ GDK_Right, GDK_CONTROL_MASK,
"key-right-control",
"cursor-right-control",
N_("Cursor Right") },
{ GDK_Right, GDK_SHIFT_MASK,
"key-right-shift",
"cursor-right-shift",
N_("Cursor Right") },
{ GDK_Right, 0,
"key-right",
"cursor-right",
N_("Cursor Right") }
};

View File

@ -95,6 +95,7 @@ gimp_gradient_select_constructor (GType type,
GObjectConstructParam *params)
{
GObject *object;
GtkWidget *show;
GimpPdbDialog *dialog;
object = G_OBJECT_CLASS (parent_class)->constructor (type, n_params, params);
@ -116,6 +117,9 @@ gimp_gradient_select_constructor (GType type,
gtk_container_set_border_width (GTK_CONTAINER (dialog->view), 12);
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), dialog->view);
show = gtk_label_new ("text test");
gtk_widget_show (show);
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), show);
gtk_widget_show (dialog->view);
return object;

View File

@ -50,6 +50,30 @@ enum
};
struct _GimpNavigationView
{
GimpView parent_instance;
/* values in image coordinates */
gdouble x;
gdouble y;
gdouble width;
gdouble height;
/* values in view coordinates */
gint p_x;
gint p_y;
gint p_width;
gint p_height;
gint motion_offset_x;
gint motion_offset_y;
gboolean has_grab;
GdkGC *gc;
};
static void gimp_navigation_view_realize (GtkWidget *widget);
static void gimp_navigation_view_unrealize (GtkWidget *widget);
static void gimp_navigation_view_size_allocate (GtkWidget *widget,
@ -135,7 +159,6 @@ gimp_navigation_view_init (GimpNavigationView *view)
gtk_widget_add_events (GTK_WIDGET (view), (GDK_POINTER_MOTION_MASK |
GDK_KEY_PRESS_MASK));
view->x = 0.0;
view->y = 0.0;
view->width = 0.0;
@ -575,3 +598,29 @@ gimp_navigation_view_set_marker (GimpNavigationView *nav_view,
if (GTK_WIDGET_DRAWABLE (view))
gimp_navigation_view_draw_marker (nav_view, NULL);
}
void
gimp_navigation_view_set_motion_offset (GimpNavigationView *view,
gint motion_offset_x,
gint motion_offset_y)
{
g_return_if_fail (GIMP_IS_NAVIGATION_VIEW (view));
view->motion_offset_x = motion_offset_x;
view->motion_offset_y = motion_offset_y;
}
void
gimp_navigation_view_get_local_marker (GimpNavigationView *view,
gint *x,
gint *y,
gint *width,
gint *height)
{
g_return_if_fail (GIMP_IS_NAVIGATION_VIEW (view));
if (x) *x = view->p_x;
if (y) *y = view->p_y;
if (width) *width = view->p_width;
if (height) *height = view->p_height;
}

View File

@ -38,29 +38,6 @@
typedef struct _GimpNavigationViewClass GimpNavigationViewClass;
struct _GimpNavigationView
{
GimpView parent_instance;
/* values in image coordinates */
gdouble x;
gdouble y;
gdouble width;
gdouble height;
/* values in view coordinates */
gint p_x;
gint p_y;
gint p_width;
gint p_height;
gint motion_offset_x;
gint motion_offset_y;
gboolean has_grab;
GdkGC *gc;
};
struct _GimpNavigationViewClass
{
GimpViewClass parent_class;
@ -82,6 +59,16 @@ void gimp_navigation_view_set_marker (GimpNavigationView *view,
gdouble y,
gdouble width,
gdouble height);
void gimp_navigation_view_set_motion_offset
(GimpNavigationView *view,
gint motion_offset_x,
gint motion_offset_y);
void gimp_navigation_view_get_local_marker
(GimpNavigationView *view,
gint *x,
gint *y,
gint *width,
gint *height);
void gimp_navigation_view_grab_pointer (GimpNavigationView *view);

View File

@ -1735,7 +1735,7 @@ xcf_load_vector (XcfInfo *info,
guint32 num_axes;
guint32 num_control_points;
guint32 type;
gfloat coords[6] = GIMP_COORDS_DEFAULT_VALUES;
gfloat coords[7] = GIMP_COORDS_DEFAULT_VALUES;
GimpStroke *stroke;
gint j;

View File

@ -8,7 +8,7 @@ AC_PREREQ(2.54)
m4_define([gimp_major_version], [2])
m4_define([gimp_minor_version], [5])
m4_define([gimp_micro_version], [2])
m4_define([gimp_micro_version], [3])
m4_define([gimp_real_version],
[gimp_major_version.gimp_minor_version.gimp_micro_version])
m4_define([gimp_version], [gimp_real_version])

View File

@ -1,3 +1,10 @@
2008-07-16 Sven Neumann <sven@gimp.org>
* libgimp/libgimp-sections.txt: added gimp_palette_get_colors()
* libgimpbase/tmpl/gimpbaseenums.sgml
* libgimp/tmpl/gimppalette.sgml: regenerated.
2008-06-15 Michael Natterer <mitch@gimp.org>
* app/app-docs.sgml: GimpDBusService was in the wrong chapter.

View File

@ -636,6 +636,7 @@ gimp_palette_duplicate
gimp_palette_rename
gimp_palette_delete
gimp_palette_get_info
gimp_palette_get_colors
gimp_palette_get_columns
gimp_palette_set_columns
gimp_palette_add_entry

View File

@ -64,6 +64,16 @@ Functions operating on a single palette.
@Returns:
<!-- ##### FUNCTION gimp_palette_get_colors ##### -->
<para>
</para>
@name:
@num_colors:
@Returns:
<!-- ##### FUNCTION gimp_palette_get_columns ##### -->
<para>

View File

@ -232,12 +232,13 @@ Basic GIMP enumeration data types.
@GIMP_PDB_CHANNEL:
@GIMP_PDB_DRAWABLE:
@GIMP_PDB_SELECTION:
@GIMP_PDB_BOUNDARY:
@GIMP_PDB_COLORARRAY:
@GIMP_PDB_VECTORS:
@GIMP_PDB_PARASITE:
@GIMP_PDB_STATUS:
@GIMP_PDB_END:
@GIMP_PDB_PATH:
@GIMP_PDB_BOUNDARY:
<!-- ##### ENUM GimpPDBProcType ##### -->
<para>

View File

@ -222,11 +222,11 @@ Sets the default image in the "File/New" dialog. This is a parameter list.
.TP
(default-grid
(style intersections)
(style solid)
(fgcolor (color-rgba 0.000000 0.000000 0.000000 1.000000))
(bgcolor (color-rgba 1.000000 1.000000 1.000000 1.000000))
(xspacing 32.000000)
(yspacing 32.000000)
(xspacing 10.000000)
(yspacing 10.000000)
(spacing-unit inches)
(xoffset 0.000000)
(yoffset 0.000000)

View File

@ -21,22 +21,18 @@
(debug-events no)
(controller "GimpControllerKeyboard")
(mapping
(map "key-up" "view-scroll-up")
(map "key-down" "view-scroll-down")
(map "key-left" "view-scroll-left")
(map "key-right" "view-scroll-right")
(map "key-up-shift" "view-scroll-page-up")
(map "key-down-shift" "view-scroll-page-down")
(map "key-left-shift" "view-scroll-page-left")
(map "key-right-shift" "view-scroll-page-right")
(map "key-up-control" "view-scroll-top-border")
(map "key-down-control" "view-scroll-bottom-border")
(map "key-left-control" "view-scroll-left-border")
(map "key-right-control" "view-scroll-right-border")
(map "key-up-alt" "tools-value-1-increase-skip")
(map "key-down-alt" "tools-value-1-decrease-skip")
(map "key-left-alt" "tools-value-1-decrease")
(map "key-right-alt" "tools-value-1-increase")))
(map "cursor-up-shift" "view-scroll-page-up")
(map "cursor-down-shift" "view-scroll-page-down")
(map "cursor-left-shift" "view-scroll-page-left")
(map "cursor-right-shift" "view-scroll-page-right")
(map "cursor-up-control" "view-scroll-top-border")
(map "cursor-down-control" "view-scroll-bottom-border")
(map "cursor-left-control" "view-scroll-left-border")
(map "cursor-right-control" "view-scroll-right-border")
(map "cursor-up-alt" "tools-value-1-increase-skip")
(map "cursor-down-alt" "tools-value-1-decrease-skip")
(map "cursor-left-alt" "tools-value-1-decrease")
(map "cursor-right-alt" "tools-value-1-increase")))
# (GimpControllerInfo "Linux Input Example"
# (enabled yes)

View File

@ -172,11 +172,11 @@
# Specify a default image grid. This is a parameter list.
#
# (default-grid
# (style intersections)
# (style solid)
# (fgcolor (color-rgba 0.000000 0.000000 0.000000 1.000000))
# (bgcolor (color-rgba 1.000000 1.000000 1.000000 1.000000))
# (xspacing 32.000000)
# (yspacing 32.000000)
# (xspacing 10.000000)
# (yspacing 10.000000)
# (spacing-unit inches)
# (xoffset 0.000000)
# (yoffset 0.000000)

View File

@ -736,7 +736,6 @@ gimp_run_procedure (const gchar *name,
case GIMP_PDB_CHANNEL:
case GIMP_PDB_DRAWABLE:
case GIMP_PDB_SELECTION:
case GIMP_PDB_BOUNDARY:
case GIMP_PDB_VECTORS:
case GIMP_PDB_STATUS:
(void) va_arg (args, gint);
@ -769,6 +768,7 @@ gimp_run_procedure (const gchar *name,
(void) va_arg (args, gchar **);
break;
case GIMP_PDB_COLOR:
case GIMP_PDB_COLORARRAY:
(void) va_arg (args, GimpRGB *);
break;
case GIMP_PDB_PARASITE:
@ -850,8 +850,8 @@ gimp_run_procedure (const gchar *name,
case GIMP_PDB_SELECTION:
params[i].data.d_selection = va_arg (args, gint32);
break;
case GIMP_PDB_BOUNDARY:
params[i].data.d_boundary = va_arg (args, gint32);
case GIMP_PDB_COLORARRAY:
params[i].data.d_colorarray = va_arg (args, GimpRGB *);
break;
case GIMP_PDB_VECTORS:
params[i].data.d_vectors = va_arg (args, gint32);

View File

@ -460,6 +460,7 @@ EXPORTS
gimp_palette_entry_set_color
gimp_palette_entry_set_name
gimp_palette_get_background
gimp_palette_get_colors
gimp_palette_get_columns
gimp_palette_get_foreground
gimp_palette_get_info

View File

@ -128,6 +128,7 @@ union _GimpParamData
guint8 *d_int8array;
gdouble *d_floatarray;
gchar **d_stringarray;
GimpRGB *d_colorarray;
GimpRGB d_color;
GimpParamRegion d_region;
gint32 d_display;

View File

@ -36,9 +36,11 @@
* internal GIMP edit buffer. It can subsequently be retrieved using
* the gimp_edit_paste() command. If there is no selection, then the
* specified drawable will be removed and its contents stored in the
* internal GIMP edit buffer.
* internal GIMP edit buffer. This procedure will fail if the selected
* area lies completely outside the bounds of the current drawable and
* there is nothing to copy from.
*
* Returns: TRUE if the cut was successful, FALSE if the selection contained only transparent pixels.
* Returns: TRUE if the cut was successful, FALSE if there was nothing to copy from.
*/
gboolean
gimp_edit_cut (gint32 drawable_ID)
@ -71,9 +73,11 @@ gimp_edit_cut (gint32 drawable_ID)
* internal GIMP edit buffer. It can subsequently be retrieved using
* the gimp_edit_paste() command. If there is no selection, then the
* specified drawable's contents will be stored in the internal GIMP
* edit buffer.
* edit buffer. This procedure will fail if the selected area lies
* completely outside the bounds of the current drawable and there is
* nothing to copy from.
*
* Returns: TRUE if the copy was successful, FALSE if the selection contained only transparent pixels.
* Returns: TRUE if the cut was successful, FALSE if there was nothing to copy from.
*/
gboolean
gimp_edit_copy (gint32 drawable_ID)
@ -108,7 +112,7 @@ gimp_edit_copy (gint32 drawable_ID)
* projection's contents will be stored in the internal GIMP edit
* buffer.
*
* Returns: TRUE if the copy was successful, FALSE if the selection contained only transparent pixels.
* Returns: TRUE if the copy was successful.
*
* Since: GIMP 2.2
*/
@ -224,7 +228,7 @@ gimp_edit_paste_as_new (void)
* later pasting, regardless of any intermediate copy or cut
* operations.
*
* Returns: The real name given to the buffer, or NULL if the selection contained only transparent pixels.
* Returns: The real name given to the buffer, or NULL if the cut failed.
*
* Since: GIMP 2.4
*/
@ -262,7 +266,7 @@ gimp_edit_named_cut (gint32 drawable_ID,
* later pasting, regardless of any intermediate copy or cut
* operations.
*
* Returns: The real name given to the buffer, or NULL if the selection contained only transparent pixels.
* Returns: The real name given to the buffer, or NULL if the copy failed.
*
* Since: GIMP 2.4
*/
@ -300,7 +304,7 @@ gimp_edit_named_copy (gint32 drawable_ID,
* available for later pasting, regardless of any intermediate copy or
* cut operations.
*
* Returns: The real name given to the buffer, or NULL if the selection contained only transparent pixels.
* Returns: The real name given to the buffer, or NULL if the copy failed.
*
* Since: GIMP 2.4
*/

View File

@ -23,6 +23,8 @@
#include "config.h"
#include <string.h>
#include "gimp.h"
/**
@ -226,6 +228,48 @@ gimp_palette_get_info (const gchar *name,
return success;
}
/**
* gimp_palette_get_colors:
* @name: The palette name.
* @num_colors: Length of the colors array.
*
* Gets all colors from the specified palette.
*
* This procedure retrieves all color entries of the specified palette.
*
* Returns: The colors in the palette.
*
* Since: GIMP 2.6
*/
GimpRGB *
gimp_palette_get_colors (const gchar *name,
gint *num_colors)
{
GimpParam *return_vals;
gint nreturn_vals;
GimpRGB *colors = NULL;
return_vals = gimp_run_procedure ("gimp-palette-get-colors",
&nreturn_vals,
GIMP_PDB_STRING, name,
GIMP_PDB_END);
*num_colors = 0;
if (return_vals[0].data.d_status == GIMP_PDB_SUCCESS)
{
*num_colors = return_vals[1].data.d_int32;
colors = g_new (GimpRGB, *num_colors);
memcpy (colors,
return_vals[2].data.d_colorarray,
*num_colors * sizeof (GimpRGB));
}
gimp_destroy_params (return_vals, nreturn_vals);
return colors;
}
/**
* gimp_palette_get_columns:
* @name: The palette name.

View File

@ -37,6 +37,8 @@ gboolean gimp_palette_delete (const gchar *name);
gboolean gimp_palette_is_editable (const gchar *name);
gboolean gimp_palette_get_info (const gchar *name,
gint *num_colors);
GimpRGB* gimp_palette_get_colors (const gchar *name,
gint *num_colors);
gint gimp_palette_get_columns (const gchar *name);
gboolean gimp_palette_set_columns (const gchar *name,
gint columns);

View File

@ -50,7 +50,7 @@ static gboolean gimp_ui_initialized = FALSE;
* gimp_ui_init:
* @prog_name: The name of the plug-in which will be passed as argv[0] to
* gtk_init(). It's a convention to use the name of the
* executable and _not_ the PDB procedure name or something.
* executable and _not_ the PDB procedure name.
* @preview: This parameter is unused and exists for historical
* reasons only.
*
@ -58,8 +58,11 @@ static gboolean gimp_ui_initialized = FALSE;
* image rendering subsystem (GdkRGB) to follow the GIMP main program's
* colormap allocation/installation policy.
*
* GIMP's colormap policy can be determinded by the user with the
* gimprc variables @min_colors and @install_cmap.
* It also sets up various other things so that the plug-in user looks
* and behaves like the GIMP core. This includes selecting the GTK+
* theme and setting up the help system as chosen in the GIMP
* preferences. Any plug-in that provides a user interface should call
* this function.
**/
void
gimp_ui_init (const gchar *prog_name,

View File

@ -815,12 +815,11 @@ gimp_pdb_arg_type_get_type (void)
{ GIMP_PDB_CHANNEL, "GIMP_PDB_CHANNEL", "channel" },
{ GIMP_PDB_DRAWABLE, "GIMP_PDB_DRAWABLE", "drawable" },
{ GIMP_PDB_SELECTION, "GIMP_PDB_SELECTION", "selection" },
{ GIMP_PDB_BOUNDARY, "GIMP_PDB_BOUNDARY", "boundary" },
{ GIMP_PDB_COLORARRAY, "GIMP_PDB_COLORARRAY", "colorarray" },
{ GIMP_PDB_VECTORS, "GIMP_PDB_VECTORS", "vectors" },
{ GIMP_PDB_PARASITE, "GIMP_PDB_PARASITE", "parasite" },
{ GIMP_PDB_STATUS, "GIMP_PDB_STATUS", "status" },
{ GIMP_PDB_END, "GIMP_PDB_END", "end" },
{ GIMP_PDB_PATH, "GIMP_PDB_PATH", "path" },
{ 0, NULL, NULL }
};
@ -844,12 +843,11 @@ gimp_pdb_arg_type_get_type (void)
{ GIMP_PDB_CHANNEL, "GIMP_PDB_CHANNEL", NULL },
{ GIMP_PDB_DRAWABLE, "GIMP_PDB_DRAWABLE", NULL },
{ GIMP_PDB_SELECTION, "GIMP_PDB_SELECTION", NULL },
{ GIMP_PDB_BOUNDARY, "GIMP_PDB_BOUNDARY", NULL },
{ GIMP_PDB_COLORARRAY, "GIMP_PDB_COLORARRAY", NULL },
{ GIMP_PDB_VECTORS, "GIMP_PDB_VECTORS", NULL },
{ GIMP_PDB_PARASITE, "GIMP_PDB_PARASITE", NULL },
{ GIMP_PDB_STATUS, "GIMP_PDB_STATUS", NULL },
{ GIMP_PDB_END, "GIMP_PDB_END", NULL },
{ GIMP_PDB_PATH, "GIMP_PDB_PATH", NULL },
{ 0, NULL, NULL }
};

View File

@ -373,13 +373,15 @@ typedef enum
GIMP_PDB_CHANNEL,
GIMP_PDB_DRAWABLE,
GIMP_PDB_SELECTION,
GIMP_PDB_BOUNDARY,
GIMP_PDB_COLORARRAY,
GIMP_PDB_VECTORS,
GIMP_PDB_PARASITE,
GIMP_PDB_STATUS,
GIMP_PDB_END,
GIMP_PDB_PATH = GIMP_PDB_VECTORS /* deprecated */
/* the following aliases are deprecated */
GIMP_PDB_PATH = GIMP_PDB_VECTORS, /*< skip >*/
GIMP_PDB_BOUNDARY = GIMP_PDB_COLORARRAY /*< skip >*/
} GimpPDBArgType;

View File

@ -1481,11 +1481,17 @@ _gp_params_read (GIOChannel *channel,
goto cleanup;
break;
case GIMP_PDB_BOUNDARY:
if (! _gimp_wire_read_int32 (channel,
(guint32 *) &(*params)[i].data.d_boundary, 1,
user_data))
goto cleanup;
case GIMP_PDB_COLORARRAY:
(*params)[i].data.d_colorarray = g_new (GimpRGB,
(*params)[i-1].data.d_int32);
if (! _gimp_wire_read_color (channel,
(*params)[i].data.d_colorarray,
(*params)[i-1].data.d_int32,
user_data))
{
g_free ((*params)[i].data.d_colorarray);
goto cleanup;
}
break;
case GIMP_PDB_VECTORS:
@ -1698,9 +1704,10 @@ _gp_params_write (GIOChannel *channel,
return;
break;
case GIMP_PDB_BOUNDARY:
if (! _gimp_wire_write_int32 (channel,
(const guint32 *) &params[i].data.d_boundary, 1,
case GIMP_PDB_COLORARRAY:
if (! _gimp_wire_write_color (channel,
params[i].data.d_colorarray,
params[i-1].data.d_int32,
user_data))
return;
break;
@ -1773,7 +1780,6 @@ gp_params_destroy (GPParam *params,
case GIMP_PDB_CHANNEL:
case GIMP_PDB_DRAWABLE:
case GIMP_PDB_SELECTION:
case GIMP_PDB_BOUNDARY:
case GIMP_PDB_VECTORS:
case GIMP_PDB_STATUS:
break;
@ -1811,6 +1817,10 @@ gp_params_destroy (GPParam *params,
}
break;
case GIMP_PDB_COLORARRAY:
g_free (params[i].data.d_colorarray);
break;
case GIMP_PDB_PARASITE:
if (params[i].data.d_parasite.name)
g_free (params[i].data.d_parasite.name);

View File

@ -27,7 +27,7 @@ G_BEGIN_DECLS
/* Increment every time the protocol changes
*/
#define GIMP_PROTOCOL_VERSION 0x0012
#define GIMP_PROTOCOL_VERSION 0x0013
enum
@ -120,6 +120,7 @@ struct _GPParam
guint8 *d_int8array;
gdouble *d_floatarray;
gchar **d_stringarray;
GimpRGB *d_colorarray;
GimpRGB d_color;
struct
{

View File

@ -4,6 +4,7 @@
* GIMP Help Browser
* Copyright (C) 1999-2008 Sven Neumann <sven@gimp.org>
* Michael Natterer <mitch@gimp.org>
* Róman Joost <romanofski@gimp.org>
*
* dialog.c
*
@ -26,16 +27,11 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <glib/gstdio.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <webkit/webkit.h>
#include "libgimpwidgets/gimpwidgets.h"
@ -43,10 +39,6 @@
#include "libgimp/gimp.h"
#include "libgimp/gimpui.h"
#ifdef G_OS_WIN32
#include "libgimpbase/gimpwin32-io.h"
#endif
#include "plug-ins/help/gimphelp.h"
#include "gimpthrobber.h"
@ -57,10 +49,6 @@
#include "libgimp/stdplugins-intl.h"
#ifndef _O_BINARY
#define _O_BINARY 0
#endif
#define GIMP_HELP_BROWSER_DIALOG_DATA "gimp-help-browser-dialog"
@ -84,59 +72,77 @@ enum
/* local function prototypes */
static GtkUIManager * ui_manager_new (GtkWidget *window);
static GtkUIManager * ui_manager_new (GtkWidget *window);
static void back_callback (GtkAction *action,
gpointer data);
static void forward_callback (GtkAction *action,
gpointer data);
static void reload_callback (GtkAction *action,
gpointer data);
static void stop_callback (GtkAction *action,
gpointer data);
static void home_callback (GtkAction *action,
gpointer data);
static void copy_location_callback (GtkAction *action,
gpointer data);
static void show_index_callback (GtkAction *action,
gpointer data);
static void zoom_in_callback (GtkAction *action,
gpointer data);
static void zoom_out_callback (GtkAction *action,
gpointer data);
static void close_callback (GtkAction *action,
gpointer data);
static void website_callback (GtkAction *action,
gpointer data);
static GtkWidget * build_searchbar (void);
static void update_actions (void);
static void back_callback (GtkAction *action,
gpointer data);
static void forward_callback (GtkAction *action,
gpointer data);
static void reload_callback (GtkAction *action,
gpointer data);
static void stop_callback (GtkAction *action,
gpointer data);
static void home_callback (GtkAction *action,
gpointer data);
static void find_callback (GtkAction *action,
gpointer data);
static void find_again_callback (GtkAction *action,
gpointer data);
static void copy_location_callback (GtkAction *action,
gpointer data);
static void show_index_callback (GtkAction *action,
gpointer data);
static void zoom_in_callback (GtkAction *action,
gpointer data);
static void zoom_out_callback (GtkAction *action,
gpointer data);
static void close_callback (GtkAction *action,
gpointer data);
static void website_callback (GtkAction *action,
gpointer data);
static void window_set_icons (GtkWidget *window);
static void update_actions (void);
static void row_activated (GtkTreeView *tree_view,
GtkTreePath *path,
GtkTreeViewColumn *column);
static void dialog_unmap (GtkWidget *window,
GtkWidget *paned);
static void window_set_icons (GtkWidget *window);
static void view_realize (GtkWidget *widget);
static void view_unrealize (GtkWidget *widget);
static gboolean view_popup_menu (GtkWidget *widget,
GdkEventButton *event);
static gboolean view_button_press (GtkWidget *widget,
GdkEventButton *event);
static void row_activated (GtkTreeView *tree_view,
GtkTreePath *path,
GtkTreeViewColumn *column);
static void dialog_unmap (GtkWidget *window,
GtkWidget *paned);
static void title_changed (GtkWidget *view,
WebKitWebFrame *frame,
const gchar *title,
GtkWidget *window);
static void load_started (GtkWidget *view,
WebKitWebFrame *frame);
static void load_finished (GtkWidget *view,
WebKitWebFrame *frame);
static void view_realize (GtkWidget *widget);
static void view_unrealize (GtkWidget *widget);
static gboolean view_popup_menu (GtkWidget *widget,
GdkEventButton *event);
static gboolean view_button_press (GtkWidget *widget,
GdkEventButton *event);
static gboolean view_key_press (GtkWidget *widget,
GdkEventKey *event);
static void select_index (const gchar *uri);
static void title_changed (GtkWidget *view,
WebKitWebFrame *frame,
const gchar *title,
GtkWidget *window);
static void load_started (GtkWidget *view,
WebKitWebFrame *frame);
static void load_finished (GtkWidget *view,
WebKitWebFrame *frame);
static void select_index (const gchar *uri);
static void search_entry_changed (GtkWidget *entry);
static gboolean search_entry_key_press (GtkWidget *entry,
GdkEventKey *event);
static void search_prev_clicked (GtkWidget *button,
GtkWidget *entry);
static void search_next_clicked (GtkWidget *button,
GtkWidget *entry);
static void search_close_clicked (GtkWidget *button);
static void search (const gchar *text,
gboolean forward);
/* private variables */
@ -145,6 +151,7 @@ static GHashTable *uri_hash_table = NULL;
static GtkWidget *view = NULL;
static GtkWidget *sidebar = NULL;
static GtkWidget *searchbar = NULL;
static GtkWidget *tree_view = NULL;
static GtkUIManager *ui_manager = NULL;
static GtkWidget *button_prev = NULL;
@ -158,6 +165,7 @@ void
browser_dialog_open (void)
{
GtkWidget *window;
GtkWidget *main_vbox;
GtkWidget *vbox;
GtkWidget *toolbar;
GtkWidget *paned;
@ -256,12 +264,16 @@ browser_dialog_open (void)
NULL);
/* HTML view */
main_vbox = gtk_vbox_new (FALSE, 0);
gtk_widget_show (main_vbox);
gtk_paned_pack2 (GTK_PANED (paned), main_vbox, TRUE, TRUE);
scrolled = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_widget_set_size_request (scrolled, 300, 200);
gtk_paned_add2 (GTK_PANED (paned), scrolled);
gtk_box_pack_start (GTK_BOX (main_vbox), scrolled, TRUE, TRUE, 0);
gtk_widget_show (scrolled);
view = webkit_web_view_new ();
@ -283,6 +295,9 @@ browser_dialog_open (void)
g_signal_connect (view, "button-press-event",
G_CALLBACK (view_button_press),
NULL);
g_signal_connect (view, "key-press-event",
G_CALLBACK (view_key_press),
NULL);
#if HAVE_WEBKIT_ZOOM_API
webkit_web_view_set_zoom_level (WEBKIT_WEB_VIEW (view), data.zoom);
@ -306,6 +321,10 @@ browser_dialog_open (void)
paned);
update_actions ();
/* Searchbar */
searchbar = build_searchbar ();
gtk_box_pack_start (GTK_BOX (main_vbox), searchbar, FALSE, FALSE, 0);
}
void
@ -581,6 +600,16 @@ ui_manager_new (GtkWidget *window)
NULL, "<control>minus", NULL,
G_CALLBACK (zoom_out_callback)
},
{
"find", GTK_STOCK_FIND,
NULL, "<control>F", N_("Find text in current page"),
G_CALLBACK (find_callback)
},
{
"find-again", NULL,
N_("Find _Again"), "<control>G", NULL,
G_CALLBACK (find_again_callback)
},
{
"close", GTK_STOCK_CLOSE,
NULL, "<control>W", NULL,
@ -666,6 +695,9 @@ ui_manager_new (GtkWidget *window)
" <menuitem action=\"home\" />"
" <menuitem action=\"copy-location\" />"
" <menuitem action=\"show-index\" />"
" <separator />"
" <menuitem action=\"find\" />"
" <menuitem action=\"find-again\" />"
#ifdef HAVE_WEBKIT_ZOOM_API
" <separator />"
" <menuitem action=\"zoom-in\" />"
@ -734,6 +766,28 @@ home_callback (GtkAction *action,
}
}
static void
find_callback (GtkAction *action,
gpointer data)
{
GtkWidget *entry = g_object_get_data (G_OBJECT (searchbar), "entry");
gtk_widget_show (searchbar);
gtk_widget_grab_focus (entry);
}
static void
find_again_callback (GtkAction *action,
gpointer data)
{
GtkWidget *entry = g_object_get_data (G_OBJECT (searchbar), "entry");
gtk_widget_show (searchbar);
gtk_widget_grab_focus (entry);
search (gtk_entry_get_text (GTK_ENTRY (entry)), TRUE);
}
static void
copy_location_callback (GtkAction *action,
gpointer data)
@ -1008,6 +1062,24 @@ view_button_press (GtkWidget *widget,
return FALSE;
}
static gboolean
view_key_press (GtkWidget *widget,
GdkEventKey *event)
{
if (event->keyval == GDK_slash)
{
GtkAction *action;
action = gtk_ui_manager_get_action (ui_manager,
"/ui/help-browser-popup/find");
gtk_action_activate (action);
return TRUE;
}
return FALSE;
}
static void
title_changed (GtkWidget *view,
WebKitWebFrame *frame,
@ -1047,3 +1119,123 @@ load_finished (GtkWidget *view,
select_index (webkit_web_frame_get_uri (frame));
}
static GtkWidget *
build_searchbar (void)
{
GtkWidget *button;
GtkWidget *image;
GtkWidget *entry;
GtkWidget *hbox;
GtkWidget *label;
hbox = gtk_hbox_new (FALSE, 6);
label = gtk_label_new (_("Find:"));
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
entry = gtk_entry_new ();
gtk_widget_show (entry);
gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, TRUE, 0);
g_object_set_data (G_OBJECT (hbox), "entry", entry);
g_signal_connect (entry, "changed",
G_CALLBACK (search_entry_changed),
NULL);
g_signal_connect (entry, "key-press-event",
G_CALLBACK (search_entry_key_press),
NULL);
button = gtk_button_new_with_mnemonic (C_("search", "_Previous"));
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
gtk_button_set_image (GTK_BUTTON (button),
gtk_image_new_from_stock (GTK_STOCK_GO_BACK,
GTK_ICON_SIZE_BUTTON));
gtk_widget_show (button);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
g_signal_connect (button, "clicked",
G_CALLBACK (search_prev_clicked),
entry);
button = gtk_button_new_with_mnemonic (C_("search", "_Next"));
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
gtk_button_set_image (GTK_BUTTON (button),
gtk_image_new_from_stock (GTK_STOCK_GO_FORWARD,
GTK_ICON_SIZE_BUTTON));
gtk_widget_show (button);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
g_signal_connect (button, "clicked",
G_CALLBACK (search_next_clicked),
entry);
button = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
g_object_get (button, "image", &image, NULL);
g_object_set (image, "icon-size", GTK_ICON_SIZE_MENU, NULL);
g_object_unref (image);
gtk_widget_show (button);
gtk_box_pack_end (GTK_BOX (hbox), button, FALSE, FALSE, 0);
g_signal_connect (button, "clicked",
G_CALLBACK (search_close_clicked),
NULL);
return hbox;
}
static void
search_entry_changed (GtkWidget *entry)
{
search (gtk_entry_get_text (GTK_ENTRY (entry)), TRUE);
}
static gboolean
search_entry_key_press (GtkWidget *entry,
GdkEventKey *event)
{
if (event->keyval == GDK_Escape)
{
gtk_widget_hide (searchbar);
webkit_web_view_unmark_text_matches (WEBKIT_WEB_VIEW (view));
return TRUE;
}
return FALSE;
}
static void
search_prev_clicked (GtkWidget *button,
GtkWidget *entry)
{
search (gtk_entry_get_text (GTK_ENTRY (entry)), FALSE);
}
static void
search_next_clicked (GtkWidget *button,
GtkWidget *entry)
{
search (gtk_entry_get_text (GTK_ENTRY (entry)), TRUE);
}
static void
search (const gchar *text,
gboolean forward)
{
if (text)
webkit_web_view_search_text (WEBKIT_WEB_VIEW (view),
text, FALSE, forward, TRUE);
}
static void
search_close_clicked (GtkWidget *button)
{
gtk_widget_hide (searchbar);
webkit_web_view_unmark_text_matches (WEBKIT_WEB_VIEW (view));
}

View File

@ -287,8 +287,26 @@ pygimp_param_to_tuple(int nparams, const GimpParam *params)
case GIMP_PDB_SELECTION:
value = pygimp_layer_new(params[i].data.d_selection);
break;
case GIMP_PDB_BOUNDARY:
value = PyInt_FromLong(params[i].data.d_boundary);
case GIMP_PDB_COLORARRAY:
if (params[i].data.d_colorarray == NULL) {
value = PyTuple_New(0);
break;
}
if ((tmp=PyTuple_GetItem(args, i-1)) == NULL) {
Py_DECREF(args);
return NULL;
}
if (!PyInt_Check(tmp)) {
PyErr_SetString(PyExc_TypeError,
"count type must be integer");
Py_DECREF(args);
return NULL;
}
n = PyInt_AsLong(tmp);
value = PyTuple_New(n);
for (j = 0; j < n; j++)
PyTuple_SetItem(value, j,
pygimp_rgb_new(&params[i].data.d_colorarray[j]));
break;
case GIMP_PDB_VECTORS:
value = pygimp_vectors_new(params[i].data.d_vectors);
@ -524,9 +542,23 @@ pygimp_param_from_tuple(PyObject *args, const GimpParamDef *ptype, int nparams)
check(!pygimp_layer_check(item));
ret[i].data.d_selection = ((PyGimpLayer *)item)->ID;
break;
case GIMP_PDB_BOUNDARY:
check(!PyInt_Check(item));
ret[i].data.d_boundary = PyInt_AsLong(item);
case GIMP_PDB_COLORARRAY:
{
GimpRGB *rgb;
check(!PySequence_Check(item));
len = PySequence_Length(item);
rgb = g_new(GimpRGB, len);
for (j = 0; j < len; j++) {
if (!pygimp_rgb_from_pyobject(item, &rgb[j])) {
Py_DECREF(tuple);
g_free(rgb);
gimp_destroy_params(ret, nparams);
return NULL;
}
}
ret[i].data.d_colorarray = rgb;
}
break;
case GIMP_PDB_VECTORS:
check(!pygimp_vectors_check(item));

View File

@ -615,18 +615,18 @@ script_fu_marshal_procedure_call (scheme *sc, pointer a)
#define typeflag(p) ((p)->_flag)
#define type(p) (typeflag(p)&T_MASKTYPE)
char *ret_types[] = {
static const char *ret_types[] = {
"GIMP_PDB_INT32", "GIMP_PDB_INT16", "GIMP_PDB_INT8",
"GIMP_PDB_FLOAT", "GIMP_PDB_STRING", "GIMP_PDB_INT32ARRAY",
"GIMP_PDB_INT16ARRAY", "GIMP_PDB_INT8ARRAY", "GIMP_PDB_FLOATARRAY",
"GIMP_PDB_STRINGARRAY", "GIMP_PDB_COLOR", "GIMP_PDB_REGION",
"GIMP_PDB_DISPLAY", "GIMP_PDB_IMAGE", "GIMP_PDB_LAYER",
"GIMP_PDB_CHANNEL", "GIMP_PDB_DRAWABLE", "GIMP_PDB_SELECTION",
"GIMP_PDB_BOUNDARY", "GIMP_PDB_VECTORS", "GIMP_PDB_PARASITE",
"GIMP_PDB_COLORARRY", "GIMP_PDB_VECTORS", "GIMP_PDB_PARASITE",
"GIMP_PDB_STATUS", "GIMP_PDB_END"
};
char *ts_types[] = {
static const char *ts_types[] = {
"T_NONE",
"T_STRING", "T_NUMBER", "T_SYMBOL", "T_PROC",
"T_PAIR", "T_CLOSURE", "T_CONTINUATION", "T_FOREIGN",
@ -634,7 +634,7 @@ char *ts_types[] = {
"T_PROMISE", "T_ENVIRONMENT","T_ARRAY"
};
char *status_types[] = {
static const char *status_types[] = {
"GIMP_PDB_EXECUTION_ERROR", "GIMP_PDB_CALLING_ERROR",
"GIMP_PDB_PASS_THROUGH", "GIMP_PDB_SUCCESS",
"GIMP_PDB_CANCEL"
@ -739,7 +739,6 @@ g_printerr (" passed arg is type %s (%d)\n",
case GIMP_PDB_CHANNEL:
case GIMP_PDB_DRAWABLE:
case GIMP_PDB_SELECTION:
case GIMP_PDB_BOUNDARY:
case GIMP_PDB_VECTORS:
if (!sc->vptr->is_number (sc->vptr->pair_car (a)))
success = FALSE;
@ -846,7 +845,7 @@ if (count > 0)
g_printerr (" ");
for (j = 0; j < count; ++j)
g_printerr (" %ld",
sc->vptr->ivalue ( sc->vptr->vector_elem (vector, j) ));
sc->vptr->ivalue ( sc->vptr->vector_elem (vector, j) ));
g_printerr ("\n");
}
}
@ -897,7 +896,7 @@ if (count > 0)
g_printerr (" ");
for (j = 0; j < count; ++j)
g_printerr (" %ld",
sc->vptr->ivalue ( sc->vptr->vector_elem (vector, j) ));
sc->vptr->ivalue ( sc->vptr->vector_elem (vector, j) ));
g_printerr ("\n");
}
}
@ -950,7 +949,7 @@ if (count > 0)
g_printerr (" ");
for (j = 0; j < count; ++j)
g_printerr (" %ld",
sc->vptr->ivalue ( sc->vptr->vector_elem (vector, j) ));
sc->vptr->ivalue ( sc->vptr->vector_elem (vector, j) ));
g_printerr ("\n");
}
}
@ -1003,7 +1002,7 @@ if (count > 0)
g_printerr (" ");
for (j = 0; j < count; ++j)
g_printerr (" %f",
sc->vptr->rvalue ( sc->vptr->vector_elem (vector, j) ));
sc->vptr->rvalue ( sc->vptr->vector_elem (vector, j) ));
g_printerr ("\n");
}
}
@ -1104,6 +1103,66 @@ g_printerr (" (%d %d %d)\n", r, g, b);
}
break;
case GIMP_PDB_COLORARRAY:
vector = sc->vptr->pair_car (a);
if (!sc->vptr->is_vector (vector))
success = FALSE;
if (success)
{
n_elements = args[i-1].data.d_int32;
if (n_elements < 0 ||
n_elements > sc->vptr->vector_length (vector))
{
g_snprintf (error_str, sizeof (error_str),
"COLOR vector (argument %d) for function %s has "
"size of %ld but expected size of %d",
i+1, proc_name,
sc->vptr->vector_length (vector), n_elements);
return foreign_error (sc, error_str, 0);
}
args[i].data.d_colorarray = g_new (GimpRGB, n_elements);
for (j = 0; j < n_elements; j++)
{
pointer v_element = sc->vptr->vector_elem (vector, j);
pointer color_list;
guchar r, g, b;
if (! (sc->vptr->is_list (sc,
sc->vptr->pair_car (v_element)) &&
sc->vptr->list_length (sc,
sc->vptr->pair_car (v_element)) == 3))
{
g_snprintf (error_str, sizeof (error_str),
"Item %d in vector is not a color "
"(argument %d for function %s)",
j+1, i+1, proc_name);
return foreign_error (sc, error_str, vector);
}
color_list = sc->vptr->pair_car (v_element);
r = CLAMP (sc->vptr->ivalue (sc->vptr->pair_car (color_list)),
0, 255);
color_list = sc->vptr->pair_cdr (color_list);
g = CLAMP (sc->vptr->ivalue (sc->vptr->pair_car (color_list)),
0, 255);
color_list = sc->vptr->pair_cdr (color_list);
b = CLAMP (sc->vptr->ivalue (sc->vptr->pair_car (color_list)),
0, 255);
gimp_rgba_set_uchar (&args[i].data.d_colorarray[j],
r, g, b, 255);
}
#if DEBUG_MARSHALL
{
glong count = sc->vptr->vector_length (vector);
g_printerr (" color vector has %ld elements\n", count);
}
#endif
}
break;
case GIMP_PDB_REGION:
if (! (sc->vptr->is_list (sc, sc->vptr->pair_car (a)) &&
sc->vptr->list_length (sc, sc->vptr->pair_car (a)) == 4))
@ -1282,7 +1341,6 @@ g_printerr (" value %d is type %s (%d)\n",
case GIMP_PDB_CHANNEL:
case GIMP_PDB_DRAWABLE:
case GIMP_PDB_SELECTION:
case GIMP_PDB_BOUNDARY:
case GIMP_PDB_VECTORS:
return_val = sc->vptr->cons (sc,
sc->vptr->mk_integer (sc,
@ -1457,6 +1515,38 @@ g_printerr (" value %d is type %s (%d)\n",
break;
}
case GIMP_PDB_COLORARRAY:
/* color arrays are always implemented such that the previous
* return value contains the number of strings in the array
*/
{
gint32 num_colors = values[i].data.d_int32;
GimpRGB *array = (GimpRGB *) values[i + 1].data.d_colorarray;
pointer vector = sc->vptr->mk_vector (sc, num_colors);
return_val = sc->vptr->cons (sc, vector, return_val);
set_safe_foreign (sc, return_val);
for (j = 0; j < num_colors; j++)
{
guchar r, g, b;
gimp_rgb_get_uchar (&array[j], &r, &g, &b);
intermediate_val = sc->vptr->cons (sc,
sc->vptr->mk_integer (sc, r),
sc->vptr->cons (sc,
sc->vptr->mk_integer (sc, g),
sc->vptr->cons (sc,
sc->vptr->mk_integer (sc, b),
sc->NIL)));
return_val = sc->vptr->cons (sc,
intermediate_val,
return_val);
set_safe_foreign (sc, return_val);
}
}
break;
case GIMP_PDB_REGION:
{
gint32 x, y, w, h;
@ -1612,6 +1702,10 @@ script_fu_marshal_destroy_args (GimpParam *params,
g_free (params[i].data.d_stringarray);
break;
case GIMP_PDB_COLORARRAY:
g_free (params[i].data.d_colorarray);
break;
case GIMP_PDB_COLOR:
case GIMP_PDB_REGION:
case GIMP_PDB_DISPLAY:
@ -1620,7 +1714,6 @@ script_fu_marshal_destroy_args (GimpParam *params,
case GIMP_PDB_CHANNEL:
case GIMP_PDB_DRAWABLE:
case GIMP_PDB_SELECTION:
case GIMP_PDB_BOUNDARY:
case GIMP_PDB_VECTORS:
case GIMP_PDB_PARASITE:
case GIMP_PDB_STATUS:

View File

@ -1,3 +1,11 @@
2008-07-17 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es.po: Updated Spanish translation by Francisco Vila
2008-07-17 Žygimantas Beručka <zygis@gnome.org>
* lt.po: Updated Lithuanian translation.
2008-07-12 Daniel Nylander <po@danielnylander.se>
* sv.po: Updated Swedish translation.

File diff suppressed because it is too large Load Diff

View File

@ -1,16 +1,16 @@
# Lithuanian translation of GIMP (libgimp).
# Copyright (C) 2001-2007 Free Software Foundation, Inc.
# Copyright (C) 2001-2008 Free Software Foundation, Inc.
# Mantas Kriaučiūnas <mantas@akl.lt>, 2001.
# Linas Vasiliauskas <linasv@centras.lt>, 2004.
# Žygimantas Beručka <zygis@gnome.org>, 2004-2007.
# Žygimantas Beručka <zygis@gnome.org>, 2004-2008.
#
#
#
msgid ""
msgstr ""
"Project-Id-Version: GIMP (libgimp) HEAD\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-11-07 19:33+0200\n"
"PO-Revision-Date: 2007-10-11 01:31+0300\n"
"POT-Creation-Date: 2008-07-17 13:35+0300\n"
"PO-Revision-Date: 2008-07-17 13:38+0300\n"
"Last-Translator: Žygimantas Beručka <zygis@gnome.org>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"
@ -322,15 +322,15 @@ msgstr "Grąžinamos reikšmės"
msgid "Additional Information"
msgstr "Papildoma informacija"
#: ../libgimp/gimpprocview.c:210
#: ../libgimp/gimpprocview.c:209
msgid "Author:"
msgstr "Autorius:"
#: ../libgimp/gimpprocview.c:222
#: ../libgimp/gimpprocview.c:221
msgid "Date:"
msgstr "Data:"
#: ../libgimp/gimpprocview.c:234
#: ../libgimp/gimpprocview.c:233
msgid "Copyright:"
msgstr "Autorinės teisės:"
@ -360,7 +360,7 @@ msgstr "_Pažymėjimas"
#: ../libgimpbase/gimpbaseenums.c:33
msgid "_Grayscale copy of layer"
msgstr "_Nespalvota sluoksnio kopija"
msgstr "_Pilkų atspalvių sluoksnio kopija"
#: ../libgimpbase/gimpbaseenums.c:34
msgid "C_hannel"
@ -384,7 +384,7 @@ msgstr "Kitoks gradientas"
#: ../libgimpbase/gimpbaseenums.c:96
msgid "FG color fill"
msgstr "Užpildumas pirmo plano spalva"
msgstr "Užpildymas pirmo plano spalva"
#: ../libgimpbase/gimpbaseenums.c:97
msgid "BG color fill"
@ -540,7 +540,7 @@ msgstr "Spiralinis (pagal laikrodžio rodyklę)"
#: ../libgimpbase/gimpbaseenums.c:399
msgid "Spiral (ccw)"
msgstr "Spiralinis (pagal laikrodžio rodyklę)"
msgstr "Spiralinis (prieš laikrodžio rodyklę)"
#: ../libgimpbase/gimpbaseenums.c:430
msgid "Intersections (dots)"
@ -556,7 +556,7 @@ msgstr "Brūkšniuota"
#: ../libgimpbase/gimpbaseenums.c:433
msgid "Double dashed"
msgstr "Dvigubai brūkšniuota"
msgstr "Dviguba brūkšniuota"
#: ../libgimpbase/gimpbaseenums.c:434
msgid "Solid"
@ -576,7 +576,7 @@ msgstr "Paveikslėlio failas"
#: ../libgimpbase/gimpbaseenums.c:494
msgid "RGB color"
msgstr "RGB spalva"
msgstr "RGB spalvos"
#: ../libgimpbase/gimpbaseenums.c:495 ../libgimpbase/gimpbaseenums.c:530
msgid "Grayscale"
@ -608,7 +608,7 @@ msgstr "Jokios"
#: ../libgimpbase/gimpbaseenums.c:564
msgid "interpolation|Linear"
msgstr "Linijinė"
msgstr "Tiesinė"
#: ../libgimpbase/gimpbaseenums.c:565
msgid "Cubic"
@ -626,7 +626,7 @@ msgstr "Konstanta"
msgid "Incremental"
msgstr "Didėjantis"
#: ../libgimpbase/gimpbaseenums.c:624 ../modules/cdisplay_lcms.c:224
#: ../libgimpbase/gimpbaseenums.c:624 ../modules/cdisplay_lcms.c:195
msgid "None"
msgstr "Nėra"
@ -694,80 +694,51 @@ msgstr "Apkirpti iki rezultato"
msgid "Crop with aspect"
msgstr "Apkirpti išsaugant proporciją"
#: ../libgimpbase/gimpbaseenums.c:882
#: ../libgimpbase/gimpbaseenums.c:880
msgid "Internal GIMP procedure"
msgstr "Vidinė GIMP procedūra"
#: ../libgimpbase/gimpbaseenums.c:883
#: ../libgimpbase/gimpbaseenums.c:881
msgid "GIMP Plug-In"
msgstr "GIMP įskiepis"
#: ../libgimpbase/gimpbaseenums.c:884
#: ../libgimpbase/gimpbaseenums.c:882
msgid "GIMP Extension"
msgstr "GIMP išplėtimas"
msgstr "GIMP plėtinys"
#: ../libgimpbase/gimpbaseenums.c:885
#: ../libgimpbase/gimpbaseenums.c:883
msgid "Temporary Procedure"
msgstr "Laikina procedūra"
#: ../libgimpbase/gimpmemsize.c:180
#, c-format
msgid "%d Byte"
msgid_plural "%d Bytes"
msgstr[0] "%d baitas"
msgstr[1] "%d baitai"
msgstr[2] "%d baitų"
#: ../libgimpbase/gimpbaseenums.c:1045
msgid "From left to right"
msgstr "Iš kairės į dešinę"
#: ../libgimpbase/gimpmemsize.c:186
#, c-format
msgid "%.2f KB"
msgstr "%.2f KB"
#: ../libgimpbase/gimpbaseenums.c:1046
msgid "From right to left"
msgstr "Iš dešinės į kairę"
#: ../libgimpbase/gimpmemsize.c:190
#, c-format
msgid "%.1f KB"
msgstr "%.1f KB"
#: ../libgimpbase/gimpbaseenums.c:1076
msgid "Left justified"
msgstr "Lygiuotas kairėje"
#: ../libgimpbase/gimpmemsize.c:194
#, c-format
msgid "%d KB"
msgstr "%d KB"
#: ../libgimpbase/gimpbaseenums.c:1077
msgid "Right justified"
msgstr "Lygiuotas dešinėje"
#: ../libgimpbase/gimpmemsize.c:201
#, c-format
msgid "%.2f MB"
msgstr "%.2f MB"
#: ../libgimpbase/gimpbaseenums.c:1078
msgid "Centered"
msgstr "Centruotas"
#: ../libgimpbase/gimpmemsize.c:205
#, c-format
msgid "%.1f MB"
msgstr "%.1f MB"
#: ../libgimpbase/gimpmemsize.c:209
#, c-format
msgid "%d MB"
msgstr "%d MB"
#: ../libgimpbase/gimpmemsize.c:216
#, c-format
msgid "%.2f GB"
msgstr "%.2f GB"
#: ../libgimpbase/gimpmemsize.c:220
#, c-format
msgid "%.1f GB"
msgstr "%.1f GB"
#: ../libgimpbase/gimpmemsize.c:224
#, c-format
msgid "%d GB"
msgstr "%d GB"
#: ../libgimpbase/gimpbaseenums.c:1079
msgid "Filled"
msgstr "Užpildytas"
#: ../libgimpbase/gimputils.c:170 ../libgimpbase/gimputils.c:175
#: ../modules/cdisplay_lcms.c:216 ../modules/colorsel_cmyk_lcms.c:408
#: ../modules/colorsel_cmyk_lcms.c:414
#: ../modules/cdisplay_lcms.c:187 ../modules/colorsel_cmyk_lcms.c:411
#: ../modules/colorsel_cmyk_lcms.c:417
msgid "(invalid UTF-8 string)"
msgstr "(nekorektiška UTF-8 eilutė)"
msgstr "(netinkama UTF-8 eilutė)"
#: ../libgimpconfig/gimpcolorconfig.c:42
msgid "Mode of operation for color management."
@ -834,7 +805,7 @@ msgstr "Ekranas su valdomomis spalvomis"
#: ../libgimpconfig/gimpcolorconfig-enums.c:26
msgid "Print simulation"
msgstr "Spausdinimo simuliacija"
msgstr "Spausdinimo imitavimas"
#: ../libgimpconfig/gimpcolorconfig-enums.c:56
msgid "Perceptual"
@ -878,10 +849,10 @@ msgstr "nekorektiška „%ld“ reikšmė %s žymei"
msgid "while parsing token '%s': %s"
msgstr "apdorojant žymę „%s“: %s"
#: ../libgimpconfig/gimpconfig-iface.c:454
#: ../libgimpconfig/gimpconfig-iface.c:467 ../libgimpconfig/gimpscanner.c:498
#: ../libgimpconfig/gimpconfig-iface.c:474
#: ../libgimpconfig/gimpconfig-iface.c:487 ../libgimpconfig/gimpscanner.c:498
#: ../libgimpconfig/gimpscanner.c:579
#: ../libgimpwidgets/gimpcolorprofilestore.c:654
#: ../libgimpwidgets/gimpcolorprofilestore.c:656
msgid "fatal parse error"
msgstr "kritinė skaitymo klaida"
@ -962,7 +933,7 @@ msgstr "Įkėlimas nepavyko"
msgid "Not loaded"
msgstr "Neįkelta"
#: ../libgimpthumb/gimpthumb-utils.c:125
#: ../libgimpthumb/gimpthumb-utils.c:123
#, c-format
msgid ""
"Cannot determine a valid home directory.\n"
@ -971,7 +942,7 @@ msgstr ""
"Nepavyko aptikti tinkamo namų aplanko.\n"
"Todėl miniatiūros bus išsaugotos laikinųjų failų aplanke (%s)."
#: ../libgimpthumb/gimpthumb-utils.c:249 ../libgimpthumb/gimpthumb-utils.c:317
#: ../libgimpthumb/gimpthumb-utils.c:247 ../libgimpthumb/gimpthumb-utils.c:315
#, c-format
msgid "Failed to create thumbnail folder '%s'."
msgstr "Nepavyko sukurti miniatiūrų aplanko „%s“."
@ -1011,7 +982,8 @@ msgid "Select color profile from disk..."
msgstr "Pasirinkti spalvų profilį iš disko..."
#: ../libgimpwidgets/gimpcolorprofilestore.c:280
msgid "profile|None"
msgctxt "profile"
msgid "None"
msgstr "Nėra"
#: ../libgimpwidgets/gimpcolorscales.c:98
@ -1038,6 +1010,10 @@ msgstr ""
msgid "HTML _notation:"
msgstr "HTML _notacija:"
#: ../libgimpwidgets/gimphelpui.c:420
msgid "Press F1 for more help"
msgstr "Daugiau informacijos rasite paspaudę F1"
#: ../libgimpwidgets/gimpfileentry.c:174
msgid "Open a file selector to browse your folders"
msgstr "Atverti failų parinkiklį aplankų naršymui"
@ -1068,7 +1044,7 @@ msgstr "Gigabaitai"
#. Count label
#: ../libgimpwidgets/gimppageselector.c:269
#: ../libgimpwidgets/gimppageselector.c:1171
#: ../libgimpwidgets/gimppageselector.c:1166
msgid "Nothing selected"
msgstr "Nieko nepasirinkta"
@ -1088,18 +1064,18 @@ msgstr "Atverti _puslapius kaip"
msgid "Page 000"
msgstr "Puslapis 000"
#: ../libgimpwidgets/gimppageselector.c:512
#: ../libgimpwidgets/gimppageselector.c:749
#: ../libgimpwidgets/gimppageselector.c:508
#: ../libgimpwidgets/gimppageselector.c:744
#, c-format
msgid "Page %d"
msgstr "Puslapis %d"
#: ../libgimpwidgets/gimppageselector.c:1176
#: ../libgimpwidgets/gimppageselector.c:1171
msgid "One page selected"
msgstr "Pasirinktas vienas puslapis"
#: ../libgimpwidgets/gimppageselector.c:1183
#: ../libgimpwidgets/gimppageselector.c:1187
#: ../libgimpwidgets/gimppageselector.c:1178
#: ../libgimpwidgets/gimppageselector.c:1182
#, c-format
msgid "%d page selected"
msgid_plural "All %d pages selected"
@ -1135,7 +1111,7 @@ msgstr "Kvadratėlių stilius"
msgid "_Preview"
msgstr "_Peržiūra"
#: ../libgimpwidgets/gimppropwidgets.c:1901
#: ../libgimpwidgets/gimppropwidgets.c:1861
#, c-format
msgid "This text input field is limited to %d character."
msgid_plural "This text input field is limited to %d characters."
@ -1143,75 +1119,75 @@ msgstr[0] "Šis įvesties laukelis yra apribotas iki %d simbolio."
msgstr[1] "Šis įvesties laukelis yra apribotas iki %d simbolių."
msgstr[2] "Šis įvesties laukelis yra apribotas iki %d simbolių."
#: ../libgimpwidgets/gimpstock.c:113
#: ../libgimpwidgets/gimpstock.c:112
msgid "Anchor"
msgstr "Prieraišas"
#: ../libgimpwidgets/gimpstock.c:114
#: ../libgimpwidgets/gimpstock.c:113
msgid "C_enter"
msgstr "C_entras"
#: ../libgimpwidgets/gimpstock.c:115
#: ../libgimpwidgets/gimpstock.c:114
msgid "_Duplicate"
msgstr "_Dublikuoti"
#: ../libgimpwidgets/gimpstock.c:116
#: ../libgimpwidgets/gimpstock.c:115
msgid "_Edit"
msgstr "K_eisti"
#: ../libgimpwidgets/gimpstock.c:117
#: ../libgimpwidgets/gimpstock.c:116
msgid "Linked"
msgstr "Sujungtas"
#: ../libgimpwidgets/gimpstock.c:118
#: ../libgimpwidgets/gimpstock.c:117
msgid "Paste as New"
msgstr "Įdėti kaip naują"
#: ../libgimpwidgets/gimpstock.c:119
#: ../libgimpwidgets/gimpstock.c:118
msgid "Paste Into"
msgstr "Įdėti į"
#: ../libgimpwidgets/gimpstock.c:120
#: ../libgimpwidgets/gimpstock.c:119
msgid "_Reset"
msgstr "_Atstatyti"
#: ../libgimpwidgets/gimpstock.c:121
#: ../libgimpwidgets/gimpstock.c:120
msgid "Visible"
msgstr "Matomas"
#: ../libgimpwidgets/gimpstock.c:157 ../libgimpwidgets/gimpstock.c:161
#: ../libgimpwidgets/gimpstock.c:156 ../libgimpwidgets/gimpstock.c:160
msgid "_Stroke"
msgstr "_Apvesti"
#: ../libgimpwidgets/gimpstock.c:173
#: ../libgimpwidgets/gimpstock.c:172
msgid "L_etter Spacing"
msgstr "T_arpai tarp raidžių"
#: ../libgimpwidgets/gimpstock.c:174
#: ../libgimpwidgets/gimpstock.c:173
msgid "L_ine Spacing"
msgstr "Tarpai tarp e_ilučių"
#: ../libgimpwidgets/gimpstock.c:190
#: ../libgimpwidgets/gimpstock.c:189
msgid "_Resize"
msgstr "_Keisti dydį"
#: ../libgimpwidgets/gimpstock.c:191 ../libgimpwidgets/gimpstock.c:319
#: ../libgimpwidgets/gimpstock.c:190 ../libgimpwidgets/gimpstock.c:320
msgid "_Scale"
msgstr "_Ištempti"
#: ../libgimpwidgets/gimpstock.c:295
#: ../libgimpwidgets/gimpstock.c:296
msgid "Cr_op"
msgstr "Ap_karpyti"
#: ../libgimpwidgets/gimpstock.c:314
#: ../libgimpwidgets/gimpstock.c:315
msgid "_Transform"
msgstr "_Transformuoti"
#: ../libgimpwidgets/gimpstock.c:318
#: ../libgimpwidgets/gimpstock.c:319
msgid "_Rotate"
msgstr "_Pasukti"
#: ../libgimpwidgets/gimpstock.c:320
#: ../libgimpwidgets/gimpstock.c:321
msgid "_Shear"
msgstr "Š_lytis"
@ -1231,7 +1207,7 @@ msgstr "Matavimo vienetai"
msgid "Factor"
msgstr "Koeficientas"
#: ../libgimpwidgets/gimpwidgets.c:1005
#: ../libgimpwidgets/gimpwidgets.c:511
msgid ""
"Use this value for random number generator seed - this allows you to repeat "
"a given \"random\" operation"
@ -1239,16 +1215,16 @@ msgstr ""
"Naudokite šią reikšmę atsitiktinių skaičių generatoriaus sėklai tai "
"leidžia pakartoti nurodytą „random“ operaciją"
#: ../libgimpwidgets/gimpwidgets.c:1009
#: ../libgimpwidgets/gimpwidgets.c:515
msgid "_New Seed"
msgstr "_Nauja sėkla"
#: ../libgimpwidgets/gimpwidgets.c:1022
#: ../libgimpwidgets/gimpwidgets.c:528
msgid "Seed random number generator with a generated random number"
msgstr ""
"Nurodyti atsitiktinių skaičių generatoriui atsitiktinai sugeneruotą skaičių"
#: ../libgimpwidgets/gimpwidgets.c:1026
#: ../libgimpwidgets/gimpwidgets.c:532
msgid "_Randomize"
msgstr "_Atsitiktinai"
@ -1328,51 +1304,51 @@ msgstr "Deuteranopija (nejautrumas žaliai)"
msgid "Tritanopia (insensitivity to blue)"
msgstr "Tritanopija (nejautrumas mėlynai)"
#: ../modules/cdisplay_colorblind.c:200
#: ../modules/cdisplay_colorblind.c:198
msgid "Color deficit simulation filter (Brettel-Vienot-Mollon algorithm)"
msgstr "Spalvų deficito simuliavimo filtras (Brettel-Vienot-Mollon algoritmas)"
#: ../modules/cdisplay_colorblind.c:292
#: ../modules/cdisplay_colorblind.c:261
msgid "Color Deficient Vision"
msgstr "Matymas su spalvų deficitu"
msgstr "Regėjimas su spalvų deficitu"
#: ../modules/cdisplay_colorblind.c:507
#: ../modules/cdisplay_colorblind.c:483
msgid "Color _deficiency type:"
msgstr "Spalvų _deficito tipas:"
#: ../modules/cdisplay_gamma.c:91
#: ../modules/cdisplay_gamma.c:90
msgid "Gamma color display filter"
msgstr "Gamos spalvų ekrano filtras"
msgstr "Gamma spalvų ekrano filtras"
#: ../modules/cdisplay_gamma.c:160
#: ../modules/cdisplay_gamma.c:129
msgid "Gamma"
msgstr "Gama"
msgstr "Gamma"
#: ../modules/cdisplay_gamma.c:253
#: ../modules/cdisplay_gamma.c:232
msgid "_Gamma:"
msgstr "_Gama:"
msgstr "_Gamma:"
#: ../modules/cdisplay_highcontrast.c:91
#: ../modules/cdisplay_highcontrast.c:90
msgid "High Contrast color display filter"
msgstr "Didelio kontrasto spalvų ekrano filtras"
#: ../modules/cdisplay_highcontrast.c:160
#: ../modules/cdisplay_highcontrast.c:129
msgid "Contrast"
msgstr "Kontrastas"
#: ../modules/cdisplay_highcontrast.c:253
#: ../modules/cdisplay_highcontrast.c:232
msgid "Contrast c_ycles:"
msgstr "Kontrasto c_iklai:"
#: ../modules/cdisplay_lcms.c:111
#: ../modules/cdisplay_lcms.c:106
msgid "Color management display filter using ICC color profiles"
msgstr "Spalvų valdymo ekrano filtras, naudojantis ICC spalvų profilius"
#: ../modules/cdisplay_lcms.c:172
#: ../modules/cdisplay_lcms.c:138
msgid "Color Management"
msgstr "Spalvų valdymas"
#: ../modules/cdisplay_lcms.c:245
#: ../modules/cdisplay_lcms.c:216
msgid ""
"This filter takes its configuration from the Color Management section in the "
"Preferences dialog."
@ -1380,103 +1356,103 @@ msgstr ""
"Šis filtras naudoja konfigūraciją, nurodytą Spalvų valdymo sekcijoje, "
"esančioje Nustatymuose."
#: ../modules/cdisplay_lcms.c:259
#: ../modules/cdisplay_lcms.c:230
msgid "Mode of operation:"
msgstr "Veikimo veiksena:"
#: ../modules/cdisplay_lcms.c:267
#: ../modules/cdisplay_lcms.c:237
msgid "Image profile:"
msgstr "Paveikslėlio profilis:"
#: ../modules/cdisplay_lcms.c:275
#: ../modules/cdisplay_lcms.c:245
msgid "Monitor profile:"
msgstr "Monitoriaus profilis:"
#: ../modules/cdisplay_lcms.c:283
#: ../modules/cdisplay_lcms.c:253
msgid "Print simulation profile:"
msgstr "Spausdinimo simuliavimo profilis:"
#: ../modules/cdisplay_proof.c:103
#: ../modules/cdisplay_proof.c:101
msgid "Color proof filter using ICC color profile"
msgstr "Spalvų korekcijos filtras, naudojantis ICC spalvų profilį"
#: ../modules/cdisplay_proof.c:180
#: ../modules/cdisplay_proof.c:149
msgid "Color Proof"
msgstr "Spalvų korekcija"
#: ../modules/cdisplay_proof.c:340
#: ../modules/cdisplay_proof.c:315
msgid "Choose an ICC Color Profile"
msgstr "Pasirinkite ICC spalvų profilį"
#: ../modules/cdisplay_proof.c:367
#: ../modules/cdisplay_proof.c:342
msgid "All files (*.*)"
msgstr "Visi failai (*.*)"
#: ../modules/cdisplay_proof.c:372
#: ../modules/cdisplay_proof.c:347
msgid "ICC color profile (*.icc, *.icm)"
msgstr "ICC spalvų profilis (*.icc, *.icm)"
#: ../modules/cdisplay_proof.c:430
#: ../modules/cdisplay_proof.c:405
msgid "_Profile:"
msgstr "_Profilis:"
#: ../modules/cdisplay_proof.c:436
#: ../modules/cdisplay_proof.c:411
msgid "_Intent:"
msgstr "_Tikslas:"
#: ../modules/cdisplay_proof.c:441
#: ../modules/cdisplay_proof.c:416
msgid "_Black Point Compensation"
msgstr "_Juodo taško kompensavimas"
#: ../modules/colorsel_cmyk.c:73
#: ../modules/colorsel_cmyk.c:71
msgid "CMYK color selector"
msgstr "CMYK spalvų pasirinkimas"
#: ../modules/colorsel_cmyk.c:130 ../modules/colorsel_cmyk_lcms.c:154
#: ../modules/colorsel_cmyk.c:102 ../modules/colorsel_cmyk_lcms.c:154
msgid "CMYK"
msgstr "CMYK"
#. Cyan
#: ../modules/colorsel_cmyk.c:148 ../modules/colorsel_cmyk_lcms.c:171
#: ../modules/colorsel_cmyk.c:125 ../modules/colorsel_cmyk_lcms.c:173
msgid "_C"
msgstr "_C"
#. Magenta
#: ../modules/colorsel_cmyk.c:150 ../modules/colorsel_cmyk_lcms.c:173
#: ../modules/colorsel_cmyk.c:127 ../modules/colorsel_cmyk_lcms.c:175
msgid "_M"
msgstr "_M"
#. Yellow
#: ../modules/colorsel_cmyk.c:152 ../modules/colorsel_cmyk_lcms.c:175
#: ../modules/colorsel_cmyk.c:129 ../modules/colorsel_cmyk_lcms.c:177
msgid "_Y"
msgstr "_Y"
#. Key (Black)
#: ../modules/colorsel_cmyk.c:154 ../modules/colorsel_cmyk_lcms.c:177
#: ../modules/colorsel_cmyk.c:131 ../modules/colorsel_cmyk_lcms.c:179
msgid "_K"
msgstr "_K"
#: ../modules/colorsel_cmyk.c:158 ../modules/colorsel_cmyk_lcms.c:181
#: ../modules/colorsel_cmyk.c:135 ../modules/colorsel_cmyk_lcms.c:183
msgid "Cyan"
msgstr "Žydra"
#: ../modules/colorsel_cmyk.c:159 ../modules/colorsel_cmyk_lcms.c:182
#: ../modules/colorsel_cmyk.c:136 ../modules/colorsel_cmyk_lcms.c:184
msgid "Magenta"
msgstr "Purpurinė"
#: ../modules/colorsel_cmyk.c:160 ../modules/colorsel_cmyk_lcms.c:183
#: ../modules/colorsel_cmyk.c:137 ../modules/colorsel_cmyk_lcms.c:185
msgid "Yellow"
msgstr "Geltona"
#: ../modules/colorsel_cmyk.c:161 ../modules/colorsel_cmyk_lcms.c:184
#: ../modules/colorsel_cmyk.c:138 ../modules/colorsel_cmyk_lcms.c:186
msgid "Black"
msgstr "Juoda"
#: ../modules/colorsel_cmyk.c:195
#: ../modules/colorsel_cmyk.c:172
msgid "Black _pullout:"
msgstr "Juodos _atėmimas:"
#: ../modules/colorsel_cmyk.c:212
#: ../modules/colorsel_cmyk.c:189
msgid "The percentage of black to pull out of the colored inks."
msgstr "Iš spalvotų dažų atimamas juodos spalvos kiekis procentais."
@ -1484,32 +1460,32 @@ msgstr "Iš spalvotų dažų atimamas juodos spalvos kiekis procentais."
msgid "CMYK color selector (using color profile)"
msgstr "CMYK spalvų parinkiklis (naudojant spalvų profilį)"
#: ../modules/colorsel_cmyk_lcms.c:397
#: ../modules/colorsel_cmyk_lcms.c:399
msgid "Profile: (none)"
msgstr "Profilis: (nėra)"
#: ../modules/colorsel_cmyk_lcms.c:417
#: ../modules/colorsel_cmyk_lcms.c:420
#, c-format
msgid "Profile: %s"
msgstr "Profilis: %s"
#: ../modules/colorsel_triangle.c:104
#: ../modules/colorsel_triangle.c:102
msgid "Painter-style triangle color selector"
msgstr "Dailininko stiliaus trikampio spalvų parinkiklis"
#: ../modules/colorsel_triangle.c:170
#: ../modules/colorsel_triangle.c:138
msgid "Triangle"
msgstr "Trikampis"
#: ../modules/colorsel_water.c:84
#: ../modules/colorsel_water.c:82
msgid "Watercolor style color selector"
msgstr "Akvarelės stiliaus spalvų parinkiklis"
#: ../modules/colorsel_water.c:150
#: ../modules/colorsel_water.c:118
msgid "Watercolor"
msgstr "Akvarelė"
#: ../modules/colorsel_water.c:213
#: ../modules/colorsel_water.c:186
msgid "Pressure"
msgstr "Spaudimas"
@ -1602,12 +1578,12 @@ msgid "Button Gear Up"
msgstr "Mygtukas pagreitinamas"
#: ../modules/controller_linux_input.c:90
#: ../modules/controller_dx_dinput.c:469
#: ../modules/controller_dx_dinput.c:443
msgid "X Move Left"
msgstr "X judesys kairėn"
#: ../modules/controller_linux_input.c:91
#: ../modules/controller_dx_dinput.c:472
#: ../modules/controller_dx_dinput.c:446
msgid "X Move Right"
msgstr "X judesys dešinėn"
@ -1620,12 +1596,12 @@ msgid "Y Move Back"
msgstr "Y judesys atgal"
#: ../modules/controller_linux_input.c:94
#: ../modules/controller_dx_dinput.c:487
#: ../modules/controller_dx_dinput.c:461
msgid "Z Move Up"
msgstr "Z judesys aukštyn"
#: ../modules/controller_linux_input.c:95
#: ../modules/controller_dx_dinput.c:490
#: ../modules/controller_dx_dinput.c:464
msgid "Z Move Down"
msgstr "Z judesys žemyn"
@ -1638,22 +1614,22 @@ msgid "X Axis Tilt Back"
msgstr "X ašies pasvirimas atgal"
#: ../modules/controller_linux_input.c:99
#: ../modules/controller_dx_dinput.c:505
#: ../modules/controller_dx_dinput.c:479
msgid "Y Axis Tilt Right"
msgstr "Y ašies pasvirinimas dešinėn"
#: ../modules/controller_linux_input.c:100
#: ../modules/controller_dx_dinput.c:508
#: ../modules/controller_dx_dinput.c:482
msgid "Y Axis Tilt Left"
msgstr "Y ašies pasvirinimas kairėn"
#: ../modules/controller_linux_input.c:101
#: ../modules/controller_dx_dinput.c:514
#: ../modules/controller_dx_dinput.c:488
msgid "Z Axis Turn Left"
msgstr "Z ašies pasukimas kairėn"
#: ../modules/controller_linux_input.c:102
#: ../modules/controller_dx_dinput.c:517
#: ../modules/controller_dx_dinput.c:491
msgid "Z Axis Turn Right"
msgstr "Z ašies pasukimas dešinėn"
@ -1681,143 +1657,143 @@ msgstr "Ratuko pasukimas kairėn"
msgid "Wheel Turn Right"
msgstr "Ratuko pasukimas dešinėn"
#: ../modules/controller_linux_input.c:179
#: ../modules/controller_linux_input.c:178
msgid "Linux input event controller"
msgstr "Linux įvesties įvykių kontroleris"
#: ../modules/controller_linux_input.c:249
#: ../modules/controller_dx_dinput.c:227 ../modules/controller_midi.c:245
#: ../modules/controller_linux_input.c:218
#: ../modules/controller_dx_dinput.c:196 ../modules/controller_midi.c:212
msgid "Device:"
msgstr "Įrenginys:"
#: ../modules/controller_linux_input.c:250
#: ../modules/controller_linux_input.c:219
msgid "The name of the device to read Linux Input events from."
msgstr "Įrenginio iš kurio skaityti Linux įvesties įvykius pavadinimas:"
#: ../modules/controller_linux_input.c:261
#: ../modules/controller_linux_input.c:230
msgid "Linux Input"
msgstr "Linux įvestis"
#: ../modules/controller_linux_input.c:539
#: ../modules/controller_linux_input.c:513
msgid "Linux Input Events"
msgstr "Linux įvesties įvykiai"
#: ../modules/controller_linux_input.c:551
#: ../modules/controller_dx_dinput.c:1122 ../modules/controller_midi.c:533
#: ../modules/controller_linux_input.c:525
#: ../modules/controller_dx_dinput.c:1095 ../modules/controller_midi.c:505
msgid "No device configured"
msgstr "Nėra sukonfigūruoto įrenginio"
#: ../modules/controller_linux_input.c:577 ../modules/controller_midi.c:482
#: ../modules/controller_midi.c:508
#: ../modules/controller_linux_input.c:551 ../modules/controller_midi.c:454
#: ../modules/controller_midi.c:480
#, c-format
msgid "Reading from %s"
msgstr "Skaitoma iš %s"
#: ../modules/controller_linux_input.c:595
#: ../modules/controller_linux_input.c:649 ../modules/controller_midi.c:464
#: ../modules/controller_midi.c:525 ../modules/controller_midi.c:596
#: ../modules/controller_linux_input.c:569
#: ../modules/controller_linux_input.c:623 ../modules/controller_midi.c:436
#: ../modules/controller_midi.c:497 ../modules/controller_midi.c:568
#, c-format
msgid "Device not available: %s"
msgstr "Įrenginys neprieinamas: %s"
#: ../modules/controller_linux_input.c:614
#: ../modules/controller_dx_dinput.c:1147
#: ../modules/controller_linux_input.c:588
#: ../modules/controller_dx_dinput.c:1120
msgid "Device not available"
msgstr "Įrenginys neprieinamas"
#: ../modules/controller_linux_input.c:658 ../modules/controller_midi.c:605
#: ../modules/controller_linux_input.c:632 ../modules/controller_midi.c:577
msgid "End of file"
msgstr "Failo pabaiga"
#: ../modules/controller_dx_dinput.c:157
#: ../modules/controller_dx_dinput.c:156
msgid "DirectX DirectInput event controller"
msgstr "DirectX DirectInput įvykių kontroleris"
#: ../modules/controller_dx_dinput.c:228
#: ../modules/controller_dx_dinput.c:197
msgid "The device to read DirectInput events from."
msgstr "Įrenginys, iš kurio skaityti DirectInput įvykius."
#: ../modules/controller_dx_dinput.c:237
#: ../modules/controller_dx_dinput.c:206
msgid "DirectX DirectInput"
msgstr "DirectX DirectInput"
#: ../modules/controller_dx_dinput.c:446
#: ../modules/controller_dx_dinput.c:420
#, c-format
msgid "Button %d"
msgstr "Mygtukas %d"
#: ../modules/controller_dx_dinput.c:449
#: ../modules/controller_dx_dinput.c:423
#, c-format
msgid "Button %d Press"
msgstr "Mygtuko %d paspaudimas"
#: ../modules/controller_dx_dinput.c:452
#: ../modules/controller_dx_dinput.c:426
#, c-format
msgid "Button %d Release"
msgstr "Mygtuko %d atleidimas"
#: ../modules/controller_dx_dinput.c:478
#: ../modules/controller_dx_dinput.c:452
msgid "Y Move Away"
msgstr "Y judesys tolyn"
#: ../modules/controller_dx_dinput.c:481
#: ../modules/controller_dx_dinput.c:455
msgid "Y Move Near"
msgstr "Y judesys artyn"
#: ../modules/controller_dx_dinput.c:496
#: ../modules/controller_dx_dinput.c:470
msgid "X Axis Tilt Away"
msgstr "X ašies pasvirimas tolyn"
#: ../modules/controller_dx_dinput.c:499
#: ../modules/controller_dx_dinput.c:473
msgid "X Axis Tilt Near"
msgstr "X ašies pasvirimas artyn"
#: ../modules/controller_dx_dinput.c:528
#: ../modules/controller_dx_dinput.c:502
#, c-format
msgid "Slider %d Increase"
msgstr "Slankiklio %d padidėjimas"
#: ../modules/controller_dx_dinput.c:531
#: ../modules/controller_dx_dinput.c:505
#, c-format
msgid "Slider %d Decrease"
msgstr "Slankiklio %d sumažėjimas"
#: ../modules/controller_dx_dinput.c:541
#: ../modules/controller_dx_dinput.c:515
#, c-format
msgid "POV %d X View"
msgstr "POV %d X rodinys"
#: ../modules/controller_dx_dinput.c:544
#: ../modules/controller_dx_dinput.c:518
#, c-format
msgid "POV %d Y View"
msgstr "POV %d Y rodinys"
#: ../modules/controller_dx_dinput.c:547
#: ../modules/controller_dx_dinput.c:521
#, c-format
msgid "POV %d Return"
msgstr "POV %d grįžtis"
#: ../modules/controller_dx_dinput.c:1111
#: ../modules/controller_dx_dinput.c:1084
msgid "DirectInput Events"
msgstr "DirectInput įvykiai"
#: ../modules/controller_midi.c:167
#: ../modules/controller_midi.c:164
msgid "MIDI event controller"
msgstr "MIDI įvykių kontroleris"
#: ../modules/controller_midi.c:236
#: ../modules/controller_midi.c:203
msgid "The name of the device to read MIDI events from."
msgstr "Įrenginio, iš kurio skaityti MIDI įvykius, pavadinimas."
#: ../modules/controller_midi.c:239
#: ../modules/controller_midi.c:206
msgid "Enter 'alsa' to use the ALSA sequencer."
msgstr "Norėdami naudoti ALSA seką, įveskite „alsa“."
#: ../modules/controller_midi.c:254
#: ../modules/controller_midi.c:221
msgid "Channel:"
msgstr "Kanalas:"
#: ../modules/controller_midi.c:255
#: ../modules/controller_midi.c:222
msgid ""
"The MIDI channel to read events from. Set to -1 for reading from all MIDI "
"channels."
@ -1825,33 +1801,33 @@ msgstr ""
"MIDI kanalas, iš kurio skaityti įvykius. Nurodykite -1, kad būtų skaitoma iš "
"visų MIDI kanalų."
#: ../modules/controller_midi.c:259
#: ../modules/controller_midi.c:226
msgid "MIDI"
msgstr "MIDI"
#: ../modules/controller_midi.c:383
#: ../modules/controller_midi.c:355
#, c-format
msgid "Note %02x on"
msgstr "Signalas %02x įjungtas"
#: ../modules/controller_midi.c:386
#: ../modules/controller_midi.c:358
#, c-format
msgid "Note %02x off"
msgstr "Signalas %02x išjungtas"
#: ../modules/controller_midi.c:389
#: ../modules/controller_midi.c:361
#, c-format
msgid "Controller %03d"
msgstr "Kontroleris %03d"
#: ../modules/controller_midi.c:436
#: ../modules/controller_midi.c:408
msgid "MIDI Events"
msgstr "MIDI įvykiai"
#: ../modules/controller_midi.c:454
#: ../modules/controller_midi.c:426
msgid "GIMP"
msgstr "GIMP"
#: ../modules/controller_midi.c:456
#: ../modules/controller_midi.c:428
msgid "GIMP MIDI Input Controller"
msgstr "GIMP MIDI įvesties kontroleris"

View File

@ -1,3 +1,15 @@
2008-07-17 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es.po: Updated Spanish translation by Francisco Vila
2008-07-17 Žygimantas Beručka <zygis@gnome.org>
* lt.po: Updated Lithuanian translation.
2008-07-16 Sven Neumann <sven@gimp.org>
* de.po: updated German translation.
2008-07-12 Daniel Nylander <po@danielnylander.se>
* sv.po: Updated Swedish translation.

View File

@ -19,9 +19,9 @@ msgid ""
msgstr ""
"Project-Id-Version: gimp trunk\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-07-09 10:45+0200\n"
"PO-Revision-Date: 2008-07-09 11:00+0200\n"
"Last-Translator: Ulf-D. Ehlert <ulfehlert@svn.gnome.org>\n"
"POT-Creation-Date: 2008-07-16 21:44+0200\n"
"PO-Revision-Date: 2008-07-16 21:45+0200\n"
"Last-Translator: Sven Neumann <sven@gimp.org>\n"
"Language-Team: German <gnome-de@gnome.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -83,7 +83,7 @@ msgstr "Datei »%s« konnte nicht zum Lesen geöffnet werden: %s"
#: ../plug-ins/common/pnm.c:485 ../plug-ins/common/poppler.c:574
#: ../plug-ins/common/postscript.c:1029 ../plug-ins/common/raw.c:650
#: ../plug-ins/common/sunras.c:470 ../plug-ins/common/tga.c:433
#: ../plug-ins/common/tiff-load.c:570 ../plug-ins/common/wmf.c:992
#: ../plug-ins/common/tiff-load.c:589 ../plug-ins/common/wmf.c:992
#: ../plug-ins/common/xbm.c:725 ../plug-ins/common/xpm.c:343
#: ../plug-ins/common/xwd.c:506 ../plug-ins/faxg3/faxg3.c:204
#: ../plug-ins/fli/fli-gimp.c:469 ../plug-ins/ico/ico-load.c:645
@ -140,7 +140,7 @@ msgstr "Nicht unterstützte oder ungültige Bildhöhe: %d"
#: ../plug-ins/common/png.c:831 ../plug-ins/common/pnm.c:571
#: ../plug-ins/common/raw.c:691 ../plug-ins/common/smooth-palette.c:257
#: ../plug-ins/common/sunras.c:956 ../plug-ins/common/tga.c:1034
#: ../plug-ins/common/tiff-load.c:963 ../plug-ins/common/tile.c:267
#: ../plug-ins/common/tiff-load.c:982 ../plug-ins/common/tile.c:267
#: ../plug-ins/common/xbm.c:880 ../plug-ins/faxg3/faxg3.c:464
#: ../plug-ins/fits/fits.c:511 ../plug-ins/gfig/gfig-dialog.c:1284
#: ../plug-ins/gimpressionist/general.c:140 ../plug-ins/jpeg/jpeg-load.c:251
@ -3263,7 +3263,7 @@ msgid "Composing images"
msgstr "Bilder werden kombiniert"
#: ../plug-ins/common/film.c:425 ../plug-ins/common/guillotine.c:185
#: ../plug-ins/help-browser/dialog.c:1020
#: ../plug-ins/help-browser/dialog.c:1092
msgid "Untitled"
msgstr "Unbenannt"
@ -5682,7 +5682,7 @@ msgid "Import from PDF"
msgstr "Aus PDF importieren"
#: ../plug-ins/common/poppler.c:801 ../plug-ins/common/postscript.c:3083
#: ../plug-ins/common/tiff-load.c:451
#: ../plug-ins/common/tiff-load.c:470
msgid "_Import"
msgstr "_Importieren"
@ -5737,7 +5737,7 @@ msgstr ""
"gesetzt ist, um dies GIMP mitzuteilen.\n"
"(%s)"
#: ../plug-ins/common/postscript.c:1913 ../plug-ins/common/tiff-load.c:965
#: ../plug-ins/common/postscript.c:1913 ../plug-ins/common/tiff-load.c:984
#, c-format
msgid "Page %d"
msgstr "Seite %d"
@ -7111,20 +7111,20 @@ msgstr "TIFF-Bild"
msgid "TIFF '%s' does not contain any directories"
msgstr "Das TIFF »%s« enthält keinerlei Verzeichnisse"
#: ../plug-ins/common/tiff-load.c:446
#: ../plug-ins/common/tiff-load.c:465
msgid "Import from TIFF"
msgstr "Aus TIFF importieren"
#: ../plug-ins/common/tiff-load.c:746
#: ../plug-ins/common/tiff-load.c:765
#, c-format
msgid "%s-%d-of-%d-pages"
msgstr "%s-%d-von-%d-Seiten"
#: ../plug-ins/common/tiff-load.c:981
#: ../plug-ins/common/tiff-load.c:1000
msgid "TIFF Channel"
msgstr "TIFF-Kanäle"
#: ../plug-ins/common/tiff-load.c:990 ../plug-ins/psd/psd-load.c:318
#: ../plug-ins/common/tiff-load.c:1009 ../plug-ins/psd/psd-load.c:318
msgid ""
"Warning:\n"
"The image you are loading has 16 bits per channel. GIMP can only handle 8 "
@ -10143,59 +10143,81 @@ msgstr "Zufälliger Anfangswert:"
msgid "_Second Flares"
msgstr "_Zweites Flare"
#: ../plug-ins/help-browser/dialog.c:176
#: ../plug-ins/help-browser/dialog.c:1021
#: ../plug-ins/help-browser/dialog.c:184
#: ../plug-ins/help-browser/dialog.c:1093
msgid "GIMP Help Browser"
msgstr "GIMP-Hilfe-Browser"
#: ../plug-ins/help-browser/dialog.c:545
#: ../plug-ins/help-browser/dialog.c:564
msgid "Go back one page"
msgstr "Eine Seite zurück gehen"
#: ../plug-ins/help-browser/dialog.c:550
#: ../plug-ins/help-browser/dialog.c:569
msgid "Go forward one page"
msgstr "Eine Seite weiter gehen"
#: ../plug-ins/help-browser/dialog.c:555
#: ../plug-ins/help-browser/dialog.c:574
msgid "_Reload"
msgstr "Neu _Laden"
#: ../plug-ins/help-browser/dialog.c:555
#: ../plug-ins/help-browser/dialog.c:574
msgid "Reload current page"
msgstr "Diese Seite erneut laden"
#: ../plug-ins/help-browser/dialog.c:560
#: ../plug-ins/help-browser/dialog.c:579
msgid "_Stop"
msgstr "_Stopp"
#: ../plug-ins/help-browser/dialog.c:560
#: ../plug-ins/help-browser/dialog.c:579
msgid "Stop loading this page"
msgstr "Laden dieser Seite stoppen"
#: ../plug-ins/help-browser/dialog.c:565
#: ../plug-ins/help-browser/dialog.c:584
msgid "Go to the index page"
msgstr "Zum Inhaltsverzeichnis"
#: ../plug-ins/help-browser/dialog.c:570
#: ../plug-ins/help-browser/dialog.c:589
msgid "C_opy location"
msgstr "_Adresse kopieren"
#: ../plug-ins/help-browser/dialog.c:571
#: ../plug-ins/help-browser/dialog.c:590
msgid "Copy the location of this page to the clipboard"
msgstr "Die Adresse dieser Seite in die Zwischenablage kopieren"
#: ../plug-ins/help-browser/dialog.c:600
#: ../plug-ins/help-browser/dialog.c:605
msgid "Find text in current page"
msgstr "In dieser Seite suchen"
#: ../plug-ins/help-browser/dialog.c:610
msgid "Find _Again"
msgstr "_Weitersuchen"
#: ../plug-ins/help-browser/dialog.c:629
msgid "S_how Index"
msgstr "_Index zeigen"
#: ../plug-ins/help-browser/dialog.c:601
#: ../plug-ins/help-browser/dialog.c:630
msgid "Toggle the visibility of the sidebar"
msgstr ""
msgstr "Das Seitenpanel sichtbar/unsichtbar machen"
#: ../plug-ins/help-browser/dialog.c:622
#: ../plug-ins/help-browser/dialog.c:651
msgid "Visit the GIMP documentation website"
msgstr "Besuchen Sie die GIMP-Dokumentations-Internet-Seite"
#: ../plug-ins/help-browser/dialog.c:1134
msgid "Find:"
msgstr "Suchen:"
#: ../plug-ins/help-browser/dialog.c:1151
msgctxt "search"
msgid "_Previous"
msgstr "_Aufwärts"
#: ../plug-ins/help-browser/dialog.c:1163
msgctxt "search"
msgid "_Next"
msgstr "Ab_wärts"
#: ../plug-ins/help/gimphelpdomain.c:181
#, c-format
msgid "The help pages for '%s' are not available."
@ -12235,7 +12257,7 @@ msgid "Unexpected end of file"
msgstr "Unerwartetes Dateiende"
#. printf("width = %d, height = %d\n",BITMAP_WIDTH(marked),BITMAP_HEIGHT(marked));
#: ../plug-ins/selection-to-path/pxl-outline.c:84
#: ../plug-ins/selection-to-path/pxl-outline.c:82
msgid "Selection to Path"
msgstr "Auswahl zu Pfad"
@ -12545,12 +12567,3 @@ msgstr "Fehler: XJT-Eigenschaften-Datei »%s« konnte nicht gelesen werden."
#, c-format
msgid "Error: XJT property file '%s' is empty."
msgstr "Fehler: Die XJT-Eigenschaften-Datei »%s« ist leer."
#~ msgid "Drag and drop this icon to a web browser"
#~ msgstr "Dieses Symbol auf ein Browser-Fenster ziehen und fallen lassen."
#~ msgid "There is a problem with the GIMP user manual."
#~ msgstr "Es gibt ein Problem mit dem GIMP Benutzerhandbuch"
#~ msgid "Please check your installation."
#~ msgstr "Bitte überprüfen Sie Ihre Installation."

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,16 @@
2008-07-17 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es.po: Updated Spanish translation by Francisco Vila
2008-07-17 Žygimantas Beručka <zygis@gnome.org>
* lt.po: Updated Lithuanian translation.
2008-07-17 Åsmund Skjæveland <aasmunds@ulrik.uio.no>
* nn.po: Updated Norwegian Nynorsk translation by
Kolbjørn Stuestøl <kol-stue[AT]online[DOT]no>.
2008-07-09 Ulf-D. Ehlert <ulfehlert@svn.gnome.org>
* de.po: Updated/fixed German translation.

View File

@ -1,6 +1,6 @@
# translation of gimp-python.HEAD.po to Spanish
# translation of gimp-python.HEAD.po to Español
# Spanish translation for gimp-python.
# Copyright © 1998-2000,2003, 2006, 2007 Free Software Foundation, Inc.
# Copyright © 1998-2000,2003, 2006, 2007, 2008 Free Software Foundation, Inc.
# This file is distributed under the same license as the gimp package.
#
# Oscar Cebellán Ramos <cebaman@bigfoot.com>
@ -11,10 +11,10 @@ msgid ""
msgstr ""
"Project-Id-Version: gimp-python.HEAD\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-03-09 03:35+0000\n"
"PO-Revision-Date: 2007-07-06 13:11+0200\n"
"POT-Creation-Date: 2008-07-11 14:08+0000\n"
"PO-Revision-Date: 2008-07-17 11:05+0200\n"
"Last-Translator: Francisco Vila <francisco.vila@hispalinux.es>\n"
"Language-Team: Spanish <traductores@es.gnome.org>\n"
"Language-Team: Español <gnome-es-list@gnome.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -22,42 +22,42 @@ msgstr ""
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../plug-ins/pygimp/gimpfu.py:335
#: ../plug-ins/pygimp/gimpfu.py:385
msgid "Missing exception information"
msgstr "Se ha perdido la información de la excepción"
#: ../plug-ins/pygimp/gimpfu.py:344
#: ../plug-ins/pygimp/gimpfu.py:394
#, python-format
msgid "An error occured running %s"
msgstr "Ocurrió un error al ejecutar %s"
#: ../plug-ins/pygimp/gimpfu.py:355
#: ../plug-ins/pygimp/gimpfu.py:405
msgid "_More Information"
msgstr "_Más información"
#: ../plug-ins/pygimp/gimpfu.py:461 ../plug-ins/pygimp/gimpfu.py:473
#: ../plug-ins/pygimp/gimpfu.py:479
#: ../plug-ins/pygimp/gimpfu.py:511 ../plug-ins/pygimp/gimpfu.py:523
#: ../plug-ins/pygimp/gimpfu.py:529
msgid "No"
msgstr "No"
#: ../plug-ins/pygimp/gimpfu.py:471 ../plug-ins/pygimp/gimpfu.py:479
#: ../plug-ins/pygimp/gimpfu.py:521 ../plug-ins/pygimp/gimpfu.py:529
msgid "Yes"
msgstr "Sí"
#: ../plug-ins/pygimp/gimpfu.py:517 ../plug-ins/pygimp/gimpui.py:222
#: ../plug-ins/pygimp/gimpfu.py:580 ../plug-ins/pygimp/gimpui.py:224
msgid "Python-Fu File Selection"
msgstr "Selección de archivos Python-Fu"
#: ../plug-ins/pygimp/gimpfu.py:528
#: ../plug-ins/pygimp/gimpfu.py:591
msgid "Python-Fu Folder Selection"
msgstr "Selección de carpeta Python-Fu"
#: ../plug-ins/pygimp/gimpfu.py:618
#: ../plug-ins/pygimp/gimpfu.py:682
#, python-format
msgid "Invalid input for '%s'"
msgstr "Entrada inválida para «%s»"
#: ../plug-ins/pygimp/gimpui.py:175
#: ../plug-ins/pygimp/gimpui.py:177
msgid "Python-Fu Color Selection"
msgstr "Selección de color Python-Fu"
@ -73,93 +73,59 @@ msgstr "Guardar como XHTML coloreado"
msgid "Colored XHTML"
msgstr "XHTML coloreado"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:192
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:196
msgid "Character _source"
msgstr "_Fuente del carácter"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:193
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:197
msgid "Source code"
msgstr "Código fuente"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:194
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:198
msgid "Text file"
msgstr "Archivo de texto"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:195
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:199
msgid "Entry box"
msgstr "Caja de entrada"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:196
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:200
msgid "_File to read or characters to use"
msgstr "_Archivo a leer o caracteres a usar"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:198
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:202
msgid "Fo_nt size in pixels"
msgstr "Ta_maño de la tipografía en píxeles"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:199
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:203
msgid "_Write a separate CSS file"
msgstr "E_scribir un archivo CSS separado"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:46
msgid "Python Console"
msgstr "Consola de Python"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:50
msgid "_Browse..."
msgstr "_Examinar..."
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:132
msgid "Python Procedure Browser"
msgstr "Examinador de procedimientos Python"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:161
#, python-format
msgid "Could not open '%s' for writing: %s"
msgstr "No se pudo abrir «%s» para escribir: %s"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:176
#, python-format
msgid "Could not write to '%s': %s"
msgstr "No se pudo escribir en %s: %s"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:184
msgid "Save Python-Fu Console Output"
msgstr "Guardar la salida de la consola de Python-Fu"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:218
msgid "Interactive Gimp-Python interpreter"
msgstr "Intérprete interactivo Gimp-Python"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:223
msgid "_Console"
msgstr "_Consola"
#: ../plug-ins/pygimp/plug-ins/foggify.py:51
#: ../plug-ins/pygimp/plug-ins/foggify.py:53
msgid "Add a layer of fog"
msgstr "Añadir una capa de niebla"
#: ../plug-ins/pygimp/plug-ins/foggify.py:56
#: ../plug-ins/pygimp/plug-ins/foggify.py:58
msgid "_Fog..."
msgstr "_Niebla..."
#: ../plug-ins/pygimp/plug-ins/foggify.py:59
#: ../plug-ins/pygimp/plug-ins/foggify.py:63
msgid "_Layer name"
msgstr "Nombre de la _capa"
#: ../plug-ins/pygimp/plug-ins/foggify.py:59
#: ../plug-ins/pygimp/plug-ins/foggify.py:63
msgid "Clouds"
msgstr "Nubes"
#: ../plug-ins/pygimp/plug-ins/foggify.py:60
#: ../plug-ins/pygimp/plug-ins/foggify.py:64
msgid "_Fog color"
msgstr "Color de la nie_bla"
#: ../plug-ins/pygimp/plug-ins/foggify.py:61
#: ../plug-ins/pygimp/plug-ins/foggify.py:65
msgid "_Turbulence"
msgstr "_Turbulencia"
#: ../plug-ins/pygimp/plug-ins/foggify.py:62
#: ../plug-ins/pygimp/plug-ins/foggify.py:66
msgid "Op_acity"
msgstr "Op_acidad"
@ -252,42 +218,76 @@ msgstr ""
msgid "_Slice..."
msgstr "_Rodajas..."
#: ../plug-ins/pygimp/plug-ins/py-slice.py:430
#: ../plug-ins/pygimp/plug-ins/py-slice.py:432
msgid "Path for HTML export"
msgstr "Ruta para exportar HTML"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:431
#: ../plug-ins/pygimp/plug-ins/py-slice.py:433
msgid "Filename for export"
msgstr "Nombre de archivo para exportar"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:432
#: ../plug-ins/pygimp/plug-ins/py-slice.py:434
msgid "Image name prefix"
msgstr "Prefijo del nombre de la imagen"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:433
#: ../plug-ins/pygimp/plug-ins/py-slice.py:435
msgid "Image format"
msgstr "Formato de la imagen"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:434
#: ../plug-ins/pygimp/plug-ins/py-slice.py:436
msgid "Separate image folder"
msgstr "Separar carpeta de la imagen"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:436
#: ../plug-ins/pygimp/plug-ins/py-slice.py:438
msgid "Folder for image export"
msgstr "Carpeta para la exportación de imágenes"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:437
#: ../plug-ins/pygimp/plug-ins/py-slice.py:439
msgid "Space between table elements"
msgstr "Espacio entre los elementos de la tabla"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:439
#: ../plug-ins/pygimp/plug-ins/py-slice.py:441
msgid "Javascript for onmouseover and clicked"
msgstr "Código Javascript para «onmouseover» y «clicked»"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:441
#: ../plug-ins/pygimp/plug-ins/py-slice.py:443
msgid "Skip animation for table caps"
msgstr "Saltar animación para capacidades de la tabla"
#: ../plug-ins/pygimp/plug-ins/python-console.py:46
msgid "Python Console"
msgstr "Consola de Python"
#: ../plug-ins/pygimp/plug-ins/python-console.py:50
msgid "_Browse..."
msgstr "_Examinar..."
#: ../plug-ins/pygimp/plug-ins/python-console.py:132
msgid "Python Procedure Browser"
msgstr "Examinador de procedimientos Python"
#: ../plug-ins/pygimp/plug-ins/python-console.py:161
#, python-format
msgid "Could not open '%s' for writing: %s"
msgstr "No se pudo abrir «%s» para escribir: %s"
#: ../plug-ins/pygimp/plug-ins/python-console.py:176
#, python-format
msgid "Could not write to '%s': %s"
msgstr "No se pudo escribir en %s: %s"
#: ../plug-ins/pygimp/plug-ins/python-console.py:184
msgid "Save Python-Fu Console Output"
msgstr "Guardar la salida de la consola de Python-Fu"
#: ../plug-ins/pygimp/plug-ins/python-console.py:218
msgid "Interactive GIMP Python interpreter"
msgstr "Intérprete interactivo de Python del GIMP"
#: ../plug-ins/pygimp/plug-ins/python-console.py:223
msgid "_Console"
msgstr "_Consola"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:61
msgid "Add a drop shadow to a layer, and optionally bevel it"
msgstr "Aplicar sombra arrojada a una capa, y opcionalmente biselarla"
@ -296,23 +296,23 @@ msgstr "Aplicar sombra arrojada a una capa, y opcionalmente biselarla"
msgid "_Drop Shadow and Bevel..."
msgstr "_Sombra arrojada y bisel..."
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:69
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:71
msgid "_Shadow blur"
msgstr "Difuminado de la _sombra"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:70
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:72
msgid "_Bevel"
msgstr "_Bisel"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:71
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:73
msgid "_Drop shadow"
msgstr "Sombra a_rrojada"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:72
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:74
msgid "Drop shadow _X displacement"
msgstr "Desplazamiento _X de la sombra arrojada"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:73
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:75
msgid "Drop shadow _Y displacement"
msgstr "Desplazamiento _Y de la sombra arrojada"

View File

@ -1,56 +1,56 @@
# Lithuanian translation of GIMP.i
# Copyright (C) 2004-2007 Free Software Foundation, Inc.
# Žygimantas Beručka <zygis@gnome.org>, 2004-2007.
# Copyright (C) 2004-2008 Free Software Foundation, Inc.
# Žygimantas Beručka <zygis@gnome.org>, 2004-2008.
#
#
msgid ""
msgstr ""
"Project-Id-Version: GIMP HEAD\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-09-14 02:01+0300\n"
"PO-Revision-Date: 2007-08-31 22:55+0200\n"
"Last-Translator: Giedrius Naudžiūnas <gimpng@gmail.com>\n"
"POT-Creation-Date: 2008-07-17 14:37+0300\n"
"PO-Revision-Date: 2008-07-17 14:37+0300\n"
"Last-Translator: Žygimantas Beručka <zygis@gnome.org>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../plug-ins/pygimp/gimpfu.py:380
#: ../plug-ins/pygimp/gimpfu.py:385
msgid "Missing exception information"
msgstr "Trūkstama išimties informacija"
#: ../plug-ins/pygimp/gimpfu.py:389
#: ../plug-ins/pygimp/gimpfu.py:394
#, python-format
msgid "An error occured running %s"
msgstr "Vykdant %s iškilo klaida"
#: ../plug-ins/pygimp/gimpfu.py:400
#: ../plug-ins/pygimp/gimpfu.py:405
msgid "_More Information"
msgstr "_Daugiau informacijos"
#: ../plug-ins/pygimp/gimpfu.py:506 ../plug-ins/pygimp/gimpfu.py:518
#: ../plug-ins/pygimp/gimpfu.py:524
#: ../plug-ins/pygimp/gimpfu.py:511 ../plug-ins/pygimp/gimpfu.py:523
#: ../plug-ins/pygimp/gimpfu.py:529
msgid "No"
msgstr "Ne"
#: ../plug-ins/pygimp/gimpfu.py:516 ../plug-ins/pygimp/gimpfu.py:524
#: ../plug-ins/pygimp/gimpfu.py:521 ../plug-ins/pygimp/gimpfu.py:529
msgid "Yes"
msgstr "Taip"
#: ../plug-ins/pygimp/gimpfu.py:558 ../plug-ins/pygimp/gimpui.py:222
#: ../plug-ins/pygimp/gimpfu.py:580 ../plug-ins/pygimp/gimpui.py:224
msgid "Python-Fu File Selection"
msgstr "Python-Fu failų parinkimas"
#: ../plug-ins/pygimp/gimpfu.py:569
#: ../plug-ins/pygimp/gimpfu.py:591
msgid "Python-Fu Folder Selection"
msgstr "Python-Fu aplankų parinkimas"
#: ../plug-ins/pygimp/gimpfu.py:659
#: ../plug-ins/pygimp/gimpfu.py:682
#, python-format
msgid "Invalid input for '%s'"
msgstr "Netinkama „%s“ įvestis"
#: ../plug-ins/pygimp/gimpui.py:175
#: ../plug-ins/pygimp/gimpui.py:177
msgid "Python-Fu Color Selection"
msgstr "Python-Fu spalvų parinkimas"
@ -94,65 +94,31 @@ msgstr "Š_rifto dydis pikseliais"
msgid "_Write a separate CSS file"
msgstr "Į_rašyti atskirą CSS failą"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:46
msgid "Python Console"
msgstr "Python konsolė"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:50
msgid "_Browse..."
msgstr "_Naršyti..."
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:132
msgid "Python Procedure Browser"
msgstr "Python procedūrų naršyklė"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:161
#, python-format
msgid "Could not open '%s' for writing: %s"
msgstr "Nepavyko rašymui atverti „%s“: %s"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:176
#, python-format
msgid "Could not write to '%s': %s"
msgstr "Nepavyko įrašyti į „%s“: %s"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:184
msgid "Save Python-Fu Console Output"
msgstr "Išsaugoti Python-Fu konsolės išvestį"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:218
msgid "Interactive Gimp-Python interpreter"
msgstr "Interaktyvus Gimp-Python interpretatorius"
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:223
msgid "_Console"
msgstr "_Konsolė"
#: ../plug-ins/pygimp/plug-ins/foggify.py:51
#: ../plug-ins/pygimp/plug-ins/foggify.py:53
msgid "Add a layer of fog"
msgstr "Pridėi rūko sluoksnį"
#: ../plug-ins/pygimp/plug-ins/foggify.py:56
#: ../plug-ins/pygimp/plug-ins/foggify.py:58
msgid "_Fog..."
msgstr "_Rūkas..."
#: ../plug-ins/pygimp/plug-ins/foggify.py:61
#: ../plug-ins/pygimp/plug-ins/foggify.py:63
msgid "_Layer name"
msgstr "_Sluoksnio pavadinimas"
#: ../plug-ins/pygimp/plug-ins/foggify.py:61
#: ../plug-ins/pygimp/plug-ins/foggify.py:63
msgid "Clouds"
msgstr "Debesys"
#: ../plug-ins/pygimp/plug-ins/foggify.py:62
#: ../plug-ins/pygimp/plug-ins/foggify.py:64
msgid "_Fog color"
msgstr "_Rūko spalva"
#: ../plug-ins/pygimp/plug-ins/foggify.py:63
#: ../plug-ins/pygimp/plug-ins/foggify.py:65
msgid "_Turbulence"
msgstr "_Turbulencija"
#: ../plug-ins/pygimp/plug-ins/foggify.py:64
#: ../plug-ins/pygimp/plug-ins/foggify.py:66
msgid "Op_acity"
msgstr "_Nepermatomumas"
@ -217,11 +183,11 @@ msgstr "_Didėjanti"
#: ../plug-ins/pygimp/plug-ins/palette-to-gradient.py:50
msgid "Create a repeating gradient using colors from the palette"
msgstr "Iš paletės spalvų sukurti besikartojantį gradientą"
msgstr "Iš paletės spalvų sukurti pasikartojantį gradientą"
#: ../plug-ins/pygimp/plug-ins/palette-to-gradient.py:55
msgid "Palette to _Repeating Gradient"
msgstr "Paletė į _besikartojantį gradientą"
msgstr "Paletė į _pasikartojantį gradientą"
#: ../plug-ins/pygimp/plug-ins/palette-to-gradient.py:72
msgid "Create a gradient using colors from the palette"
@ -238,8 +204,8 @@ msgstr "Supjaustyti"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:416
msgid "Cuts an image along its guides, creates images and a HTML table snippet"
msgstr ""
"Supjaustyti paveikslėlį pagal gaires, sukuriamas paveikslėlis ir HTML "
"lentelės kodas"
"Supjaustyto paveikslėlį pagal gaires, sukuria paveikslėlius ir HTML lentelės "
"kodą"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:427
msgid "_Slice..."
@ -263,7 +229,7 @@ msgstr "Paveikslėlio formatas"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:436
msgid "Separate image folder"
msgstr "Atskiras paveikslėlio aplinkas"
msgstr "Atskiras paveikslėlio aplankas"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:438
msgid "Folder for image export"
@ -281,6 +247,40 @@ msgstr "Javascript scenarijus onmouseover ir clicked įvykiams"
msgid "Skip animation for table caps"
msgstr "Praleisti animaciją lentelės antraštėse"
#: ../plug-ins/pygimp/plug-ins/python-console.py:46
msgid "Python Console"
msgstr "Python konsolė"
#: ../plug-ins/pygimp/plug-ins/python-console.py:50
msgid "_Browse..."
msgstr "_Naršyti..."
#: ../plug-ins/pygimp/plug-ins/python-console.py:132
msgid "Python Procedure Browser"
msgstr "Python procedūrų naršyklė"
#: ../plug-ins/pygimp/plug-ins/python-console.py:161
#, python-format
msgid "Could not open '%s' for writing: %s"
msgstr "Nepavyko rašymui atverti „%s“: %s"
#: ../plug-ins/pygimp/plug-ins/python-console.py:176
#, python-format
msgid "Could not write to '%s': %s"
msgstr "Nepavyko įrašyti į „%s“: %s"
#: ../plug-ins/pygimp/plug-ins/python-console.py:184
msgid "Save Python-Fu Console Output"
msgstr "Išsaugoti Python-Fu konsolės išvestį"
#: ../plug-ins/pygimp/plug-ins/python-console.py:218
msgid "Interactive GIMP Python interpreter"
msgstr "Interaktyvus GIMP Python interpretatorius"
#: ../plug-ins/pygimp/plug-ins/python-console.py:223
msgid "_Console"
msgstr "_Konsolė"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:61
msgid "Add a drop shadow to a layer, and optionally bevel it"
msgstr "Pridėti sluoksniui šešėlį ir (jei pageidaujama) iškelti"

View File

@ -1,310 +1,313 @@
# translation of nn.po to Norwegian Nynorsk
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Norwegian translation of gimp-po-python.
# Copyright (C) 2000 Free Software Foundation, Inc.
# Kjartan Maraas <kmaraas@gnome.org>, 2000.
#
# Åsmund Skjæveland <aasmunds@ulrik.uio.no>, 2008.
msgid ""
msgstr ""
"Project-Id-Version: nn\n"
"Project-Id-Version: achtung 1.1.25\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-03-12 15:26+0100\n"
"PO-Revision-Date: 2008-03-12 14:20+0100\n"
"Last-Translator: Åsmund Skjæveland <aasmunds@ulrik.uio.no>\n"
"Language-Team: Norwegian Nynorsk <i18n-nn@lister.ping.uio.no>\n"
"POT-Creation-Date: 2008-07-17 11:46+0200\n"
"PO-Revision-Date: 2008-06-29 17:33+0100\n"
"Last-Translator: Kolbjørn Stuestøl <kol-stue@online.no>\n"
"Language-Team: Norwegian <no@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../plug-ins/pygimp/gimpfu.py:380
#: ../plug-ins/pygimp/gimpfu.py:385
msgid "Missing exception information"
msgstr ""
msgstr "Manglar informasjon om unntak"
#: ../plug-ins/pygimp/gimpfu.py:389
#: ../plug-ins/pygimp/gimpfu.py:394
#, python-format
msgid "An error occured running %s"
msgstr ""
msgstr "Det oppsto ein feil under køyringa av %s"
#: ../plug-ins/pygimp/gimpfu.py:400
#: ../plug-ins/pygimp/gimpfu.py:405
msgid "_More Information"
msgstr ""
msgstr "_Meir informasjon"
#: ../plug-ins/pygimp/gimpfu.py:506 ../plug-ins/pygimp/gimpfu.py:518
#: ../plug-ins/pygimp/gimpfu.py:524
#: ../plug-ins/pygimp/gimpfu.py:511 ../plug-ins/pygimp/gimpfu.py:523
#: ../plug-ins/pygimp/gimpfu.py:529
msgid "No"
msgstr "Nei"
#: ../plug-ins/pygimp/gimpfu.py:516 ../plug-ins/pygimp/gimpfu.py:524
#: ../plug-ins/pygimp/gimpfu.py:521 ../plug-ins/pygimp/gimpfu.py:529
msgid "Yes"
msgstr "Ja"
#: ../plug-ins/pygimp/gimpfu.py:558 ../plug-ins/pygimp/gimpui.py:224
#: ../plug-ins/pygimp/gimpfu.py:580 ../plug-ins/pygimp/gimpui.py:224
msgid "Python-Fu File Selection"
msgstr ""
msgstr "Python-Fu filutval"
#: ../plug-ins/pygimp/gimpfu.py:569
#: ../plug-ins/pygimp/gimpfu.py:591
msgid "Python-Fu Folder Selection"
msgstr ""
msgstr "Python-Fu mappeutval"
#: ../plug-ins/pygimp/gimpfu.py:659
#: ../plug-ins/pygimp/gimpfu.py:682
#, python-format
msgid "Invalid input for '%s'"
msgstr ""
msgstr "Ugyldig inndata for «%s»"
#: ../plug-ins/pygimp/gimpui.py:177
msgid "Python-Fu Color Selection"
msgstr ""
msgstr "Python-Fu fargeutval"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:107
msgid "Saving as colored XHTML"
msgstr ""
msgstr "Lagrar som farga XHTML"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:184
msgid "Save as colored XHTML"
msgstr ""
msgstr "Lagra som farga XHTML"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:189
msgid "Colored XHTML"
msgstr ""
msgstr "Farga XHTML"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:196
msgid "Character _source"
msgstr ""
msgstr "Teikn_kjelde"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:197
msgid "Source code"
msgstr ""
msgstr "Kjeldekode"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:198
msgid "Text file"
msgstr ""
msgstr "Tekstfil"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:199
msgid "Entry box"
msgstr ""
msgstr "Innskrivingsboks"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:200
msgid "_File to read or characters to use"
msgstr ""
msgstr "_Fil som skal lesast eller teikn som skal brukast"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:202
msgid "Fo_nt size in pixels"
msgstr ""
msgstr "_Skriftstorleik i pikslar"
#: ../plug-ins/pygimp/plug-ins/colorxhtml.py:203
msgid "_Write a separate CSS file"
msgstr ""
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:46
msgid "Python Console"
msgstr ""
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:50
msgid "_Browse..."
msgstr ""
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:132
msgid "Python Procedure Browser"
msgstr ""
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:161
#, python-format
msgid "Could not open '%s' for writing: %s"
msgstr ""
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:176
#, python-format
msgid "Could not write to '%s': %s"
msgstr ""
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:184
msgid "Save Python-Fu Console Output"
msgstr ""
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:218
msgid "Interactive GIMP Python interpreter"
msgstr ""
#: ../plug-ins/pygimp/plug-ins/gimpcons.py:223
msgid "_Console"
msgstr ""
msgstr "_Skriv ei eigen CSS-fil"
#: ../plug-ins/pygimp/plug-ins/foggify.py:53
msgid "Add a layer of fog"
msgstr ""
msgstr "Legg til eit tåkelag"
#: ../plug-ins/pygimp/plug-ins/foggify.py:58
msgid "_Fog..."
msgstr ""
msgstr "_Tåke..."
#: ../plug-ins/pygimp/plug-ins/foggify.py:63
msgid "_Layer name"
msgstr ""
msgstr "_Lagnamnet"
#: ../plug-ins/pygimp/plug-ins/foggify.py:63
msgid "Clouds"
msgstr ""
msgstr "Skyer"
#: ../plug-ins/pygimp/plug-ins/foggify.py:64
msgid "_Fog color"
msgstr ""
msgstr "_Tåkefarge"
#: ../plug-ins/pygimp/plug-ins/foggify.py:65
msgid "_Turbulence"
msgstr ""
msgstr "_Turbulens"
#: ../plug-ins/pygimp/plug-ins/foggify.py:66
msgid "Op_acity"
msgstr ""
msgstr "_Dekkevne"
#: ../plug-ins/pygimp/plug-ins/palette-offset.py:45
msgid "Offset the colors in a palette"
msgstr ""
msgstr "Forskyv fargane i ein palett"
#: ../plug-ins/pygimp/plug-ins/palette-offset.py:50
msgid "_Offset Palette..."
msgstr ""
msgstr "_Forskyv paletten..."
#: ../plug-ins/pygimp/plug-ins/palette-offset.py:53
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:57
#: ../plug-ins/pygimp/plug-ins/palette-to-gradient.py:57
#: ../plug-ins/pygimp/plug-ins/palette-to-gradient.py:79
msgid "Palette"
msgstr ""
msgstr "Palett"
#: ../plug-ins/pygimp/plug-ins/palette-offset.py:54
msgid "Off_set"
msgstr ""
msgstr "_Forskyv"
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:49
msgid "Sort the colors in a palette"
msgstr ""
msgstr "Sorter fargane i paletten"
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:54
msgid "_Sort Palette..."
msgstr ""
msgstr "_Sorter paletten..."
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:58
msgid "Color _model"
msgstr ""
msgstr "Farge_modell"
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:59
msgid "RGB"
msgstr ""
msgstr "RGB"
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:60
msgid "HSV"
msgstr ""
msgstr "HSV"
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:61
msgid "Channel to _sort"
msgstr ""
msgstr "Kanal som skal _sorterast"
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:62
msgid "Red or Hue"
msgstr ""
msgstr "Raud eller kulør"
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:63
msgid "Green or Saturation"
msgstr ""
msgstr "Grøn eller metning"
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:64
msgid "Blue or Value"
msgstr ""
msgstr "Blå eller verdi"
#: ../plug-ins/pygimp/plug-ins/palette-sort.py:65
msgid "_Ascending"
msgstr ""
msgstr "_Aukande"
#: ../plug-ins/pygimp/plug-ins/palette-to-gradient.py:50
msgid "Create a repeating gradient using colors from the palette"
msgstr ""
msgstr "Opprett ein repeterande fargeovergang med fargar frå paletten"
#: ../plug-ins/pygimp/plug-ins/palette-to-gradient.py:55
msgid "Palette to _Repeating Gradient"
msgstr ""
msgstr "Palett til _repeterande overgang"
#: ../plug-ins/pygimp/plug-ins/palette-to-gradient.py:72
msgid "Create a gradient using colors from the palette"
msgstr ""
msgstr "Opprett ein fargeovergang med fargar frå paletten"
#: ../plug-ins/pygimp/plug-ins/palette-to-gradient.py:77
msgid "Palette to _Gradient"
msgstr ""
msgstr "Palett til _fargeovergang"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:57
msgid "Slice"
msgstr ""
msgstr "Del opp"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:416
msgid "Cuts an image along its guides, creates images and a HTML table snippet"
msgstr ""
"Del biletet lags hjelpelinjene, opprett nødvendige småbilete og HTML tabell"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:427
msgid "_Slice..."
msgstr ""
msgstr "_Del opp..."
#: ../plug-ins/pygimp/plug-ins/py-slice.py:432
msgid "Path for HTML export"
msgstr ""
msgstr "Stig for HTML-eksport"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:433
msgid "Filename for export"
msgstr ""
msgstr "Filnamn for eksport"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:434
msgid "Image name prefix"
msgstr ""
msgstr "Prefiks for filnamnet"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:435
msgid "Image format"
msgstr ""
msgstr "Biletformat"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:436
msgid "Separate image folder"
msgstr ""
msgstr "Særskild biletmappe"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:438
msgid "Folder for image export"
msgstr ""
msgstr "Mappe for bileteksport"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:439
msgid "Space between table elements"
msgstr ""
msgstr "Avstand mellom tabellelementa"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:441
msgid "Javascript for onmouseover and clicked"
msgstr ""
msgstr "Javascript for «onmouseover» og «clicked»"
#: ../plug-ins/pygimp/plug-ins/py-slice.py:443
msgid "Skip animation for table caps"
msgstr ""
msgstr "Hopp over animasjon for tabellen"
#: ../plug-ins/pygimp/plug-ins/python-console.py:46
msgid "Python Console"
msgstr "Python konsoll"
#: ../plug-ins/pygimp/plug-ins/python-console.py:50
msgid "_Browse..."
msgstr "Bla gjennom..."
#: ../plug-ins/pygimp/plug-ins/python-console.py:132
msgid "Python Procedure Browser"
msgstr "Python Procedure Browser"
#: ../plug-ins/pygimp/plug-ins/python-console.py:161
#, python-format
msgid "Could not open '%s' for writing: %s"
msgstr "Kunne ikkje opna «%s» for skriving: %s"
#: ../plug-ins/pygimp/plug-ins/python-console.py:176
#, python-format
msgid "Could not write to '%s': %s"
msgstr "Kunne ikkje skrive til «%s»: %s"
#: ../plug-ins/pygimp/plug-ins/python-console.py:184
msgid "Save Python-Fu Console Output"
msgstr "Lagra utdata frå Python-Fu-konsollen"
#: ../plug-ins/pygimp/plug-ins/python-console.py:218
#, fuzzy
msgid "Interactive GIMP Python interpreter"
msgstr "Interaktiv Gimp-Python fortolkar"
#: ../plug-ins/pygimp/plug-ins/python-console.py:223
msgid "_Console"
msgstr "_Konsollen"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:61
msgid "Add a drop shadow to a layer, and optionally bevel it"
msgstr ""
msgstr "Legg slagskygge til laget og eventuelt også fasettkant"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:66
msgid "_Drop Shadow and Bevel..."
msgstr ""
msgstr "_Slagskygge og fasettkant"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:71
msgid "_Shadow blur"
msgstr ""
msgstr "_Sløring av skyggen"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:72
msgid "_Bevel"
msgstr ""
msgstr "_Fasettkant"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:73
msgid "_Drop shadow"
msgstr ""
msgstr "_Slagskygge"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:74
msgid "Drop shadow _X displacement"
msgstr ""
msgstr "_X-lengde for slagskyggen"
#: ../plug-ins/pygimp/plug-ins/shadow_bevel.py:75
msgid "Drop shadow _Y displacement"
msgstr ""
msgstr "_Y-lengde for slagskyggen"
#, fuzzy
#~ msgid "Gimp-Python Console"
#~ msgstr "Python konsoll"

View File

@ -1,3 +1,11 @@
2008-07-17 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es.po: Updated Spanish translation by Francisco Vila
2008-07-17 Žygimantas Beručka <zygis@gnome.org>
* lt.po: Updated Lithuanian translation.
2008-07-12 Daniel Nylander <po@danielnylander.se>
* sv.po: Updated Swedish translation.

View File

@ -1,21 +1,21 @@
# translation of gimp-script-fu.HEAD.po to Spanish
# translation of gimp-script-fu.HEAD.po to Español
# Spanish translation for gimp-script-fu.
# Copyright © 1998-2000,2003, 2006, 2007 Free Software Foundation, Inc.
# Copyright © 1998-2000,2003, 2006, 2007, 2008 Free Software Foundation, Inc.
# This file is distributed under the same license as the gimp package.
#
# Pablo G. del Campo <pablodc@bigfoot.com>, 2003, 2004.
# Francisco Javier F. Serrador <serrador@cvs.gnome.org>, 2004, 2005, 2006.
# Francisco Vila <francisco.vila@hispalinux.es>, 2006, 2007.
# Francisco Vila <francisco.vila@hispalinux.es>, 2006, 2007, 2008.
# Jorge González <jorgegonz@svn.gnome.org>, 2007.
# Oscar Cebellán Ramos <cebaman@bigfoot.com>
msgid ""
msgstr ""
"Project-Id-Version: gimp-script-fu.HEAD.es\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-09-16 10:37+0100\n"
"PO-Revision-Date: 2007-10-19 02:18+0200\n"
"Last-Translator: Jorge González <jorgegonz@svn.gnome.org>\n"
"Language-Team: Spanish <traductores@es.gnome.org>\n"
"POT-Creation-Date: 2008-07-11 14:07+0000\n"
"PO-Revision-Date: 2008-07-17 10:53+0200\n"
"Last-Translator: Francisco Vila <francisco.vila@hispalinux.es>\n"
"Language-Team: Español <gnome-es-list@gnome.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -23,37 +23,37 @@ msgstr ""
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../plug-ins/script-fu/script-fu-console.c:135
#: ../plug-ins/script-fu/script-fu-console.c:202
#: ../plug-ins/script-fu/script-fu-console.c:133
#: ../plug-ins/script-fu/script-fu-console.c:200
msgid "Script-Fu Console"
msgstr "Consola de Script-Fu"
#: ../plug-ins/script-fu/script-fu-console.c:198
#: ../plug-ins/script-fu/script-fu-console.c:196
msgid "Welcome to TinyScheme"
msgstr "Bienvenido a TinyScheme"
#: ../plug-ins/script-fu/script-fu-console.c:204
#: ../plug-ins/script-fu/script-fu-console.c:202
msgid "Interactive Scheme Development"
msgstr "Desarrollo interactivo de Scheme"
#: ../plug-ins/script-fu/script-fu-console.c:240
#: ../plug-ins/script-fu/script-fu-console.c:238
msgid "_Browse..."
msgstr "_Examinar…"
#: ../plug-ins/script-fu/script-fu-console.c:300
#: ../plug-ins/script-fu/script-fu-console.c:296
msgid "Save Script-Fu Console Output"
msgstr "Guardar salida de la consola Script-Fu"
#: ../plug-ins/script-fu/script-fu-console.c:347
#: ../plug-ins/script-fu/script-fu-console.c:343
#, c-format
msgid "Could not open '%s' for writing: %s"
msgstr "No se ha podido abrir «%s» para escritura: %s"
#: ../plug-ins/script-fu/script-fu-console.c:376
#: ../plug-ins/script-fu/script-fu-console.c:372
msgid "Script-Fu Procedure Browser"
msgstr "Examinador de procedimientos Script-Fu"
#: ../plug-ins/script-fu/script-fu-console.c:719
#: ../plug-ins/script-fu/script-fu-console.c:718
msgid "Script-Fu evaluation mode only allows non-interactive invocation"
msgstr "El modo de evaluación de Script-Fu sólo permite invocación no interactiva"
@ -110,7 +110,11 @@ msgstr "Selección de degradado de Script-Fu"
msgid "Script-Fu Brush Selection"
msgstr "Selección de pincel de Script-Fu"
#: ../plug-ins/script-fu/script-fu-scripts.c:658
#: ../plug-ins/script-fu/script-fu-scripts.c:148
msgid "Too few arguments to 'script-fu-register' call"
msgstr "Faltan argumentos para la llamada a «script-fu-register»"
#: ../plug-ins/script-fu/script-fu-scripts.c:667
#, c-format
msgid ""
"Error while executing\n"
@ -123,19 +127,19 @@ msgstr ""
"\n"
"%s"
#: ../plug-ins/script-fu/script-fu-server.c:711
#: ../plug-ins/script-fu/script-fu-server.c:712
msgid "Script-Fu Server Options"
msgstr "Opciones de servidor de Script-Fu"
#: ../plug-ins/script-fu/script-fu-server.c:716
#: ../plug-ins/script-fu/script-fu-server.c:717
msgid "_Start Server"
msgstr "_Iniciar servidor"
#: ../plug-ins/script-fu/script-fu-server.c:744
#: ../plug-ins/script-fu/script-fu-server.c:745
msgid "Server port:"
msgstr "Puerto del servidor:"
#: ../plug-ins/script-fu/script-fu-server.c:750
#: ../plug-ins/script-fu/script-fu-server.c:751
msgid "Server logfile:"
msgstr "Archivo de registro del servidor:"
@ -144,8 +148,8 @@ msgid "Interactive console for Script-Fu development"
msgstr "Consola interactiva para el desarrollo de Script-Fu"
#: ../plug-ins/script-fu/script-fu.c:116
msgid "Script-Fu _Console"
msgstr "_Consola de Script-Fu"
msgid "_Console"
msgstr "_Consola"
#: ../plug-ins/script-fu/script-fu.c:140
msgid "Server for remote Script-Fu operation"
@ -155,115 +159,63 @@ msgstr "Servidor para el funcionamiento remoto de Script-Fu"
msgid "_Start Server..."
msgstr "_Iniciar servidor…"
#: ../plug-ins/script-fu/script-fu.c:298
#: ../plug-ins/script-fu/script-fu.c:301
msgid "_GIMP Online"
msgstr "El _GIMP en línea"
#: ../plug-ins/script-fu/script-fu.c:299
#: ../plug-ins/script-fu/script-fu.c:302
msgid "_User Manual"
msgstr "Manual del _usuario"
#: ../plug-ins/script-fu/script-fu.c:302
#: ../plug-ins/script-fu/script-fu.c:305
msgid "_Script-Fu"
msgstr "_Script-Fu"
#: ../plug-ins/script-fu/script-fu.c:304
msgid "_Buttons"
msgstr "_Botones"
#: ../plug-ins/script-fu/script-fu.c:306
msgid "_Logos"
msgstr "_Logotipos"
#: ../plug-ins/script-fu/script-fu.c:308
msgid "_Misc"
msgstr "_Misc"
#: ../plug-ins/script-fu/script-fu.c:310
msgid "_Patterns"
msgstr "_Patrones"
#: ../plug-ins/script-fu/script-fu.c:312
#: ../plug-ins/script-fu/script-fu.c:307
msgid "_Test"
msgstr "_Prueba"
#: ../plug-ins/script-fu/script-fu.c:314
msgid "_Utilities"
msgstr "_Utilidades"
#: ../plug-ins/script-fu/script-fu.c:310
msgid "_Buttons"
msgstr "_Botones"
#: ../plug-ins/script-fu/script-fu.c:316
#: ../plug-ins/script-fu/script-fu.c:312
msgid "_Logos"
msgstr "_Logotipos"
#: ../plug-ins/script-fu/script-fu.c:314
msgid "_Patterns"
msgstr "_Patrones"
#: ../plug-ins/script-fu/script-fu.c:317
msgid "_Web Page Themes"
msgstr "Temas de páginas _web"
#: ../plug-ins/script-fu/script-fu.c:318
#: ../plug-ins/script-fu/script-fu.c:319
msgid "_Alien Glow"
msgstr "_Resplandor alienígena"
#: ../plug-ins/script-fu/script-fu.c:320
#: ../plug-ins/script-fu/script-fu.c:321
msgid "_Beveled Pattern"
msgstr "Patrón _biselado"
#: ../plug-ins/script-fu/script-fu.c:322
#: ../plug-ins/script-fu/script-fu.c:323
msgid "_Classic.Gimp.Org"
msgstr "_Classic.Gimp.Org"
#: ../plug-ins/script-fu/script-fu.c:325
#: ../plug-ins/script-fu/script-fu.c:326
msgid "Alpha to _Logo"
msgstr "Alfa a _logotipo"
#: ../plug-ins/script-fu/script-fu.c:327
msgid "An_imation"
msgstr "A_nimación"
#: ../plug-ins/script-fu/script-fu.c:329
msgid "_Animators"
msgstr "A_nimadores"
#: ../plug-ins/script-fu/script-fu.c:331
msgid "_Artistic"
msgstr "_Artístico"
#: ../plug-ins/script-fu/script-fu.c:333
msgid "_Blur"
msgstr "_Desenfoque"
#: ../plug-ins/script-fu/script-fu.c:335
msgid "_Decor"
msgstr "_Decorador"
#: ../plug-ins/script-fu/script-fu.c:337
msgid "_Effects"
msgstr "_Efectos"
#: ../plug-ins/script-fu/script-fu.c:339
msgid "En_hance"
msgstr "Real_zar"
#: ../plug-ins/script-fu/script-fu.c:341
msgid "_Light and Shadow"
msgstr "_Luces y sombras"
#: ../plug-ins/script-fu/script-fu.c:343
msgid "S_hadow"
msgstr "_Sombra"
#: ../plug-ins/script-fu/script-fu.c:345
msgid "_Render"
msgstr "_Renderizar"
#: ../plug-ins/script-fu/script-fu.c:347
msgid "_Alchemy"
msgstr "_Alquimia"
#: ../plug-ins/script-fu/script-fu.c:350
msgid "Re-read all available Script-Fu scripts"
msgstr "Releer todos los guiones de Script-Fu disponibles"
#: ../plug-ins/script-fu/script-fu.c:355
#: ../plug-ins/script-fu/script-fu.c:334
msgid "_Refresh Scripts"
msgstr "_Refrescar scripts"
#: ../plug-ins/script-fu/script-fu.c:378
#: ../plug-ins/script-fu/script-fu.c:357
msgid ""
"You can not use \"Refresh Scripts\" while a Script-Fu dialog box is open. "
"Please close all Script-Fu windows and try again."
@ -471,7 +423,6 @@ msgstr "Truchet 3_D…"
#: ../plug-ins/script-fu/scripts/neon-logo.scm.h:1
#: ../plug-ins/script-fu/scripts/news-text.scm.h:1
#: ../plug-ins/script-fu/scripts/speed-text.scm.h:1
#: ../plug-ins/script-fu/scripts/sphere.scm.h:1
#: ../plug-ins/script-fu/scripts/starburst-logo.scm.h:1
#: ../plug-ins/script-fu/scripts/swirltile.scm.h:2
#: ../plug-ins/script-fu/scripts/t-o-p-logo.scm.h:2
@ -1759,7 +1710,6 @@ msgid "Pattern (text)"
msgstr "Patrón (texto)"
#: ../plug-ins/script-fu/scripts/glossy.scm.h:15
#: ../plug-ins/script-fu/scripts/sphere.scm.h:5
msgid "Shadow"
msgstr "Sombra"
@ -1904,46 +1854,6 @@ msgstr "Quitar todas las líneas guía horizontales y verticales"
msgid "_Remove all Guides"
msgstr "_Quitar todas las guías"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:1
msgid "BG opacity"
msgstr "Opacidad del fondo"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:2
msgid "Create a graph of the Hue, Saturation, and Value distributions"
msgstr "Crear un gráfico de las distribuciones de tono, saturación y valor"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:3
msgid "Draw _HSV Graph..."
msgstr "Dibujar gráfico _HSV…"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:4
msgid "End X"
msgstr "X final"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:5
msgid "End Y"
msgstr "Y final"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:6
msgid "From top-left to bottom-right"
msgstr "De arriba-izquierda a abajo-derecha"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:7
msgid "Graph scale"
msgstr "Escala del gráfico"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:8
msgid "Start X"
msgstr "Comienzo en X"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:9
msgid "Start Y"
msgstr "Comienzo en Y"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:10
msgid "Use selection bounds instead of values below"
msgstr "Usar los límites de la selección en vez de los valores de abajo"
#: ../plug-ins/script-fu/scripts/i26-gunya2.scm.h:1
msgid "Create a logo in a two-color, scribbled text style"
msgstr "Crear un logotipo al estilo de un texto garabateado de dos colores"
@ -2433,26 +2343,6 @@ msgstr "Crear un logotipo con un efecto de texto en movimiento"
msgid "Speed Text..."
msgstr "Texto en movimiento…"
#: ../plug-ins/script-fu/scripts/sphere.scm.h:2
msgid "Create a simple sphere with a drop shadow"
msgstr "Crear una esfera sencilla con una sombra arrojada"
#: ../plug-ins/script-fu/scripts/sphere.scm.h:3
msgid "Lighting (degrees)"
msgstr "Iluminación (grados)"
#: ../plug-ins/script-fu/scripts/sphere.scm.h:4
msgid "Radius (pixels)"
msgstr "Radio (píxeles)"
#: ../plug-ins/script-fu/scripts/sphere.scm.h:6
msgid "Sphere color"
msgstr "Color de la esfera"
#: ../plug-ins/script-fu/scripts/sphere.scm.h:7
msgid "_Sphere..."
msgstr "_Esfera…"
#: ../plug-ins/script-fu/scripts/spinning-globe.scm.h:1
msgid "Create an animation by mapping the current image onto a spinning sphere"
msgstr "Crear una animación proyectando la imagen actual sobre una esfera giratoria"

View File

@ -1,14 +1,14 @@
# Lithuanian translation of GIMP script-fu.
# Copyright (C) 2004-2007 Free Software Foundation, Inc.
# Žygimantas Beručka <zygis@gnome.org>, 2004-2007.
#
#
# Copyright (C) 2004-2008 Free Software Foundation, Inc.
# Žygimantas Beručka <zygis@gnome.org>, 2004-2008.
#
#
msgid ""
msgstr ""
"Project-Id-Version: GIMP HEAD\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-10-04 18:27+0300\n"
"PO-Revision-Date: 2007-10-04 18:28+0300\n"
"POT-Creation-Date: 2008-07-17 13:40+0300\n"
"PO-Revision-Date: 2008-07-17 13:41+0300\n"
"Last-Translator: Žygimantas Beručka <zygis@gnome.org>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
"MIME-Version: 1.0\n"
@ -45,7 +45,7 @@ msgstr "Nepavyko atverti „%s“ rašymui: %s"
msgid "Script-Fu Procedure Browser"
msgstr "Script-Fu procedūrų naršyklė"
#: ../plug-ins/script-fu/script-fu-console.c:716
#: ../plug-ins/script-fu/script-fu-console.c:718
msgid "Script-Fu evaluation mode only allows non-interactive invocation"
msgstr "Scrip-Fu įvertinimo veiksenoje galimas tik neinteraktyvus iškvietimas"
@ -102,7 +102,11 @@ msgstr "Script-Fu gradientų pasirinkimas"
msgid "Script-Fu Brush Selection"
msgstr "Script-Fu teptukų pasirinkimas"
#: ../plug-ins/script-fu/script-fu-scripts.c:658
#: ../plug-ins/script-fu/script-fu-scripts.c:148
msgid "Too few arguments to 'script-fu-register' call"
msgstr "Šaukiniui „scrip-fu-register“ nurodyti per mažai argumentų"
#: ../plug-ins/script-fu/script-fu-scripts.c:667
#, c-format
msgid ""
"Error while executing\n"
@ -136,8 +140,8 @@ msgid "Interactive console for Script-Fu development"
msgstr "Interaktyvi konsolė Script-Fu kūrimui"
#: ../plug-ins/script-fu/script-fu.c:116
msgid "Script-Fu _Console"
msgstr "Script-Fu _konsolė"
msgid "_Console"
msgstr "_Konsolė"
#: ../plug-ins/script-fu/script-fu.c:140
msgid "Server for remote Script-Fu operation"
@ -160,102 +164,50 @@ msgid "_Script-Fu"
msgstr "_Script-Fu"
#: ../plug-ins/script-fu/script-fu.c:307
msgid "_Buttons"
msgstr "_Mygtukai"
#: ../plug-ins/script-fu/script-fu.c:309
msgid "_Logos"
msgstr "_Logotipai"
#: ../plug-ins/script-fu/script-fu.c:311
msgid "_Misc"
msgstr "Į_vairūs"
#: ../plug-ins/script-fu/script-fu.c:313
msgid "_Patterns"
msgstr "_Raštai"
#: ../plug-ins/script-fu/script-fu.c:315
msgid "_Test"
msgstr "_Testas"
#: ../plug-ins/script-fu/script-fu.c:310
msgid "_Buttons"
msgstr "_Mygtukai"
#: ../plug-ins/script-fu/script-fu.c:312
msgid "_Logos"
msgstr "_Logotipai"
#: ../plug-ins/script-fu/script-fu.c:314
msgid "_Patterns"
msgstr "_Raštai"
#: ../plug-ins/script-fu/script-fu.c:317
msgid "_Utilities"
msgstr "_Reikmenys"
msgid "_Web Page Themes"
msgstr "_Tinklalapių temos"
#: ../plug-ins/script-fu/script-fu.c:319
msgid "_Web Page Themes"
msgstr "_Žiniatinklio svetainių temos"
#: ../plug-ins/script-fu/script-fu.c:321
msgid "_Alien Glow"
msgstr "_Ateivių švytėjimas"
#: ../plug-ins/script-fu/script-fu.c:323
#: ../plug-ins/script-fu/script-fu.c:321
msgid "_Beveled Pattern"
msgstr "_Nuožulnaus krašto raštas"
#: ../plug-ins/script-fu/script-fu.c:325
#: ../plug-ins/script-fu/script-fu.c:323
msgid "_Classic.Gimp.Org"
msgstr "_Classic.Gimp.Org"
#: ../plug-ins/script-fu/script-fu.c:328
#: ../plug-ins/script-fu/script-fu.c:326
msgid "Alpha to _Logo"
msgstr "Alfa į _logotipą"
#: ../plug-ins/script-fu/script-fu.c:330
msgid "An_imation"
msgstr "An_imacija"
#: ../plug-ins/script-fu/script-fu.c:332
msgid "_Animators"
msgstr "_Animatoriai"
#: ../plug-ins/script-fu/script-fu.c:334
msgid "_Artistic"
msgstr "_Meniškas"
#: ../plug-ins/script-fu/script-fu.c:336
msgid "_Blur"
msgstr "_Išliejimas"
#: ../plug-ins/script-fu/script-fu.c:338
msgid "_Decor"
msgstr "_Dekoravimas"
#: ../plug-ins/script-fu/script-fu.c:340
msgid "_Effects"
msgstr "_Efektai"
#: ../plug-ins/script-fu/script-fu.c:342
msgid "En_hance"
msgstr "Pa_gerinti"
#: ../plug-ins/script-fu/script-fu.c:344
msgid "_Light and Shadow"
msgstr "_Šviesa ir šešėlis"
#: ../plug-ins/script-fu/script-fu.c:346
msgid "S_hadow"
msgstr "Š_ešėlis"
#: ../plug-ins/script-fu/script-fu.c:348
msgid "_Render"
msgstr "_Atvaizduoti"
#: ../plug-ins/script-fu/script-fu.c:350
msgid "_Alchemy"
msgstr "_Alchemija"
#: ../plug-ins/script-fu/script-fu.c:353
#: ../plug-ins/script-fu/script-fu.c:329
msgid "Re-read all available Script-Fu scripts"
msgstr "Iš naujo perskaityti visus prieinamus Script-Fu scenarijus"
#: ../plug-ins/script-fu/script-fu.c:358
#: ../plug-ins/script-fu/script-fu.c:334
msgid "_Refresh Scripts"
msgstr "_Atnaujinti scenarijus"
#: ../plug-ins/script-fu/script-fu.c:381
#: ../plug-ins/script-fu/script-fu.c:357
msgid ""
"You can not use \"Refresh Scripts\" while a Script-Fu dialog box is open. "
"Please close all Script-Fu windows and try again."
@ -269,7 +221,7 @@ msgstr "3D k_ontūras..."
#: ../plug-ins/script-fu/scripts/3d-outline.scm.h:2
msgid "Bumpmap (alpha layer) blur radius"
msgstr "Nelygumų (alfa sluoksnio) išliejimo spindulys"
msgstr "Įspaudų (alfa sluoksnio) išliejimo spindulys"
#: ../plug-ins/script-fu/scripts/3d-outline.scm.h:3
msgid "Create a logo with outlined text and a drop shadow"
@ -461,7 +413,6 @@ msgstr "3_D Triušė..."
#: ../plug-ins/script-fu/scripts/neon-logo.scm.h:1
#: ../plug-ins/script-fu/scripts/news-text.scm.h:1
#: ../plug-ins/script-fu/scripts/speed-text.scm.h:1
#: ../plug-ins/script-fu/scripts/sphere.scm.h:1
#: ../plug-ins/script-fu/scripts/starburst-logo.scm.h:1
#: ../plug-ins/script-fu/scripts/swirltile.scm.h:2
#: ../plug-ins/script-fu/scripts/t-o-p-logo.scm.h:2
@ -501,7 +452,7 @@ msgstr "Perėjimo pradžia"
#: ../plug-ins/script-fu/scripts/3dTruchet.scm.h:9
msgid "Supersample"
msgstr ""
msgstr "Papildoma imtis"
#: ../plug-ins/script-fu/scripts/3dTruchet.scm.h:10
#: ../plug-ins/script-fu/scripts/add-bevel.scm.h:4
@ -763,8 +714,7 @@ msgstr "Nuožulnaus krašto plotis"
#: ../plug-ins/script-fu/scripts/beveled-button.scm.h:2
msgid "Create a simple, beveled button graphic for webpages"
msgstr ""
"Sukurti paprastą grafinį mygtuką nuožulniais kraštais žiniatinklio svetainėms"
msgstr "Sukurti paprastą grafinį mygtuką nuožulniais kraštais tinklalapiams"
#: ../plug-ins/script-fu/scripts/beveled-button.scm.h:5
msgid "Lower-right color"
@ -859,17 +809,19 @@ msgstr "Maks. išliejimo spindulys"
#: ../plug-ins/script-fu/scripts/blend-anim.scm.h:6
msgid "_Blend..."
msgstr ""
msgstr "_Perėjimas..."
#: ../plug-ins/script-fu/scripts/blended-logo.scm.h:1
msgid ""
"Add blended backgrounds, highlights, and shadows to the selected region (or "
"alpha)"
msgstr ""
"Pasirinktoje (arba permatomoje) srityje pridėti pereinamų spalvų fonus, "
"paryškintas vietas ir šešėlius"
#: ../plug-ins/script-fu/scripts/blended-logo.scm.h:3
msgid "Blen_ded..."
msgstr ""
msgstr "Perei_nantis..."
#: ../plug-ins/script-fu/scripts/blended-logo.scm.h:4
msgid "Blend mode"
@ -988,8 +940,8 @@ msgid ""
"The Burn-In script needs two layers in total. A foreground layer with "
"transparency and a background layer."
msgstr ""
"Naudojant išdeginimo scenarijų reikalingi du sluoksniai. Permatomo "
"priekinio plano sluoksnio ir fono sluoksnio."
"Naudojant išdeginimo scenarijų reikalingi du sluoksniai. Permatomo priekinio "
"plano sluoksnio ir fono sluoksnio."
#: ../plug-ins/script-fu/scripts/camo.scm.h:1
msgid "Color 1"
@ -1423,7 +1375,7 @@ msgstr "Lyginės"
#: ../plug-ins/script-fu/scripts/erase-rows.scm.h:6
msgid "Even/odd"
msgstr "Lyginės/nelyginės"
msgstr "Lyginės / nelyginės"
#: ../plug-ins/script-fu/scripts/erase-rows.scm.h:7
msgid "Fill with BG"
@ -1636,38 +1588,44 @@ msgid ""
"Create an image of a Tube Button Label Header using the gimp.org webpage "
"theme"
msgstr ""
"Sukurti vamzdinio mygtuko etiketės antraštės paveikslėlį naudojant gimp.org "
"tinklalapio temą"
#: ../plug-ins/script-fu/scripts/gimp-labels.scm.h:3
msgid "Create an image of a Tube Button Label using the gimp.org webpage theme"
msgstr ""
msgstr "Sukurti vamzdinio mygtuko etiketę naudojant gimp.org tinklalapio temą"
#: ../plug-ins/script-fu/scripts/gimp-labels.scm.h:4
msgid ""
"Create an image of a second level Tube Button Label using the gimp.org "
"webpage theme"
msgstr ""
"Sukurti antro lygmens vamzdinio mygtuko etiketę naudojant gimp.org "
"tinklalapio temą"
#: ../plug-ins/script-fu/scripts/gimp-labels.scm.h:5
msgid ""
"Create an image of a third level Tube Button Label using the gimp.org "
"webpage theme"
msgstr ""
"Sukurti trečio lygmens vamzdinio mygtuko etiketę naudojant gimp.org "
"tinklalapio temą"
#: ../plug-ins/script-fu/scripts/gimp-labels.scm.h:16
msgid "T_ube Sub-Button Label..."
msgstr ""
msgstr "_Vamzdinio antrinio mygtuko etiketė..."
#: ../plug-ins/script-fu/scripts/gimp-labels.scm.h:19
msgid "Tub_e Sub-Sub-Button Label..."
msgstr ""
msgstr "_Vamzdinio tretinio mygtuko etiketė..."
#: ../plug-ins/script-fu/scripts/gimp-labels.scm.h:20
msgid "_General Tube Labels..."
msgstr ""
msgstr "_Bendros vamzdinės etiketės..."
#: ../plug-ins/script-fu/scripts/gimp-labels.scm.h:21
msgid "_Tube Button Label..."
msgstr ""
msgstr "V_amzdinio mygtuko etiketė..."
#: ../plug-ins/script-fu/scripts/glossy.scm.h:1
msgid ""
@ -1710,7 +1668,6 @@ msgid "Pattern (text)"
msgstr "Raštas (tekstas)"
#: ../plug-ins/script-fu/scripts/glossy.scm.h:15
#: ../plug-ins/script-fu/scripts/sphere.scm.h:5
msgid "Shadow"
msgstr "Šešėlis"
@ -1799,7 +1756,7 @@ msgstr "_Tinklelis..."
#: ../plug-ins/script-fu/scripts/guides-from-selection.scm.h:2
msgid "New Guides from _Selection"
msgstr "Naujos gairės iš _pasirinkimo"
msgstr "Naujos gairės iš _pažymėjimo"
#: ../plug-ins/script-fu/scripts/guides-new-percent.scm.h:1
msgid "Add a guide at the position specified as a percentage of the image size"
@ -1849,46 +1806,6 @@ msgstr "Pašalinti visas horizontalias ir vertikalias gaires"
msgid "_Remove all Guides"
msgstr "Pašalinti visas gai_res"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:1
msgid "BG opacity"
msgstr "Fono nepermatomumas"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:2
msgid "Create a graph of the Hue, Saturation, and Value distributions"
msgstr "Sukurti grafiką iš atspalvio, sodrumo ir reikšmės paskirstymų"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:3
msgid "Draw _HSV Graph..."
msgstr "Nubrėžti _HSV grafiką..."
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:4
msgid "End X"
msgstr "Pabaigos X"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:5
msgid "End Y"
msgstr "Pabaigos Y"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:6
msgid "From top-left to bottom-right"
msgstr "Nuo viršutinio kairio kampo į apatinį dešinį"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:7
msgid "Graph scale"
msgstr ""
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:8
msgid "Start X"
msgstr "Pradžios X"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:9
msgid "Start Y"
msgstr "Pradžios Y"
#: ../plug-ins/script-fu/scripts/hsv-graph.scm.h:10
msgid "Use selection bounds instead of values below"
msgstr "Vietoje žemiau esančių reikšmių naudoti pažymėjimo ribas"
#: ../plug-ins/script-fu/scripts/i26-gunya2.scm.h:1
msgid "Create a logo in a two-color, scribbled text style"
msgstr "Sukurti dviejų spalvų, keverzojamo teksto stiliaus logotipą"
@ -1975,7 +1892,7 @@ msgstr "Sukurti stačiakampį teptuką"
#: ../plug-ins/script-fu/scripts/mkbrush.scm.h:2
msgid "Create a rectangular brush with feathered edges"
msgstr "Sukurti stačiakampį teptuką su plunksnuotais kraštais"
msgstr "Sukurti stačiakampį teptuką išlietais kraštais"
#: ../plug-ins/script-fu/scripts/mkbrush.scm.h:3
msgid "Create an elliptical brush"
@ -1983,15 +1900,15 @@ msgstr "Sukurti elipsinį teptuką"
#: ../plug-ins/script-fu/scripts/mkbrush.scm.h:4
msgid "Create an elliptical brush with feathered edges"
msgstr "Sukurti elipsinį teptuką su plunksnuotais kraštais"
msgstr "Sukurti elipsinį teptuką išlietais kraštais"
#: ../plug-ins/script-fu/scripts/mkbrush.scm.h:5
msgid "Elli_ptical, Feathered..."
msgstr "Eli_psinis, plunksnuotas..."
msgstr "Eli_psinis, išlietais kraštais..."
#: ../plug-ins/script-fu/scripts/mkbrush.scm.h:6
msgid "Feathering"
msgstr "Plunksnuojama"
msgstr "Kraštų išliejimas"
#: ../plug-ins/script-fu/scripts/mkbrush.scm.h:8
msgid "Name"
@ -1999,13 +1916,13 @@ msgstr "Pavadinimas"
#: ../plug-ins/script-fu/scripts/mkbrush.scm.h:9
msgid "Re_ctangular, Feathered..."
msgstr "Stačia_kampis, plunksnuotas..."
msgstr "Stačia_kampis, išlietais kraštais..."
#: ../plug-ins/script-fu/scripts/mkbrush.scm.h:10
#: ../plug-ins/script-fu/scripts/paste-as-brush.scm.h:5
#: ../plug-ins/script-fu/scripts/select-to-brush.scm.h:4
msgid "Spacing"
msgstr "Išretinimas"
msgstr "Intervalas"
#: ../plug-ins/script-fu/scripts/mkbrush.scm.h:12
msgid "_Elliptical..."
@ -2288,11 +2205,11 @@ msgstr "Suapvalinti paveikslėlio kampus ir pageidaujant pridėti šešėlį ir
#: ../plug-ins/script-fu/scripts/round-corners.scm.h:9
msgid "_Round Corners..."
msgstr "_Apvalūs kampai..."
msgstr "_Apvalaini kampai..."
#: ../plug-ins/script-fu/scripts/script-fu-set-cmap.scm.h:1
msgid "Change the colormap of an image to the colors in a specified palette."
msgstr "Pakeisti paveikslėlio spalvų gamą į nurodytos paletės spalvas."
msgstr "Pakeisti paveikslėlio spalvų paletę į nurodytos paletės spalvas."
#: ../plug-ins/script-fu/scripts/script-fu-set-cmap.scm.h:2
msgid "Palette"
@ -2300,7 +2217,7 @@ msgstr "Paletė"
#: ../plug-ins/script-fu/scripts/script-fu-set-cmap.scm.h:3
msgid "Se_t Colormap..."
msgstr "Nus_tatyti spalvų gamą..."
msgstr "Nus_tatyti spalvų paletę..."
#: ../plug-ins/script-fu/scripts/select-to-brush.scm.h:2
msgid "Convert a selection to a brush"
@ -2337,11 +2254,11 @@ msgstr "Spindulys (%)"
#: ../plug-ins/script-fu/scripts/selection-round.scm.h:4
msgid "Round the corners of the current selection"
msgstr "Suapvalinti esamo pasirinkimo kampus"
msgstr "Suapvalinti esamo pažymėjimo kampus"
#: ../plug-ins/script-fu/scripts/selection-round.scm.h:5
msgid "Rounded R_ectangle..."
msgstr "Suapvalintas _stačiakampis..."
msgstr "Apvalainas _stačiakampis..."
#: ../plug-ins/script-fu/scripts/slide.scm.h:1
msgid "Add a slide-film like frame, sprocket holes, and labels to an image"
@ -2376,26 +2293,6 @@ msgstr "Sukurti logotipą su greičio teksto efektu"
msgid "Speed Text..."
msgstr "Greičio tekstas..."
#: ../plug-ins/script-fu/scripts/sphere.scm.h:2
msgid "Create a simple sphere with a drop shadow"
msgstr "Sukurti paprastą sferą su šešėliu"
#: ../plug-ins/script-fu/scripts/sphere.scm.h:3
msgid "Lighting (degrees)"
msgstr "Apšvietimas (laipsniais)"
#: ../plug-ins/script-fu/scripts/sphere.scm.h:4
msgid "Radius (pixels)"
msgstr "Spindulys (taškeliais)"
#: ../plug-ins/script-fu/scripts/sphere.scm.h:6
msgid "Sphere color"
msgstr "Sferos spalva"
#: ../plug-ins/script-fu/scripts/sphere.scm.h:7
msgid "_Sphere..."
msgstr "_Sfera..."
#: ../plug-ins/script-fu/scripts/spinning-globe.scm.h:1
msgid "Create an animation by mapping the current image onto a spinning sphere"
msgstr "Sukurti animaciją uždedant esamą paveikslėlį ant besisukančios sferos"
@ -2420,6 +2317,7 @@ msgstr "Besisukantis _gaublys..."
msgid ""
"Add Spirographs, Epitrochoids, and Lissajous Curves to the current layer"
msgstr ""
"Dabartiniame sluoksnyje pridėti spirografų, epitrochoidų ir lisažu kreives"
#: ../plug-ins/script-fu/scripts/spyrogimp.scm.h:2
msgid "Airbrush"
@ -2439,7 +2337,7 @@ msgstr "Spalvos metodas"
#: ../plug-ins/script-fu/scripts/spyrogimp.scm.h:7
msgid "Epitrochoid"
msgstr ""
msgstr "Epitrochoidas"
#: ../plug-ins/script-fu/scripts/spyrogimp.scm.h:8
msgid "Frame"
@ -2467,7 +2365,7 @@ msgstr "Vidiniai dantys"
#: ../plug-ins/script-fu/scripts/spyrogimp.scm.h:15
msgid "Lissajous"
msgstr ""
msgstr "Lisažu"
#: ../plug-ins/script-fu/scripts/spyrogimp.scm.h:16
msgid "Margin (pixels)"
@ -2503,7 +2401,7 @@ msgstr "Daugiakampis: 9 kraštinės"
#: ../plug-ins/script-fu/scripts/spyrogimp.scm.h:24
msgid "Rendering Spyro"
msgstr ""
msgstr "Atvaizduojamas Spyro"
#: ../plug-ins/script-fu/scripts/spyrogimp.scm.h:25
msgid "Shape"
@ -2515,7 +2413,7 @@ msgstr "Vientisa spalva"
#: ../plug-ins/script-fu/scripts/spyrogimp.scm.h:27
msgid "Spyrograph"
msgstr ""
msgstr "Spirografas"
#: ../plug-ins/script-fu/scripts/spyrogimp.scm.h:28
msgid "Square"
@ -2585,7 +2483,7 @@ msgstr ""
#: ../plug-ins/script-fu/scripts/starscape-logo.scm.h:7
msgid "Sta_rscape..."
msgstr ""
msgstr "Žvai_gždėtas vaizdas..."
#: ../plug-ins/script-fu/scripts/swirltile.scm.h:4
msgid "Create an image filled with a swirled tile effect"
@ -2641,7 +2539,7 @@ msgstr "Krašto plotis"
#: ../plug-ins/script-fu/scripts/t-o-p-logo.scm.h:10
msgid "Hit rate"
msgstr ""
msgstr "Pataikymo dažnis"
#: ../plug-ins/script-fu/scripts/t-o-p-logo.scm.h:12
msgid "_Particle Trace..."
@ -2866,7 +2764,7 @@ msgstr "_Kontūrų naudojimas"
#: ../plug-ins/script-fu/scripts/web-browser.scm.h:9
msgid "_Basic Concepts"
msgstr "_Pagrindinės koncepcijos"
msgstr "_Pagrindiniai principai"
#: ../plug-ins/script-fu/scripts/web-browser.scm.h:10
msgid "_Developer Web Site"
@ -2929,7 +2827,3 @@ msgstr "Paryškinimo nepermatomumas"
#: ../plug-ins/script-fu/scripts/xach-effect.scm.h:12
msgid "_Xach-Effect..."
msgstr "_Xach efektas..."
#~ msgid "Darken only\\n(Better, but only for images with a lot of white)"
#~ msgstr ""
#~ "Tik patamsinti\\n(Geriau, bet tik paveikslėliams, kuriuose daug baltos)"

View File

@ -1,3 +1,8 @@
2008-07-17 Åsmund Skjæveland <aasmunds@ulrik.uio.no>
* nn.po: Updated Norwegian Nynorsk translation by
Kolbjørn Stuestøl <kol-stue[AT]online[DOT]no>.
2008-07-02 Takeshi AIHANA <takeshi.aihana@gmail.com>
* ja.po: Updated Japanese translation by Kiyotaka Nishibori.

View File

@ -1,62 +1,68 @@
# translation of nn.po to Norwegian Nynorsk
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Kolbjørn Stuestøl <kol-stue@online.no> 2005.
#
# Åsmund Skjæveland <aasmunds@ulrik.uio.no>, 2008.
msgid ""
msgstr ""
"Project-Id-Version: nn\n"
"Project-Id-Version: gimp\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-03-12 15:26+0100\n"
"PO-Revision-Date: 2008-03-12 14:21+0100\n"
"Last-Translator: Åsmund Skjæveland <aasmunds@ulrik.uio.no>\n"
"Language-Team: Norwegian Nynorsk <i18n-nn@lister.ping.uio.no>\n"
"POT-Creation-Date: 2008-07-17 11:47+0200\n"
"PO-Revision-Date: 2008-06-29 17:01+0100\n"
"Last-Translator: Kolbjørn Stuestøl <kol-stue@online.no>\n"
"Language-Team: Kolbjørn Stuestøl <kol-stue@online.no>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../data/tips/gimp-tips.xml.in.h:1
msgid "<big>Welcome to the GNU Image Manipulation Program!</big>"
msgstr ""
#: ../data/tips/gimp-tips.xml.in.h:2
msgid ""
"<tt>Ctrl</tt>-click with the Bucket Fill tool to have it use the background "
"color instead of the foreground color. Similarly, <tt>Ctrl</tt>-clicking "
"with the eyedropper tool sets the background color instead of the foreground "
"color."
msgstr ""
"<tt>Ctrl</tt>-klikk når du ønskjer at fyllverktøyet eller fargeplukkaren "
"skal arbeide på bakgrunnsfargen i staden for på forgrunnsfargen."
#: ../data/tips/gimp-tips.xml.in.h:3
#: ../data/tips/gimp-tips.xml.in.h:2
msgid ""
"<tt>Ctrl</tt>-clicking on the layer mask's preview in the Layers dialog "
"toggles the effect of the layer mask. <tt>Alt</tt>-clicking on the layer "
"mask's preview in the Layers dialog toggles viewing the mask directly."
msgstr ""
"<tt>Ctrl</tt>-klikk på miniatyren av lagmaska i lagdialogen slår effekten av "
"lagmaska av og på. <tt>Alt</tt>-klikkar du i staden, vil dette slå av og på "
"visinga av lagmaska."
#: ../data/tips/gimp-tips.xml.in.h:4
#: ../data/tips/gimp-tips.xml.in.h:3
msgid ""
"<tt>Ctrl</tt>-drag with the Rotate tool will constrain the rotation to 15 "
"degree angles."
msgstr ""
"Held du nede <tt>Ctrl</tt>-tasten når du brukar rotasjonsverkøtyet, vil du "
"avgrense rotasjonen til vinklar som er multiplar av 15 grader."
#: ../data/tips/gimp-tips.xml.in.h:5
#: ../data/tips/gimp-tips.xml.in.h:4
msgid ""
"<tt>Shift</tt>-click on the eye icon in the Layers dialog to hide all layers "
"but that one. <tt>Shift</tt>-click again to show all layers."
msgstr ""
"<tt>Shift</tt>-klikk på eit augesymbol i lagdialogen for å gøyme alle laga "
"unntatt det du klikka på. <tt>Shift</tt>-klikk igjen for å vise alle laga."
#: ../data/tips/gimp-tips.xml.in.h:6
#: ../data/tips/gimp-tips.xml.in.h:5
msgid ""
"A floating selection must be anchored to a new layer or to the last active "
"layer before doing other operations on the image. Click on the &quot;New "
"Layer&quot; or the &quot;Anchor Layer&quot; button in the Layers dialog, or "
"use the menus to do the same."
msgstr ""
"Eit flytande utval må forankrast til eit nytt lag eller til det aktive laget "
"før du kan arbeide vidare på resten av biletet. Klikk på &quot;Nytt "
"lag&quot; eller &quot;Forankre laget&quot; i lagdialogen eller i lokalmenyen "
"som kjem fram når du høgreklikkar i lagdialogen."
#: ../data/tips/gimp-tips.xml.in.h:7
#: ../data/tips/gimp-tips.xml.in.h:6
msgid ""
"After you enabled &quot;Dynamic Keyboard Shortcuts&quot; in the Preferences "
"dialog, you can reassign shortcut keys. Do so by bringing up the menu, "
@ -66,172 +72,260 @@ msgid ""
"Shortcuts&quot; afterwards, to prevent accidentally assigning/reassigning "
"shortcuts."
msgstr ""
"Du kan lage nye tastesnarvegar ved å opna &quot;Set opp "
"tastatursnarvegar&quot; i brukarinnstillingane, gå inn på aktuell meny og "
"trykke ønskt tastekombinasjon. Du kan anten trykke tasten &quot;Lagra "
"tastatursnarvegane nå&quot; eller lagra ved avsluttinga av GIMP. Det kan "
"vere ein idé å slå av &quot;Bruk dynamiske snarvegtastar&quot; for å unngå "
"at snarvegane blir endra ved eit uhell."
#: ../data/tips/gimp-tips.xml.in.h:8
#: ../data/tips/gimp-tips.xml.in.h:7
msgid ""
"Click and drag on a ruler to place a guide on an image. All dragged "
"selections will snap to the guides. You can remove guides by dragging them "
"off the image with the Move tool."
msgstr ""
"Du kan plassera hjelpelinjer i biletet ved å klikke og dra dei ut frå ein av "
"linjalane rundt biletkanten. Alle utval som blir dradd ut og sleppt i "
"biletet, vil feste seg til hjelpelinjene. Du fjerner hjelpelinjene ved å dra "
"dei ut av biletet med flytteverktøyet."
#: ../data/tips/gimp-tips.xml.in.h:9
msgid ""
"GIMP allows you to undo most changes to the image, so feel free to "
"experiment."
msgstr ""
#: ../data/tips/gimp-tips.xml.in.h:10
#: ../data/tips/gimp-tips.xml.in.h:8
msgid ""
"GIMP supports gzip compression on the fly. Just add <tt>.gz</tt> (or <tt>."
"bz2</tt>, if you have bzip2 installed) to the filename and your image will "
"be saved compressed. Of course loading compressed images works too."
msgstr ""
"GIMP har direkte støtte for gzip-kompresjon. Bare legg <tt>.gz</tt> (eller "
"<tt>.bz2</tt> med bzip2) til filnamnet, og biletet blir komprimert når du "
"lagrar det. Sjølvsagt kan du også opna komprimerte biletfiler."
#: ../data/tips/gimp-tips.xml.in.h:11
#: ../data/tips/gimp-tips.xml.in.h:9
msgid ""
"GIMP uses layers to let you organize your image. Think of them as a stack of "
"slides or filters, such that looking through them you see a composite of "
"their contents."
msgstr ""
"GIMP bruker lag for å setje opp bilete. Desse laga kan gjerne samanliknast "
"med ein stabel av lysark eller foliar. Det ferdige biletet er slik du ser "
"det frå toppen av lagstabelen."
#: ../data/tips/gimp-tips.xml.in.h:12
#: ../data/tips/gimp-tips.xml.in.h:10
msgid ""
"If a layer's name in the Layers dialog is displayed in <b>bold</b>, this "
"layer doesn't have an alpha-channel. You can add an alpha-channel using "
"Layer→Transparency→Add Alpha Channel."
msgstr ""
"Dersom lagnamnet er <b>utheva</b> i lagdialogen betyr dette at laget ikkje "
"har alfakanal. Du kan legge til alfakanal ved hjelp av Lag→Gjennomsikt→Legg "
"til alfakanal"
#: ../data/tips/gimp-tips.xml.in.h:13
#: ../data/tips/gimp-tips.xml.in.h:11
msgid ""
"If some of your scanned photos do not look colorful enough, you can easily "
"improve their tonal range with the &quot;Auto&quot; button in the Levels "
"tool (Colors→Levels). If there are any color casts, you can correct them "
"with the Curves tool (Colors→Curves)."
msgstr ""
"Den enklaste måten å forbetra blasse fargar i eit bilete på, er å bruke "
"&quot;Auto&quot;-knappen i nivåverktøyet (Lag-&gt;Fargar-&gt;Nivå). Uheldige "
"fargestikk kan korrigerast med kurveverktøyet (Lag-&gt;Fargar-&gt;Kurver)."
#: ../data/tips/gimp-tips.xml.in.h:14
#: ../data/tips/gimp-tips.xml.in.h:12
msgid ""
"If you stroke a path (Edit→Stroke Path), the paint tools can be used with "
"their current settings. You can use the Paintbrush in gradient mode or even "
"the Eraser or the Smudge tool."
msgstr ""
"Dersom du skal streke opp ein bane (Rediger-&gt;Strek opp bane) kan du bruke "
"teikneverktøya med gjeldande innstillingar. Du kan også bruke luftpenselen "
"med fargeovergang, eller til og med viskeleret og utsmøringsverktøyet."
#: ../data/tips/gimp-tips.xml.in.h:15
#: ../data/tips/gimp-tips.xml.in.h:13
msgid ""
"If your screen is too cluttered, you can press <tt>Tab</tt> in an image "
"window to toggle the visibility of the toolbox and other dialogs."
msgstr ""
"Dersom skjermen er svært rotete, kan du trykke <tt>Tab</tt>-tasten fleire "
"gonger for å skjule eller vise verktøykassa og andre dialogar."
#: ../data/tips/gimp-tips.xml.in.h:16
#: ../data/tips/gimp-tips.xml.in.h:14
msgid ""
"Most plug-ins work on the current layer of the current image. In some cases, "
"you will have to merge all layers (Image→Flatten Image) if you want the plug-"
"in to work on the whole image."
msgstr ""
"Dei fleste programtillegga arbeider på det aktive laget i det aktive "
"biletet. Dersom du ønskjer at programtillegget skal verke på heile biletet, "
"kan det hende du må flette saman alle laga (bilete-&gt;flat ut biletet) "
"først."
#: ../data/tips/gimp-tips.xml.in.h:17
#: ../data/tips/gimp-tips.xml.in.h:15
msgid ""
"Not all effects can be applied to all kinds of images. This is indicated by "
"a grayed-out menu-entry. You may need to change the image mode to RGB "
"(Image→Mode→RGB), add an alpha-channel (Layer→Transparency→Add Alpha "
"Channel) or flatten it (Image→Flatten Image)."
msgstr ""
"Ikkje alle funksjonane verkar på alle typer bilete. Dette blir vist ved at "
"menyinnslaget er gråa ut. Skulle dette vere til hinder for arbeidet ditt, "
"kan du prøve å endre biletet til RGB-modus (Bilete-&gt;Modus-&gt;RGB), legge "
"til ein alfakanal (Lag-&gt;Gjennomsikt-&gt;Legg til alfakanal) eller flate "
"ut biletet (Bilete-&gt;Flat ut biletet)."
#: ../data/tips/gimp-tips.xml.in.h:18
#: ../data/tips/gimp-tips.xml.in.h:16
msgid ""
"Pressing and holding the <tt>Shift</tt> key before making a selection allows "
"you to add to the current selection instead of replacing it. Using <tt>Ctrl</"
"tt> before making a selection subtracts from the current one."
msgstr ""
"Hald nede <tt>Shift</tt>-tasten medan du lager eit utval dersom du ønskjer "
"at utvalet skal bli lagt til det eksisterande utvalet i staden for å "
"erstatte det. Bruker du i staden <tt>Ctrl</tt>-tasten, vil det nye utvalet "
"bli trekt i frå det eksisterande."
#: ../data/tips/gimp-tips.xml.in.h:19
msgid ""
"To create a circle-shaped selection, hold <tt>Shift</tt> while doing an "
"ellipse select. To place a circle precisely, drag horizontal and vertical "
"guides tangent to the circle you want to select, place your cursor at the "
"intersection of the guides, and the resulting selection will just touch the "
"guides."
msgstr ""
#: ../data/tips/gimp-tips.xml.in.h:20
#: ../data/tips/gimp-tips.xml.in.h:17
msgid ""
"When you save an image to work on it again later, try using XCF, GIMP's "
"native file format (use the file extension <tt>.xcf</tt>). This preserves "
"the layers and every aspect of your work-in-progress. Once a project is "
"completed, you can save it as JPEG, PNG, GIF, ..."
msgstr ""
"Når du lagrar eit bilete som er under arbeid, bruk helst GIMP sitt eige "
"filformat XCF, (filendinga <tt>.xcf</tt>). Då vil det aller meste av det du "
"har gjort også bli lagra. Dermed er det enklare å fortsette arbeidet "
"seinare. Når prosjektet er ferdig, kan du lagra det som JPEG, PNG, GIF el.l."
#: ../data/tips/gimp-tips.xml.in.h:21
#: ../data/tips/gimp-tips.xml.in.h:18
msgid ""
"You can adjust or move a selection by using <tt>Alt</tt>-drag. If this makes "
"the window move, your window manager uses the <tt>Alt</tt> key already. Most "
"window managers can be configured to ignore the <tt>Alt</tt> key or to use "
"the <tt>Super</tt> key (or \"Windows logo\") instead."
msgstr ""
"Du kan flytte eit utval utan å flytte innhaldet ved å halde nede <tt>Alt</"
"tt>-tasten samstundes som du flytter utvalet. Dersom dette flytter dette "
"heile biletet betyr det at denne tasten er i bruk av vindaugehandteraren i "
"maskinen din. I noen tilfelle kan du setje opp handteraren til å ignorere "
"<tt>Alt</tt>-tasten, eller du kan kanskje bruke <tt>Super</tt>-tasten eller "
"\"Windows logoen\" i staden."
#: ../data/tips/gimp-tips.xml.in.h:22
#: ../data/tips/gimp-tips.xml.in.h:19
msgid ""
"You can create and edit complex selections using the Path tool. The Paths "
"dialog allows you to work on multiple paths and to convert them to "
"selections."
msgstr ""
"Du kan opprette og redigere komplekse utval ved hjelp av baneverktøyet. Bruk "
"banedialogen for å redigere banane og å omforme dei til utval."
#: ../data/tips/gimp-tips.xml.in.h:23
#: ../data/tips/gimp-tips.xml.in.h:20
msgid ""
"You can drag a layer from the Layers dialog and drop it onto the toolbox. "
"This will create a new image containing only that layer."
msgstr ""
"Du kan dra eit lag ut frå lagdialogen og sleppe det i verktøykassa. Dette "
"vil lage eit nytt bilete som bare inneheld dette eine biletlaget."
#: ../data/tips/gimp-tips.xml.in.h:24
#: ../data/tips/gimp-tips.xml.in.h:21
msgid ""
"You can drag and drop many things in GIMP. For example, dragging a color "
"from the toolbox or from a color palette and dropping it into an image will "
"fill the current selection with that color."
msgstr ""
"Du kan dra og sleppe mange ting i GIMP. For eksempel kan du dra ein farge "
"frå verktøykassa eller frå ein fargepalett og sleppe han i biletet. Biletet "
"eller utvalet vil då bli fylt med den valde fargen."
#: ../data/tips/gimp-tips.xml.in.h:25
#: ../data/tips/gimp-tips.xml.in.h:22
msgid ""
"You can draw simple squares or circles using Edit→Stroke Selection. It "
"strokes the edge of your current selection. More complex shapes can be drawn "
"using the Path tool or with Filters→Render→Gfig."
msgstr ""
"Du kan teikne firkantar og sirklar ved å først lage eit utval i ønskt form "
"ved hjelp av utvalsverktøya og deretter bruke kommandoen Rediger→Strek opp "
"utvalet for å lage ein strek rundt utvalet. Har du behov for meir avanserte "
"teikningar, er det enklare å bruke baneverktøyet eller "
"Filter→Teikningar→Gfig-teikning."
#: ../data/tips/gimp-tips.xml.in.h:26
#: ../data/tips/gimp-tips.xml.in.h:23
msgid ""
"You can get context-sensitive help for most of GIMP's features by pressing "
"the F1 key at any time. This also works inside the menus."
msgstr ""
"Du kan få aktiv hjelp (kontekst hjelp) for det meste i GIMP ved å halde "
"musepeikaren over aktuelt område og trykke F1-tasten."
#: ../data/tips/gimp-tips.xml.in.h:27
#: ../data/tips/gimp-tips.xml.in.h:24
msgid ""
"You can perform many layer operations by right-clicking on the text label of "
"a layer in the Layers dialog."
msgstr ""
"Du får tilgang til mange av lagoperasjonane ved å høgreklikka på tekstfeltet "
"for eit lag i lagdialogen."
#: ../data/tips/gimp-tips.xml.in.h:28
#: ../data/tips/gimp-tips.xml.in.h:25
msgid ""
"You can save a selection to a channel (Select→Save to Channel) and then "
"modify this channel with any paint tools. Using the buttons in the Channels "
"dialog, you can toggle the visibility of this new channel or convert it to a "
"selection."
msgstr ""
"Du kan lagre eit utval til ein kanal (Vel→Lagra til kanal) og deretter gjere "
"endringar på kanalen med teikneverktøya. Bruk knappane i kanaldialogen for å "
"gjere den nye kanalen synleg eller usynleg, eller omforme kanalen til eit "
"utval igjen."
#: ../data/tips/gimp-tips.xml.in.h:29
#: ../data/tips/gimp-tips.xml.in.h:26
msgid ""
"You can use <tt>Ctrl</tt>-<tt>Tab</tt> to cycle through all layers in an "
"image (if your window manager doesn't trap those keys...)."
msgstr ""
"Du kan bruke <tt>Ctrl</tt> + <tt>Tab</tt> for å bla deg gjennom alle laga i "
"eit bilete (dersom ikkje vindaugehandteraren i maskinen din har lagt beslag "
"på desse tastane)."
#: ../data/tips/gimp-tips.xml.in.h:30
#: ../data/tips/gimp-tips.xml.in.h:27
msgid ""
"You can use the middle mouse button to pan around the image (or optionally "
"hold <tt>Spacebar</tt> while you move the mouse)."
msgstr ""
"Dersom biletet er større enn biletvindauget, kan du flytte biletet opp og "
"ned ved hjelp av den midtre museknappen eller musehjulet, eller du kan halde "
"nede &quot;mellomromtasten&quot; medan du fører musepeikaren opp og ned i "
"biletet."
#: ../data/tips/gimp-tips.xml.in.h:31
#: ../data/tips/gimp-tips.xml.in.h:28
msgid ""
"You can use the paint tools to change the selection. Click on the &quot;"
"Quick Mask&quot; button at the bottom left of an image window. Change your "
"selection by painting in the image and click on the button again to convert "
"it back to a normal selection."
msgstr ""
"Du kan bruke teikneverktøya for å endre eit utval. Klikk på knappen &quot;"
"Snarmaske&quot; nedst i biletvindauget. Forandra utvalet ved å teikne på det "
"med eit av teikneverktøya og trykk &quot;Snarmaske&quot; ein gong til for å "
"få biletet tilbake til normalvisinga igjen."
#~ msgid "<big>Welcome to the GNU Image Manipulation Program!</big>"
#~ msgstr "<big>Velkommen til GIMP!</big>"
#~ msgid ""
#~ "GIMP allows you to undo most changes to the image, so feel free to "
#~ "experiment."
#~ msgstr ""
#~ "I GIMP kan du angre det meste av det du gjer, så du kan trygt "
#~ "eksperimentera."
#~ msgid ""
#~ "To create a circle-shaped selection, hold <tt>Shift</tt> while doing an "
#~ "ellipse select. To place a circle precisely, drag horizontal and vertical "
#~ "guides tangent to the circle you want to select, place your cursor at the "
#~ "intersection of the guides, and the resulting selection will just touch "
#~ "the guides."
#~ msgstr ""
#~ "For å lage ein sirkel, hald nede <tt>Shift</tt>-tasten medan du lagar eit "
#~ "ellipseutval. For nøyaktig plassering av sirkelen, kan du legge inn ei "
#~ "horisontal og ei vertikal hjelpelinje som tangentar til sirkelen. Plasser "
#~ "markøren i krysset mellom hjelpelinjene og dra ut sirkelen."

View File

@ -1,3 +1,15 @@
2008-07-17 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es.po: Updated Spanish translation by Francisco Vila
2008-07-17 Daniel Nylander <po@danielnylander.se>
* sv.po: Updated Swedish translation.
2008-07-17 Žygimantas Beručka <zygis@gnome.org>
* lt.po: Updated Lithuanian translation.
2008-07-12 Daniel Nylander <po@danielnylander.se>
* sv.po: Updated Swedish translation.

4288
po/es.po

File diff suppressed because it is too large Load Diff

4338
po/lt.po

File diff suppressed because it is too large Load Diff

View File

@ -9,8 +9,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gimp\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-07-12 12:10+0200\n"
"PO-Revision-Date: 2008-07-12 13:26+0100\n"
"POT-Creation-Date: 2008-07-17 21:22+0200\n"
"PO-Revision-Date: 2008-07-17 21:22+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
"MIME-Version: 1.0\n"
@ -3352,7 +3352,7 @@ msgid "Toggle _Quick Mask"
msgstr "Visa _snabbmask"
#: ../app/actions/quick-mask-actions.c:54
#: ../app/display/gimpdisplayshell.c:1099
#: ../app/display/gimpdisplayshell.c:1101
msgid "Toggle Quick Mask"
msgstr "Visa snabbmask"
@ -6666,7 +6666,7 @@ msgstr "bildpunkt"
#: ../app/tools/gimpmeasuretool.c:1017
#: ../app/tools/gimpmeasuretool.c:1073
#: ../app/tools/gimpmeasuretool.c:1101
#: ../app/tools/gimppainttool.c:610
#: ../app/tools/gimppainttool.c:603
msgid "pixels"
msgstr "bildpunkter"
@ -8232,20 +8232,20 @@ msgstr "Hög"
msgid "Image saved to '%s'"
msgstr "Bilden sparades till \"%s\""
#: ../app/display/gimpdisplayshell.c:960
#: ../app/display/gimpdisplayshell.c:962
msgid "Access the image menu"
msgstr "Kom åt bildmenyn"
#: ../app/display/gimpdisplayshell.c:1070
#: ../app/display/gimpdisplayshell.c:1072
msgid "Zoom image when window size changes"
msgstr "Zooma bild när fönsterstorlek ändras"
#: ../app/display/gimpdisplayshell.c:1120
#: ../app/display/gimpdisplayshell.c:1122
msgid "Navigate the image display"
msgstr "Navigera i bildvisningen"
#: ../app/display/gimpdisplayshell.c:1207
#: ../app/display/gimpdisplayshell.c:1301
#: ../app/display/gimpdisplayshell.c:1209
#: ../app/display/gimpdisplayshell.c:1303
#: ../app/widgets/gimptoolbox.c:216
msgid "Drop image files here to open them"
msgstr "Släpp bildfiler här för att öppna dem"
@ -8319,19 +8319,19 @@ msgstr "Konfigurera färgvisningsfilter"
msgid "Layer Select"
msgstr "Lagerval"
#: ../app/display/gimpdisplayshell-scale.c:695
#: ../app/display/gimpdisplayshell-scale.c:772
msgid "Zoom Ratio"
msgstr "Zoomfaktor"
#: ../app/display/gimpdisplayshell-scale.c:697
#: ../app/display/gimpdisplayshell-scale.c:774
msgid "Select Zoom Ratio"
msgstr "Välj zoomfaktor:"
#: ../app/display/gimpdisplayshell-scale.c:740
#: ../app/display/gimpdisplayshell-scale.c:817
msgid "Zoom ratio:"
msgstr "Zoomfaktor:"
#: ../app/display/gimpdisplayshell-scale.c:765
#: ../app/display/gimpdisplayshell-scale.c:842
msgid "Zoom:"
msgstr "Zooma:"
@ -9165,7 +9165,7 @@ msgid "Blend does not operate on indexed layers."
msgstr "Toning fungerar inte på indexerade lager."
#: ../app/tools/gimpblendtool.c:399
#: ../app/tools/gimppainttool.c:601
#: ../app/tools/gimppainttool.c:594
#, c-format
msgid "%s for constrained angles"
msgstr "%s för begränsade vinklar"
@ -9402,7 +9402,7 @@ msgid "Import Colorize Settings"
msgstr "Importera färgläggningsinställningar"
#: ../app/tools/gimpcolorizetool.c:112
msgid "Export Colorsize Settings"
msgid "Export Colorize Settings"
msgstr "Exportera färgläggningsinställningar"
#: ../app/tools/gimpcolorizetool.c:156
@ -9469,12 +9469,12 @@ msgid "Click in any image to view its color"
msgstr "Klicka i en bild för att visa dess färg"
#: ../app/tools/gimpcolorpickertool.c:249
#: ../app/tools/gimppainttool.c:504
#: ../app/tools/gimppainttool.c:497
msgid "Click in any image to pick the foreground color"
msgstr "Klicka i en bild för att välja förgrundsfärgen"
#: ../app/tools/gimpcolorpickertool.c:257
#: ../app/tools/gimppainttool.c:510
#: ../app/tools/gimppainttool.c:503
msgid "Click in any image to pick the background color"
msgstr "Klicka i en bild för att välja bakgrundsfärgen"
@ -10423,7 +10423,7 @@ msgstr "Klicka för att rita linjen"
msgid "%s to pick a color"
msgstr "%s för att välja en färg"
#: ../app/tools/gimppainttool.c:657
#: ../app/tools/gimppainttool.c:650
#, c-format
msgid "%s for a straight line"
msgstr "%s för en rak linje"

View File

@ -485,6 +485,14 @@ gimp_param_spec_string_array ("$name",
"$nick",
"$blurb",
$flags)
CODE
}
elsif ($pdbtype eq 'colorarray') {
$pspec = <<CODE;
gimp_param_spec_color_array ("$name",
"$nick",
"$blurb",
$flags)
CODE
}
else {

View File

@ -265,9 +265,9 @@ package Gimp::CodeGen::enums;
GIMP_PDB_COLOR GIMP_PDB_REGION GIMP_PDB_DISPLAY
GIMP_PDB_IMAGE GIMP_PDB_LAYER GIMP_PDB_CHANNEL
GIMP_PDB_DRAWABLE GIMP_PDB_SELECTION
GIMP_PDB_BOUNDARY GIMP_PDB_VECTORS
GIMP_PDB_COLORARRAY GIMP_PDB_VECTORS
GIMP_PDB_PARASITE GIMP_PDB_STATUS GIMP_PDB_END
GIMP_PDB_PATH) ],
GIMP_PDB_PATH GIMP_PDB_BOUNDARY) ],
mapping => { GIMP_PDB_INT32 => '0',
GIMP_PDB_INT16 => '1',
GIMP_PDB_INT8 => '2',
@ -286,12 +286,13 @@ package Gimp::CodeGen::enums;
GIMP_PDB_CHANNEL => '15',
GIMP_PDB_DRAWABLE => '16',
GIMP_PDB_SELECTION => '17',
GIMP_PDB_BOUNDARY => '18',
GIMP_PDB_COLORARRAY => '18',
GIMP_PDB_VECTORS => '19',
GIMP_PDB_PARASITE => '20',
GIMP_PDB_STATUS => '21',
GIMP_PDB_END => '22',
GIMP_PDB_PATH => 'GIMP_PDB_VECTORS' }
GIMP_PDB_PATH => 'GIMP_PDB_VECTORS',
GIMP_PDB_BOUNDARY => 'GIMP_PDB_COLORARRAY' }
},
GimpPDBProcType =>
{ contig => 1,

View File

@ -85,6 +85,13 @@ package Gimp::CodeGen::pdb;
init_value => 'NULL',
get_value_func => '$var = gimp_value_get_stringarray ($value)',
set_value_func => 'gimp_value_take_stringarray ($value, $var, $var_len)' },
colorarray => { name => 'COLORARRAY',
type => 'GimpRGB *',
const_type => 'const GimpRGB *',
array => 1,
init_value => 'NULL',
get_value_func => '$var = gimp_value_get_colorarray ($value)',
set_value_func => 'gimp_value_take_colorarray ($value, $var, $var_len)' },
color => { name => 'COLOR' ,
type => 'GimpRGB ',

View File

@ -23,10 +23,12 @@ sub edit_cut {
$help = <<'HELP';
If there is a selection in the image, then the area specified by the
selection is cut from the specified drawable and placed in an internal
GIMP edit buffer. It can subsequently be retrieved using the
GIMP edit buffer. It can subsequently be retrieved using the
gimp_edit_paste() command. If there is no selection, then the
specified drawable will be removed and its contents stored in the
internal GIMP edit buffer.
internal GIMP edit buffer. This procedure will fail if the selected area
lies completely outside the bounds of the current drawable and there is
nothing to copy from.
HELP
&std_pdb_misc;
@ -38,8 +40,8 @@ HELP
@outargs = (
{ name => 'non_empty', type => 'boolean',
desc => 'TRUE if the cut was successful, FALSE if the
selection contained only transparent pixels' }
desc => 'TRUE if the cut was successful,
FALSE if there was nothing to copy from' }
);
%invoke = (
@ -75,7 +77,9 @@ selection is copied from the specified drawable and placed in an
internal GIMP edit buffer. It can subsequently be retrieved using the
gimp_edit_paste() command. If there is no selection, then the
specified drawable's contents will be stored in the internal GIMP edit
buffer.
buffer. This procedure will fail if the selected area lies completely
outside the bounds of the current drawable and there is nothing to
copy from.
HELP
&std_pdb_misc;
@ -87,8 +91,8 @@ HELP
@outargs = (
{ name => 'non_empty', type => 'boolean',
desc => 'TRUE if the copy was successful, FALSE if the
selection contained only transparent pixels' }
desc => 'TRUE if the cut was successful,
FALSE if there was nothing to copy from' }
);
%invoke = (
@ -135,8 +139,7 @@ HELP
@outargs = (
{ name => 'non_empty', type => 'boolean',
desc => 'TRUE if the copy was successful, FALSE if the
selection contained only transparent pixels' }
desc => 'TRUE if the copy was successful' }
);
%invoke = (
@ -266,7 +269,7 @@ HELP
@outargs = (
{ name => 'real_name', type => 'string',
desc => 'The real name given to the buffer, or NULL if the
selection contained only transparent pixels' }
cut failed' }
);
%invoke = (
@ -318,7 +321,7 @@ HELP
@outargs = (
{ name => 'real_name', type => 'string',
desc => 'The real name given to the buffer, or NULL if the
selection contained only transparent pixels' }
copy failed' }
);
%invoke = (
@ -372,7 +375,7 @@ HELP
@outargs = (
{ name => 'real_name', type => 'string',
desc => 'The real name given to the buffer, or NULL if the
selection contained only transparent pixels' }
copy failed' }
);
%invoke = (

View File

@ -212,6 +212,53 @@ CODE
);
}
sub palette_get_colors {
$blurb = 'Gets all colors from the specified palette.';
$help = <<'HELP';
This procedure retrieves all color entries of the specified palette.
HELP
&neo_pdb_misc('2006', '2.6');
@inargs = (
{ name => 'name', type => 'string', non_empty => 1,
desc => 'The palette name' }
);
@outargs = (
{ name => 'colors', type => 'colorarray',
desc => 'The colors in the palette',
array => { name => 'num_colors',
desc => 'Length of the colors array' } }
);
%invoke = (
vars => [ 'GimpPalette *palette = NULL' ],
code => <<'CODE'
{
GimpPalette *palette = gimp_pdb_get_palette (gimp, name, FALSE, error);
if (palette)
{
GList *list = palette->colors;
gint i;
num_colors = palette->n_colors;
colors = g_new (GimpRGB, num_colors);
for (i = 0; i < num_colors; i++, list = g_list_next (list))
colors[i] = ((GimpPaletteEntry *)(list->data))->color;
}
else
{
success = FALSE;
}
}
CODE
);
}
sub palette_get_columns {
$blurb = "Retrieves the number of columns to use to display this palette";
$help = <<'HELP';
@ -551,7 +598,7 @@ CODE
palette_rename
palette_delete
palette_is_editable
palette_get_info
palette_get_info palette_get_colors
palette_get_columns palette_set_columns
palette_add_entry palette_delete_entry
palette_entry_get_color palette_entry_set_color