1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 16:43:20 +08:00

Move skin component localisations to namespaces

This commit is contained in:
Dean Herbert 2023-02-03 15:34:57 +09:00
parent 50559643bb
commit cf8cfe0d2c
19 changed files with 28 additions and 27 deletions

View File

@ -3,11 +3,11 @@
using osu.Framework.Localisation; using osu.Framework.Localisation;
namespace osu.Game.Localisation namespace osu.Game.Localisation.HUD
{ {
public static class BarHitErrorMeterStrings public static class BarHitErrorMeterStrings
{ {
private const string prefix = @"osu.Game.Resources.Localisation.BarHitErrorMeter"; private const string prefix = @"osu.Game.Resources.Localisation.HUD.BarHitErrorMeter";
/// <summary> /// <summary>
/// "Judgement line thickness" /// "Judgement line thickness"

View File

@ -3,11 +3,11 @@
using osu.Framework.Localisation; using osu.Framework.Localisation;
namespace osu.Game.Localisation namespace osu.Game.Localisation.HUD
{ {
public static class ColourHitErrorMeterStrings public static class ColourHitErrorMeterStrings
{ {
private const string prefix = @"osu.Game.Resources.Localisation.ColourHitError"; private const string prefix = @"osu.Game.Resources.Localisation.HUD.ColourHitError";
/// <summary> /// <summary>
/// "Judgement count" /// "Judgement count"

View File

@ -3,11 +3,11 @@
using osu.Framework.Localisation; using osu.Framework.Localisation;
namespace osu.Game.Localisation namespace osu.Game.Localisation.HUD
{ {
public static class GameplayAccuracyCounterStrings public static class GameplayAccuracyCounterStrings
{ {
private const string prefix = @"osu.Game.Resources.Localisation.GameplayAccuracyCounter"; private const string prefix = @"osu.Game.Resources.Localisation.HUD.GameplayAccuracyCounter";
/// <summary> /// <summary>
/// "Accuracy display mode" /// "Accuracy display mode"

View File

@ -3,11 +3,11 @@
using osu.Framework.Localisation; using osu.Framework.Localisation;
namespace osu.Game.Localisation namespace osu.Game.Localisation.HUD
{ {
public static class JudgementCounterDisplayStrings public static class JudgementCounterDisplayStrings
{ {
private const string prefix = @"osu.Game.Resources.Localisation.JudgementCounterDisplay"; private const string prefix = @"osu.Game.Resources.Localisation.HUD.JudgementCounterDisplay";
/// <summary> /// <summary>
/// "Display mode" /// "Display mode"

View File

@ -3,11 +3,11 @@
using osu.Framework.Localisation; using osu.Framework.Localisation;
namespace osu.Game.Localisation namespace osu.Game.Localisation.HUD
{ {
public static class SongProgressStrings public static class SongProgressStrings
{ {
private const string prefix = @"osu.Game.Resources.Localisation.SongProgress"; private const string prefix = @"osu.Game.Resources.Localisation.HUD.SongProgress";
/// <summary> /// <summary>
/// "Show difficulty graph" /// "Show difficulty graph"

View File

@ -3,11 +3,11 @@
using osu.Framework.Localisation; using osu.Framework.Localisation;
namespace osu.Game.Localisation namespace osu.Game.Localisation.SkinComponents
{ {
public static class BeatmapAttributeTextStrings public static class BeatmapAttributeTextStrings
{ {
private const string prefix = @"osu.Game.Resources.Localisation.BeatmapAttributeText"; private const string prefix = @"osu.Game.Resources.Localisation.SkinComponents.BeatmapAttributeText";
/// <summary> /// <summary>
/// "Attribute" /// "Attribute"

View File

@ -3,11 +3,11 @@
using osu.Framework.Localisation; using osu.Framework.Localisation;
namespace osu.Game.Localisation namespace osu.Game.Localisation.SkinComponents
{ {
public static class FontAdjustableSkinComponentStrings public static class FontAdjustableSkinComponentStrings
{ {
private const string prefix = @"osu.Game.Resources.Localisation.FontAdjustableSkinComponent"; private const string prefix = @"osu.Game.Resources.Localisation.SkinComponents.FontAdjustableSkinComponent";
/// <summary> /// <summary>
/// "Font" /// "Font"

View File

@ -3,11 +3,11 @@
using osu.Framework.Localisation; using osu.Framework.Localisation;
namespace osu.Game.Localisation namespace osu.Game.Localisation.SkinComponents
{ {
public static class SkinnableSpriteStrings public static class SkinnableSpriteStrings
{ {
private const string prefix = @"osu.Game.Resources.Localisation.SkinnableSprite"; private const string prefix = @"osu.Game.Resources.Localisation.SkinComponents.SkinnableSprite";
/// <summary> /// <summary>
/// "Sprite name" /// "Sprite name"

View File

@ -3,11 +3,11 @@
using osu.Framework.Localisation; using osu.Framework.Localisation;
namespace osu.Game.Localisation namespace osu.Game.Localisation.SkinComponents
{ {
public static class TextElementStrings public static class TextElementStrings
{ {
private const string prefix = @"osu.Game.Resources.Localisation.TextElement"; private const string prefix = @"osu.Game.Resources.Localisation.SkinComponents.TextElement";
/// <summary> /// <summary>
/// "Text" /// "Text"

View File

@ -8,7 +8,7 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Game.Configuration; using osu.Game.Configuration;
using osu.Game.Graphics; using osu.Game.Graphics;
using osu.Game.Localisation; using osu.Game.Localisation.HUD;
using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects;
namespace osu.Game.Screens.Play.HUD namespace osu.Game.Screens.Play.HUD

View File

@ -7,7 +7,7 @@ using osu.Framework.Bindables;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Game.Configuration; using osu.Game.Configuration;
using osu.Game.Graphics; using osu.Game.Graphics;
using osu.Game.Localisation; using osu.Game.Localisation.HUD;
using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects;
using osuTK; using osuTK;

View File

@ -6,7 +6,7 @@ using osu.Framework.Bindables;
using osu.Framework.Localisation; using osu.Framework.Localisation;
using osu.Game.Configuration; using osu.Game.Configuration;
using osu.Game.Graphics.UserInterface; using osu.Game.Graphics.UserInterface;
using osu.Game.Localisation; using osu.Game.Localisation.HUD;
using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Scoring;
namespace osu.Game.Screens.Play.HUD namespace osu.Game.Screens.Play.HUD

View File

@ -17,7 +17,7 @@ using osu.Game.Configuration;
using osu.Game.Graphics; using osu.Game.Graphics;
using osu.Game.Graphics.Containers; using osu.Game.Graphics.Containers;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using osu.Game.Localisation; using osu.Game.Localisation.HUD;
using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Scoring;
using osuTK; using osuTK;

View File

@ -11,7 +11,7 @@ using osu.Framework.Graphics.Pooling;
using osu.Framework.Graphics.Shapes; using osu.Framework.Graphics.Shapes;
using osu.Framework.Localisation; using osu.Framework.Localisation;
using osu.Game.Configuration; using osu.Game.Configuration;
using osu.Game.Localisation; using osu.Game.Localisation.HUD;
using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Scoring;
using osuTK; using osuTK;

View File

@ -8,7 +8,7 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Framework.Localisation; using osu.Framework.Localisation;
using osu.Game.Configuration; using osu.Game.Configuration;
using osu.Game.Localisation; using osu.Game.Localisation.HUD;
using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Scoring;
using osu.Game.Skinning; using osu.Game.Skinning;
using osuTK; using osuTK;

View File

@ -18,6 +18,7 @@ using osu.Game.Configuration;
using osu.Game.Extensions; using osu.Game.Extensions;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using osu.Game.Localisation; using osu.Game.Localisation;
using osu.Game.Localisation.SkinComponents;
using osu.Game.Resources.Localisation.Web; using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Skinning.Components namespace osu.Game.Skinning.Components

View File

@ -8,7 +8,7 @@ using osu.Framework.Graphics.Sprites;
using osu.Game.Configuration; using osu.Game.Configuration;
using osu.Game.Graphics; using osu.Game.Graphics;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using osu.Game.Localisation; using osu.Game.Localisation.SkinComponents;
namespace osu.Game.Skinning.Components namespace osu.Game.Skinning.Components
{ {

View File

@ -6,7 +6,7 @@ using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Sprites;
using osu.Game.Configuration; using osu.Game.Configuration;
using osu.Game.Graphics; using osu.Game.Graphics;
using osu.Game.Localisation; using osu.Game.Localisation.SkinComponents;
namespace osu.Game.Skinning namespace osu.Game.Skinning
{ {

View File

@ -12,7 +12,7 @@ using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures; using osu.Framework.Graphics.Textures;
using osu.Game.Configuration; using osu.Game.Configuration;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using osu.Game.Localisation; using osu.Game.Localisation.SkinComponents;
using osu.Game.Overlays.Settings; using osu.Game.Overlays.Settings;
using osuTK; using osuTK;