refactor(i18n): move translations to JSON files under app/locales, dynamic language switch
This commit is contained in:
@@ -30,6 +30,9 @@ a:hover { text-decoration: underline; }
|
||||
.nav-logout { color: var(--danger) !important; }
|
||||
.nav-lang-btn { background: none; border: 1px solid var(--border); border-radius: 4px; padding: .15rem .45rem; font-size: .72rem; color: var(--text-muted); cursor: pointer; line-height: 1; }
|
||||
.nav-lang-btn:hover { background: var(--bg); color: var(--primary); }
|
||||
.nav-lang-select { background: none; border: 1px solid var(--border); border-radius: 4px; padding: .15rem .3rem; font-size: .72rem; color: var(--text-muted); cursor: pointer; line-height: 1; outline: none; }
|
||||
.nav-lang-select:hover { background: var(--bg); color: var(--primary); }
|
||||
.nav-lang-select option { background: var(--card-bg); color: var(--text); }
|
||||
|
||||
/* Container */
|
||||
.container { max-width: 960px; margin: 2rem auto; padding: 0 1.5rem; }
|
||||
|
||||
Reference in New Issue
Block a user