Skip to content

Commit d352bbc

Browse files
committed
Add "OpenGL 3", "GLES" and "Linux/*BSD" to editor property capitalization
This is required to capitalize the following settings: - "Fallback to OpenGL 3" project setting - "Fallback to GLES" project setting - "Linux/*BSD" category in the Editor Settings
1 parent 61accf0 commit d352bbc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

editor/editor_property_name_processor.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ EditorPropertyNameProcessor::EditorPropertyNameProcessor() {
198198
capitalize_string_remaps["gi"] = "GI";
199199
capitalize_string_remaps["gl"] = "GL";
200200
capitalize_string_remaps["glb"] = "GLB";
201+
capitalize_string_remaps["gles"] = "GLES";
201202
capitalize_string_remaps["gles2"] = "GLES2";
202203
capitalize_string_remaps["gles3"] = "GLES3";
203204
capitalize_string_remaps["gltf"] = "glTF";
@@ -231,6 +232,7 @@ EditorPropertyNameProcessor::EditorPropertyNameProcessor() {
231232
capitalize_string_remaps["kb"] = "(KB)"; // Unit.
232233
capitalize_string_remaps["lcd"] = "LCD";
233234
capitalize_string_remaps["ldr"] = "LDR";
235+
capitalize_string_remaps["linuxbsd"] = "Linux/*BSD";
234236
capitalize_string_remaps["lod"] = "LOD";
235237
capitalize_string_remaps["lods"] = "LODs";
236238
capitalize_string_remaps["lowpass"] = "Low-pass";
@@ -248,6 +250,7 @@ EditorPropertyNameProcessor::EditorPropertyNameProcessor() {
248250
capitalize_string_remaps["oidn"] = "OIDN";
249251
capitalize_string_remaps["ok"] = "OK";
250252
capitalize_string_remaps["opengl"] = "OpenGL";
253+
capitalize_string_remaps["opengl3"] = "OpenGL 3";
251254
capitalize_string_remaps["opentype"] = "OpenType";
252255
capitalize_string_remaps["openxr"] = "OpenXR";
253256
capitalize_string_remaps["osslsigncode"] = "osslsigncode";

0 commit comments

Comments
 (0)