Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: kofi.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 11, 2024
1 parent c9cb180 commit 97ea642
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
3 changes: 1 addition & 2 deletions RotationSolver/Helpers/SpeechHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ internal static void Speak(string text)
{
_stop?.Invoke(_manager, []);

_say?.Invoke(_textToTalk, [null, new SeString(new TextPayload("Rotation Solver")), XivChatType.SystemMessage,
text, 2]);
_say?.Invoke(_textToTalk, [null, new SeString(new TextPayload("Rotation Solver")), text, 2]);
}
catch (Exception ex)
{
Expand Down
13 changes: 12 additions & 1 deletion RotationSolver/Localization/Localization.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,5 +357,16 @@
"RotationSolver.Data.UiString.SpecialCommandType_Smart": "Auto Target ",
"RotationSolver.Data.UiString.SpecialCommandType_EndSpecial": "End Special",
"RotationSolver.Data.UiString.SpecialCommandType_Off": "Off",
"RotationSolver.Data.UiString.SpecialCommandType_Cancel": "Cancel"
"RotationSolver.Data.UiString.SpecialCommandType_Cancel": "Cancel",
"DescriptionAboutCommand": "Open config window.",
"RotationSolver.Data.UiString.Timeline_OpenLink": "Open the timeline link",
"RotationSolver.Data.UiString.AddTimelineButton": "Add a timeline item.",
"RotationSolver.Basic.Configuration.Timeline.ActionTimelineItem": "Action Timeline",
"RotationSolver.Basic.Configuration.Timeline.StateTimelineItem": "State Timeline",
"RotationSolver.Basic.Configuration.Timeline.DrawingTimeline": "Drawing Timeline",
"RotationSolver.Basic.Configuration.Timeline.MacroTimelineItem": "Macro Time line",
"RotationSolver.Basic.Configuration.Timeline.MoveTimelineItem": "Move Time line",
"RotationSolver.Data.UiString.TimelineExecute": "Execute",
"RotationSolver.Data.UiString.TimelineItemCondition": "Click to toggle the timeline item condition.",
"RotationSolver.Data.UiString.TimelineItemTime": "The time before this action."
}
6 changes: 1 addition & 5 deletions RotationSolver/UI/RotationConfigWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public class RotationConfigWindow : ConfigWindow
public static Vector3 HoveredPosition { get; private set; } = Vector3.Zero;

protected override string Kofi => "B0B0IN5DX";
protected override string Crowdin => "rotationsolver";

public override IEnumerable<Searchable> Searchables => [.. base.Searchables, ..DataCenter.RightNowRotation?.Configs];

Expand Down Expand Up @@ -591,11 +592,6 @@ private static void DrawAboutLinks()
{
var width = ImGui.GetWindowWidth();

if (ImageLoader.GetTexture("https://badges.crowdin.net/badge/light/crowdin-on-dark.png", out var icon) && ImGuiHelper.TextureButton(icon, width, width))
{
Util.OpenLink("https://crowdin.com/project/rotationsolver");
}

var text = "My story about FFXIV and Rotation Solver\n - ArchiTed / Youtube";
var textWidth = ImGuiHelpers.GetButtonSize(text).X;
ImGuiHelper.DrawItemMiddle(() =>
Expand Down

0 comments on commit 97ea642

Please sign in to comment.