Compare commits

...

3 Commits

Author SHA1 Message Date
Daniel Nylander
a9e46145b8 Merge c0a9957d04 into a23c6bf547 2025-03-05 03:39:57 +02:00
Evan Husted
a23c6bf547 misc: chore: [ci skip] fix redundant qualified name 2025-03-04 19:07:39 -06:00
Daniel Nylander
c0a9957d04 Updated Swedish in locales.json 2025-03-04 07:00:37 +01:00
2 changed files with 9 additions and 9 deletions

View File

@@ -1664,7 +1664,7 @@
"pl_PL": "Rozszerzenie pliku: {0}", "pl_PL": "Rozszerzenie pliku: {0}",
"pt_BR": "Extensão: {0}", "pt_BR": "Extensão: {0}",
"ru_RU": "Расширение файла: {0}", "ru_RU": "Расширение файла: {0}",
"sv_SE": "Filänd: {0}", "sv_SE": "Filändelse: {0}",
"th_TH": "นามสกุลไฟล์: {0}", "th_TH": "นามสกุลไฟล์: {0}",
"tr_TR": "Dosya Uzantısı: {0}", "tr_TR": "Dosya Uzantısı: {0}",
"uk_UA": "Розширення файлу: {0}", "uk_UA": "Розширення файлу: {0}",
@@ -1789,7 +1789,7 @@
"pl_PL": "Rozszerzenie pliku", "pl_PL": "Rozszerzenie pliku",
"pt_BR": "Extensão", "pt_BR": "Extensão",
"ru_RU": "Расширение файла", "ru_RU": "Расширение файла",
"sv_SE": "Filänd", "sv_SE": "Filändelse",
"th_TH": "นามสกุลไฟล์", "th_TH": "นามสกุลไฟล์",
"tr_TR": "Dosya Uzantısı", "tr_TR": "Dosya Uzantısı",
"uk_UA": "Розширення файлу", "uk_UA": "Розширення файлу",
@@ -3989,7 +3989,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "Carregar Automaticamente Pasta de DLC e Atualizações", "pt_BR": "Carregar Automaticamente Pasta de DLC e Atualizações",
"ru_RU": "Автозагрузка папки с DLC/Обновлениями", "ru_RU": "Автозагрузка папки с DLC/Обновлениями",
"sv_SE": "Läs automatisk in DLC/speluppdateringar", "sv_SE": "Läs automatiskt in DLC/speluppdateringar",
"th_TH": "โหลดไดเรกทอรี DLC/ไฟล์อัปเดต อัตโนมัติ", "th_TH": "โหลดไดเรกทอรี DLC/ไฟล์อัปเดต อัตโนมัติ",
"tr_TR": "", "tr_TR": "",
"uk_UA": "Автозавантаження теки DLC/Оновлень", "uk_UA": "Автозавантаження теки DLC/Оновлень",
@@ -7239,7 +7239,7 @@
"pl_PL": "Przyciski", "pl_PL": "Przyciski",
"pt_BR": "Botões", "pt_BR": "Botões",
"ru_RU": "Кнопки", "ru_RU": "Кнопки",
"sv_SE": "Knappar", "sv_SE": "Handlingsknappar",
"th_TH": "ปุ่มกด", "th_TH": "ปุ่มกด",
"tr_TR": "Tuşlar", "tr_TR": "Tuşlar",
"uk_UA": "Кнопки", "uk_UA": "Кнопки",
@@ -14889,7 +14889,7 @@
"pl_PL": "Wielowątkowość Backendu Graficznego:", "pl_PL": "Wielowątkowość Backendu Graficznego:",
"pt_BR": "Multi Enfileiramento do Renderizador Gráfico:", "pt_BR": "Multi Enfileiramento do Renderizador Gráfico:",
"ru_RU": "Многопоточность графического бэкенда:", "ru_RU": "Многопоточность графического бэкенда:",
"sv_SE": "Multithreading för grafikbakände:", "sv_SE": "Multitrådning för grafikbakände:",
"th_TH": "มัลติเธรด กราฟิกเบื้องหลัง:", "th_TH": "มัลติเธรด กราฟิกเบื้องหลัง:",
"tr_TR": "Grafik Backend Multithreading:", "tr_TR": "Grafik Backend Multithreading:",
"uk_UA": "Багатопотоковість графічного сервера:", "uk_UA": "Багатопотоковість графічного сервера:",
@@ -18689,7 +18689,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "Não Reduzido", "pt_BR": "Não Reduzido",
"ru_RU": "Не обрезан", "ru_RU": "Не обрезан",
"sv_SE": "Inte optimerad", "sv_SE": "Orörd",
"th_TH": "", "th_TH": "",
"tr_TR": "", "tr_TR": "",
"uk_UA": "Необрізані", "uk_UA": "Необрізані",

View File

@@ -17,12 +17,12 @@ namespace Ryujinx.Ava.Systems.Configuration
public static class FileTypesExtensions public static class FileTypesExtensions
{ {
/// <summary> /// <summary>
/// Gets the current <see cref="ConfigurationState.UISection.ShownFileTypeSettings"/> value for the correlating FileType name. /// Gets the current <see cref="ShownFileTypeSettings"/> value for the correlating FileType name.
/// </summary> /// </summary>
/// <param name="type">The name of the <see cref="ConfigurationState.UISection.ShownFileTypeSettings"/> parameter to get the value of.</param> /// <param name="type">The name of the <see cref="ShownFileTypeSettings"/> parameter to get the value of.</param>
/// <param name="config">The config instance to get the value from.</param> /// <param name="config">The config instance to get the value from.</param>
/// <returns>The current value of the setting. Value is <see langword="true"/> if the file type is to be shown on the games list, <see langword="false"/> otherwise.</returns> /// <returns>The current value of the setting. Value is <see langword="true"/> if the file type is to be shown on the games list, <see langword="false"/> otherwise.</returns>
public static bool GetConfigValue(this FileTypes type, ConfigurationState.UISection.ShownFileTypeSettings config) => type switch public static bool GetConfigValue(this FileTypes type, ShownFileTypeSettings config) => type switch
{ {
FileTypes.NSP => config.NSP.Value, FileTypes.NSP => config.NSP.Value,
FileTypes.PFS0 => config.PFS0.Value, FileTypes.PFS0 => config.PFS0.Value,