Merge develop into main (#305)
## New features - Implement translations for apps - Created `tt::settings::setLanguage` and `::getLanguage()` - External app errors are now reported to the user via an AlertDialog - Store system settings in `/data/settings.properties` - Created a "Region & Language" app and moved the timezone setting there. ## Other changes - Change `/data` and `/system` filesystem sector size from 4096 to 512 bytes to allow for more small files (60+ files of 4kB were over the limit of 256kB for the filesystem) - Increased size of `/data` and `/system` - Moved `tt::time::*` to `tt::settings` - Removed the timezone setting from the "Time & Date" setting app - Reverse encoder direction of Lilygo T-Lora Pager - Improved partability of `Time.cpp` (removed separate set of functions for PC/sim)
This commit is contained in:
committed by
GitHub
parent
ee5a5a7181
commit
8c8ccd8783
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include "Tactility/i18n/TextResources.h"
|
||||
|
||||
// WARNING: This file is auto-generated. Do not edit manually.
|
||||
|
||||
namespace tt::app::launcher::i18n {
|
||||
|
||||
enum class Text {
|
||||
APPS = 0,
|
||||
FILES = 1,
|
||||
SETTINGS = 2,
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
namespace tt::app::localesettings {
|
||||
|
||||
void start();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include "Tactility/i18n/TextResources.h"
|
||||
|
||||
// WARNING: This file is auto-generated. Do not edit manually.
|
||||
|
||||
namespace tt::app::localesettings::i18n {
|
||||
|
||||
enum class Text {
|
||||
NL_NL = 0,
|
||||
NL_BE = 1,
|
||||
EN_US = 2,
|
||||
EN_GB = 3,
|
||||
FR_FR = 4,
|
||||
REGION = 5,
|
||||
LANGUAGE = 6,
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
namespace tt::settings {
|
||||
|
||||
void initTimeZone();
|
||||
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
namespace tt::time {
|
||||
|
||||
void init();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user