You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Merge pull request #113420 from Calinou/editor-use-unicode-arrows
Use Unicode arrow symbols throughout the editor
This commit is contained in:
@@ -183,13 +183,13 @@ void AudioStreamInteractiveTransitionEditor::_update_transitions() {
|
||||
if (!exists) {
|
||||
if (audio_stream_interactive->has_transition(AudioStreamInteractive::CLIP_ANY, to)) {
|
||||
from = AudioStreamInteractive::CLIP_ANY;
|
||||
tooltip = vformat(TTR("Using Any Clip -> %s."), audio_stream_interactive->get_clip_name(to));
|
||||
tooltip = vformat(TTR(U"Using any clip → %s."), audio_stream_interactive->get_clip_name(to));
|
||||
} else if (audio_stream_interactive->has_transition(from, AudioStreamInteractive::CLIP_ANY)) {
|
||||
to = AudioStreamInteractive::CLIP_ANY;
|
||||
tooltip = vformat(TTR("Using %s -> Any Clip."), audio_stream_interactive->get_clip_name(from));
|
||||
tooltip = vformat(TTR(U"Using %s → Any clip."), audio_stream_interactive->get_clip_name(from));
|
||||
} else if (audio_stream_interactive->has_transition(AudioStreamInteractive::CLIP_ANY, AudioStreamInteractive::CLIP_ANY)) {
|
||||
from = to = AudioStreamInteractive::CLIP_ANY;
|
||||
tooltip = TTR("Using All Clips -> Any Clip.");
|
||||
tooltip = TTR(U"Using all clips → Any clip.");
|
||||
} else {
|
||||
tooltip = TTR("No transition available.");
|
||||
}
|
||||
|
||||
@@ -264,7 +264,7 @@ void GameStateSnapshot::_get_rc_cycles(
|
||||
SnapshotDataObject *next_obj = p_obj->snapshot->objects[next_child.value];
|
||||
String next_name = next_obj == p_source_obj ? "self" : next_obj->get_name();
|
||||
String current_name = p_obj == p_source_obj ? "self" : p_obj->get_name();
|
||||
String child_path = current_name + "[\"" + next_child.key + "\"] -> " + next_name;
|
||||
String child_path = current_name + "[\"" + next_child.key + U"\"] → " + next_name;
|
||||
if (p_current_path != "") {
|
||||
child_path = p_current_path + "\n" + child_path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user