mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-05 11:59:15 +00:00
Adjust some locales and add shortcuts
This commit is contained in:
@@ -553,51 +553,51 @@
|
||||
{
|
||||
"ID": "MenuBarOptionsStopEmulation",
|
||||
"Translations": {
|
||||
"ar_SA": "إيقاف المحاكاة",
|
||||
"de_DE": "Emulation beenden",
|
||||
"el_GR": "Διακοπή Εξομοίωσης",
|
||||
"en_US": "Stop Emulation",
|
||||
"es_ES": "Detener Emulación",
|
||||
"fr_FR": "Arrêter l'Émulation",
|
||||
"he_IL": "עצור אמולציה",
|
||||
"it_IT": "Arresta l'emulazione",
|
||||
"ja_JP": "エミュレーションを中止",
|
||||
"ko_KR": "에뮬레이션 중지",
|
||||
"no_NO": "Stopp Emulering",
|
||||
"pl_PL": "Zatrzymaj emulację",
|
||||
"pt_BR": "Parar a Emulação",
|
||||
"ar_SA": "إيقاف",
|
||||
"de_DE": "Beenden",
|
||||
"el_GR": "Διακοπή",
|
||||
"en_US": "Stop",
|
||||
"es_ES": "Detener",
|
||||
"fr_FR": "Arrêter",
|
||||
"he_IL": "עצור",
|
||||
"it_IT": "Arresta",
|
||||
"ja_JP": "中止",
|
||||
"ko_KR": "중지",
|
||||
"no_NO": "Stopp",
|
||||
"pl_PL": "Zatrzymaj",
|
||||
"pt_BR": "Parar",
|
||||
"ru_RU": "Остановить",
|
||||
"sv_SE": "Stoppa emulering",
|
||||
"th_TH": "หยุดการจำลอง",
|
||||
"tr_TR": "Emülasyonu Durdur",
|
||||
"uk_UA": "Зупинити емуляцію",
|
||||
"zh_CN": "停止模拟",
|
||||
"zh_TW": "停止模擬"
|
||||
"sv_SE": "Stoppa",
|
||||
"th_TH": "หยุด",
|
||||
"tr_TR": "Durdur",
|
||||
"uk_UA": "Зупинити",
|
||||
"zh_CN": "停止",
|
||||
"zh_TW": "停止"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "MenuBarOptionsRestartEmulation",
|
||||
"Translations": {
|
||||
"ar_SA": "",
|
||||
"de_DE": "",
|
||||
"el_GR": "",
|
||||
"en_US": "Restart Emulation",
|
||||
"es_ES": "",
|
||||
"fr_FR": "",
|
||||
"he_IL": "",
|
||||
"it_IT": "",
|
||||
"ja_JP": "",
|
||||
"ko_KR": "",
|
||||
"no_NO": "",
|
||||
"pl_PL": "",
|
||||
"pt_BR": "",
|
||||
"ru_RU": "",
|
||||
"sv_SE": "Starta om emulering",
|
||||
"th_TH": "",
|
||||
"tr_TR": "",
|
||||
"uk_UA": "",
|
||||
"zh_CN": "",
|
||||
"zh_TW": ""
|
||||
"ar_SA": "إعادة تشغيل",
|
||||
"de_DE": "Neu starten",
|
||||
"el_GR": "Επανεκκίνηση",
|
||||
"en_US": "Restart",
|
||||
"es_ES": "Reiniciar",
|
||||
"fr_FR": "Redémarrer",
|
||||
"he_IL": "הפעל מחדש",
|
||||
"it_IT": "Riavvia",
|
||||
"ja_JP": "再起動",
|
||||
"ko_KR": "재시작",
|
||||
"no_NO": "Start på nytt",
|
||||
"pl_PL": "Uruchom ponownie",
|
||||
"pt_BR": "Reiniciar",
|
||||
"ru_RU": "Перезапустить",
|
||||
"sv_SE": "Starta om",
|
||||
"th_TH": "เริ่มใหม่",
|
||||
"tr_TR": "Yeniden başlat",
|
||||
"uk_UA": "Перезапустити",
|
||||
"zh_CN": "重新启动",
|
||||
"zh_TW": "重新啟動"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -903,24 +903,24 @@
|
||||
{
|
||||
"ID": "MenuBarActionsTools",
|
||||
"Translations": {
|
||||
"ar_SA": "",
|
||||
"de_DE": "",
|
||||
"el_GR": "",
|
||||
"ar_SA": "أدوات",
|
||||
"de_DE": "Werkzeuge",
|
||||
"el_GR": "Εργαλεία",
|
||||
"en_US": "Tools",
|
||||
"es_ES": "Herramientas",
|
||||
"fr_FR": "Outils",
|
||||
"he_IL": "",
|
||||
"he_IL": "כלים",
|
||||
"it_IT": "Strumenti",
|
||||
"ja_JP": "",
|
||||
"ja_JP": "ツール",
|
||||
"ko_KR": "도구",
|
||||
"no_NO": "",
|
||||
"pl_PL": "",
|
||||
"no_NO": "Verktøy",
|
||||
"pl_PL": "Narzędzia",
|
||||
"pt_BR": "Ferramentas",
|
||||
"ru_RU": "Инструменты",
|
||||
"sv_SE": "Verktyg",
|
||||
"th_TH": "",
|
||||
"tr_TR": "",
|
||||
"uk_UA": "",
|
||||
"th_TH": "เครื่องมือ",
|
||||
"tr_TR": "Araçlar",
|
||||
"uk_UA": "Інструменти",
|
||||
"zh_CN": "工具",
|
||||
"zh_TW": "工具"
|
||||
}
|
||||
@@ -3353,26 +3353,26 @@
|
||||
{
|
||||
"ID": "SettingsTabGeneralFocusLossTypePauseEmulation",
|
||||
"Translations": {
|
||||
"ar_SA": "إيقاف التشغيل مؤقتًا",
|
||||
"de_DE": "Emulation pausieren",
|
||||
"el_GR": "Παύση προσομοίωσης",
|
||||
"en_US": "Pause Emulation",
|
||||
"es_ES": "Pausar Emulación",
|
||||
"fr_FR": "Pauser l'Émulation",
|
||||
"he_IL": "השהיית האמולציה",
|
||||
"it_IT": "Pausa emulazione",
|
||||
"ja_JP": "エミュレーション一時停止",
|
||||
"ko_KR": "에뮬레이션 일시중지",
|
||||
"no_NO": "Pause Emulatoren",
|
||||
"pl_PL": "Wstrzymaj emulację",
|
||||
"pt_BR": "Pausar emulação",
|
||||
"ru_RU": "Пауза эмуляции",
|
||||
"sv_SE": "Pausa emuleringen",
|
||||
"th_TH": "พักการจำลอง",
|
||||
"tr_TR": "Emülasyonu Duraklat",
|
||||
"uk_UA": "Пауза емуляції",
|
||||
"zh_CN": "暂停模拟",
|
||||
"zh_TW": "暫停模擬"
|
||||
"ar_SA": "إيقاف مؤقت",
|
||||
"de_DE": null,
|
||||
"el_GR": "Παύση",
|
||||
"en_US": "Pause",
|
||||
"es_ES": "Pausa",
|
||||
"fr_FR": null,
|
||||
"he_IL": "השהיה",
|
||||
"it_IT": "Pausa",
|
||||
"ja_JP": "一時停止",
|
||||
"ko_KR": "일시중지",
|
||||
"no_NO": null,
|
||||
"pl_PL": "Pauza",
|
||||
"pt_BR": "Pausa",
|
||||
"ru_RU": "Пауза",
|
||||
"sv_SE": "Paus",
|
||||
"th_TH": "หยุดชั่วคราว",
|
||||
"tr_TR": "Duraklat",
|
||||
"uk_UA": "Пауза",
|
||||
"zh_CN": "暂停",
|
||||
"zh_TW": "暫停"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -11808,7 +11808,7 @@
|
||||
"el_GR": "Απόκρυψη UI",
|
||||
"en_US": "Hide UI",
|
||||
"es_ES": "Ocultar Interfaz",
|
||||
"fr_FR": "Masquer l'Interface Utilisateur",
|
||||
"fr_FR": "Masquer l'Interface",
|
||||
"he_IL": "הסתר ממשק משתמש ",
|
||||
"it_IT": "Nascondi l'interfaccia",
|
||||
"ja_JP": "UIを隠す",
|
||||
|
||||
@@ -1886,6 +1886,24 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||
Title = RyujinxApp.FormatTitle();
|
||||
});
|
||||
}
|
||||
|
||||
public async Task OpenCheatManagerForCurrentApp()
|
||||
{
|
||||
if (IsGameRunning)
|
||||
{
|
||||
string name = AppHost.Device.Processes.ActiveApplication.ApplicationControlProperties.Title[(int)AppHost.Device.System.State.DesiredTitleLanguage].NameString.ToString();
|
||||
|
||||
await StyleableAppWindow.ShowAsync(
|
||||
new CheatWindow(
|
||||
Window.VirtualFileSystem,
|
||||
AppHost.Device.Processes.ActiveApplication.ProgramIdText,
|
||||
name,
|
||||
SelectedApplication.Path)
|
||||
);
|
||||
|
||||
AppHost.Device.EnableCheats();
|
||||
}
|
||||
}
|
||||
|
||||
public async Task OpenAmiiboWindow()
|
||||
{
|
||||
|
||||
@@ -164,24 +164,6 @@ namespace Ryujinx.Ava.UI.Views.Main
|
||||
await ViewModel.LoadApplication(appData, ViewModel.IsFullScreen || ViewModel.StartGamesInFullscreen, nacpData);
|
||||
}
|
||||
|
||||
public async Task OpenCheatManagerForCurrentApp()
|
||||
{
|
||||
if (!ViewModel.IsGameRunning)
|
||||
return;
|
||||
|
||||
string name = ViewModel.AppHost.Device.Processes.ActiveApplication.ApplicationControlProperties.Title[(int)ViewModel.AppHost.Device.System.State.DesiredTitleLanguage].NameString.ToString();
|
||||
|
||||
await StyleableAppWindow.ShowAsync(
|
||||
new CheatWindow(
|
||||
Window.VirtualFileSystem,
|
||||
ViewModel.AppHost.Device.Processes.ActiveApplication.ProgramIdText,
|
||||
name,
|
||||
ViewModel.SelectedApplication.Path)
|
||||
);
|
||||
|
||||
ViewModel.AppHost.Device.EnableCheats();
|
||||
}
|
||||
|
||||
private void ScanAmiiboMenuItem_AttachedToVisualTree(object sender, VisualTreeAttachmentEventArgs e)
|
||||
{
|
||||
if (sender is MenuItem)
|
||||
|
||||
@@ -41,9 +41,11 @@
|
||||
<KeyBinding Gesture="Escape" Command="{Binding ExitCurrentState}" />
|
||||
<KeyBinding Gesture="Ctrl+A" Command="{Binding OpenAmiiboWindow}" />
|
||||
<KeyBinding Gesture="Ctrl+B" Command="{Binding OpenBinFile}" />
|
||||
<KeyBinding Gesture="Ctrl+C" Command="{Binding OpenCheatManagerForCurrentApp}" />
|
||||
<KeyBinding Gesture="Ctrl+R" Command="{Binding RestartEmulation}" />
|
||||
<KeyBinding Gesture="Ctrl+Shift+R" Command="{Binding ReloadRenderDocApi}" />
|
||||
<KeyBinding Gesture="Ctrl+Shift+C" Command="{Binding ToggleCapture}" />
|
||||
<KeyBinding Gesture="Ctrl+M" Command="{Binding SimulateWakeUpMessage}" />
|
||||
</Window.KeyBindings>
|
||||
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RowDefinitions="*">
|
||||
<helpers:OffscreenTextBox IsEnabled="False" Opacity="0" Name="HiddenTextBox" IsHitTestVisible="False" IsTabStop="False" />
|
||||
|
||||
Reference in New Issue
Block a user