1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-03 20:49:54 +03:00

Rename "Event details" button to "Open Event Info" (#209)

The correct phrasing used by Discord is "Event Info"

![image](8165b70d-4c81-4b85-8251-db2de6a7f4ca)

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2023-12-08 14:06:50 +03:00 committed by GitHub
parent bcd1db8c8e
commit 42ab11d253
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 11 deletions

View file

@ -534,9 +534,9 @@ namespace Octobot {
}
}
internal static string EventDetailsButton {
internal static string OpenEventInfoButton {
get {
return ResourceManager.GetString("EventDetailsButton", resourceCulture);
return ResourceManager.GetString("OpenEventInfoButton", resourceCulture);
}
}
@ -1012,7 +1012,7 @@ namespace Octobot {
return ResourceManager.GetString("DataLoadFailedDescription", resourceCulture);
}
}
internal static string CommandExecutionFailed
{
get
@ -1020,7 +1020,7 @@ namespace Octobot {
return ResourceManager.GetString("CommandExecutionFailed", resourceCulture);
}
}
internal static string ContactDevelopers
{
get

View file

@ -226,7 +226,7 @@ public sealed class ScheduledEventUpdateService : BackgroundService
var button = new ButtonComponent(
ButtonComponentStyle.Link,
Messages.EventDetailsButton,
Messages.OpenEventInfoButton,
new PartialEmoji(Name: "📋"),
URL: $"https://discord.com/events/{scheduledEvent.GuildID}/{scheduledEvent.ID}"
);