From 6bb693b49373c9b04f0e6048fcba36e0cfb9943d Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Fri, 23 Jul 2021 03:42:26 -0400 Subject: [PATCH] AboutTab: add json-c to dependencies list. --- include/defines.h | 1 + romfs/i18n/en-US/about_tab.json | 3 ++- source/about_tab.cpp | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/defines.h b/include/defines.h index 427c32e..5384d1e 100644 --- a/include/defines.h +++ b/include/defines.h @@ -104,6 +104,7 @@ #define LIBUSBHSFS_URL "https://github.com/DarkMatterCore/libusbhsfs" #define FATFS_URL "http://elm-chan.org/fsw/ff/00index_e.html" #define LZ4_URL "https://github.com/lz4/lz4" +#define JSON_C_URL "https://github.com/json-c/json-c" #define DISCORD_SERVER_URL "https://discord.gg/SCbbcQx" diff --git a/romfs/i18n/en-US/about_tab.json b/romfs/i18n/en-US/about_tab.json index 72687be..ce8f4e6 100644 --- a/romfs/i18n/en-US/about_tab.json +++ b/romfs/i18n/en-US/about_tab.json @@ -8,7 +8,8 @@ "line_00": "\uE016 {0} is powered by Borealis, a hardware-accelerated UI library: {1}.", "line_01": "\uE016 USB Mass Storage device support is powered by libusbhsfs: {0}.", "line_02": "\uE016 FatFs is used to mount FAT volumes from the eMMC storage: {0}.", - "line_03": "\uE016 LZ4 is used to decompress NSO binaries: {0}." + "line_03": "\uE016 LZ4 is used to decompress NSO binaries: {0}.", + "line_04": "\uE016 json-c is used to parse JSON-formatted data: {0}." }, "acknowledgments": { diff --git a/source/about_tab.cpp b/source/about_tab.cpp index 1e38964..966d2ce 100644 --- a/source/about_tab.cpp +++ b/source/about_tab.cpp @@ -57,6 +57,7 @@ namespace nxdt::views this->addView(new AboutTabLabel(brls::LabelStyle::SMALL, i18n::getStr("about_tab/dependencies/line_01"_i18n, LIBUSBHSFS_URL))); this->addView(new AboutTabLabel(brls::LabelStyle::SMALL, i18n::getStr("about_tab/dependencies/line_02"_i18n, FATFS_URL))); this->addView(new AboutTabLabel(brls::LabelStyle::SMALL, i18n::getStr("about_tab/dependencies/line_03"_i18n, LZ4_URL))); + this->addView(new AboutTabLabel(brls::LabelStyle::SMALL, i18n::getStr("about_tab/dependencies/line_04"_i18n, JSON_C_URL))); /* Acknowledgments. */ this->addView(new brls::Header("about_tab/acknowledgments/header"_i18n));