-
Notifications
You must be signed in to change notification settings - Fork 240
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
Conversation
6391867
to
a71549b
Compare
App.Text add "Text." before. App.Text("Text.InteractiveRebase.Pick") it's just App.Text("InteractiveRebase.Pick"), no? |
a71549b
to
e3795e2
Compare
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); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
e3795e2
to
7e4f62c
Compare
7e4f62c
to
3ae9a66
Compare
- Do not translate interactive rebase action description. - For slider label in `BLEND` diff mode, it can not use `Text.Diff.Binary.New` or `Text.Diff.Binary.Old`. Because those keys are labels for size. Signed-off-by: leo <longshuang@msn.cn>
- Do not translate interactive rebase action description. - For slider label in `BLEND` diff mode, it can not use `Text.Diff.Binary.New` or `Text.Diff.Binary.Old`. Because those keys are labels for size. Signed-off-by: leo <longshuang@msn.cn>
Found 22 static strings that weren't localizable. I took a guess at the key names, feel free to rename.