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

Update locale ids, Update my grade

This commit is contained in:
yude 2021-03-08 13:40:37 +09:00
parent b56be0976e
commit 3066f5c51a
10 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@
"contact": "Get in touch", "contact": "Get in touch",
"belongs": "Organization", "belongs": "Organization",
"more": "More...", "more": "More...",
"grade": "(1st grade)", "grade": "B2",
"icon_1": "Icon: ", "icon_1": "Icon: ",
"icon_2": "" "icon_2": ""
} }

View File

@ -14,7 +14,7 @@
"contact": "連絡先 / SNS", "contact": "連絡先 / SNS",
"belongs": "所属", "belongs": "所属",
"more": "さらに見る...", "more": "さらに見る...",
"grade": "1年", "grade": "2年",
"icon_1": "アイコン: ", "icon_1": "アイコン: ",
"icon_2": "さん" "icon_2": "さん"
} }

View File

@ -7,9 +7,9 @@ module.exports = nextTranslate({
i18n: { i18n: {
// These are all the locales you want to support in // These are all the locales you want to support in
// your application // your application
locales: ['ja-JP', 'en-US'], locales: ['ja', 'en'],
// This is the default locale you want to be used when visiting // This is the default locale you want to be used when visiting
// a non-locale prefixed path e.g. `/hello` // a non-locale prefixed path e.g. `/hello`
defaultLocale: 'ja-JP', defaultLocale: 'ja',
} }
}) })

View File

@ -48,10 +48,10 @@ const Dropdown = ({ color }) => {
<div ref={popoverDropdownRef} className={ <div ref={popoverDropdownRef} className={
(dropdownPopoverShow ? "block " : "hidden ") + "origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5"}> (dropdownPopoverShow ? "block " : "hidden ") + "origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5"}>
<div className="py-1" role="menu" aria-orientation="vertical" aria-labelledby="options-menu"> <div className="py-1" role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
<Link href="#" locale="ja-JP"> <Link href="#" locale="ja">
<a href="#" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900" role="menuitem">日本語</a> <a href="#" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900" role="menuitem">日本語</a>
</Link> </Link>
<Link href="#" locale="en-US"> <Link href="#" locale="en">
<a href="#" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900" role="menuitem">English</a> <a href="#" className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900" role="menuitem">English</a>
</Link> </Link>
</div> </div>