mirror of
https://github.com/yude-jp/yude.jp
synced 2024-11-10 20:38:00 +09:00
Update locale ids, Update my grade
This commit is contained in:
parent
b56be0976e
commit
3066f5c51a
@ -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": ""
|
||||||
}
|
}
|
@ -14,7 +14,7 @@
|
|||||||
"contact": "連絡先 / SNS",
|
"contact": "連絡先 / SNS",
|
||||||
"belongs": "所属",
|
"belongs": "所属",
|
||||||
"more": "さらに見る...",
|
"more": "さらに見る...",
|
||||||
"grade": "1年",
|
"grade": "2年",
|
||||||
"icon_1": "アイコン: ",
|
"icon_1": "アイコン: ",
|
||||||
"icon_2": "さん"
|
"icon_2": "さん"
|
||||||
}
|
}
|
@ -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',
|
||||||
}
|
}
|
||||||
})
|
})
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user