Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
399e35b6
Commit
399e35b6
authored
Nov 22, 1999
by
Sven Neumann
Browse files
i18n stuff
--Sven
parent
eb7d3013
Changes
37
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
399e35b6
Mon
Nov
22
23
:
29
:
16
MET
1999
Sven
Neumann
<
sven
@
gimp
.
org
>
*
app
/
airbrush
.
c
*
app
/
devices
.
c
*
app
/
menus
.
c
*
app
/
module_db
.
c
*
app
/
paint_core
.
c
*
app
/
preferences_dialog
.
c
*
app
/
tools
.
c
*
po
-
plug
-
ins
/
POTFILES
.
in
*
plug
-
ins
/
helpbrowser
/
helpbrowser
.
c
*
plug
-
ins
/
gap
/
gap_range_ops
.
c
*
plug
-
ins
/
common
/
rotate
.
c
*
plug
-
ins
/
common
/
screenshot
.
c
*
libgimp
/
gimpenv
.
c
*
libgimp
/
gimpunitmenu
.
c
:
internationalization
stuff
:
Fixed
a
few
typos
,
internationalized
some
plug
-
ins
,
removed
the
_
()
from
a
few
strings
that
are
only
debugging
messages
.
And
the
rotate
plug
-
ins
are
now
put
into
a
sane
order
in
the
menus
.
Mon
Nov
22
13
:
18
:
40
GMT
1999
Adam
D
.
Moss
<
adam
@
gimp
.
org
>
*
app
/
channel_ops
.
c
:
Disabled
the
copy
-
on
-
write
for
gimage
...
...
app/airbrush.c
View file @
399e35b6
...
...
@@ -201,7 +201,7 @@ airbrush_paint_func (PaintCore *paint_core,
/* timer_state = OFF; */
if
(
timer_state
==
ON
)
{
g_warning
(
_
(
"killing stray timer, please report to lewing@gimp.org"
)
)
;
g_warning
(
"killing stray timer, please report to lewing@gimp.org"
);
gtk_timeout_remove
(
timer
);
}
timer_state
=
OFF
;
...
...
app/devices.c
View file @
399e35b6
...
...
@@ -439,8 +439,8 @@ devices_rc_update (gchar *name,
}
else
{
g_warning
(
_
(
"devices_rc_update called multiple times "
"for not present device
\n
"
)
)
;
g_warning
(
"devices_rc_update called multiple times "
"for not present device
\n
"
);
return
;
}
}
...
...
app/dialogs/module-dialog.c
View file @
399e35b6
...
...
@@ -607,10 +607,10 @@ mod_load (module_info *mod,
if
(
mod
->
last_module_error
)
g_free
(
mod
->
last_module_error
);
mod
->
last_module_error
=
g_strdup
(
_
(
"missing module_init() symbol"
)
)
;
mod
->
last_module_error
=
g_strdup
(
"missing module_init() symbol"
);
if
(
verbose
)
g_warning
(
_
(
"%s: module_init() symbol not found"
)
,
mod
->
fullpath
);
g_warning
(
"%s: module_init() symbol not found"
,
mod
->
fullpath
);
g_module_close
(
mod
->
module
);
mod
->
module
=
NULL
;
...
...
app/dialogs/preferences-dialog.c
View file @
399e35b6
...
...
@@ -250,7 +250,7 @@ file_prefs_ok_callback (GtkWidget *widget,
if
(
default_xresolution
<
GIMP_MIN_RESOLUTION
||
default_yresolution
<
GIMP_MIN_RESOLUTION
)
{
g_message
(
_
(
"Error:
d
efault resolution must not be zero."
));
g_message
(
_
(
"Error:
D
efault resolution must not be zero."
));
default_xresolution
=
old_default_xresolution
;
default_yresolution
=
old_default_yresolution
;
return
;
...
...
app/gui/device-status-dialog.c
View file @
399e35b6
...
...
@@ -439,8 +439,8 @@ devices_rc_update (gchar *name,
}
else
{
g_warning
(
_
(
"devices_rc_update called multiple times "
"for not present device
\n
"
)
)
;
g_warning
(
"devices_rc_update called multiple times "
"for not present device
\n
"
);
return
;
}
}
...
...
app/gui/input-dialog.c
View file @
399e35b6
...
...
@@ -439,8 +439,8 @@ devices_rc_update (gchar *name,
}
else
{
g_warning
(
_
(
"devices_rc_update called multiple times "
"for not present device
\n
"
)
)
;
g_warning
(
"devices_rc_update called multiple times "
"for not present device
\n
"
);
return
;
}
}
...
...
app/gui/menus.c
View file @
399e35b6
...
...
@@ -934,9 +934,16 @@ menus_reorder_plugins (void)
static
gint
n_xtns_plugins
=
(
sizeof
(
xtns_plugins
)
/
sizeof
(
xtns_plugins
[
0
]));
static
gchar
*
rotate_plugins
[]
=
{
"90 degrees"
,
"180 degrees"
,
"270 degrees"
};
static
gint
n_rotate_plugins
=
(
sizeof
(
rotate_plugins
)
/
sizeof
(
rotate_plugins
[
0
]));
GtkWidget
*
menu
;
GtkWidget
*
menu_item
;
GList
*
list
;
gchar
*
path
;
gint
i
,
pos
;
/* Beautify <Toolbox>/Xtns */
...
...
@@ -973,6 +980,32 @@ menus_reorder_plugins (void)
if
(
menu_item
->
submenu
)
menus_filters_subdirs_to_top
(
GTK_MENU
(
menu_item
->
submenu
));
}
/* Reorder Rotate plugin menu entries */
pos
=
2
;
for
(
i
=
0
;
i
<
n_rotate_plugins
;
i
++
)
{
path
=
g_strconcat
(
"/Image/Transforms/Rotate/"
,
rotate_plugins
[
i
],
NULL
);
menu_item
=
gtk_item_factory_get_widget
(
image_factory
,
path
);
if
(
menu_item
&&
menu_item
->
parent
)
{
gtk_menu_reorder_child
(
GTK_MENU
(
menu_item
->
parent
),
menu_item
,
pos
);
pos
++
;
}
g_free
(
path
);
}
pos
=
2
;
for
(
i
=
0
;
i
<
n_rotate_plugins
;
i
++
)
{
path
=
g_strconcat
(
"/Layers/Rotate/"
,
rotate_plugins
[
i
],
NULL
);
menu_item
=
gtk_item_factory_get_widget
(
image_factory
,
path
);
if
(
menu_item
&&
menu_item
->
parent
)
{
gtk_menu_reorder_child
(
GTK_MENU
(
menu_item
->
parent
),
menu_item
,
pos
);
pos
++
;
}
g_free
(
path
);
}
}
static
void
...
...
@@ -1567,7 +1600,7 @@ tearoff_cmd_callback (GtkWidget *widget,
/* This should be a window */
if
(
!
GTK_IS_WINDOW
(
top
))
{
g_message
(
_
(
"tearoff menu not in top level window"
)
)
;
g_message
(
"tearoff menu not in top level window"
);
}
else
{
...
...
@@ -1590,7 +1623,7 @@ tearoff_cmd_callback (GtkWidget *widget,
if
(
!
top
)
{
g_message
(
_
(
"can't unregister tearoff menu top level window"
)
)
;
g_message
(
"can't unregister tearoff menu top level window"
);
}
else
{
...
...
app/gui/module-browser.c
View file @
399e35b6
...
...
@@ -607,10 +607,10 @@ mod_load (module_info *mod,
if
(
mod
->
last_module_error
)
g_free
(
mod
->
last_module_error
);
mod
->
last_module_error
=
g_strdup
(
_
(
"missing module_init() symbol"
)
)
;
mod
->
last_module_error
=
g_strdup
(
"missing module_init() symbol"
);
if
(
verbose
)
g_warning
(
_
(
"%s: module_init() symbol not found"
)
,
mod
->
fullpath
);
g_warning
(
"%s: module_init() symbol not found"
,
mod
->
fullpath
);
g_module_close
(
mod
->
module
);
mod
->
module
=
NULL
;
...
...
app/gui/preferences-dialog.c
View file @
399e35b6
...
...
@@ -250,7 +250,7 @@ file_prefs_ok_callback (GtkWidget *widget,
if
(
default_xresolution
<
GIMP_MIN_RESOLUTION
||
default_yresolution
<
GIMP_MIN_RESOLUTION
)
{
g_message
(
_
(
"Error:
d
efault resolution must not be zero."
));
g_message
(
_
(
"Error:
D
efault resolution must not be zero."
));
default_xresolution
=
old_default_xresolution
;
default_yresolution
=
old_default_yresolution
;
return
;
...
...
app/menus.c
View file @
399e35b6
...
...
@@ -934,9 +934,16 @@ menus_reorder_plugins (void)
static
gint
n_xtns_plugins
=
(
sizeof
(
xtns_plugins
)
/
sizeof
(
xtns_plugins
[
0
]));
static
gchar
*
rotate_plugins
[]
=
{
"90 degrees"
,
"180 degrees"
,
"270 degrees"
};
static
gint
n_rotate_plugins
=
(
sizeof
(
rotate_plugins
)
/
sizeof
(
rotate_plugins
[
0
]));
GtkWidget
*
menu
;
GtkWidget
*
menu_item
;
GList
*
list
;
gchar
*
path
;
gint
i
,
pos
;
/* Beautify <Toolbox>/Xtns */
...
...
@@ -973,6 +980,32 @@ menus_reorder_plugins (void)
if
(
menu_item
->
submenu
)
menus_filters_subdirs_to_top
(
GTK_MENU
(
menu_item
->
submenu
));
}
/* Reorder Rotate plugin menu entries */
pos
=
2
;
for
(
i
=
0
;
i
<
n_rotate_plugins
;
i
++
)
{
path
=
g_strconcat
(
"/Image/Transforms/Rotate/"
,
rotate_plugins
[
i
],
NULL
);
menu_item
=
gtk_item_factory_get_widget
(
image_factory
,
path
);
if
(
menu_item
&&
menu_item
->
parent
)
{
gtk_menu_reorder_child
(
GTK_MENU
(
menu_item
->
parent
),
menu_item
,
pos
);
pos
++
;
}
g_free
(
path
);
}
pos
=
2
;
for
(
i
=
0
;
i
<
n_rotate_plugins
;
i
++
)
{
path
=
g_strconcat
(
"/Layers/Rotate/"
,
rotate_plugins
[
i
],
NULL
);
menu_item
=
gtk_item_factory_get_widget
(
image_factory
,
path
);
if
(
menu_item
&&
menu_item
->
parent
)
{
gtk_menu_reorder_child
(
GTK_MENU
(
menu_item
->
parent
),
menu_item
,
pos
);
pos
++
;
}
g_free
(
path
);
}
}
static
void
...
...
@@ -1567,7 +1600,7 @@ tearoff_cmd_callback (GtkWidget *widget,
/* This should be a window */
if
(
!
GTK_IS_WINDOW
(
top
))
{
g_message
(
_
(
"tearoff menu not in top level window"
)
)
;
g_message
(
"tearoff menu not in top level window"
);
}
else
{
...
...
@@ -1590,7 +1623,7 @@ tearoff_cmd_callback (GtkWidget *widget,
if
(
!
top
)
{
g_message
(
_
(
"can't unregister tearoff menu top level window"
)
)
;
g_message
(
"can't unregister tearoff menu top level window"
);
}
else
{
...
...
app/menus/menus.c
View file @
399e35b6
...
...
@@ -934,9 +934,16 @@ menus_reorder_plugins (void)
static
gint
n_xtns_plugins
=
(
sizeof
(
xtns_plugins
)
/
sizeof
(
xtns_plugins
[
0
]));
static
gchar
*
rotate_plugins
[]
=
{
"90 degrees"
,
"180 degrees"
,
"270 degrees"
};
static
gint
n_rotate_plugins
=
(
sizeof
(
rotate_plugins
)
/
sizeof
(
rotate_plugins
[
0
]));
GtkWidget
*
menu
;
GtkWidget
*
menu_item
;
GList
*
list
;
gchar
*
path
;
gint
i
,
pos
;
/* Beautify <Toolbox>/Xtns */
...
...
@@ -973,6 +980,32 @@ menus_reorder_plugins (void)
if
(
menu_item
->
submenu
)
menus_filters_subdirs_to_top
(
GTK_MENU
(
menu_item
->
submenu
));
}
/* Reorder Rotate plugin menu entries */
pos
=
2
;
for
(
i
=
0
;
i
<
n_rotate_plugins
;
i
++
)
{
path
=
g_strconcat
(
"/Image/Transforms/Rotate/"
,
rotate_plugins
[
i
],
NULL
);
menu_item
=
gtk_item_factory_get_widget
(
image_factory
,
path
);
if
(
menu_item
&&
menu_item
->
parent
)
{
gtk_menu_reorder_child
(
GTK_MENU
(
menu_item
->
parent
),
menu_item
,
pos
);
pos
++
;
}
g_free
(
path
);
}
pos
=
2
;
for
(
i
=
0
;
i
<
n_rotate_plugins
;
i
++
)
{
path
=
g_strconcat
(
"/Layers/Rotate/"
,
rotate_plugins
[
i
],
NULL
);
menu_item
=
gtk_item_factory_get_widget
(
image_factory
,
path
);
if
(
menu_item
&&
menu_item
->
parent
)
{
gtk_menu_reorder_child
(
GTK_MENU
(
menu_item
->
parent
),
menu_item
,
pos
);
pos
++
;
}
g_free
(
path
);
}
}
static
void
...
...
@@ -1567,7 +1600,7 @@ tearoff_cmd_callback (GtkWidget *widget,
/* This should be a window */
if
(
!
GTK_IS_WINDOW
(
top
))
{
g_message
(
_
(
"tearoff menu not in top level window"
)
)
;
g_message
(
"tearoff menu not in top level window"
);
}
else
{
...
...
@@ -1590,7 +1623,7 @@ tearoff_cmd_callback (GtkWidget *widget,
if
(
!
top
)
{
g_message
(
_
(
"can't unregister tearoff menu top level window"
)
)
;
g_message
(
"can't unregister tearoff menu top level window"
);
}
else
{
...
...
app/module_db.c
View file @
399e35b6
...
...
@@ -607,10 +607,10 @@ mod_load (module_info *mod,
if
(
mod
->
last_module_error
)
g_free
(
mod
->
last_module_error
);
mod
->
last_module_error
=
g_strdup
(
_
(
"missing module_init() symbol"
)
)
;
mod
->
last_module_error
=
g_strdup
(
"missing module_init() symbol"
);
if
(
verbose
)
g_warning
(
_
(
"%s: module_init() symbol not found"
)
,
mod
->
fullpath
);
g_warning
(
"%s: module_init() symbol not found"
,
mod
->
fullpath
);
g_module_close
(
mod
->
module
);
mod
->
module
=
NULL
;
...
...
app/paint/gimpairbrush.c
View file @
399e35b6
...
...
@@ -201,7 +201,7 @@ airbrush_paint_func (PaintCore *paint_core,
/* timer_state = OFF; */
if
(
timer_state
==
ON
)
{
g_warning
(
_
(
"killing stray timer, please report to lewing@gimp.org"
)
)
;
g_warning
(
"killing stray timer, please report to lewing@gimp.org"
);
gtk_timeout_remove
(
timer
);
}
timer_state
=
OFF
;
...
...
app/paint_core.c
View file @
399e35b6
...
...
@@ -1766,7 +1766,7 @@ set_undo_tiles (GimpDrawable *drawable,
if
(
undo_tiles
==
NULL
)
{
g_warning
(
_
(
"set_undo_tiles: undo_tiles is null"
)
)
;
g_warning
(
"set_undo_tiles: undo_tiles is null"
);
return
;
}
...
...
app/preferences_dialog.c
View file @
399e35b6
...
...
@@ -250,7 +250,7 @@ file_prefs_ok_callback (GtkWidget *widget,
if
(
default_xresolution
<
GIMP_MIN_RESOLUTION
||
default_yresolution
<
GIMP_MIN_RESOLUTION
)
{
g_message
(
_
(
"Error:
d
efault resolution must not be zero."
));
g_message
(
_
(
"Error:
D
efault resolution must not be zero."
));
default_xresolution
=
old_default_xresolution
;
default_yresolution
=
old_default_yresolution
;
return
;
...
...
app/tools.c
View file @
399e35b6
...
...
@@ -735,7 +735,7 @@ ToolInfo tool_info[] =
N_
(
"/Image/Histogram..."
),
NULL
,
NULL
,
N_
(
"View image histo
r
gam"
),
N_
(
"View image histog
r
am"
),
"tools/histogram.html"
,
HISTOGRAM
,
tools_new_histogram_tool
,
...
...
app/tools/airbrush.c
View file @
399e35b6
...
...
@@ -201,7 +201,7 @@ airbrush_paint_func (PaintCore *paint_core,
/* timer_state = OFF; */
if
(
timer_state
==
ON
)
{
g_warning
(
_
(
"killing stray timer, please report to lewing@gimp.org"
)
)
;
g_warning
(
"killing stray timer, please report to lewing@gimp.org"
);
gtk_timeout_remove
(
timer
);
}
timer_state
=
OFF
;
...
...
app/tools/gimpairbrushtool.c
View file @
399e35b6
...
...
@@ -201,7 +201,7 @@ airbrush_paint_func (PaintCore *paint_core,
/* timer_state = OFF; */
if
(
timer_state
==
ON
)
{
g_warning
(
_
(
"killing stray timer, please report to lewing@gimp.org"
)
)
;
g_warning
(
"killing stray timer, please report to lewing@gimp.org"
);
gtk_timeout_remove
(
timer
);
}
timer_state
=
OFF
;
...
...
app/tools/paint_core.c
View file @
399e35b6
...
...
@@ -1766,7 +1766,7 @@ set_undo_tiles (GimpDrawable *drawable,
if
(
undo_tiles
==
NULL
)
{
g_warning
(
_
(
"set_undo_tiles: undo_tiles is null"
)
)
;
g_warning
(
"set_undo_tiles: undo_tiles is null"
);
return
;
}
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment