Add localisation for DashboardOverlayHeader

This commit is contained in:
kj415j45 2021-07-18 02:44:09 +08:00
parent f588607ed9
commit f80b183777
2 changed files with 7 additions and 1 deletions

View File

@ -19,6 +19,11 @@ namespace osu.Game.Localisation
/// </summary> /// </summary>
public static LocalisableString Changelog => new TranslatableString(getKey(@"changelog"), @"track recent dev updates in the osu! ecosystem"); public static LocalisableString Changelog => new TranslatableString(getKey(@"changelog"), @"track recent dev updates in the osu! ecosystem");
/// <summary>
/// "view your friends and other information"
/// </summary>
public static LocalisableString Dashboard => new TranslatableString(getKey(@"dashboard"), @"view your friends and other information");
/// <summary> /// <summary>
/// "find out who's the best right now" /// "find out who's the best right now"
/// </summary> /// </summary>

View File

@ -4,6 +4,7 @@
using System; using System;
using System.ComponentModel; using System.ComponentModel;
using osu.Framework.Localisation; using osu.Framework.Localisation;
using osu.Game.Localisation;
using osu.Game.Resources.Localisation.Web; using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Overlays.Dashboard namespace osu.Game.Overlays.Dashboard
@ -17,7 +18,7 @@ namespace osu.Game.Overlays.Dashboard
public DashboardTitle() public DashboardTitle()
{ {
Title = HomeStrings.UserTitle; Title = HomeStrings.UserTitle;
Description = "view your friends and other information"; Description = HeaderDescriptionStrings.Dashboard;
IconTexture = "Icons/Hexacons/social"; IconTexture = "Icons/Hexacons/social";
} }
} }