We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c880437 commit 3616b43Copy full SHA for 3616b43
1 file changed
src/components/LanguageSwitcher.jsx
@@ -22,7 +22,8 @@ export default function LanguageSwitcher() {
22
onClick={toggleLang}
23
aria-label={lang === 'zh' ? 'Switch to English' : '切换中文'}
24
className="flex items-center gap-1 rounded-lg px-2 py-1 text-sm text-slate-400 transition-colors hover:bg-slate-800 hover:text-white"
25
- title={lang === 'zh' ? 'Switch to English' : '切换中文'}>
+ title={lang === 'zh' ? 'Switch to English' : '切换中文'}
26
+ >
27
<Globe className="h-4 w-4" />
28
<span>{lang === 'zh' ? 'EN' : '\u4e2d\u6587'}</span>
29
</button>
0 commit comments