0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-23 04:30:11 +09:00

Add translation

This commit is contained in:
yude 2021-02-13 14:20:35 +09:00
parent 12aa218830
commit 92e75729a0
3 changed files with 6 additions and 3 deletions

View File

@ -2,5 +2,6 @@
"status": "Server Status", "status": "Server Status",
"location": "Location", "location": "Location",
"tottori": "Tottori, Japan", "tottori": "Tottori, Japan",
"hiroshima": "Hiroshima, Japan" "hiroshima": "Hiroshima, Japan",
"model": "Model"
} }

View File

@ -2,5 +2,6 @@
"status": "サーバー情報", "status": "サーバー情報",
"location": "場所", "location": "場所",
"tottori": "日本, 鳥取県", "tottori": "日本, 鳥取県",
"hiroshima": "日本, 広島県" "hiroshima": "日本, 広島県",
"model": "モデル"
} }

View File

@ -17,6 +17,7 @@ export default function About(props) {
const location = t('location') const location = t('location')
const tottori = t('tottori') const tottori = t('tottori')
const hiroshima = t('hiroshima') const hiroshima = t('hiroshima')
const model = t('model')
return ( return (
@ -67,7 +68,7 @@ export default function About(props) {
} }
<h2 className="text-2xl text-left font-bold leading-7 sm:text-3xl sm:truncate">raspberry</h2> <h2 className="text-2xl text-left font-bold leading-7 sm:text-3xl sm:truncate">raspberry</h2>
<div className="flex xl:w-2/3"> <div className="flex xl:w-2/3">
<div className="flex-1 bg-gray-900 text-white text-center rounded border border-gray-600"><p className="font-bold">Model </p>Raspberry Pi 4 Model B Rev 1.2</div> <div className="flex-1 bg-gray-900 text-white text-center rounded border border-gray-600"><p className="font-bold">{model} </p>Raspberry Pi 4 Model B Rev 1.2</div>
<div className="flex-1 bg-gray-900 text-white text-center rounded border border-gray-600"><p className="font-bold">RAM </p>4GB</div> <div className="flex-1 bg-gray-900 text-white text-center rounded border border-gray-600"><p className="font-bold">RAM </p>4GB</div>
<div className="flex-1 bg-gray-900 text-white text-center rounded border border-gray-600"><p className="font-bold">OS </p>Raspbian GNU/Linux 10 (buster)</div> <div className="flex-1 bg-gray-900 text-white text-center rounded border border-gray-600"><p className="font-bold">OS </p>Raspbian GNU/Linux 10 (buster)</div>
<div className="flex-1 bg-gray-900 text-white text-center rounded border border-gray-600"><p className="font-bold">{location} </p>{tottori}</div> <div className="flex-1 bg-gray-900 text-white text-center rounded border border-gray-600"><p className="font-bold">{location} </p>{tottori}</div>