[gimp] Marking layer names for translation
- From: Alexandre Prokoudine <aprokoudine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Marking layer names for translation
- Date: Sat, 9 Oct 2010 23:41:58 +0000 (UTC)
commit e1a705c125a1ec314d1982a56f11284910a7cec6
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date: Sun Oct 10 03:41:21 2010 +0400
Marking layer names for translation
plug-ins/script-fu/scripts/carve-it.scm | 10 +++++-----
plug-ins/script-fu/scripts/chrome-it.scm | 14 +++++++-------
2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/plug-ins/script-fu/scripts/carve-it.scm b/plug-ins/script-fu/scripts/carve-it.scm
index a0302fb..2894fa4 100644
--- a/plug-ins/script-fu/scripts/carve-it.scm
+++ b/plug-ins/script-fu/scripts/carve-it.scm
@@ -164,11 +164,11 @@
(gimp-image-remove-channel img mask-highlight)
(gimp-image-remove-channel img mask-shadow)
- (gimp-item-set-name layer1 "Carved Surface")
- (gimp-item-set-name shadow-layer "Bevel Shadow")
- (gimp-item-set-name highlight-layer "Bevel Highlight")
- (gimp-item-set-name cast-shadow-layer "Cast Shadow")
- (gimp-item-set-name inset-layer "Inset")
+ (gimp-item-set-name layer1 _"Carved Surface")
+ (gimp-item-set-name shadow-layer _"Bevel Shadow")
+ (gimp-item-set-name highlight-layer _"Bevel Highlight")
+ (gimp-item-set-name cast-shadow-layer _"Cast Shadow")
+ (gimp-item-set-name inset-layer _"Inset")
(gimp-display-new img)
(gimp-image-undo-enable img)
diff --git a/plug-ins/script-fu/scripts/chrome-it.scm b/plug-ins/script-fu/scripts/chrome-it.scm
index 8b77e84..98fd81d 100644
--- a/plug-ins/script-fu/scripts/chrome-it.scm
+++ b/plug-ins/script-fu/scripts/chrome-it.scm
@@ -100,11 +100,11 @@
(feather (sota-scale size 0.5 chrome-factor))
(brush-size (sota-scale size 0.5 chrome-factor))
(mask (car (gimp-channel-new img width height "Chrome Stencil" 50 '(0 0 0))))
- (bg-layer (car (gimp-layer-new img width height GRAY-IMAGE "Background" 100 NORMAL-MODE)))
- (layer1 (car (gimp-layer-new img banding-width banding-height banding-type "Layer1" 100 NORMAL-MODE)))
- (layer2 (car (gimp-layer-new img width height GRAYA-IMAGE "Layer 2" 100 DIFFERENCE-MODE)))
- (layer3 (car (gimp-layer-new img width height GRAYA-IMAGE "Layer 3" 100 NORMAL-MODE)))
- (shadow (car (gimp-layer-new img width height GRAYA-IMAGE "Drop Shadow" 100 NORMAL-MODE)))
+ (bg-layer (car (gimp-layer-new img width height GRAY-IMAGE _"Background" 100 NORMAL-MODE)))
+ (layer1 (car (gimp-layer-new img banding-width banding-height banding-type _"Layer1" 100 NORMAL-MODE)))
+ (layer2 (car (gimp-layer-new img width height GRAYA-IMAGE _"Layer 2" 100 DIFFERENCE-MODE)))
+ (layer3 (car (gimp-layer-new img width height GRAYA-IMAGE _"Layer 3" 100 NORMAL-MODE)))
+ (shadow (car (gimp-layer-new img width height GRAYA-IMAGE _"Drop Shadow" 100 NORMAL-MODE)))
(mask-fs 0)
(layer-mask 0)
)
@@ -197,8 +197,8 @@
(gimp-item-set-visible shadow TRUE)
(gimp-item-set-visible bg-layer TRUE)
- (gimp-item-set-name layer2 "Chrome")
- (gimp-item-set-name layer1 "Highlight")
+ (gimp-item-set-name layer2 _"Chrome")
+ (gimp-item-set-name layer1 _"Highlight")
(gimp-image-remove-channel img mask)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]