mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Merge branch 'master' into localise-toasts
This commit is contained in:
@ -24,6 +24,11 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString VolumeHeader => new TranslatableString(getKey(@"volume_header"), @"Volume");
|
||||
|
||||
/// <summary>
|
||||
/// "Output device"
|
||||
/// </summary>
|
||||
public static LocalisableString OutputDevice => new TranslatableString(getKey(@"output_device"), @"Output device");
|
||||
|
||||
/// <summary>
|
||||
/// "Master"
|
||||
/// </summary>
|
||||
|
@ -14,11 +14,36 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString GameplaySectionHeader => new TranslatableString(getKey(@"gameplay_section_header"), @"Gameplay");
|
||||
|
||||
/// <summary>
|
||||
/// "Beatmap"
|
||||
/// </summary>
|
||||
public static LocalisableString BeatmapHeader => new TranslatableString(getKey(@"beatmap_header"), @"Beatmap");
|
||||
|
||||
/// <summary>
|
||||
/// "General"
|
||||
/// </summary>
|
||||
public static LocalisableString GeneralHeader => new TranslatableString(getKey(@"general_header"), @"General");
|
||||
|
||||
/// <summary>
|
||||
/// "Audio"
|
||||
/// </summary>
|
||||
public static LocalisableString AudioHeader => new TranslatableString(getKey(@"audio"), @"Audio");
|
||||
|
||||
/// <summary>
|
||||
/// "HUD"
|
||||
/// </summary>
|
||||
public static LocalisableString HUDHeader => new TranslatableString(getKey(@"h_u_d"), @"HUD");
|
||||
|
||||
/// <summary>
|
||||
/// "Input"
|
||||
/// </summary>
|
||||
public static LocalisableString InputHeader => new TranslatableString(getKey(@"input"), @"Input");
|
||||
|
||||
/// <summary>
|
||||
/// "Background"
|
||||
/// </summary>
|
||||
public static LocalisableString BackgroundHeader => new TranslatableString(getKey(@"background"), @"Background");
|
||||
|
||||
/// <summary>
|
||||
/// "Background dim"
|
||||
/// </summary>
|
||||
|
@ -104,6 +104,11 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString HitLighting => new TranslatableString(getKey(@"hit_lighting"), @"Hit lighting");
|
||||
|
||||
/// <summary>
|
||||
/// "Screenshots"
|
||||
/// </summary>
|
||||
public static LocalisableString Screenshots => new TranslatableString(getKey(@"screenshots"), @"Screenshots");
|
||||
|
||||
/// <summary>
|
||||
/// "Screenshot format"
|
||||
/// </summary>
|
||||
|
19
osu.Game/Localisation/RulesetSettingsStrings.cs
Normal file
19
osu.Game/Localisation/RulesetSettingsStrings.cs
Normal file
@ -0,0 +1,19 @@
|
||||
// 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 RulesetSettingsStrings
|
||||
{
|
||||
private const string prefix = @"osu.Game.Resources.Localisation.RulesetSettings";
|
||||
|
||||
/// <summary>
|
||||
/// "Rulesets"
|
||||
/// </summary>
|
||||
public static LocalisableString Rulesets => new TranslatableString(getKey(@"rulesets"), @"Rulesets");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
@ -14,6 +14,11 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString SkinSectionHeader => new TranslatableString(getKey(@"skin_section_header"), @"Skin");
|
||||
|
||||
/// <summary>
|
||||
/// "Current skin"
|
||||
/// </summary>
|
||||
public static LocalisableString CurrentSkin => new TranslatableString(getKey(@"current_skin"), @"Current skin");
|
||||
|
||||
/// <summary>
|
||||
/// "Skin layout editor"
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user