38 Commits

Author SHA1 Message Date
Yorunokyujitsu
87642e914e Update korean, japanese language. (#65) 2024-12-31 10:17:22 +00:00
ITotalJustice
45aa7c4e62 fix forwarder icon passing in the wrong size, fix github zip detection / extraction, add back url in json
- i was passing the wrong size for icon, so it always failed to load.
- i didnt realise zips can have many content types, so now i search for the name "zip" which works well.
- extracting a zip will fail if the files are all in the root, ie, no folder, and the subfolders do
  not already exist.
- fix misspelling of download.
2024-12-31 10:15:30 +00:00
shadow2560
389a4cfef5 Update french language. (#63)
Signed-off-by: shadow2560 <24191064+shadow2560@users.noreply.github.com>
2024-12-31 05:06:08 +00:00
Ny'hrarr
bab4bfce84 Update pt.json (#61) 2024-12-29 01:02:33 +00:00
Yorunokyujitsu
ec06763e50 Fixed some translations of ko.json (#58)
* Fixed some translations of ko.json

* Add new string to lang.json and update ko, ja.

---------

Co-authored-by: Yorunokyujitsu <seonmini1315@gamil.com>
Co-authored-by: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com>
2024-12-29 01:02:04 +00:00
ITotalJustice
5e315bd65f many fixes and performance improvements for network requests (see commit details)
- add etag support
- add last-modified support

with the above 2 changes, this means that all downloads can be cached. when attempting to download a file,
if the file is an image, load from cache. after, the download is processed with the above tags sent. if a 304 code
is received, then the file hasn't changed. otherwise, the new tags are saved and the downloaded file is now used (in the
case of an image, the new image is now loaded over the cached one).

this results in a *huge* speed improvement and overall a huge amount of bandwidth is saved for both the client and server.

- themezer requests now only request the data needed.

this results in a json file that is 4-5x smaller, meaning a much faster download and parsing time.

- loading images is capped to 2 images a frame. this was done to avoid fs being the bottle neck.
  a 9 page listing will take 5 frames. scrolling through lists is more responsive.

- downloads are pushed to the front of the queue as they're added. the point of this is to prioritise
  data that we need now.

- fix potential crash when sorting files based on names as its possible for a file to have the same name
  in the metadata. this fallsback to sorting by path, which is unique.

- add timeout for processing events. this was done in order to not block the main thread for too long.

- github json files have changed from a name + url to a repo + author pair.
- drawing widgets now starts from the last file in the array. as a menu takes up the whole screen, it
 is pointless drawing menu's underneath. this halves gpu usage.
- download url caching has been removed. this was added to fix a race condition when opening /
  closing a widget which starts a download when created. this would result in 2 same files being
  downloaded at the same time. this is no longer an issue and was overhead per download request.
2024-12-29 00:33:31 +00:00
DDinghoya
087d44fb40 Update ko.json (#55)
. Fixed some awkward words
. If there is no abbreviation "...", fixed progressive tense to noun.
2024-12-26 18:34:47 +00:00
ITotalJustice
ec7caabdbd add GitHub downloader, fix yyjson helper missing break, hide popup list when out of focus 2024-12-26 18:11:03 +00:00
Yorunokyujitsu
adf0a3b2cd Update ko.json and ja.json and add MTP/FTP strings (#54)
Co-authored-by: Yorunokyujitsu <seeonmini1315@gmail.com>
2024-12-26 04:58:17 +00:00
Ny'hrarr
f88e354ae8 Translate missing fields (Portuguese) (#51)
* Update pt.json
2024-12-26 03:29:33 +00:00
cucholix
df3d8d3990 Update es.json (#49)
Further improvements for ver 0.5.0
2024-12-26 03:29:08 +00:00
glitched_nx
7c273f30f3 Solve conflicts in de.json, fr.json files - and complete them (#48) 2024-12-25 22:20:31 +00:00
ITotalJustice
37890f157d add mtp (haze) ftp (ftpsrv), update RA file assoc, nxlink now polls for connection. 2024-12-25 22:17:21 +00:00
shadow2560
a2c9b63dfd Some fixes and update french language (#46)
* Fix starred homebrew list logging, fix hbmenu identification when backing up it and logging it correctly, update french language.

Signed-off-by: shadow2560 <24191064+shadow2560@users.noreply.github.com>
2024-12-24 22:21:54 +00:00
ITotalJustice
3df676df0f New strings added and update ko, ja, se(https://github.com/ITotalJustice/sphaira/pull/36), es(https://github.com/ITotalJustice/sphaira/pull/38), zh(https://github.com/ITotalJustice/sphaira/pull/42), fr(https://github.com/ITotalJustice/sphaira/pull/45) translations. (#44)
Co-authored-by: Yorunokyujitsu <seonmini1315@gamil.com>
2024-12-24 08:55:29 +00:00
do-kiss
276ee36bfe Chinese translation update (#42)
* Update zh.json
2024-12-23 04:56:16 +00:00
cucholix
17b622833a Update es.json (#38)
Replaced some lower case chars to match English style.
Replaced some words like Homebrew, AppStore, IRS, etc… that doesn’t have direct meaning in Spanish, literal translation sound awkward so it’s better leave them in English.
Filled out missing translations.
2024-12-23 04:55:38 +00:00
HenryBaby
536c169255 Updated Swedish translation (#36) 2024-12-21 21:49:21 +00:00
shadow2560
38640ea696 Update french translation (#35)
Signed-off-by: shadow2560 <24191064+shadow2560@users.noreply.github.com>
2024-12-21 21:49:01 +00:00
ITotalJustice
372399a27d remove more unused strings 2024-12-21 21:18:13 +00:00
ITotalJustice
e0040b625e remove unused strings from translations 2024-12-21 20:11:22 +00:00
Yorunokyujitsu
c8ae2a7872 Almost all strings for translation. (#32)
* Almost all strings for translation

* Remove nonexistent strings.

---------

Co-authored-by: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com>
2024-12-21 16:49:48 +00:00
HenryBaby
79da00e098 Swedish translation (#26) 2024-12-21 16:47:26 +00:00
J0hnTR
3178f11596 Update ru.json (#29)
Native RU-speaker here, just verified autotranslation a bit.
2024-12-18 14:36:50 +00:00
ITotalJustice
945d1f3ae6 add updater, remove white theme (it was unfished), remove more dead code, bump version for release 2024-12-18 00:04:27 +00:00
Battosai94
0585bec6e5 Update fr.json (#17)
Minor changes to FR translation
2024-12-17 23:15:53 +00:00
Yorunokyujitsu
11f4f3000a Korean translation (#19) 2024-12-17 23:15:30 +00:00
Sanras
474843915c Add OLED Black Theme (#20) 2024-12-17 23:12:37 +00:00
Ny'hrarr
3146b951f2 New icon (#18)
* New icon
2024-12-17 22:54:45 +00:00
ITotalJustice
2db9b72416 improve fr translation (credit to @Battosai94)
see: https://github.com/ITotalJustice/sphaira/issues/2#issuecomment-2549628348
2024-12-17 21:12:26 +00:00
Aurelia
ddf5b94f4d i18n: improve de locale (#16)
revised some wording, false friends and neologisms
2024-12-17 20:50:15 +00:00
ITotalJustice
ef5ff520d1 Add files via upload (#11)
Corrected Japanese translation

Co-authored-by: HoRy205 <101063179+HoRy205@users.noreply.github.com>
2024-12-17 16:56:00 +00:00
do-kiss
98ad2f485b Chinese translation (#12)
Chinese translation
2024-12-17 16:05:07 +00:00
shadow2560
c11990e1bd Improve french language (#10)
Signed-off-by: shadow2560 <24191064+shadow2560@users.noreply.github.com>
2024-12-17 13:29:18 +00:00
LNLenost
9b1c0226e1 Added Italian translation (#8)
* Delete assets/romfs/i18n/it.json (old Italian translation)

* Uploaded new, correct Italian translations.
2024-12-17 13:13:36 +00:00
WE1ZARD
f38a671a7f use translatation from native Chinese (#3) 2024-12-17 12:58:17 +00:00
Ny'hrarr
fe952dc9f2 Improve Portuguese translation (#1)
* Improved Portuguese translation

* Update pt.json
2024-12-17 01:49:21 +00:00
ITotalJustice
0370e47f7f public release 2024-12-16 21:13:05 +00:00