1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 15:23:14 +08:00
osu-lazer/osu.Game/Localisation/NewsStrings.cs
kj415j45 1b4bff0d9f Optimize code style
Co-authored-by: frenzibyte <frenzibyte@gmail.com>
Co-authored-by: bdach <dach.bartlomiej@gmail.com>
2021-07-18 01:29:53 +08:00

20 lines
669 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. 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 NewsStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.News";
/// <summary>
/// "join the real-time discussion"
/// </summary>
public static LocalisableString HeaderDescription => new TranslatableString(getKey(@"header_description"), @"get up-to-date on community happenings");
private static string getKey(string key) => $"{prefix}:{key}";
}
}