mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-10 12:49:13 +00:00
Localise ButtonKeyAssigner
This commit is contained in:
parent
920777bc4b
commit
3afc37e683
1 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,7 @@ using Avalonia.Controls;
|
||||||
using Avalonia.Controls.Primitives;
|
using Avalonia.Controls.Primitives;
|
||||||
using Avalonia.LogicalTree;
|
using Avalonia.LogicalTree;
|
||||||
using Avalonia.Threading;
|
using Avalonia.Threading;
|
||||||
|
using Ryujinx.Ava.Common.Locale;
|
||||||
using Ryujinx.Input;
|
using Ryujinx.Input;
|
||||||
using Ryujinx.Input.Assigner;
|
using Ryujinx.Input.Assigner;
|
||||||
using System;
|
using System;
|
||||||
|
@ -82,7 +83,7 @@ namespace Ryujinx.Ava.UI.Helpers
|
||||||
|
|
||||||
if (_shouldUnbind)
|
if (_shouldUnbind)
|
||||||
{
|
{
|
||||||
SetButtonText(ToggledButton, "Unbound");
|
SetButtonText(ToggledButton, LocaleManager.Instance[LocaleKeys.KeyUnbound]);
|
||||||
}
|
}
|
||||||
else if (pressedButton != "")
|
else if (pressedButton != "")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue