3v324v23 commited on
Commit
d5840a0
·
1 Parent(s): 8a83458
Files changed (3) hide show
  1. i18n.js +3 -3
  2. index.html +1 -1
  3. styles.css +11 -1
i18n.js CHANGED
@@ -11,7 +11,7 @@ const translations = {
11
  loginError: 'Incorrect credentials. Please try again.',
12
  fakeAccountsLabel: 'Sample accounts',
13
  logoutButton: 'Log out',
14
- languageLabel: 'Language',
15
  languageJapanese: 'Japanese',
16
  languageEnglish: 'English',
17
  languageVietnamese: 'Vietnamese',
@@ -145,7 +145,7 @@ const translations = {
145
  loginError: '認証情報が正しくありません。もう一度お試しください。',
146
  fakeAccountsLabel: 'サンプルアカウント',
147
  logoutButton: 'ログアウト',
148
- languageLabel: '言語',
149
  languageJapanese: '日本語',
150
  languageEnglish: '英語',
151
  languageVietnamese: 'ベトナム語',
@@ -275,7 +275,7 @@ const translations = {
275
  loginError: 'Sai thông tin đăng nhập, vui lòng thử lại.',
276
  fakeAccountsLabel: 'Tài khoản mẫu',
277
  logoutButton: 'Đăng xuất',
278
- languageLabel: 'Ngôn ngữ',
279
  languageJapanese: 'Tiếng Nhật',
280
  languageEnglish: 'Tiếng Anh',
281
  languageVietnamese: 'Tiếng Việt',
 
11
  loginError: 'Incorrect credentials. Please try again.',
12
  fakeAccountsLabel: 'Sample accounts',
13
  logoutButton: 'Log out',
14
+ languageLabel: 'Select Language',
15
  languageJapanese: 'Japanese',
16
  languageEnglish: 'English',
17
  languageVietnamese: 'Vietnamese',
 
145
  loginError: '認証情報が正しくありません。もう一度お試しください。',
146
  fakeAccountsLabel: 'サンプルアカウント',
147
  logoutButton: 'ログアウト',
148
+ languageLabel: '言語を選択',
149
  languageJapanese: '日本語',
150
  languageEnglish: '英語',
151
  languageVietnamese: 'ベトナム語',
 
275
  loginError: 'Sai thông tin đăng nhập, vui lòng thử lại.',
276
  fakeAccountsLabel: 'Tài khoản mẫu',
277
  logoutButton: 'Đăng xuất',
278
+ languageLabel: 'Chọn Ngôn Ngữ',
279
  languageJapanese: 'Tiếng Nhật',
280
  languageEnglish: 'Tiếng Anh',
281
  languageVietnamese: 'Tiếng Việt',
index.html CHANGED
@@ -27,7 +27,7 @@
27
  <option value="vi" data-i18n="languageVietnamese">Vietnamese</option>
28
  </select>
29
  </div>
30
- <button id="btn-logout" class="btn btn-logout" data-i18n="logoutButton">Log out</button>
31
  </div>
32
  </header>
33
  <main class="main-content">
 
27
  <option value="vi" data-i18n="languageVietnamese">Vietnamese</option>
28
  </select>
29
  </div>
30
+ <button id="btn-logout" class="btn btn-logout btn-logoutbtn-logout" data-i18n="logoutButton">Log out</button>
31
  </div>
32
  </header>
33
  <main class="main-content">
styles.css CHANGED
@@ -114,12 +114,17 @@ body {
114
  }
115
 
116
  .language-select {
117
- padding: 6px 10px;
118
  border: 1px solid #ced4da;
119
  border-radius: 6px;
120
  background-color: #ffffff;
121
  color: #333;
122
  cursor: pointer;
 
 
 
 
 
123
  }
124
 
125
  .language-select:focus {
@@ -1187,3 +1192,8 @@ textarea:focus {
1187
  color: #334155;
1188
  font-size: 14px;
1189
  }
 
 
 
 
 
 
114
  }
115
 
116
  .language-select {
117
+ padding: 6px 34px 6px 10px;
118
  border: 1px solid #ced4da;
119
  border-radius: 6px;
120
  background-color: #ffffff;
121
  color: #333;
122
  cursor: pointer;
123
+ appearance: none;
124
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
125
+ background-repeat: no-repeat;
126
+ background-position: right 12px center;
127
+ background-size: 14px;
128
  }
129
 
130
  .language-select:focus {
 
1192
  color: #334155;
1193
  font-size: 14px;
1194
  }
1195
+
1196
+ .btn-logout {
1197
+ padding: 6px 10px;
1198
+ height: 37px;
1199
+ }