forked from TeamInklings/Octobot
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
|
@ -348,8 +348,8 @@
|
|||
<data name="DescriptionExternalEventCreated" xml:space="preserve">
|
||||
<value>The event will start at {0} until {1} in {2}</value>
|
||||
</data>
|
||||
<data name="EventDetailsButton" xml:space="preserve">
|
||||
<value>Event details</value>
|
||||
<data name="OpenEventInfoButton" xml:space="preserve">
|
||||
<value>Open Event Info</value>
|
||||
</data>
|
||||
<data name="EventDuration" xml:space="preserve">
|
||||
<value>The event has lasted for `{0}`</value>
|
||||
|
|
|
@ -345,8 +345,8 @@
|
|||
<data name="DescriptionExternalEventCreated" xml:space="preserve">
|
||||
<value>Событие пройдёт с {0} до {1} в {2}</value>
|
||||
</data>
|
||||
<data name="EventDetailsButton" xml:space="preserve">
|
||||
<value>Подробнее о событии</value>
|
||||
<data name="OpenEventInfoButton" xml:space="preserve">
|
||||
<value>Открыть сведения о событии</value>
|
||||
</data>
|
||||
<data name="EventDuration" xml:space="preserve">
|
||||
<value>Событие длилось `{0}`</value>
|
||||
|
|
|
@ -348,8 +348,8 @@
|
|||
<data name="DescriptionExternalEventCreated" xml:space="preserve">
|
||||
<value>движуха будет происходить с {0} до {1} в {2}</value>
|
||||
</data>
|
||||
<data name="EventDetailsButton" xml:space="preserve">
|
||||
<value>побольше о движухе</value>
|
||||
<data name="OpenEventInfoButton" xml:space="preserve">
|
||||
<value>открыть ивент</value>
|
||||
</data>
|
||||
<data name="EventDuration" xml:space="preserve">
|
||||
<value>все это длилось `{0}`</value>
|
||||
|
|
4
src/Messages.Designer.cs
generated
4
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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}"
|
||||
);
|
||||
|
|
Reference in a new issue