Skip to content

Commit

Permalink
Add locale and readme entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Banane9 committed Jan 25, 2025
1 parent 1bd8695 commit 24e7847
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected override bool AppliesTo(InspectorMemberActionsMenuItemsGenerationEvent
protected override Task Handle(InspectorMemberActionsMenuItemsGenerationEvent eventData)
{
var field = (IField)eventData.Target;
var menuItem = eventData.ContextMenu.AddItem("Copy to Clipboard",
var menuItem = eventData.ContextMenu.AddItem(Mod.GetLocaleString("CopyToClipboard"),
OfficialAssets.Graphics.Icons.General.Duplicate, RadiantUI_Constants.Sub.GREEN);

// Context Menu is local user only anyways, no need to use local action button
Expand Down
4 changes: 3 additions & 1 deletion CommunityBugFixCollection/Locale/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"authors": [ "Banane9" ],
"messages": {
"CommunityBugFixCollection.Name": "Community Bug-Fix Sammlung",
"CommunityBugFixCollection.Description": "Diese Mod enthällt Fixes für verschiedene kleine Resonite Issues die noch offen sind."
"CommunityBugFixCollection.Description": "Diese Mod enthällt Fixes für verschiedene kleine Resonite Issues die noch offen sind.",

"CommunityBugFixCollection.CopyToClipboard": "In Zwischenablage kopieren"
}
}
2 changes: 2 additions & 0 deletions CommunityBugFixCollection/Locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"CommunityBugFixCollection.Name": "Community Bug-Fix Collection",
"CommunityBugFixCollection.Description": "This mod contains fixes for various small Resonite Issues that are still open.",

"CommunityBugFixCollection.CopyToClipboard": "Copy to Clipboard",

"CommunityBugFixCollection.NoZeroScaleToolRaycast": "Fixes Resonite Issue #98: World crashes when a (multi)tool is scaled to zero."
}
}
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,13 @@ The issues that have workarounds in this mod will be linked in the following lis
If any of them have been closed and not removed from the mod,
just disable them in the settings in the meantime.

* Sliders and Joints snapping in sessions hosted by a headless (https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/399)
* Sliders and Joints snapping in sessions hosted by a headless (https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/399)


## Features

The feature request issues that have been implemented in this mod will be linked in the following list.
If any of them have been implemented and not removed from the mod,
just disable them in the settings in the meantime.

* _Copy to Clipboard_ action on any non-reference member fields in Inspectors (https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/810)

0 comments on commit 24e7847

Please sign in to comment.