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"

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
bcd1db8c8e
commit
42ab11d253
5 changed files with 11 additions and 11 deletions
8
src/Messages.Designer.cs
generated
8
src/Messages.Designer.cs
generated
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue