mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-27 06:39:06 +00:00
Ayyyy, welcome to the UI: Actions Menu → XCI Trimmer PR!
Let's keep it up!
This is the second PR in a series aimed at delivering the largest overhaul and improvements to the `Actions` menu yet.
This second PR introduces visual improvements to the `XCI Trimmer` and also fixes some bugs.
### GENERAL:
* **Renamed:** `XCI Trimmer` files to use the capitalised XCI instead of Xci
* Files were inconsistently named with either Xci or XCI. As such, they were all renamed to use XCI.
### LOCALISATION:
* **Fractured:** More locales
* `Common_Search.json` - search-related locales
* `Common_Sort.json` - sorting fields, ascending/descending locales
* `Dialog_XCITrimmer.json` - XCI trimmer dialogs
* `GameListContextMenu.json` - all UI dialogs related to the game list menu (right-click game)
* `XCITrimmer.json` - all UI-related locales for the XCI Trimmer window
* **Added:** Additional entry to `StatusBar.json`
* **Added:** `Simulate Wake-Up Message` to `MenuBar_Actions.json` (previously did not exist there, for some reason).
**NOTE:** `Common_Search.json` and `Common_Sort.json` were not fully populated, but many more locales will be added and cleaned up in future PRs.
### XCI TRIMMER:
* **Renamed:** `Trim XCI Files` menu → `XCI Trimmer`
* **XCI Trimmer (Window):**
* **Renamed:** Window title from `XCI File Trimmer` → `XCI Trimmer`
* **Renamed:** `X of Y Title(s) Selected` → `XCI Selected: X/Y`
* `Z Displayed` was renamed to `Displayed: Z` and, as usual, appears only when searching for particular XCIs in the search bar.
* **Fixed:** Counting bug
* Pressing `Select Shown` continuously would increment the amount of XCIs selected to infinity (e.g. if 5 XCIs are in the list, then you could get 1201312 of 5 Title(s) Selected). Furthermore, when you were trimming a specific number of XCIs (not the all XCIs) at once, it would show that its trimming all titles from the list (e.g. "Trimming 5 Titles" when only 1 was being trimmed).
* **Changed:** Button structure
* Previous structure included 2 buttons: `Select Shown` and `Deselect Shown`. Initially, they were renamed to `Select All` and `Deselect All`, as that sounded more natural. However, after further consideration, they were both removed and replaced by a single button, whose action and label would change depending on the state it was in:
* If no XCIs were selected → `Select All`
* If at least one XCI is selected →`Clear Selection`
* `Clear Selection` was used instead of Deselect All, because some translations were quite awkward.
* Furthermore, this reflects the way the button works: you are not "deselecting all" when only 2 out of 5 XCIs are selected - you are clearing that particular selection of XCIs.
* **Improved:** Button and Control Layout (above list)
* Sorting dropdown was expanded a bit further (150 default to 170 width), as some locales would get cutoff. This will be further adjusted in a future PR, which will tackle all of Ryujinx's sorting features.
* Added a new sorting: Trim Status
* See images for visual comparison.
* **Improved:** XCI List Layout
* The entire list was revamped to be more modern and cleaner to look at.
* Instead of displaying the file status (Trimmed, Untrimmed, Partial, Failed, Unknown), it now shows icons: Checkmark (Trimmed), Cross (Untrimmed), Wrench (Partial), Exclamation Mark (Failed), Question mark (everything else/Unknown), No Icon (when it's not XCI).
* Furthermore, it shows a Sync icon when performing the trimming/untrimming operation.
* Additionally, it shows the said status when you hover above the icons.
* Save X MB and Saved Y MB were both removed and replaced with just the amount and a percentage value (how much you save per file).
* See images for visual comparison.
* NOTE: Icons are still under consideration and may be changed in the future.
* **Improved:** Bottom Savings Display
* Instead of showing `Potential Savings`" and `Actual Savings`, the bottom row now shows the amount `Saved` AND the amount `Remaining`.
### GAME LIST CONTEXT MENU (Right-Click Game):
* **Renamed:** `Check & Trim XCI File` → `Trim XCI`
* The option already performs a check regardless.
* **Remove:** `Trim XCI` Tooltip
* The user can press the option and will be confronted with a dialog, which explains what the feature does. Furthermore, the action itself is reversible at any moment (i.e. before trimming and after trimming in the XCI Trimmer).
* It is planned to either add a message that tells the user they can untrim the XCI in the XCI Trimmer, or to make the option work both ways (Trim & Untrim). This is still under consideration, but, if chosen to be implemented, it will be a part of the Game List Context Menu PR.
* **Added:** IsVisible parameter to `Trim XCI`
* Instead of displaying `Trim XCI` for every single game (NSP, NSO, etc.), it will only be displayed for XCIs (as they are the only ones that can be trimmed). It is still _enabled_ only if an XCI is untrimmed.
* **Improved:** `Trim XCI` Dialog
* Some minor visual adjustment and organisation improvements.
* **Changed:** Value formatting for "File Size", "Game Size", and "Space Savings"
* Previously they were very long numbers, expressed in MB, with all the decimals. Instead of displaying them as such, they were shortened to display the same amount as they do in the XCI Trimmer window already.
* All further dialogs will be improved in a separate PR, because they desperately need consistency.
### STATUS BAR:
* **Adjusted:** Formatting of XCI Trimming Status on status bar
* **Forced:** Filename without extension (as we are already trimming an XCI already).
* **Fixed:** Trimming Position when Playtime is not available
* **Fixed:** Progress bar position (will be further adjusted in a Status Bar PR…boy there will be a lot of PRs, which is good)
_If there are any features or changes that you wish to be implemented, please comment down below and I'll be happy to accommodate!_
Reviewed-on: https://git.ryujinx.app/projects/Ryubing/pulls/146
430 lines
12 KiB
JSON
430 lines
12 KiB
JSON
{
|
||
"Locales": [
|
||
{
|
||
"ID": "StatusCountLabel",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "XCI Selected: {0}/{1}",
|
||
"es_ES": "XCI Seleccionados: {0}/{1}",
|
||
"fr_FR": "XCI Sélectionnés : {0}/{1}",
|
||
"he_IL": "",
|
||
"it_IT": "XCI Selezionati: {0}/{1}",
|
||
"ja_JP": "",
|
||
"ko_KR": "XCI 선택됨: {0}/{1}",
|
||
"no_NO": "XCI Valgt: {0}/{1}",
|
||
"pl_PL": "XCI Wybrane: {0}/{1}",
|
||
"pt_BR": "XCI Selecionados: {0}/{1}",
|
||
"ru_RU": "Выбрано XCI: {0}/{1}",
|
||
"sv_SE": "XCI Valda: {0}/{1}",
|
||
"th_TH": "XCI เลือกแล้ว: {0}/{1}",
|
||
"tr_TR": "",
|
||
"uk_UA": "Вибрано XCI: {0}/{1}",
|
||
"zh_CN": "XCI 已选: {0}/{1}",
|
||
"zh_TW": "XCI 已選擇: {0}/{1}"
|
||
}
|
||
},
|
||
{
|
||
"ID": "StatusCountWithFilterLabel",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "XCI Selected: {0}/{1} (Displayed: {2})",
|
||
"es_ES": "XCI Seleccionados: {0}/{1} (Mostrados: {2})",
|
||
"fr_FR": "XCI Sélectionnés : {0}/{1} (Affichés : {2})",
|
||
"he_IL": "",
|
||
"it_IT": "XCI Selezionati: {0}/{1} (Visualizzati: {2})",
|
||
"ja_JP": "",
|
||
"ko_KR": "XCI 선택됨: {0}/{1} (표시됨: {2})",
|
||
"no_NO": "XCI Valgt: {0}/{1} (Vises: {2})",
|
||
"pl_PL": "XCI Wybrane: {0}/{1} (Wyświetlone: {2})",
|
||
"pt_BR": "XCI Selecionados: {0}/{1} (Exibidos: {2})",
|
||
"ru_RU": "Выбрано XCI: {0}/{1} (Отображается: {2})",
|
||
"sv_SE": "XCI Valda: {0}/{1} (Visas: {2})",
|
||
"th_TH": "XCI เลือกแล้ว: {0}/{1} (แสดง: {2})",
|
||
"tr_TR": "",
|
||
"uk_UA": "Вибрано XCI: {0}/{1} (Відображається: {2})",
|
||
"zh_CN": "XCI 已选: {0}/{1}(显示: {2})",
|
||
"zh_TW": "XCI 已選擇: {0}/{1}(顯示: {2})"
|
||
}
|
||
},
|
||
{
|
||
"ID": "StatusTrimmingLabel",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "Trimming: {0}/{1}...",
|
||
"es_ES": "Recortando: {0}/{1}...",
|
||
"fr_FR": "Réduction : {0}/{1}...",
|
||
"he_IL": "",
|
||
"it_IT": "Riduzione: {0}/{1}...",
|
||
"ja_JP": "",
|
||
"ko_KR": "트리밍: {0}/{1}...",
|
||
"no_NO": "Trimmer: {0}/{1}...",
|
||
"pl_PL": "",
|
||
"pt_BR": "Recortando: {0}/{1}...",
|
||
"ru_RU": "Обрезка: {0}/{1}...",
|
||
"sv_SE": "Trimmar: {0}/{1}...",
|
||
"th_TH": "กำลังตัดแต่ง: {0}/{1}...",
|
||
"tr_TR": "",
|
||
"uk_UA": "Обрізання: {0}/{1}...",
|
||
"zh_CN": "正在修剪:{0}/{1}...",
|
||
"zh_TW": "正在修剪:{0}/{1}..."
|
||
}
|
||
},
|
||
{
|
||
"ID": "StatusUntrimmingLabel",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "Untrimming {0}...",
|
||
"es_ES": "Deshaciendo el recorte {0}...",
|
||
"fr_FR": "Restauration de {0}...",
|
||
"he_IL": "",
|
||
"it_IT": "Ripristino di {0}...",
|
||
"ja_JP": "",
|
||
"ko_KR": "{0} 복원 중...",
|
||
"no_NO": "Gjenoppretter {0}...",
|
||
"pl_PL": "",
|
||
"pt_BR": "Restaurando {0}...",
|
||
"ru_RU": "Восстановление {0}...",
|
||
"sv_SE": "Återställer {0}...",
|
||
"th_TH": "กำลังกู้คืน {0}...",
|
||
"tr_TR": "",
|
||
"uk_UA": "Відновлення {0}...",
|
||
"zh_CN": "正在恢复 {0}...",
|
||
"zh_TW": "正在還原 {0}..."
|
||
}
|
||
},
|
||
{
|
||
"ID": "SelectAllButton",
|
||
"Translations": {
|
||
"ar_SA": "اختر الكل",
|
||
"de_DE": "Alles auswählen",
|
||
"el_GR": "Επιλογή όλων",
|
||
"en_US": "Select All",
|
||
"es_ES": "Seleccionar Todo",
|
||
"fr_FR": "Sélectionner Tout",
|
||
"he_IL": "בחר הכל",
|
||
"it_IT": "Seleziona tutto",
|
||
"ja_JP": "すべて選択",
|
||
"ko_KR": "모두 선택",
|
||
"no_NO": "Velg alle",
|
||
"pl_PL": "Zaznacz wszystko",
|
||
"pt_BR": "Selecionar tudo",
|
||
"ru_RU": "Выбрать все",
|
||
"sv_SE": "Markera alla",
|
||
"th_TH": "เลือกทั้งหมด",
|
||
"tr_TR": "Hepsini seç",
|
||
"uk_UA": "Вибрати все",
|
||
"zh_CN": "选择全部",
|
||
"zh_TW": "選擇全部"
|
||
}
|
||
},
|
||
{
|
||
"ID": "ClearSelectionButton",
|
||
"Translations": {
|
||
"ar_SA": "مسح التحديد",
|
||
"de_DE": "Auswahl aufheben",
|
||
"el_GR": "Εκκαθάριση επιλογής",
|
||
"en_US": "Clear Selection",
|
||
"es_ES": "Borrar selección",
|
||
"fr_FR": "Effacer la sélection",
|
||
"he_IL": "נקה בחירה",
|
||
"it_IT": "Cancella selezione",
|
||
"ja_JP": "選択をクリア",
|
||
"ko_KR": "선택 해제",
|
||
"no_NO": "Fjern utvalg",
|
||
"pl_PL": "Wyczyść zaznaczenie",
|
||
"pt_BR": "Limpar seleção",
|
||
"ru_RU": "Очистить выделение",
|
||
"sv_SE": "Rensa markering",
|
||
"th_TH": "ล้างการเลือก",
|
||
"tr_TR": "Seçimi temizle",
|
||
"uk_UA": "Очистити вибір",
|
||
"zh_CN": "清除选择",
|
||
"zh_TW": "清除選擇"
|
||
}
|
||
},
|
||
{
|
||
"ID": "TrimmedLabel",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "Trimmed",
|
||
"es_ES": "Recortado",
|
||
"fr_FR": "Réduit",
|
||
"he_IL": "",
|
||
"it_IT": "Dim. ridotta",
|
||
"ja_JP": "",
|
||
"ko_KR": "트리밍됨",
|
||
"no_NO": "Trimmet",
|
||
"pl_PL": "",
|
||
"pt_BR": "Reduzido",
|
||
"ru_RU": "Обрезан",
|
||
"sv_SE": "Optimerad",
|
||
"th_TH": "ตัดแต่งแล้ว",
|
||
"tr_TR": "",
|
||
"uk_UA": "Обрізані",
|
||
"zh_CN": "经过瘦身的",
|
||
"zh_TW": "已修剪"
|
||
}
|
||
},
|
||
{
|
||
"ID": "UntrimmedLabel",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "Untrimmed",
|
||
"es_ES": "Sin Recortar",
|
||
"fr_FR": "Non Réduit",
|
||
"he_IL": "",
|
||
"it_IT": "Dim. originale",
|
||
"ja_JP": "",
|
||
"ko_KR": "트리밍되지 않음",
|
||
"no_NO": "Ikke trimmet",
|
||
"pl_PL": "",
|
||
"pt_BR": "Não Reduzido",
|
||
"ru_RU": "Не обрезан",
|
||
"sv_SE": "Orörd",
|
||
"th_TH": "ยังไม่ได้ตัดแต่ง",
|
||
"tr_TR": "",
|
||
"uk_UA": "Необрізані",
|
||
"zh_CN": "没有瘦身的",
|
||
"zh_TW": "未修剪"
|
||
}
|
||
},
|
||
{
|
||
"ID": "PartialLabel",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "Partial",
|
||
"es_ES": "Parcial",
|
||
"fr_FR": "Partiel",
|
||
"he_IL": "",
|
||
"it_IT": "Parziale",
|
||
"ja_JP": "",
|
||
"ko_KR": "일부",
|
||
"no_NO": "Delvis",
|
||
"pl_PL": "",
|
||
"pt_BR": "Parcial",
|
||
"ru_RU": "Частично",
|
||
"sv_SE": "Delvis",
|
||
"th_TH": "ยังไม่สมบูรณ์",
|
||
"tr_TR": "",
|
||
"uk_UA": "Часткові",
|
||
"zh_CN": "分区",
|
||
"zh_TW": "部分"
|
||
}
|
||
},
|
||
{
|
||
"ID": "FailedLabel",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "Failed",
|
||
"es_ES": "Fallido",
|
||
"fr_FR": "Échoué",
|
||
"he_IL": "",
|
||
"it_IT": "Fallito",
|
||
"ja_JP": "",
|
||
"ko_KR": "실패",
|
||
"no_NO": "Mislyktes",
|
||
"pl_PL": "",
|
||
"pt_BR": "Falhou",
|
||
"ru_RU": "Ошибка",
|
||
"sv_SE": "Misslyckades",
|
||
"th_TH": "ล้มเหลว",
|
||
"tr_TR": "",
|
||
"uk_UA": "Невдача",
|
||
"zh_CN": "失败",
|
||
"zh_TW": "失敗"
|
||
}
|
||
},
|
||
{
|
||
"ID": "UnknownLabel",
|
||
"Translations": {
|
||
"ar_SA": "مجهول",
|
||
"de_DE": "Unbekannt",
|
||
"el_GR": "Άγνωστο",
|
||
"en_US": "Unknown",
|
||
"es_ES": "Desconocido",
|
||
"fr_FR": "Inconnu",
|
||
"he_IL": "לא ידוע",
|
||
"it_IT": "Sconosciuto",
|
||
"ja_JP": "不明",
|
||
"ko_KR": "알 수 없음",
|
||
"no_NO": "Ukjent",
|
||
"pl_PL": "Nieznany",
|
||
"pt_BR": "Desconhecido",
|
||
"ru_RU": "Неизвестно",
|
||
"sv_SE": "Okänd",
|
||
"th_TH": "ไม่รู้จัก",
|
||
"tr_TR": "Bilinmeyen",
|
||
"uk_UA": "Невідомо",
|
||
"zh_CN": "未知",
|
||
"zh_TW": "未知"
|
||
}
|
||
},
|
||
{
|
||
"ID": "CalculatedSavingsLabel",
|
||
"Translations": {
|
||
"ar_SA": null,
|
||
"de_DE": null,
|
||
"el_GR": null,
|
||
"en_US": "{0} MB ({1}%)",
|
||
"es_ES": null,
|
||
"fr_FR": "{0} Mo ({1} %)",
|
||
"he_IL": null,
|
||
"it_IT": null,
|
||
"ja_JP": "{0}MB({1}%)",
|
||
"ko_KR": "{0}MB ({1}%)",
|
||
"no_NO": null,
|
||
"pl_PL": null,
|
||
"pt_BR": null,
|
||
"ru_RU": "{0} МБ ({1}%)",
|
||
"sv_SE": null,
|
||
"th_TH": null,
|
||
"tr_TR": null,
|
||
"uk_UA": "{0} МБ ({1}%)",
|
||
"zh_CN": "{0} MB({1}%)",
|
||
"zh_TW": "{0} MB({1}%)"
|
||
}
|
||
},
|
||
{
|
||
"ID": "SavedLabel",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "Saved:",
|
||
"es_ES": "Ahorrado:",
|
||
"fr_FR": "Économies :",
|
||
"he_IL": "",
|
||
"it_IT": "Risparmiato:",
|
||
"ja_JP": "",
|
||
"ko_KR": "",
|
||
"no_NO": "",
|
||
"pl_PL": "Zaoszczędzone:",
|
||
"pt_BR": "Economizado:",
|
||
"ru_RU": "Сохранено:",
|
||
"sv_SE": "",
|
||
"th_TH": "",
|
||
"tr_TR": "",
|
||
"uk_UA": "Збережено:",
|
||
"zh_CN": "",
|
||
"zh_TW": ""
|
||
}
|
||
},
|
||
{
|
||
"ID": "RemainingLabel",
|
||
"Translations": {
|
||
"ar_SA": "المتبقية:",
|
||
"de_DE": "Verbleibend:",
|
||
"el_GR": "Απομένουν:",
|
||
"en_US": "Remaining:",
|
||
"es_ES": "Restante:",
|
||
"fr_FR": "Restant :",
|
||
"he_IL": "נותרו:",
|
||
"it_IT": "Rimanenti:",
|
||
"ja_JP": "残り:",
|
||
"ko_KR": "남은:",
|
||
"no_NO": "Gjenstående:",
|
||
"pl_PL": "Pozostało:",
|
||
"pt_BR": "Restante:",
|
||
"ru_RU": "Осталось:",
|
||
"sv_SE": "Kvar:",
|
||
"th_TH": "เหลือ:",
|
||
"tr_TR": "Kalan:",
|
||
"uk_UA": "Залишилося:",
|
||
"zh_CN": "剩余:",
|
||
"zh_TW": "剩餘:"
|
||
}
|
||
},
|
||
{
|
||
"ID": "MBLabel",
|
||
"Translations": {
|
||
"ar_SA": null,
|
||
"de_DE": null,
|
||
"el_GR": null,
|
||
"en_US": "{0} MB",
|
||
"es_ES": null,
|
||
"fr_FR": "{0} Mo",
|
||
"he_IL": null,
|
||
"it_IT": null,
|
||
"ja_JP": "{0}MB",
|
||
"ko_KR": "{0}MB",
|
||
"no_NO": null,
|
||
"pl_PL": null,
|
||
"pt_BR": null,
|
||
"ru_RU": "{0} МБ",
|
||
"sv_SE": null,
|
||
"th_TH": null,
|
||
"tr_TR": null,
|
||
"uk_UA": "{0} МБ",
|
||
"zh_CN": null,
|
||
"zh_TW": null
|
||
}
|
||
},
|
||
{
|
||
"ID": "TrimButton",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "Trim",
|
||
"es_ES": "Recortar",
|
||
"fr_FR": "Réduire",
|
||
"he_IL": "",
|
||
"it_IT": "Riduci",
|
||
"ja_JP": "",
|
||
"ko_KR": "트림",
|
||
"no_NO": "",
|
||
"pl_PL": "Przytnij",
|
||
"pt_BR": "Reduzir",
|
||
"ru_RU": "Обрезать",
|
||
"sv_SE": "Trimma",
|
||
"th_TH": "ตัด",
|
||
"tr_TR": "Kırp",
|
||
"uk_UA": "Обрізати",
|
||
"zh_CN": "瘦身",
|
||
"zh_TW": "修剪"
|
||
}
|
||
},
|
||
{
|
||
"ID": "UntrimButton",
|
||
"Translations": {
|
||
"ar_SA": "",
|
||
"de_DE": "",
|
||
"el_GR": "",
|
||
"en_US": "Untrim",
|
||
"es_ES": "Desrecortar",
|
||
"fr_FR": "Dé-Réduire",
|
||
"he_IL": "",
|
||
"it_IT": "Ripristina",
|
||
"ja_JP": "",
|
||
"ko_KR": "언트림",
|
||
"no_NO": "Utrim",
|
||
"pl_PL": "",
|
||
"pt_BR": "Restaurar",
|
||
"ru_RU": "Восстановить",
|
||
"sv_SE": "Avoptimera",
|
||
"th_TH": "กู้คืน",
|
||
"tr_TR": "",
|
||
"uk_UA": "Відновити",
|
||
"zh_CN": "取消精简",
|
||
"zh_TW": "反修剪"
|
||
}
|
||
}
|
||
]
|
||
}
|