1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 15:27:30 +08:00

Update localisation keys to match localisable member names

This commit is contained in:
Bartłomiej Dach 2023-10-13 11:58:55 +02:00
parent 17b6ebbfbf
commit ea766b792d
No known key found for this signature in database

View File

@ -72,17 +72,17 @@ namespace osu.Game.Localisation
/// <summary>
/// "Keep existing"
/// </summary>
public static LocalisableString KeepExistingBinding => new TranslatableString(getKey(@"keep_existing"), @"Keep existing");
public static LocalisableString KeepExistingBinding => new TranslatableString(getKey(@"keep_existing_binding"), @"Keep existing");
/// <summary>
/// "Apply new"
/// </summary>
public static LocalisableString ApplyNewBinding => new TranslatableString(getKey(@"apply_new"), @"Apply new");
public static LocalisableString ApplyNewBinding => new TranslatableString(getKey(@"apply_new_binding"), @"Apply new");
/// <summary>
/// "(none)"
/// </summary>
public static LocalisableString ActionHasNoKeyBinding => new TranslatableString(getKey(@"none"), @"(none)");
public static LocalisableString ActionHasNoKeyBinding => new TranslatableString(getKey(@"action_has_no_key_binding"), @"(none)");
private static string getKey(string key) => $"{prefix}:{key}";
}