feat: full i18n support - all pages use Lang.t() for zh/en
This commit is contained in:
@@ -49,7 +49,7 @@ const Sidebar = {
|
||||
this._gameListEl.innerHTML = '';
|
||||
|
||||
if (!Array.isArray(games) || games.length === 0) {
|
||||
this._gameListEl.innerHTML = '<div style="padding:8px 12px;color:var(--text-tertiary);font-size:12px;">暂无可用的游戏插件</div>';
|
||||
this._gameListEl.innerHTML = '<div style="padding:8px 12px;color:var(--text-tertiary);font-size:12px;">' + Lang.t('noGamePlugins') + '</div>';
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ const Sidebar = {
|
||||
return;
|
||||
}
|
||||
}
|
||||
this._gameLabelEl.textContent = '选择游戏';
|
||||
this._gameLabelEl.textContent = Lang.t('selectGame');
|
||||
},
|
||||
|
||||
async _selectGame(gameId) {
|
||||
|
||||
Reference in New Issue
Block a user