Skip to content

Commit

Permalink
Fix missing localized string
Browse files Browse the repository at this point in the history
  • Loading branch information
d4n3436 committed Jan 25, 2024
1 parent 3b48682 commit 416dc7b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/UtilityModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ public async Task<RuntimeResult> 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))
Expand Down
6 changes: 6 additions & 0 deletions src/Resources/SharedResource.es.resx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@
<data name="LanguageNotSupported" xml:space="preserve">
<value>Idioma "{0}" no soportado.</value>
</data>
<data name="No" xml:space="preserve">
<value>No</value>
</data>
<data name="NoImageUrlInMessage" xml:space="preserve">
<value>No se puede obtener una URL de imagen del mensaje.</value>
</data>
Expand Down Expand Up @@ -225,4 +228,7 @@
<data name="UrlOrAttachmentRequired" xml:space="preserve">
<value>Se requiere una URL o un archivo adjunto.</value>
</data>
<data name="Yes" xml:space="preserve">
<value>Sí</value>
</data>
</root>
6 changes: 6 additions & 0 deletions src/Resources/SharedResource.resx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@
<data name="LanguageNotSupported" xml:space="preserve">
<value>Language \"{0}\" not supported.</value>
</data>
<data name="No" xml:space="preserve">
<value>No</value>
</data>
<data name="NoImageUrlInMessage" xml:space="preserve">
<value>Unable to get an image URL from the message.</value>
</data>
Expand Down Expand Up @@ -225,4 +228,7 @@
<data name="UrlOrAttachmentRequired" xml:space="preserve">
<value>A URL or attachment is required.</value>
</data>
<data name="Yes" xml:space="preserve">
<value>Yes</value>
</data>
</root>

0 comments on commit 416dc7b

Please sign in to comment.