Commit 1fca86a6 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

set "layers-crop" insensitive if the selection is empty.

2004-10-12  Sven Neumann  <sven@gimp.org>

	* app/actions/layers-actions.c (layers_actions_update): set
	"layers-crop" insensitive if the selection is empty.

	* plug-ins/script-fu/scripts/alien-glow-button.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm: use "Sans
	Bold" instead of "Futura_Poster". The underscore in the font name
	used to confuse intltool (bug #137029) and the freefont package
	isn't that widely used any longer anyway.
parent 22a1384b
2004-10-12 Sven Neumann <sven@gimp.org>
* app/actions/layers-actions.c (layers_actions_update): set
"layers-crop" insensitive if the selection is empty.
* plug-ins/script-fu/scripts/alien-glow-button.scm
* plug-ins/script-fu/scripts/alien-glow-logo.scm
* plug-ins/script-fu/scripts/basic2-logo.scm
* plug-ins/script-fu/scripts/gradient-bevel-logo.scm: use "Sans
Bold" instead of "Futura_Poster". The underscore in the font name
used to confuse intltool (bug #137029) and the freefont package
isn't that widely used any longer anyway.
2004-10-12 Sven Neumann <sven@gimp.org>
* app/widgets/Makefile.am
......
......@@ -373,6 +373,7 @@ layers_actions_update (GimpActionGroup *group,
GimpLayerMask *mask = FALSE; /* layer mask */
gboolean fs = FALSE; /* floating sel */
gboolean ac = FALSE; /* active channel */
gboolean sel = FALSE;
gboolean alpha = FALSE; /* alpha channel present */
gboolean indexed = FALSE; /* is indexed */
gboolean preserve = FALSE;
......@@ -398,6 +399,7 @@ layers_actions_update (GimpActionGroup *group,
fs = (gimp_image_floating_sel (gimage) != NULL);
ac = (gimp_image_get_active_channel (gimage) != NULL);
sel = ! gimp_channel_is_empty (gimp_image_get_mask (gimage));
alpha = layer && gimp_drawable_has_alpha (GIMP_DRAWABLE (layer));
......@@ -458,6 +460,8 @@ layers_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("layers-resize-to-image", layer && !ac);
SET_SENSITIVE ("layers-scale", layer && !ac);
SET_SENSITIVE ("layers-crop", layer && sel);
SET_SENSITIVE ("layers-alpha-add", layer && !fs && !alpha);
SET_SENSITIVE ("layers-preserve-transparency", layer);
......
......@@ -144,7 +144,7 @@
"July 1997"
""
SF-STRING _"Text" "Hello world!"
SF-FONT _"Font" "Futura_Poster"
SF-FONT _"Font" "Sans Bold"
SF-ADJUSTMENT _"Font size (pixels)" '(22 2 100 1 1 0 1)
SF-COLOR _"Text color" '(0 0 0)
SF-COLOR _"Glow color" '(63 252 0)
......
......@@ -95,5 +95,5 @@
""
SF-STRING _"Text" "ALIEN"
SF-ADJUSTMENT _"Font size (pixels)" '(150 2 1000 1 10 0 1)
SF-FONT _"Font" "Futura_Poster"
SF-FONT _"Font" "Sans Bold"
SF-COLOR _"Glow color" '(63 252 0))
......@@ -102,6 +102,6 @@
""
SF-STRING _"Text" "SCRIPT-FU"
SF-ADJUSTMENT _"Font size (pixels)" '(150 2 1000 1 10 0 1)
SF-FONT _"Font" "Futura_Poster"
SF-FONT _"Font" "Sans Bold"
SF-COLOR _"Background color" '(255 255 255)
SF-COLOR _"Text color" '(206 6 50))
......@@ -127,7 +127,7 @@
""
SF-STRING _"Text" "Moo"
SF-ADJUSTMENT _"Font size (pixels)" '(90 2 1000 1 10 0 1)
SF-FONT _"Font" "Futura_Poster"
SF-FONT _"Font" "Sans Bold"
SF-ADJUSTMENT _"Bevel height (sharpness)" '(40 1 250 1 10 0 1)
SF-ADJUSTMENT _"Bevel width" '(2.5 1 200 1 10 1 1)
SF-COLOR _"Background color" '(255 255 255))
2004-10-12 Sven Neumann <sven@gimp.org>
* de.po: updated.
2004-10-11 Marco Ciampa <ciampix@libero.it>
* it.po: Updated italian translation.
......
......@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: GIMP 2.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-10-05 01:53+0200\n"
"PO-Revision-Date: 2004-10-01 16:46+0200\n"
"POT-Creation-Date: 2004-10-12 17:47+0200\n"
"PO-Revision-Date: 2004-10-12 17:50+0200\n"
"Last-Translator: Sven Neumann <sven@gimp.org>\n"
"Language-Team: German <gnome-de@gnome.org>\n"
"MIME-Version: 1.0\n"
......@@ -253,12 +253,12 @@ msgid "Default bumpmap settings"
msgstr "Standard Bumpmap Einstellungen"
#: plug-ins/script-fu/scripts/3d-outline.scm.h:5
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:6
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:5
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:4
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:3
#: plug-ins/script-fu/scripts/alien-neon-logo.scm.h:5
#: plug-ins/script-fu/scripts/asc2img.scm.h:8
#: plug-ins/script-fu/scripts/basic1-logo.scm.h:4
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:6
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:4
#: plug-ins/script-fu/scripts/beveled-button.scm.h:3
#: plug-ins/script-fu/scripts/beveled-pattern-button.scm.h:2
#: plug-ins/script-fu/scripts/beveled-pattern-heading.scm.h:2
......@@ -276,7 +276,7 @@ msgstr "Standard Bumpmap Einstellungen"
#: plug-ins/script-fu/scripts/gimp-labels.scm.h:6
#: plug-ins/script-fu/scripts/glossy.scm.h:8
#: plug-ins/script-fu/scripts/glowing-logo.scm.h:5
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:9
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:8
#: plug-ins/script-fu/scripts/i26-gunya2.scm.h:2
#: plug-ins/script-fu/scripts/neon-logo.scm.h:6
#: plug-ins/script-fu/scripts/news-text.scm.h:7
......@@ -294,11 +294,12 @@ msgid "Font"
msgstr "Schrift"
#: plug-ins/script-fu/scripts/3d-outline.scm.h:6
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:6
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:5
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:4
#: plug-ins/script-fu/scripts/alien-neon-logo.scm.h:6
#: plug-ins/script-fu/scripts/asc2img.scm.h:9
#: plug-ins/script-fu/scripts/basic1-logo.scm.h:5
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:7
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:5
#: plug-ins/script-fu/scripts/beveled-button.scm.h:4
#: plug-ins/script-fu/scripts/beveled-pattern-button.scm.h:3
#: plug-ins/script-fu/scripts/beveled-pattern-heading.scm.h:3
......@@ -316,7 +317,7 @@ msgstr "Schrift"
#: plug-ins/script-fu/scripts/gimp-labels.scm.h:7
#: plug-ins/script-fu/scripts/glossy.scm.h:9
#: plug-ins/script-fu/scripts/glowing-logo.scm.h:6
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:10
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:9
#: plug-ins/script-fu/scripts/i26-gunya2.scm.h:3
#: plug-ins/script-fu/scripts/neon-logo.scm.h:7
#: plug-ins/script-fu/scripts/news-text.scm.h:8
......@@ -364,11 +365,11 @@ msgid "Shadow blur radius"
msgstr "Schatten weichzeichnen (Radius)"
#: plug-ins/script-fu/scripts/3d-outline.scm.h:12
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:10
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:9
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:9
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:7
#: plug-ins/script-fu/scripts/alien-neon-logo.scm.h:9
#: plug-ins/script-fu/scripts/basic1-logo.scm.h:6
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:8
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:6
#: plug-ins/script-fu/scripts/beveled-button.scm.h:8
#: plug-ins/script-fu/scripts/beveled-pattern-button.scm.h:6
#: plug-ins/script-fu/scripts/beveled-pattern-heading.scm.h:5
......@@ -386,7 +387,7 @@ msgstr "Schatten weichzeichnen (Radius)"
#: plug-ins/script-fu/scripts/gimp-labels.scm.h:16
#: plug-ins/script-fu/scripts/glossy.scm.h:18
#: plug-ins/script-fu/scripts/glowing-logo.scm.h:7
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:11
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:10
#: plug-ins/script-fu/scripts/i26-gunya2.scm.h:6
#: plug-ins/script-fu/scripts/neon-logo.scm.h:9
#: plug-ins/script-fu/scripts/news-text.scm.h:9
......@@ -411,11 +412,11 @@ msgstr "<Toolbox>/Xtns/Skript-Fu/Muster/3_D-Truchet..."
#: plug-ins/script-fu/scripts/alien-glow-arrow.scm.h:2
#: plug-ins/script-fu/scripts/alien-glow-bar.scm.h:2
#: plug-ins/script-fu/scripts/alien-glow-bullet.scm.h:2
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:4
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:2
#: plug-ins/script-fu/scripts/alien-neon-logo.scm.h:3
#: plug-ins/script-fu/scripts/asc2img.scm.h:3
#: plug-ins/script-fu/scripts/basic1-logo.scm.h:3
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:5
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:3
#: plug-ins/script-fu/scripts/blended-logo.scm.h:3
#: plug-ins/script-fu/scripts/bovinated-logo.scm.h:4
#: plug-ins/script-fu/scripts/chalk.scm.h:3
......@@ -426,7 +427,7 @@ msgstr "<Toolbox>/Xtns/Skript-Fu/Muster/3_D-Truchet..."
#: plug-ins/script-fu/scripts/gimp-labels.scm.h:5
#: plug-ins/script-fu/scripts/glossy.scm.h:3
#: plug-ins/script-fu/scripts/glowing-logo.scm.h:3
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:5
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:3
#: plug-ins/script-fu/scripts/image-structure.scm.h:3
#: plug-ins/script-fu/scripts/neon-logo.scm.h:3
#: plug-ins/script-fu/scripts/news-text.scm.h:2
......@@ -525,7 +526,7 @@ msgstr "Runter"
#: plug-ins/script-fu/scripts/alien-glow-arrow.scm.h:4
#: plug-ins/script-fu/scripts/alien-glow-bar.scm.h:5
#: plug-ins/script-fu/scripts/alien-glow-bullet.scm.h:3
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:5
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:3
#: plug-ins/script-fu/scripts/camo.scm.h:5
#: plug-ins/script-fu/scripts/fuzzyborder.scm.h:6
msgid "Flatten image"
......@@ -534,8 +535,8 @@ msgstr "Bild zusammenfügen"
#: plug-ins/script-fu/scripts/alien-glow-arrow.scm.h:5
#: plug-ins/script-fu/scripts/alien-glow-bar.scm.h:6
#: plug-ins/script-fu/scripts/alien-glow-bullet.scm.h:4
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:7
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:7
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:6
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:5
#: plug-ins/script-fu/scripts/alien-neon-logo.scm.h:7
#: plug-ins/script-fu/scripts/burn-in-anim.scm.h:9
#: plug-ins/script-fu/scripts/neon-logo.scm.h:8
......@@ -592,29 +593,22 @@ msgid "Radius"
msgstr "Radius"
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:1
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:1
msgid ""
"\n"
"\t\t SF-ADJUSTMENT _"
msgstr ""
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:3
msgid "<Toolbox>/Xtns/Script-Fu/Web Page Themes/Alien Glow/B_utton..."
msgstr "<Toolbox>/Xtns/Skript-Fu/Web-Seiten/Alien Glow/_Schaltfläche..."
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:8
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:7
msgid "Glow radius"
msgstr "Leuchtradius"
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:9
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:8
#: plug-ins/script-fu/scripts/beveled-button.scm.h:6
msgid "Padding"
msgstr "Füllung"
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:11
#: plug-ins/script-fu/scripts/alien-glow-button.scm.h:10
#: plug-ins/script-fu/scripts/asc2img.scm.h:10
#: plug-ins/script-fu/scripts/basic1-logo.scm.h:7
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:9
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:7
#: plug-ins/script-fu/scripts/beveled-button.scm.h:9
#: plug-ins/script-fu/scripts/beveled-pattern-button.scm.h:7
#: plug-ins/script-fu/scripts/blended-logo.scm.h:17
......@@ -628,21 +622,14 @@ msgid "Text color"
msgstr "Textfarbe"
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:1
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:1
msgid ""
"\n"
"\t\t SF-COLOR _"
msgstr ""
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:3
msgid "<Image>/Script-Fu/Alpha to Logo/Alien _Glow..."
msgstr "<Image>/Skript-Fu/Alpha als Logo/Alien Glo_w..."
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:4
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:2
msgid "<Toolbox>/Xtns/Script-Fu/Logos/Alien _Glow..."
msgstr "<Toolbox>/Xtns/Skript-Fu/Logos/Alien Glo_w..."
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:8
#: plug-ins/script-fu/scripts/alien-glow-logo.scm.h:6
msgid "Glow size (pixels * 4)"
msgstr "Leuchtgröße (Pixel * 4)"
......@@ -679,7 +666,7 @@ msgid "<Toolbox>/Xtns/Script-Fu/Utils/_ASCII to Image..."
msgstr "<Toolbox>/Xtns/Skript-Fu/Hilfsmittel/_ASCII zu Bild..."
#: plug-ins/script-fu/scripts/asc2img.scm.h:5
#, fuzzy, no-c-format
#, no-c-format
msgid "Buffer amount (% height of text)"
msgstr "Puffer-Grösse (in % der Höhe d. Textes)"
......@@ -708,11 +695,11 @@ msgstr "<Image>/Skript-Fu/Alpha als Logo/_Einfach I..."
msgid "<Toolbox>/Xtns/Script-Fu/Logos/_Basic I..."
msgstr "<Toolbox>/Xtns/Skript-Fu/Logos/_Einfach I..."
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:3
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:1
msgid "<Image>/Script-Fu/Alpha to Logo/B_asic II..."
msgstr "<Image>/Skript-Fu/Alpha als Logo/E_infach II..."
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:4
#: plug-ins/script-fu/scripts/basic2-logo.scm.h:2
msgid "<Toolbox>/Xtns/Script-Fu/Logos/B_asic II..."
msgstr "<Toolbox>/Xtns/Skript-Fu/Logos/E_infach II..."
......@@ -721,7 +708,7 @@ msgid "<Toolbox>/Xtns/Script-Fu/Buttons/Simple _Beveled Button..."
msgstr "<Toolbox>/Xtns/Skript-Fu/Schaltflächen/_Einfach, abgeschrägt..."
#: plug-ins/script-fu/scripts/beveled-button.scm.h:2
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:7
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:6
#: plug-ins/script-fu/scripts/pupi-button.scm.h:2
msgid "Bevel width"
msgstr "Breite der Schräge"
......@@ -1566,19 +1553,23 @@ msgstr "<Toolbox>/Xtns/Skript-Fu/Logos/Gl_ühend Heiß..."
msgid "Effect size (pixels * 3)"
msgstr "Effektgröße (Pixel * 3)"
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:3
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:1
msgid "<Image>/Script-Fu/Alpha to Logo/Gradient Beve_l..."
msgstr "<Image>/Skript-Fu/Alpha als Logo/_Schräge..."
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:4
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:2
msgid "<Toolbox>/Xtns/Script-Fu/Logos/Gradient Beve_l..."
msgstr "<Toolbox>/Xtns/Skript-Fu/Logos/_Farbverlauf..."
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:6
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:4
msgid "Bevel height (Sharpness)"
msgstr "Höhe der Schräge (Schärfe)"
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:8
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:5
msgid "Bevel height (sharpness)"
msgstr "Höhe der Schräge (Schärfe)"
#: plug-ins/script-fu/scripts/gradient-bevel-logo.scm.h:7
#: plug-ins/script-fu/scripts/t-o-p-logo.scm.h:5
#: plug-ins/script-fu/scripts/textured-logo.scm.h:4
msgid "Border size (pixels)"
......@@ -1979,12 +1970,17 @@ msgid "Pattern name"
msgstr "Mustername"
#: plug-ins/script-fu/scripts/selection-round.scm.h:1
msgid "<Image>/Script-Fu/Selection/_Round..."
msgstr "<Image>/Skript-Fu/Auswahl/_Abrunden..."
msgid "<Image>/Select/Modify/Rounded R_ectangle..."
msgstr "<Image>/Auswahl/_Abgerundetes Rechteck..."
#: plug-ins/script-fu/scripts/selection-round.scm.h:2
msgid "Relative radius"
msgstr "Relativer Radius"
msgid "Concave"
msgstr "Konkav"
#: plug-ins/script-fu/scripts/selection-round.scm.h:4
#, no-c-format
msgid "Radius (%)"
msgstr "Radius (%)"
#: plug-ins/script-fu/scripts/slide.scm.h:1
msgid "<Image>/Script-Fu/Decor/_Slide..."
......@@ -2430,33 +2426,3 @@ msgstr "Glanzlicht Y-Versatz"
#: plug-ins/script-fu/scripts/xach-effect.scm.h:10
msgid "Highlight opacity"
msgstr "Glanzlicht Deckkraft"
#~ msgid "_About"
#~ msgstr "_Über"
#~ msgid "Font Size (pixels)"
#~ msgstr "Schriftgröße (Pixel)"
#~ msgid "Text Color"
#~ msgstr "Textfarbe"
#~ msgid "Transparent Background"
#~ msgstr "Transparenter Hintergrund"
#~ msgid "DB Browser"
#~ msgstr "DB Browser"
#~ msgid "Name:"
#~ msgstr "Name:"
#~ msgid "Blurb:"
#~ msgstr "Beschreibung:"
#~ msgid "In:"
#~ msgstr "Eingabe:"
#~ msgid "Out:"
#~ msgstr "Ausgabe:"
#~ msgid "Help:"
#~ msgstr "Hilfe:"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment