// 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.Resources.Localisation.Web { public static class MultiplayerStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Multiplayer"; /// /// "No osu!(lazer) multiplayer games played yet!" /// public static LocalisableString Empty => new TranslatableString(getKey(@"empty"), @"No osu!(lazer) multiplayer games played yet!"); /// /// "hosted by {0}" /// public static LocalisableString RoomHostedBy(LocalisableString user) => new TranslatableString(getKey(@"room.hosted_by"), @"hosted by {0}", user); /// /// "Invalid room password" /// public static LocalisableString RoomInvalidPassword => new TranslatableString(getKey(@"room.invalid_password"), @"Invalid room password"); /// /// "{0} map|{0} maps" /// public static LocalisableString RoomMapCount(LocalisableString countDelimited) => new TranslatableString(getKey(@"room.map_count"), @"{0} map|{0} maps", countDelimited); /// /// "{0} player|{0} players" /// public static LocalisableString RoomPlayerCount(LocalisableString countDelimited) => new TranslatableString(getKey(@"room.player_count"), @"{0} player|{0} players", countDelimited); /// /// "{0} left" /// public static LocalisableString RoomTimeLeft(LocalisableString time) => new TranslatableString(getKey(@"room.time_left"), @"{0} left", time); /// /// "active" /// public static LocalisableString RoomStatusActive => new TranslatableString(getKey(@"room.status.active"), @"active"); /// /// "ended" /// public static LocalisableString RoomStatusEnded => new TranslatableString(getKey(@"room.status.ended"), @"ended"); /// /// "ending soon" /// public static LocalisableString RoomStatusSoon => new TranslatableString(getKey(@"room.status.soon"), @"ending soon"); private static string getKey(string key) => $@"{prefix}:{key}"; } }