Skip to content

localization: move strings into resources #1535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

NathanBaulch
Copy link
Contributor

Found 22 static strings that weren't localizable. I took a guess at the key names, feel free to rename.

@NathanBaulch NathanBaulch changed the title localization: move 22 strings into resources localization: move strings into resources Jul 7, 2025
@xavierdono
Copy link

App.Text add "Text." before.

App.Text("Text.InteractiveRebase.Pick") it's just App.Text("InteractiveRebase.Pick"), no?

@NathanBaulch
Copy link
Contributor Author

Good point @xavierdono, fixed!

@@ -140,17 +140,17 @@ private void OnButtonActionClicked(object sender, RoutedEventArgs e)
flyout.Placement = PlacementMode.BottomEdgeAlignedLeft;
flyout.VerticalOffset = -4;

CreateActionMenuItem(flyout, Brushes.Green, "Pick", "Use this commit", "P", item, Models.InteractiveRebaseAction.Pick);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action name like Pick, Squash etc. should not be translated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, in that case can we use the enum name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants