Skip to content

Commit

Permalink
Mark main screen plugin names for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
KoBeWi committed Jan 27, 2025
1 parent 6dc78c8 commit cc2ea33
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion editor/plugins/asset_library_editor_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class AssetLibraryEditorPlugin : public EditorPlugin {
public:
static bool is_available();

virtual String get_plugin_name() const override { return "AssetLib"; }
virtual String get_plugin_name() const override { return TTRC("AssetLib"); }
bool has_main_screen() const override { return true; }
virtual void edit(Object *p_object) override {}
virtual bool handles(Object *p_object) const override { return false; }
Expand Down
2 changes: 1 addition & 1 deletion editor/plugins/canvas_item_editor_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ class CanvasItemEditorPlugin : public EditorPlugin {
void _notification(int p_what);

public:
virtual String get_plugin_name() const override { return "2D"; }
virtual String get_plugin_name() const override { return TTRC("2D"); }
bool has_main_screen() const override { return true; }
virtual void edit(Object *p_object) override;
virtual bool handles(Object *p_object) const override;
Expand Down
2 changes: 1 addition & 1 deletion editor/plugins/game_view_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class GameViewPlugin : public EditorPlugin {
void _notification(int p_what);

public:
virtual String get_plugin_name() const override { return "Game"; }
virtual String get_plugin_name() const override { return TTRC("Game"); }
bool has_main_screen() const override { return true; }
virtual void edit(Object *p_object) override {}
virtual bool handles(Object *p_object) const override { return false; }
Expand Down
2 changes: 1 addition & 1 deletion editor/plugins/node_3d_editor_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ class Node3DEditorPlugin : public EditorPlugin {

public:
Node3DEditor *get_spatial_editor() { return spatial_editor; }
virtual String get_plugin_name() const override { return "3D"; }
virtual String get_plugin_name() const override { return TTRC("3D"); }
bool has_main_screen() const override { return true; }
virtual void make_visible(bool p_visible) override;
virtual void edit(Object *p_object) override;
Expand Down
2 changes: 1 addition & 1 deletion editor/plugins/script_editor_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ class ScriptEditorPlugin : public EditorPlugin {
void _notification(int p_what);

public:
virtual String get_plugin_name() const override { return "Script"; }
virtual String get_plugin_name() const override { return TTRC("Script"); }
bool has_main_screen() const override { return true; }
virtual void edit(Object *p_object) override;
virtual bool handles(Object *p_object) const override;
Expand Down

0 comments on commit cc2ea33

Please sign in to comment.