You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Remove spaces and punctuation from the beginning of translatable strings.
This commit is contained in:
@@ -922,7 +922,8 @@ void FontPreview::_notification(int p_what) {
|
||||
name = vformat("%s (%s)", prev_font->get_font_name(), prev_font->get_font_style_name());
|
||||
}
|
||||
if (prev_font->is_class("FontVariation")) {
|
||||
name += " " + TTR(" - Variation");
|
||||
// TRANSLATORS: This refers to variable font config, appended to the font name.
|
||||
name += " - " + TTR("Variation");
|
||||
}
|
||||
font->draw_string(get_canvas_item(), Point2(0, font->get_height(font_size) + 2 * EDSCALE), name, HORIZONTAL_ALIGNMENT_CENTER, get_size().x, font_size, text_color);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user