From ce5e8d7f621c2a2c4ff2ec0608cf84122abceb71 Mon Sep 17 00:00:00 2001 From: yukirij Date: Tue, 27 Aug 2024 17:31:56 -0700 Subject: [PATCH] Fix missing language term. --- www/js/language.js | 3 +++ www/js/scene.js | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/www/js/language.js b/www/js/language.js index 69350f7..60f60cd 100644 --- a/www/js/language.js +++ b/www/js/language.js @@ -51,6 +51,9 @@ LANGUAGE.Terms = { users: new LANGUAGE.Term( "Users", "ユーザー" ), requests: new LANGUAGE.Term( "Requests", "挑戦状" ), + rank: new LANGUAGE.Term( "Rank", "段位" ), + unranked: new LANGUAGE.Term( "Unranked", "無段" ), + accept: new LANGUAGE.Term( "Accept", "受け入れ" ), decline: new LANGUAGE.Term( "Decline", "断る" ), diff --git a/www/js/scene.js b/www/js/scene.js index 43845ac..8461ca0 100644 --- a/www/js/scene.js +++ b/www/js/scene.js @@ -688,7 +688,7 @@ const SCENES = { buttons.push(UI.button(LANG("challenge"), callback)); rows.push([ - UI.text(""), + UI.text(LANG("unranked")), UI.text(data.users[r].handle), buttons, ]); @@ -772,7 +772,7 @@ const SCENES = { buttons.push(UI.button(LANG("decline"), callback_decline)); rows.push([ - UI.text(""), + UI.text(LANG("unranked")), UI.text(data.users[r].handle), buttons, ]);