From b07545a3d19b8ecb279c90b43dcdcd64a15a9285 Mon Sep 17 00:00:00 2001 From: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com> Date: Thu, 27 Aug 2020 20:02:53 +0300 Subject: [PATCH] Added missing CelButton hint tooltip translation --- Translations/Translations.pot | 3 +++ src/UI/Timeline/CelButton.gd | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Translations/Translations.pot b/Translations/Translations.pot index 74e41f5..f51b031 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -1088,6 +1088,9 @@ msgstr "" msgid "Lock/unlock layer" msgstr "" +msgid "Frame: %s, Layer: %s" +msgstr "" + msgid "Enable/disable cel linking\n\n" "Linked cels are being shared across multiple frames" msgstr "" diff --git a/src/UI/Timeline/CelButton.gd b/src/UI/Timeline/CelButton.gd index 9f35551..55f78c1 100644 --- a/src/UI/Timeline/CelButton.gd +++ b/src/UI/Timeline/CelButton.gd @@ -7,7 +7,7 @@ onready var popup_menu : PopupMenu = $PopupMenu func _ready() -> void: - hint_tooltip = "Frame: %s, Layer: %s" % [frame + 1, layer] + hint_tooltip = tr("Frame: %s, Layer: %s") % [frame + 1, layer] if Global.current_project.frames[frame] in Global.current_project.layers[layer].linked_cels: get_node("LinkedIndicator").visible = true popup_menu.set_item_text(4, "Unlink Cel")