1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +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> /// <summary>
/// "Keep existing" /// "Keep existing"
/// </summary> /// </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> /// <summary>
/// "Apply new" /// "Apply new"
/// </summary> /// </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> /// <summary>
/// "(none)" /// "(none)"
/// </summary> /// </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}"; private static string getKey(string key) => $"{prefix}:{key}";
} }