mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-22 21:43:13 +00:00
Fill translation strings
This commit is contained in:
parent
3b4992ccfa
commit
49e3ca0c26
5 changed files with 216 additions and 46 deletions
|
@ -483,6 +483,10 @@ msgstr ""
|
|||
msgid "Group layer:"
|
||||
msgstr ""
|
||||
|
||||
#. A type of layer. A 3D layer contains data of 3D objects that are rasterized automatically by Pixelorama.
|
||||
msgid "3D layer:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Direction:"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1703,10 +1707,20 @@ msgstr ""
|
|||
msgid "Layers"
|
||||
msgstr ""
|
||||
|
||||
#. Hint tooltip of the create new layer button, found on the left side of the timeline.
|
||||
msgid "Create a new layer"
|
||||
msgstr ""
|
||||
|
||||
msgid "Create a new group layer"
|
||||
#. One of the options of the create new layer button.
|
||||
msgid "Add Pixel Layer"
|
||||
msgstr ""
|
||||
|
||||
#. One of the options of the create new layer button.
|
||||
msgid "Add Group Layer"
|
||||
msgstr ""
|
||||
|
||||
#. One of the options of the create new layer button.
|
||||
msgid "Add 3D Layer"
|
||||
msgstr ""
|
||||
|
||||
msgid "Remove current layer"
|
||||
|
@ -2236,3 +2250,174 @@ msgid "Locked size\n\n"
|
|||
"When enabled using the tool on the canvas will only move the cropping rectangle.\n\n"
|
||||
"When disabled using the tool on the canvas will draw the rectangle."
|
||||
msgstr ""
|
||||
|
||||
#. A tool used in 3D layers, that edits 3D objects.
|
||||
msgid "3D Shape Edit"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of 3D object.
|
||||
msgid "Box"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of 3D object.
|
||||
msgid "Sphere"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of 3D object.
|
||||
msgid "Capsule"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of 3D object.
|
||||
msgid "Cylinder"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of 3D object.
|
||||
msgid "Prism"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of 3D object.
|
||||
msgid "Torus"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of 3D object.
|
||||
msgid "Plane"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of light.
|
||||
msgid "Directional light"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of light.
|
||||
msgid "Spotlight"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of light.
|
||||
msgid "Point light"
|
||||
msgstr ""
|
||||
|
||||
#. Used in 3D layers. A type of 3D object.
|
||||
msgid "Custom model"
|
||||
msgstr ""
|
||||
|
||||
msgid "Selected object:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Add new object"
|
||||
msgstr ""
|
||||
|
||||
msgid "Remove object"
|
||||
msgstr ""
|
||||
|
||||
msgid "Camera"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool. Refers to camera projection mode.
|
||||
msgid "Projection:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool. One of the modes of camera projection.
|
||||
msgid "Perspective"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool. One of the modes of camera projection.
|
||||
msgid "Orthogonal"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool. One of the modes of camera projection.
|
||||
msgid "Frustum"
|
||||
msgstr ""
|
||||
|
||||
msgid "Rotation:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Scale:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool.
|
||||
msgid "Environment"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Environment category.
|
||||
msgid "Ambient color:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Environment category.
|
||||
msgid "Ambient color energy:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Visible:"
|
||||
msgstr ""
|
||||
|
||||
#. Refers to the transformation options of an object, such as its position, rotation and scale. For technical details, see https://docs.godotengine.org/en/stable/tutorials/math/matrices_and_transforms.html
|
||||
msgid "Transform"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool. A category with mesh-related options.
|
||||
msgid "Mesh"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Mesh category if a Prism is selected. Refers to the displacement of the upper edge along the X axis.
|
||||
msgid "Left to right:"
|
||||
msgstr ""
|
||||
|
||||
#. Radius of a circle/spherical object.
|
||||
msgid "Radius:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Height:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Mesh category if a spherical object is selected.
|
||||
msgid "Radial segments:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Mesh category if a spherical object is selected. Refers to the number of segments along the height of the sphere.
|
||||
msgid "Rings:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Mesh category if a Sphere is selected. If true, a hemisphere is created rather than a full sphere.
|
||||
msgid "Is hemisphere:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Mesh category if a Cylinder is selected.
|
||||
msgid "Top radius:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Mesh category if a Cylinder is selected.
|
||||
msgid "Bottom radius:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Mesh category if a Text object is selected. Refers to the size of one pixel's width on the text to scale it in 3D.
|
||||
msgid "Pixel size:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Mesh category if a Text object is selected. Step (in pixels) used to approximate Bézier curves.
|
||||
msgid "Curve step:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Horizontal alignment:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Left"
|
||||
msgstr ""
|
||||
|
||||
msgid "Right"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Light category if a light is selected. Refers to the energy of the light. The more energy, the brighter it shines.
|
||||
msgid "Energy:"
|
||||
msgstr ""
|
||||
|
||||
#. Found in the tool options of the 3D Shape Edit tool, under the Light category if a light is selected. If true, the light's effect is reversed, darkening areas and casting bright shadows.
|
||||
msgid "Negative:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Shadow:"
|
||||
msgstr ""
|
||||
|
||||
#. Refers to the range of something, like the range of a spotlight.
|
||||
msgid "Range:"
|
||||
msgstr ""
|
||||
|
|
|
@ -42,7 +42,7 @@ func blend_children(frame: Frame, origin := Vector2.ZERO) -> Image:
|
|||
|
||||
|
||||
func serialize() -> Dictionary:
|
||||
var data = .serialize()
|
||||
var data := .serialize()
|
||||
data["type"] = get_layer_type()
|
||||
data["expanded"] = expanded
|
||||
return data
|
||||
|
|
|
@ -45,7 +45,6 @@ onready var object_properties := {
|
|||
"scale": $"%ObjectScale",
|
||||
"node3d_type:mesh:size": $"%MeshSize",
|
||||
"node3d_type:mesh:sizev2": $"%MeshSizeV2",
|
||||
"node3d_type:mesh:center_offset": $"%MeshCenterOffset",
|
||||
"node3d_type:mesh:left_to_right": $"%MeshLeftToRight",
|
||||
"node3d_type:mesh:radius": $"%MeshRadius",
|
||||
"node3d_type:mesh:height": $"%MeshHeight",
|
||||
|
|
|
@ -327,30 +327,14 @@ allow_greater = true
|
|||
show_ratio = true
|
||||
snap_step = 0.01
|
||||
|
||||
[node name="MeshCenterOffsetLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="4"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Center offset:"
|
||||
|
||||
[node name="MeshCenterOffset" parent="ObjectOptions/MeshOptions/GridContainer" index="5" instance=ExtResource( 7 )]
|
||||
unique_name_in_owner = true
|
||||
size_flags_horizontal = 3
|
||||
max_value = Vector3( 10, 10, 10 )
|
||||
step = 0.01
|
||||
allow_greater = true
|
||||
allow_lesser = true
|
||||
show_ratio = true
|
||||
|
||||
[node name="MeshLeftToRightLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="6"]
|
||||
[node name="MeshLeftToRightLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="4"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Left to right:"
|
||||
|
||||
[node name="MeshLeftToRight" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="7"]
|
||||
[node name="MeshLeftToRight" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="5"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
|
@ -368,14 +352,14 @@ stretch_margin_right = 3
|
|||
stretch_margin_bottom = 3
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="MeshRadiusLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="8"]
|
||||
[node name="MeshRadiusLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="6"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Radius:"
|
||||
|
||||
[node name="MeshRadius" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="9"]
|
||||
[node name="MeshRadius" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="7"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
|
@ -394,14 +378,14 @@ stretch_margin_right = 3
|
|||
stretch_margin_bottom = 3
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="MeshHeightLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="10"]
|
||||
[node name="MeshHeightLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="8"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Height:"
|
||||
|
||||
[node name="MeshHeight" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="11"]
|
||||
[node name="MeshHeight" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="9"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
|
@ -420,14 +404,14 @@ stretch_margin_right = 3
|
|||
stretch_margin_bottom = 3
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="MeshRadialSegmentsLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="12"]
|
||||
[node name="MeshRadialSegmentsLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="10"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Radial segments:"
|
||||
|
||||
[node name="MeshRadialSegments" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="13"]
|
||||
[node name="MeshRadialSegments" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="11"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
|
@ -445,14 +429,14 @@ stretch_margin_right = 3
|
|||
stretch_margin_bottom = 3
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="MeshRingsLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="14"]
|
||||
[node name="MeshRingsLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="12"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Rings:"
|
||||
|
||||
[node name="MeshRings" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="15"]
|
||||
[node name="MeshRings" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="13"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
|
@ -470,14 +454,14 @@ stretch_margin_right = 3
|
|||
stretch_margin_bottom = 3
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="MeshIsHemisphereLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="16"]
|
||||
[node name="MeshIsHemisphereLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="14"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Is hemisphere:"
|
||||
|
||||
[node name="MeshIsHemisphere" type="CheckBox" parent="ObjectOptions/MeshOptions/GridContainer" index="17"]
|
||||
[node name="MeshIsHemisphere" type="CheckBox" parent="ObjectOptions/MeshOptions/GridContainer" index="15"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 24.0
|
||||
margin_bottom = 24.0
|
||||
|
@ -485,14 +469,14 @@ mouse_default_cursor_shape = 2
|
|||
size_flags_horizontal = 3
|
||||
text = "On"
|
||||
|
||||
[node name="MeshMidHeightLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="18"]
|
||||
[node name="MeshMidHeightLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="16"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Mid height:"
|
||||
text = "Height:"
|
||||
|
||||
[node name="MeshMidHeight" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="19"]
|
||||
[node name="MeshMidHeight" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="17"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
|
@ -511,14 +495,14 @@ stretch_margin_right = 3
|
|||
stretch_margin_bottom = 3
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="MeshTopRadiusLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="20"]
|
||||
[node name="MeshTopRadiusLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="18"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Top radius:"
|
||||
|
||||
[node name="MeshTopRadius" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="21"]
|
||||
[node name="MeshTopRadius" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="19"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
|
@ -536,14 +520,14 @@ stretch_margin_right = 3
|
|||
stretch_margin_bottom = 3
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="MeshBottomRadiusLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="22"]
|
||||
[node name="MeshBottomRadiusLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="20"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Bottom radius:"
|
||||
|
||||
[node name="MeshBottomRadius" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="23"]
|
||||
[node name="MeshBottomRadius" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="21"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
|
@ -561,27 +545,27 @@ stretch_margin_right = 3
|
|||
stretch_margin_bottom = 3
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="MeshTextLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="24"]
|
||||
[node name="MeshTextLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="22"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Text:"
|
||||
|
||||
[node name="MeshText" type="LineEdit" parent="ObjectOptions/MeshOptions/GridContainer" index="25"]
|
||||
[node name="MeshText" type="LineEdit" parent="ObjectOptions/MeshOptions/GridContainer" index="23"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 58.0
|
||||
margin_bottom = 24.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="MeshPixelSizeLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="26"]
|
||||
[node name="MeshPixelSizeLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="24"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Pixel size:"
|
||||
|
||||
[node name="MeshPixelSize" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="27"]
|
||||
[node name="MeshPixelSize" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="25"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
|
@ -601,14 +585,14 @@ stretch_margin_bottom = 3
|
|||
script = ExtResource( 5 )
|
||||
snap_step = 0.01
|
||||
|
||||
[node name="MeshCurveStepLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="28"]
|
||||
[node name="MeshCurveStepLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="26"]
|
||||
margin_top = 33.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = 47.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Curve step:"
|
||||
|
||||
[node name="MeshCurveStep" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="29"]
|
||||
[node name="MeshCurveStep" type="TextureProgress" parent="ObjectOptions/MeshOptions/GridContainer" index="27"]
|
||||
unique_name_in_owner = true
|
||||
margin_right = 6.0
|
||||
margin_bottom = 6.0
|
||||
|
@ -627,14 +611,14 @@ stretch_margin_right = 3
|
|||
stretch_margin_bottom = 3
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="MeshHorizontalAlignmentLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="30"]
|
||||
[node name="MeshHorizontalAlignmentLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="28"]
|
||||
margin_top = -583.0
|
||||
margin_right = 631.0
|
||||
margin_bottom = -569.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Horizontal alignment:"
|
||||
|
||||
[node name="MeshHorizontalAlignment" type="OptionButton" parent="ObjectOptions/MeshOptions/GridContainer" index="31"]
|
||||
[node name="MeshHorizontalAlignment" type="OptionButton" parent="ObjectOptions/MeshOptions/GridContainer" index="29"]
|
||||
unique_name_in_owner = true
|
||||
margin_left = 635.0
|
||||
margin_top = -586.0
|
||||
|
|
|
@ -202,6 +202,8 @@ func create_layer_list() -> void:
|
|||
var layer_name := tr("Pixel layer:")
|
||||
if layer is GroupLayer:
|
||||
layer_name = tr("Group layer:")
|
||||
elif layer is Layer3D:
|
||||
layer_name = tr("3D layer:")
|
||||
layer_name += " %s" % layer.get_layer_path()
|
||||
layers_option_button.add_item(layer_name)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue