You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Fix i18n of 3D view name
Make the full view name translatable as a whole instead of combining from sub-strings.
This commit is contained in:
@@ -211,6 +211,16 @@ class SpatialEditorViewport : public Control {
|
||||
VIEW_PORTAL_CULLING,
|
||||
};
|
||||
|
||||
enum ViewType {
|
||||
VIEW_TYPE_USER,
|
||||
VIEW_TYPE_TOP,
|
||||
VIEW_TYPE_BOTTOM,
|
||||
VIEW_TYPE_LEFT,
|
||||
VIEW_TYPE_RIGHT,
|
||||
VIEW_TYPE_FRONT,
|
||||
VIEW_TYPE_REAR,
|
||||
};
|
||||
|
||||
public:
|
||||
enum {
|
||||
GIZMO_BASE_LAYER = 27,
|
||||
@@ -233,7 +243,7 @@ public:
|
||||
|
||||
private:
|
||||
int index;
|
||||
String name;
|
||||
ViewType view_type;
|
||||
void _menu_option(int p_option);
|
||||
void _set_auto_orthogonal();
|
||||
Spatial *preview_node;
|
||||
|
||||
Reference in New Issue
Block a user