mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 00:19:00 +03:00
/about: Replace repo link with website link (#328)
A some sort of UX change. Repository link will be still accessible from the website.
This commit is contained in:
parent
d1133124b8
commit
afd0141c13
5 changed files with 11 additions and 9 deletions
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
public static class BuildInfo
|
public static class BuildInfo
|
||||||
{
|
{
|
||||||
public const string RepositoryUrl = "https://github.com/TeamOctolings/Octobot";
|
public const string WebsiteUrl = "https://teamoctolings.github.io/Octobot";
|
||||||
|
|
||||||
|
private const string RepositoryUrl = "https://github.com/TeamOctolings/Octobot";
|
||||||
|
|
||||||
public const string IssuesUrl = $"{RepositoryUrl}/issues";
|
public const string IssuesUrl = $"{RepositoryUrl}/issues";
|
||||||
|
|
||||||
|
|
|
@ -106,9 +106,9 @@ public sealed class AboutCommandGroup : CommandGroup
|
||||||
|
|
||||||
var repositoryButton = new ButtonComponent(
|
var repositoryButton = new ButtonComponent(
|
||||||
ButtonComponentStyle.Link,
|
ButtonComponentStyle.Link,
|
||||||
Messages.ButtonOpenRepository,
|
Messages.ButtonOpenWebsite,
|
||||||
new PartialEmoji(Name: "\ud83c\udf10"), // 'GLOBE WITH MERIDIANS' (U+1F310)
|
new PartialEmoji(Name: "\ud83c\udf10"), // 'GLOBE WITH MERIDIANS' (U+1F310)
|
||||||
URL: BuildInfo.RepositoryUrl
|
URL: BuildInfo.WebsiteUrl
|
||||||
);
|
);
|
||||||
|
|
||||||
var wikiButton = new ButtonComponent(
|
var wikiButton = new ButtonComponent(
|
||||||
|
|
4
TeamOctolings.Octobot/Messages.Designer.cs
generated
4
TeamOctolings.Octobot/Messages.Designer.cs
generated
|
@ -633,9 +633,9 @@ namespace TeamOctolings.Octobot {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static string ButtonOpenRepository {
|
internal static string ButtonOpenWebsite {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("ButtonOpenRepository", resourceCulture);
|
return ResourceManager.GetString("ButtonOpenWebsite", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -399,8 +399,8 @@
|
||||||
<data name="AboutTitleDevelopers" xml:space="preserve">
|
<data name="AboutTitleDevelopers" xml:space="preserve">
|
||||||
<value>Developers:</value>
|
<value>Developers:</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ButtonOpenRepository" xml:space="preserve">
|
<data name="ButtonOpenWebsite" xml:space="preserve">
|
||||||
<value>Octobot's source code</value>
|
<value>Open Website</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AboutBot" xml:space="preserve">
|
<data name="AboutBot" xml:space="preserve">
|
||||||
<value>About {0}</value>
|
<value>About {0}</value>
|
||||||
|
|
|
@ -399,8 +399,8 @@
|
||||||
<data name="AboutTitleDevelopers" xml:space="preserve">
|
<data name="AboutTitleDevelopers" xml:space="preserve">
|
||||||
<value>Разработчики:</value>
|
<value>Разработчики:</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ButtonOpenRepository" xml:space="preserve">
|
<data name="ButtonOpenWebsite" xml:space="preserve">
|
||||||
<value>Исходный код Octobot</value>
|
<value>Открыть веб-сайт</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AboutBot" xml:space="preserve">
|
<data name="AboutBot" xml:space="preserve">
|
||||||
<value>О боте {0}</value>
|
<value>О боте {0}</value>
|
||||||
|
|
Loading…
Reference in a new issue