summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/ITranslationHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/ITranslationHelper.cs')
-rw-r--r--src/StardewModdingAPI/ITranslationHelper.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/StardewModdingAPI/ITranslationHelper.cs b/src/StardewModdingAPI/ITranslationHelper.cs
index 297a0d5a..23980a1b 100644
--- a/src/StardewModdingAPI/ITranslationHelper.cs
+++ b/src/StardewModdingAPI/ITranslationHelper.cs
@@ -15,10 +15,6 @@ namespace StardewModdingAPI
/// <summary>The game's current language code.</summary>
LocalizedContentManager.LanguageCode LocaleEnum { get; }
- /// <summary>Get a translation for the current locale. This is a convenience shortcut for <see cref="Translate"/>.</summary>
- /// <param name="key">The translation key.</param>
- Translation this[string key] { get; }
-
/*********
** Public methods
@@ -28,6 +24,6 @@ namespace StardewModdingAPI
/// <summary>Get a translation for the current locale.</summary>
/// <param name="key">The translation key.</param>
- Translation Translate(string key);
+ Translation Get(string key);
}
}