-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
DIsplay toasts on beatmap/skin save #19243
Conversation
/// <summary> | ||
/// "Skin Editor" | ||
/// </summary> | ||
public static LocalisableString SkinEditor => new TranslatableString(getKey(@"skin_editor"), @"Skin Editor"); |
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.
Use SkinSettingsStrings.SkinLayoutEditor
/// <summary> | ||
/// "Beatmap Editor" | ||
/// </summary>r | ||
public static LocalisableString BeatmapEditor => new TranslatableString(getKey(@"beatmap_editor"), @"Beatmap Editor"); |
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.
Use EditorSection.EditorSection
.
/// <summary> | ||
/// "Beatmap Saved" | ||
/// </summary> | ||
public static LocalisableString EditorSaveBeatmap => new TranslatableString(getKey(@"beatmap_editor_save"), @"Beatmap Saved"); |
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.
I have no idea what's being done here.
Are you manually making these files? We generally use a rider tool to do this.
If you are manually doing it, you will need to pay very close attention to the format. The property name should match the key should match the string.
In this case, the string should be Beatmap saved
(not title case) and the key should be BeatmapSaved
/ beatmap_saved
to match.
Same applies to others.
I did all the requested changes 👍🏻 Also I wasn't aware there was tool to do the Localization stuff.. Well now I know and I'm gonna be using it from now on |
This is thing I have been missing in lazer for a long time. When mapping or editing skin I hit the save button/ctrl + s and I get no feedback from the game if it was saved or not. This is also feature in stable that is missing in lazer.
Beatmap.Editor.mp4
Skin.Editor.mp4
.