diff --git a/Editor/Inspector/Menu/MenuItemGUI.cs b/Editor/Inspector/Menu/MenuItemGUI.cs index 15f93df7..a92fc6c2 100644 --- a/Editor/Inspector/Menu/MenuItemGUI.cs +++ b/Editor/Inspector/Menu/MenuItemGUI.cs @@ -201,11 +201,11 @@ namespace nadena.dev.modular_avatar.core.editor if (!_parameterName.hasMultipleDifferentValues && !_knownParameters.Contains(paramName)) { EditorGUILayout.BeginHorizontal(); - DrawHorizontalToggleProp(_prop_isDefault, new GUIContent("Default")); + DrawHorizontalToggleProp(_prop_isDefault, G("menuitem.prop.is_default")); GUILayout.FlexibleSpace(); - DrawHorizontalToggleProp(_prop_isSaved, new GUIContent("Saved")); + DrawHorizontalToggleProp(_prop_isSaved, G("menuitem.prop.is_saved")); GUILayout.FlexibleSpace(); - DrawHorizontalToggleProp(_prop_isSynced, new GUIContent("Synced")); + DrawHorizontalToggleProp(_prop_isSynced, G("menuitem.prop.is_synced")); EditorGUILayout.EndHorizontal(); } diff --git a/Editor/Localization/en-US.json b/Editor/Localization/en-US.json index 6ea71c56..0a496904 100644 --- a/Editor/Localization/en-US.json +++ b/Editor/Localization/en-US.json @@ -194,6 +194,8 @@ "menuitem.prop.submenu_source.tooltip": "Where to find the items to put inside this submenu", "menuitem.prop.source_override": "Source object override", "menuitem.prop.source_override.tooltip": "If specified, this object will be used as the source for the contents of the submenu. Otherwise, children of this menu item will be used.", + "menuitem.prop.is_default": "Default", + "menuitem.prop.is_default.tooltip": "If true, this menu item will be selected when the avatar is initially loaded", "menuitem.prop.is_saved": "Saved", "menuitem.prop.is_saved.tooltip": "If true, the value of this menu item will be saved when you change avatars or worlds.", "menuitem.prop.is_synced": "Synced", @@ -222,9 +224,6 @@ "control_group.is_synced.tooltip": "If true, the value of this menu item will be synced to other players across the network.", "control_group.default_value": "Initial setting", "control_group.default_value.unset": "(none selected)", - "menuitem.prop.control_group": "Control Group", - "menuitem.prop.control_group.tooltip": "Only one toggle in a given group can be selected at the same time", - "menuitem.prop.is_default": "Is Group Default", "animation_gen.duplicate_binding": "Controls from different control groups are trying to animate the same parameter. Parameter: {0}", "animation_gen.multiple_defaults": "Multiple default menu items were found in the same control group.", "menuitem.misc.add_item": "Add menu item",