Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions editor/inspector/editor_property_name_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ EditorPropertyNameProcessor::EditorPropertyNameProcessor() {
capitalize_string_remaps["yz"] = "YZ";

// Articles, conjunctions, prepositions.
// The following initialization is parsed in `editor/translations/scripts/common.py` with a regex.
// The word definition format should be kept synced with the regex.
// The following initialization is parsed in https://github.com/godotengine/godot-editor-l10n/blob/main/scripts/common.py
// with a regex. The word definition format should be kept synced with the regex.
stop_words = LocalVector<String>({
"a",
"an",
Expand All @@ -348,6 +348,7 @@ EditorPropertyNameProcessor::EditorPropertyNameProcessor() {
"the",
"then",
"to",
"with",
});

// Translation context associated with a name.
Expand All @@ -356,8 +357,8 @@ EditorPropertyNameProcessor::EditorPropertyNameProcessor() {
// - `Class::full/property/path`
// In case a class name is needed to distinguish between usages, all usages should use the second format.
//
// The following initialization is parsed in `editor/translations/scripts/common.py` with a regex.
// The map name and value definition format should be kept synced with the regex.
// The following initialization is parsed in https://github.com/godotengine/godot-editor-l10n/blob/main/scripts/common.py
// with a regex. The map name and value definition format should be kept synced with the regex.
translation_contexts["force"]["constant_force"] = "Physics";
translation_contexts["force"]["force/8_bit"] = "Enforce";
translation_contexts["force"]["force/mono"] = "Enforce";
Expand Down