Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>pull/2395/head
@@ -100,7 +100,7 @@ namespace Discord | |||||
/// <summary> | /// <summary> | ||||
/// Sets the <see cref="NameLocalizations"/> collection. | /// Sets the <see cref="NameLocalizations"/> collection. | ||||
/// </summary> | /// </summary> | ||||
/// <param name="nameLocalizations">Localization dictionary for the name field of this command.</param> | |||||
/// <param name="nameLocalizations">The localization dictionary to use for the name field of this command.</param> | |||||
/// <returns></returns> | /// <returns></returns> | ||||
/// <exception cref="ArgumentNullException">Thrown if <paramref name="nameLocalizations"/> is null.</exception> | /// <exception cref="ArgumentNullException">Thrown if <paramref name="nameLocalizations"/> is null.</exception> | ||||
/// <exception cref="ArgumentException">Thrown if any dictionary key is an invalid locale string.</exception> | /// <exception cref="ArgumentException">Thrown if any dictionary key is an invalid locale string.</exception> | ||||
@@ -98,7 +98,7 @@ namespace Discord | |||||
/// <summary> | /// <summary> | ||||
/// Sets the <see cref="NameLocalizations"/> collection. | /// Sets the <see cref="NameLocalizations"/> collection. | ||||
/// </summary> | /// </summary> | ||||
/// <param name="nameLocalizations">Localization dictionary for the name field of this command.</param> | |||||
/// <param name="nameLocalizations">The localization dictionary to use for the name field of this command.</param> | |||||
/// <returns>The current builder.</returns> | /// <returns>The current builder.</returns> | ||||
/// <exception cref="ArgumentNullException">Thrown if <paramref name="nameLocalizations"/> is null.</exception> | /// <exception cref="ArgumentNullException">Thrown if <paramref name="nameLocalizations"/> is null.</exception> | ||||
/// <exception cref="ArgumentException">Thrown if any dictionary key is an invalid locale string.</exception> | /// <exception cref="ArgumentException">Thrown if any dictionary key is an invalid locale string.</exception> | ||||
@@ -63,17 +63,17 @@ namespace Discord | |||||
IReadOnlyCollection<ChannelType> ChannelTypes { get; } | IReadOnlyCollection<ChannelType> ChannelTypes { get; } | ||||
/// <summary> | /// <summary> | ||||
/// Gets the localization dictionary for the name field of this command. | |||||
/// Gets the localization dictionary for the name field of this command option. | |||||
/// </summary> | /// </summary> | ||||
IReadOnlyDictionary<string, string> NameLocalizations { get; } | IReadOnlyDictionary<string, string> NameLocalizations { get; } | ||||
/// <summary> | /// <summary> | ||||
/// Gets the localization dictionary for the description field of this command. | |||||
/// Gets the localization dictionary for the description field of this command option. | |||||
/// </summary> | /// </summary> | ||||
IReadOnlyDictionary<string, string> DescriptionLocalizations { get; } | IReadOnlyDictionary<string, string> DescriptionLocalizations { get; } | ||||
/// <summary> | /// <summary> | ||||
/// Gets the localized name of this command. | |||||
/// Gets the localized name of this command option. | |||||
/// </summary> | /// </summary> | ||||
/// <remarks> | /// <remarks> | ||||
/// Only returned when the `withLocalizations` query parameter is set to <see langword="false"/> when requesting the command. | /// Only returned when the `withLocalizations` query parameter is set to <see langword="false"/> when requesting the command. | ||||
@@ -81,7 +81,7 @@ namespace Discord | |||||
string NameLocalized { get; } | string NameLocalized { get; } | ||||
/// <summary> | /// <summary> | ||||
/// Gets the localized description of this command. | |||||
/// Gets the localized description of this command option. | |||||
/// </summary> | /// </summary> | ||||
/// <remarks> | /// <remarks> | ||||
/// Only returned when the `withLocalizations` query parameter is set to true when requesting the command. | /// Only returned when the `withLocalizations` query parameter is set to true when requesting the command. | ||||
@@ -18,12 +18,12 @@ namespace Discord | |||||
object Value { get; } | object Value { get; } | ||||
/// <summary> | /// <summary> | ||||
/// Gets the localization dictionary for the name field of this command. | |||||
/// Gets the localization dictionary for the name field of this command option. | |||||
/// </summary> | /// </summary> | ||||
IReadOnlyDictionary<string, string> NameLocalizations { get; } | IReadOnlyDictionary<string, string> NameLocalizations { get; } | ||||
/// <summary> | /// <summary> | ||||
/// Gets the localized name of this command. | |||||
/// Gets the localized name of this command option. | |||||
/// </summary> | /// </summary> | ||||
/// <remarks> | /// <remarks> | ||||
/// Only returned when the `withLocalizations` query parameter is set to <see langword="false"/> when requesting the command. | /// Only returned when the `withLocalizations` query parameter is set to <see langword="false"/> when requesting the command. | ||||
@@ -5,7 +5,7 @@ using System.Threading.Tasks; | |||||
namespace Discord.Interactions | namespace Discord.Interactions | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Respresents localization provider for Discord Application Commands. | |||||
/// Respresents a localization provider for Discord Application Commands. | |||||
/// </summary> | /// </summary> | ||||
public interface ILocalizationManager | public interface ILocalizationManager | ||||
{ | { | ||||