From 416dc7ba0ce96cbfd68c63ddf89ea1b3eb81b61f Mon Sep 17 00:00:00 2001 From: d4n3436 Date: Wed, 24 Jan 2024 23:41:28 -0500 Subject: [PATCH] Fix missing localized string --- src/Modules/UtilityModule.cs | 2 +- src/Resources/SharedResource.es.resx | 6 ++++++ src/Resources/SharedResource.resx | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/Modules/UtilityModule.cs b/src/Modules/UtilityModule.cs index d43feed..d279245 100644 --- a/src/Modules/UtilityModule.cs +++ b/src/Modules/UtilityModule.cs @@ -580,7 +580,7 @@ public async Task UserInfoAsync([Summary(description: "The user." .AddField(_localizer["ID"], user.Id) .AddField(_localizer["Activities"], activities, true) .AddField(_localizer["ActiveClients"], clients, true) - .AddField(_localizer["IsBot"], user.IsBot) + .AddField(_localizer["IsBot"], _localizer[user.IsBot ? "Yes" : "No"]) .AddField(_localizer["CreatedAt"], GetTimestamp(user.CreatedAt)) .AddField(_localizer["ServerJoinDate"], GetTimestamp(guildUser?.JoinedAt)) .AddField(_localizer["BoostingSince"], GetTimestamp(guildUser?.PremiumSince)) diff --git a/src/Resources/SharedResource.es.resx b/src/Resources/SharedResource.es.resx index 4a4e68a..ff22dae 100644 --- a/src/Resources/SharedResource.es.resx +++ b/src/Resources/SharedResource.es.resx @@ -174,6 +174,9 @@ Idioma "{0}" no soportado. + + No + No se puede obtener una URL de imagen del mensaje. @@ -225,4 +228,7 @@ Se requiere una URL o un archivo adjunto. + + + \ No newline at end of file diff --git a/src/Resources/SharedResource.resx b/src/Resources/SharedResource.resx index f64c09b..12757f3 100644 --- a/src/Resources/SharedResource.resx +++ b/src/Resources/SharedResource.resx @@ -174,6 +174,9 @@ Language \"{0}\" not supported. + + No + Unable to get an image URL from the message. @@ -225,4 +228,7 @@ A URL or attachment is required. + + Yes + \ No newline at end of file