mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
minor tweaks
The japanese phrase for "disconnected" is very long and doesn't fit in the allocated space :-/ something to think about in the future.
This commit is contained in:
parent
5c91645ede
commit
7c93b16c13
3 changed files with 6 additions and 3 deletions
|
|
@ -1,18 +1,21 @@
|
|||
{
|
||||
"stats.measuring": {
|
||||
"ja": "測定...",
|
||||
"en": "Measuring...",
|
||||
"zh": "进行测量...",
|
||||
"en-audio": "Measuring..."
|
||||
},
|
||||
"stats.disconnected": {
|
||||
"ja": "接続されていません",
|
||||
"en": "Not connected",
|
||||
"zh": "没有连接",
|
||||
"en-audio": "Not connected"
|
||||
},
|
||||
"stats.uptime": {
|
||||
"translator-note": "This needs to be a very short string, 2 chars max. Trailing space is necessary for English due to proportional font.",
|
||||
"ja": "稼働 ",
|
||||
"en": "Up ",
|
||||
"zh": "运行",
|
||||
"zh": "运行 ",
|
||||
"en-audio": "Uptime"
|
||||
},
|
||||
"secnote.usb_unlock": {
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ fn xmain() -> ! {
|
|||
uptime_tv.style = GlyphStyle::Regular;
|
||||
uptime_tv.draw_border = false;
|
||||
uptime_tv.margin = Point::new(3, 0);
|
||||
write!(uptime_tv, "Booting up...").expect("|status: couldn't init uptime text");
|
||||
write!(uptime_tv, t!("secnote.startup", xous::LANG)).expect("|status: couldn't init uptime text");
|
||||
gam.post_textview(&mut uptime_tv)
|
||||
.expect("|status: can't draw battery stats");
|
||||
log::trace!("|status: screensize as reported: {:?}", screensize);
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
pub const LANG: &str = "en";
|
||||
pub const LANG: &str = "ja";
|
||||
|
|
|
|||
Loading…
Reference in a new issue