From bc9c956592a6475d2b7f7d11e75ca1a96897d221 Mon Sep 17 00:00:00 2001 From: andy840119 Date: Fri, 10 Jun 2022 20:30:31 +0800 Subject: [PATCH] temp way to check if the github action works. --- .github/workflows/crowdin.yml | 2 +- osu.Game.Rulesets.Karaoke/Localisation/CommonStrings.cs | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 17ee12b8e..415679882 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -1,7 +1,7 @@ name: Crowdin Action on: - push: + pull_request: branches: [ master ] paths: - 'osu.Game.Rulesets.Karaoke/Localisation/**' diff --git a/osu.Game.Rulesets.Karaoke/Localisation/CommonStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/CommonStrings.cs index 6c49b75ab..ea7402c33 100644 --- a/osu.Game.Rulesets.Karaoke/Localisation/CommonStrings.cs +++ b/osu.Game.Rulesets.Karaoke/Localisation/CommonStrings.cs @@ -14,6 +14,11 @@ public static class CommonStrings /// public static LocalisableString RulesetName => new TranslatableString(getKey(@"karaoke"), @"karaoke!"); + /// + /// "Lyric" + /// + public static LocalisableString Lyric => new TranslatableString(getKey(@"karaoke"), @"Lyric"); + private static string getKey(string key) => $@"{prefix}:{key}"; } }