Added new strings to be translated

Greek translation is still in progress
This commit is contained in:
OverloadedOrama 2019-12-31 20:10:10 +02:00
parent 2be469ec22
commit 830ae623d2
18 changed files with 1488 additions and 132 deletions

View file

@ -39,7 +39,7 @@ func _ready() -> void:
tex.create_from_image(sprite, 0)
# Store [Image, ImageTexture, Layer Name, Visibity boolean, Opacity]
layers.append([sprite, tex, "Layer 0", true, 1])
layers.append([sprite, tex, tr("Layer") + " 0", true, 1])
generate_layer_panels()

View file

@ -93,7 +93,7 @@ func _on_ImportSprites_files_selected(paths : PoolStringArray) -> void:
var tex := ImageTexture.new()
tex.create_from_image(cropped_image, 0)
# Store [Image, ImageTexture, Layer Name, Visibity boolean, Opacity]
canvas.layers.append([cropped_image, tex, "Layer 0", true, 1])
canvas.layers.append([cropped_image, tex, tr("Layer") + " 0", true, 1])
canvas.frame = i
Global.canvases.append(canvas)
Global.canvas_parent.add_child(canvas)

View file

@ -5,6 +5,7 @@ func _on_SplashDialog_about_to_show() -> void:
window_title = "Pixelorama" + " " + current_version
$Contents/DevelopedBy.text = "Pixelorama" + " " + current_version + " - " + tr("MADEBY_LABEL")
$Contents/ArtCredits.text = tr("Art by") + ": Erevos"
func _on_ArtCredits_pressed() -> void:
OS.shell_open("https://www.instagram.com/erevos_art")

View file

@ -16,7 +16,6 @@ var previous_right_color := Color.white
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
get_tree().set_auto_accept_quit(false)
OS.set_window_title("(" + tr("untitled") + ") - Pixelorama")
# Set a minimum window size to prevent UI elements from collapsing on each other.
# This property is only available in 3.2alpha or later, so use `set()` to fail gracefully if it doesn't exist.
OS.set("min_window_size", Vector2(1152, 648))
@ -71,7 +70,7 @@ func _ready() -> void:
"Crop Image" : 0,
"Flip Horizontal" : KEY_MASK_SHIFT + KEY_H,
"Flip Vertical" : KEY_MASK_SHIFT + KEY_V,
"Invert Colors" : 0,
"Invert colors" : 0,
"Desaturation" : 0,
"Outline" : 0
}
@ -156,6 +155,7 @@ func _ready() -> void:
Import.import_brushes("Brushes")
$SplashDialog.popup_centered() # Splash screen
OS.set_window_title("(" + tr("untitled") + ") - Pixelorama")
func _input(event : InputEvent) -> void:
Global.left_cursor.position = get_global_mouse_position() + Vector2(-32, 32)