Compare commits

..

4 Commits

Author SHA1 Message Date
Evan Husted
bc6de21846 unnecessary escaping 2025-01-08 05:50:34 -06:00
Daenorth
8052a5480c no_No Norwegian locales update 2025-01-08 12:34:08 +01:00
Daenorth
2df1d50901 Merge branch 'Ryubing:master' into master 2025-01-08 12:13:27 +01:00
Daenorth
95a8890bc2 Update to no_NO Norwegian Translation with new resync & Metal backend text. 2024-12-31 16:56:41 +01:00
3 changed files with 3453 additions and 3449 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -10435,7 +10435,7 @@
"it_IT": "Finestra di input",
"ja_JP": "入力ダイアログ",
"ko_KR": "대화 상자 입력",
"no_NO": "",
"no_NO": "Dialogboksen Inndata",
"pl_PL": "Okno Dialogowe Wprowadzania",
"pt_BR": "Diálogo de texto",
"ru_RU": "Диалоговое окно ввода",
@@ -22610,7 +22610,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "",
"no_NO": "Denne kompatibilitetslisten kan inneholde oppføringer som er tomme for data.\nVær ikke imot å teste spill i statusen «Ingame».",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22635,7 +22635,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "",
"no_NO": "Søk i kompatibilitetsoppføringer...",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22660,7 +22660,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "",
"no_NO": "Åpne kompatibilitetslisten",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22685,7 +22685,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "",
"no_NO": "Vis bare eide spill",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22710,7 +22710,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "",
"no_NO": "Spillbar",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22760,7 +22760,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "",
"no_NO": "Menyer",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22785,7 +22785,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "",
"no_NO": "Starter",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22810,7 +22810,7 @@
"it_IT": "",
"ja_JP": "",
"ko_KR": "",
"no_NO": "",
"no_NO": "Ingenting",
"pl_PL": "",
"pt_BR": "",
"ru_RU": "",
@@ -22823,4 +22823,4 @@
}
}
]
}
}

View File

@@ -36,15 +36,19 @@ namespace Ryujinx.Ava.Utilities.Compat
if (row.ColCount != header.ColNames.Count)
throw new InvalidDataException($"CSV row {row.RowIndex} ({row.ToString()}) has mismatched column count");
var titleIdRow = ColStr(row[header.IndexOf("\"title_id\"")]);
var titleIdRow = ColStr(row[header.IndexOf("\"extracted_game_id\"")]);
TitleId = !string.IsNullOrEmpty(titleIdRow)
? titleIdRow
: default(Optional<string>);
GameName = ColStr(row[header.IndexOf("\"game_name\"")]).Trim().Trim('"');
IssueLabels = ColStr(row[header.IndexOf("\"labels\"")]).Split(';');
Status = ColStr(row[header.IndexOf("\"status\"")]).ToLower() switch
var issueTitleRow = ColStr(row[header.IndexOf("\"issue_title\"")]);
if (TitleId.HasValue)
issueTitleRow = issueTitleRow.ReplaceIgnoreCase($" - {TitleId}", string.Empty);
GameName = issueTitleRow.Trim().Trim('"');
IssueLabels = ColStr(row[header.IndexOf("\"issue_labels\"")]).Split(';');
Status = ColStr(row[header.IndexOf("\"extracted_status\"")]).ToLower() switch
{
"playable" => LocaleKeys.CompatibilityListPlayable,
"ingame" => LocaleKeys.CompatibilityListIngame,
@@ -54,7 +58,7 @@ namespace Ryujinx.Ava.Utilities.Compat
_ => null
};
if (DateTime.TryParse(ColStr(row[header.IndexOf("\"last_updated\"")]), out var dt))
if (DateTime.TryParse(ColStr(row[header.IndexOf("\"last_event_date\"")]), out var dt))
LastEvent = dt;
return;