// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Localisation; namespace osu.Game.Localisation { public static class DialogStrings { private const string prefix = @"osu.Game.Resources.Localisation.Dialog"; /// /// "Caution" /// public static LocalisableString Caution => new TranslatableString(getKey(@"header_text"), @"Caution"); /// /// "Yes. Go for it." /// public static LocalisableString Confirm => new TranslatableString(getKey(@"confirm"), @"Yes. Go for it."); /// /// "No! Abort mission" /// public static LocalisableString Cancel => new TranslatableString(getKey(@"cancel"), @"No! Abort mission"); private static string getKey(string key) => $@"{prefix}:{key}"; } }