diff --git a/CHANGELOG.md b/CHANGELOG.md index 485cf3bc1..c71f8256e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ PinyaColada, Rémi Verschelde (akien-mga), dasimonde, gschwind, AbhinavKDev - More options have been added to Tile mode; Tile only in X Axis, Y Axis or both Axis. ([#378](https://github.com/Orama-Interactive/Pixelorama/pull/378)) - Added a "Mirror View" option in the View menu, which is used to flip the canvas horizontally and non-destructively. ([#227](https://github.com/Orama-Interactive/Pixelorama/issues/227)) - macOS: It is now possible to pan and zoom the canvas from a touchpad. ([#391](https://github.com/Orama-Interactive/Pixelorama/pull/391)) +- Added Turkish translation. ### Changed - `~` is now used as a random brush prefix instead of `%`. ([#362](https://github.com/Orama-Interactive/Pixelorama/pull/362)) diff --git a/project.godot b/project.godot index 47f61c93c..a9fb9f85b 100644 --- a/project.godot +++ b/project.godot @@ -180,7 +180,7 @@ zoom_out={ } middle_mouse={ "deadzone": 0.5, -"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":3,"pressed":false,"doubleclick":false,"script":null) +"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":3,"pressed":false,"doubleclick":false,"script":null) ] } left_mouse={ @@ -422,7 +422,7 @@ mirror_view={ [locale] -translations=PoolStringArray( "res://Translations/zh_TW.po", "res://Translations/pt_BR.po", "res://Translations/de_DE.po", "res://Translations/el_GR.po", "res://Translations/en_US.po", "res://Translations/fr_FR.po", "res://Translations/it_IT.po", "res://Translations/pl_PL.po", "res://Translations/ru_RU.po", "res://Translations/es_ES.po", "res://Translations/zh_CN.po", "res://Translations/lv_LV.po", "res://Translations/eo_UY.po", "res://Translations/cs_CZ.po", "res://Translations/id_ID.po", "res://Translations/hu_HU.po", "res://Translations/ro_RO.po", "res://Translations/ko_KR.po" ) +translations=PoolStringArray( "res://Translations/zh_TW.po", "res://Translations/pt_BR.po", "res://Translations/de_DE.po", "res://Translations/el_GR.po", "res://Translations/en_US.po", "res://Translations/fr_FR.po", "res://Translations/it_IT.po", "res://Translations/pl_PL.po", "res://Translations/ru_RU.po", "res://Translations/es_ES.po", "res://Translations/zh_CN.po", "res://Translations/lv_LV.po", "res://Translations/eo_UY.po", "res://Translations/cs_CZ.po", "res://Translations/id_ID.po", "res://Translations/hu_HU.po", "res://Translations/ro_RO.po", "res://Translations/ko_KR.po", "res://Translations/tr_TR.po" ) locale_filter=[ 0, [ ] ] [logging] diff --git a/src/Preferences/HandleLanguages.gd b/src/Preferences/HandleLanguages.gd index 6a7e7f805..866cbdf72 100644 --- a/src/Preferences/HandleLanguages.gd +++ b/src/Preferences/HandleLanguages.gd @@ -21,6 +21,7 @@ const languages_dict := { "hu_HU" : ["Magyar", "Hungarian"], "ro_RO" : ["Română", "Romanian"], "ko_KR" : ["한국어", "Korean"], + "tr_TR" : ["Türkçe", "Turkish"], } var loaded_locales : Array diff --git a/src/UI/Dialogs/AboutDialog.gd b/src/UI/Dialogs/AboutDialog.gd index 1acd0ad8b..13569f68d 100644 --- a/src/UI/Dialogs/AboutDialog.gd +++ b/src/UI/Dialogs/AboutDialog.gd @@ -188,3 +188,9 @@ func create_translators() -> void: translators.create_item(translators_root).set_text(0, " sfun_G - " + tr("Korean")) translators.create_item(translators_root).set_text(0, " KripC2160 - " + tr("Korean")) translators.create_item(translators_root).set_text(0, " M. Gabriel Lup - " + tr("Romanian")) + translators.create_item(translators_root).set_text(0, " ANormalKnife - " + tr("Turkish")) + translators.create_item(translators_root).set_text(0, " kmsecer - " + tr("Turkish")) + translators.create_item(translators_root).set_text(0, " Rıdvan SAYLAR - " + tr("Turkish")) + translators.create_item(translators_root).set_text(0, " latbat58 - " + tr("Turkish")) + translators.create_item(translators_root).set_text(0, " M Buhari Horoz (Sorian01) - " + tr("Turkish")) + translators.create_item(translators_root).set_text(0, " br.bahrampour - " + tr("Turkish")) diff --git a/src/UI/Timeline/CelButton.gd b/src/UI/Timeline/CelButton.gd index e74ca95a8..7c95c7e75 100644 --- a/src/UI/Timeline/CelButton.gd +++ b/src/UI/Timeline/CelButton.gd @@ -101,7 +101,7 @@ func _on_PopupMenu_id_pressed(ID : int) -> void: Global.current_project.undo_redo.add_undo_method(Global, "undo") Global.current_project.undo_redo.add_do_method(Global, "redo") Global.current_project.undo_redo.commit_action() - 5: #Frame Properties + 5: # Frame Properties Global.frame_properties.popup_centered() Global.dialog_open(true) Global.frame_properties.set_frame_label(frame) diff --git a/src/UI/Timeline/FrameProperties.gd b/src/UI/Timeline/FrameProperties.gd index 1237b510f..d7aa56e10 100644 --- a/src/UI/Timeline/FrameProperties.gd +++ b/src/UI/Timeline/FrameProperties.gd @@ -7,7 +7,7 @@ func set_frame_label(frame : int) -> void: frame_num.set_text(str(frame + 1)) func set_frame_dur(duration : float) -> void: - frame_dur.set_value(duration) + frame_dur.set_value(duration) func _on_FrameProperties_popup_hide() -> void: Global.dialog_open(false) @@ -16,7 +16,7 @@ func _on_FrameProperties_confirmed(): var frame : int = int(frame_num.get_text()) var duration : float = frame_dur.get_value() var frame_duration = Global.current_project.frame_duration.duplicate() - frame_duration[frame - 1] = duration + frame_duration[frame - 1] = duration Global.current_project.undos += 1 Global.current_project.undo_redo.create_action("Change frame duration") diff --git a/src/UI/Timeline/FrameProperties.tscn b/src/UI/Timeline/FrameProperties.tscn index 7bc933b67..ad1680fe2 100644 --- a/src/UI/Timeline/FrameProperties.tscn +++ b/src/UI/Timeline/FrameProperties.tscn @@ -57,6 +57,7 @@ margin_left = 101.0 margin_top = 18.0 margin_right = 193.0 margin_bottom = 42.0 +mouse_default_cursor_shape = 2 size_flags_horizontal = 3 step = 0.05 value = 2.0