Skip to content

Commit

Permalink
Previous Icons translation additions (dslatt#17)
Browse files Browse the repository at this point in the history
* Previous Icons translation additions

Tweaks for update to new functions

* Update readme.md

New package needed by Previous icon enhancement.
  • Loading branch information
impeeza authored Jul 3, 2024
1 parent 19004ad commit da850d7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ You need a working DevKitPro installation and then install the packages:

#### MingW64:
```bash
pacman -Syuu git make cmake mingw-w64-x86_64-gcc switch-cmake libnx switch-dev switch-glfw switch-curl switch-libzstd switch-liblzma switch-liblzma switch-lz4 switch-bzip2
pacman -Syuu git make cmake mingw-w64-x86_64-gcc switch-cmake libnx switch-dev switch-glfw switch-curl switch-libzstd switch-liblzma switch-lz4 switch-bzip2 switch-xxhash
```
#### MSYS
```bash
pacman -Syuu git make cmake gcc switch-cmake libnx switch-dev switch-glfw switch-curl switch-libzstd switch-liblzma switch-liblzma switch-lz4 switch-bzip2
pacman -Syuu git make cmake gcc switch-cmake libnx switch-dev switch-glfw switch-curl switch-libzstd switch-liblzma switch-lz4 switch-bzip2 switch-xxhash
```

The commands to build are:
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/en-US/hints.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"open": "Open",
"on": "On",
"off": "Off",
"select": "Select",
"delete": "Delete",
"save": "Save",
"input": "Please input...",
Expand Down
4 changes: 3 additions & 1 deletion resources/i18n/es-419/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"new_icon": "Nuevo Ícono",
"apply": "Aplicar al Usuario",
"select_game": "Seleccione un Juego",
"available_images": "Imágenes Disponibles"
"available_images": "Imágenes Disponibles",
"collection_load": "Íconos Anteriores",
"confirm_delete": "Borrrar ícono(s) Seleccionado(s)"
},
"settings": {
"title": "Configuración",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/es-419/hints.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"open": "Abrir",
"on": "SI",
"off": "NO",
"select": "Seleccionar",
"delete": "Borrar",
"save": "Guardar",
"input": "Por favor ingrese...",
Expand Down
6 changes: 4 additions & 2 deletions source/view/collection_grid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
#include "GenericToolbox.Fs.h"
#include <vector>

using namespace brls::literals; // for _i18n

using namespace collection;

RecyclerCell::RecyclerCell()
{
this->inflateFromXMLRes("xml/cells/icon_part_cell_grid.xml");
this->registerAction("Delete", brls::ControllerButton::BUTTON_X, [this](View *view)
{
this->registerAction("hints/select"_i18n, brls::BUTTON_X, [this](View *view)
{
auto* recycler = dynamic_cast<RecyclingGrid*>(getParent()->getParent());

brls::sync([recycler]()
Expand Down

0 comments on commit da850d7

Please sign in to comment.