mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-26 12:12:02 +00:00
28cd0ce10f
Other changes include: * Codebase: move JSON parsing logic from config.c/h to nxdt_json.c/h. * Codebase: replace all calls to localtime() with localtime_r() to guarantee thread-safety. * Codebase: updated todo.txt. * utils: implement utilsParseGitHubReleaseJsonData(), utilsFreeGitHubReleaseJsonData(), utilsGetApplicationUpdatedState() and utilsGetApplicationUpdatedState(). * utils: add extra logic to move the application's NRO to its proper path if the launch path isn't the right one (commented out at this moment). * utils: add extra logic to replace the application's NRO at exit (commented out at this moment). * defines: add DEVOPTAB_SDMC_DEVICE and tweak GitHub URL macros. * DownloadTask: set percentage to 0 if the download size is unknown. * DownloadTask: fix ETA string formatting. * OptionsTab: repurpose OptionsTabUpdateFileDialogContent into OptionsTabUpdateProgress. * OptionsTab: implement OptionsTabUpdateApplicationFrame. * RootView: move date formatting into the static GetFormattedDateString() method. * Makefile: use _GNU_SOURCE as part of CFLAGS to use strptime().
13 lines
837 B
JSON
13 lines
837 B
JSON
{
|
|
"__comment__": "Comments about how specific fields work use keys that follow the '__{field}_comment__' format. These don't have to be replicated in your translation files.",
|
|
|
|
"unknown": "Unknown",
|
|
|
|
"applet_mode_warning": "\uE8B2 Warning: the application is running under Applet Mode! \uE8B2\nThis mode severely limits the amount of usable RAM. If you consistently reproduce any crashes, please consider running the application via title override (hold R while launching a game).",
|
|
|
|
"time_format": "12",
|
|
"__time_format_comment__": "Use 12 for a 12-hour clock, or 24 for a 24-hour clock",
|
|
|
|
"date": "{1:02d}/{2:02d}/{0} {3:02d}:{4:02d}:{5:02d} {6}",
|
|
"__date_comment__": "{0} = Year, {1} = Month, {2} = Day, {3} = Hour, {4} = Minute, {5} = Second, {6} = AM/PM (if time_format is set to 12)"
|
|
}
|