mirror of https://github.com/GNOME/gimp.git
Marking layer names for translation
This commit is contained in:
parent
e062acbc64
commit
e1a705c125
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue