I18n: Disambiguate "Line"
"Line" can mean several things, but in this cases it means a line of text. Reported by Ye Gui in #43295. Pull Request: https://projects.blender.org/blender/blender/pulls/141147
This commit is contained in:
@@ -329,7 +329,7 @@ class TEXT_MT_select(Menu):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("text.select_all", text="All")
|
||||
layout.operator("text.select_line", text="Line")
|
||||
layout.operator("text.select_line", text="Line", text_ctxt=i18n_contexts.id_text)
|
||||
layout.operator("text.select_word", text="Word")
|
||||
|
||||
layout.separator()
|
||||
|
||||
@@ -4115,6 +4115,7 @@ void TEXT_OT_jump_to_file_at_point(wmOperatorType *ot)
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
|
||||
prop = RNA_def_int(ot->srna, "line", 0, 0, INT_MAX, "Line", "Line to jump to", 1, 10000);
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
|
||||
RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_TEXT);
|
||||
prop = RNA_def_int(ot->srna, "column", 0, 0, INT_MAX, "Column", "Column to jump to", 1, 10000);
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ static void node_declare(NodeDeclarationBuilder &b)
|
||||
auto &remainder = b.add_output<decl::String>("Remainder").make_available([](bNode &node) {
|
||||
node_storage(node).overflow = GEO_NODE_STRING_TO_CURVES_MODE_TRUNCATE;
|
||||
});
|
||||
b.add_output<decl::Int>("Line").field_on_all();
|
||||
b.add_output<decl::Int>("Line").field_on_all().translation_context(BLT_I18NCONTEXT_ID_TEXT);
|
||||
b.add_output<decl::Vector>("Pivot Point").field_on_all();
|
||||
|
||||
const bNode *node = b.node_or_null();
|
||||
|
||||
Reference in New Issue
Block a user