1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 09:09:00 +03:00

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

The correct phrasing used by Discord is "Event Info"

![image](https://github.com/LabsDevelopment/Octobot/assets/95250141/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

@ -348,8 +348,8 @@
<data name="DescriptionExternalEventCreated" xml:space="preserve"> <data name="DescriptionExternalEventCreated" xml:space="preserve">
<value>The event will start at {0} until {1} in {2}</value> <value>The event will start at {0} until {1} in {2}</value>
</data> </data>
<data name="EventDetailsButton" xml:space="preserve"> <data name="OpenEventInfoButton" xml:space="preserve">
<value>Event details</value> <value>Open Event Info</value>
</data> </data>
<data name="EventDuration" xml:space="preserve"> <data name="EventDuration" xml:space="preserve">
<value>The event has lasted for `{0}`</value> <value>The event has lasted for `{0}`</value>

View file

@ -345,8 +345,8 @@
<data name="DescriptionExternalEventCreated" xml:space="preserve"> <data name="DescriptionExternalEventCreated" xml:space="preserve">
<value>Событие пройдёт с {0} до {1} в {2}</value> <value>Событие пройдёт с {0} до {1} в {2}</value>
</data> </data>
<data name="EventDetailsButton" xml:space="preserve"> <data name="OpenEventInfoButton" xml:space="preserve">
<value>Подробнее о событии</value> <value>Открыть сведения о событии</value>
</data> </data>
<data name="EventDuration" xml:space="preserve"> <data name="EventDuration" xml:space="preserve">
<value>Событие длилось `{0}`</value> <value>Событие длилось `{0}`</value>

View file

@ -348,8 +348,8 @@
<data name="DescriptionExternalEventCreated" xml:space="preserve"> <data name="DescriptionExternalEventCreated" xml:space="preserve">
<value>движуха будет происходить с {0} до {1} в {2}</value> <value>движуха будет происходить с {0} до {1} в {2}</value>
</data> </data>
<data name="EventDetailsButton" xml:space="preserve"> <data name="OpenEventInfoButton" xml:space="preserve">
<value>побольше о движухе</value> <value>открыть ивент</value>
</data> </data>
<data name="EventDuration" xml:space="preserve"> <data name="EventDuration" xml:space="preserve">
<value>все это длилось `{0}`</value> <value>все это длилось `{0}`</value>

View file

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

View file

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