diff --git a/packages/cli/src/i18n/locales/de.js b/packages/cli/src/i18n/locales/de.js index a0510a200..5757b135f 100644 --- a/packages/cli/src/i18n/locales/de.js +++ b/packages/cli/src/i18n/locales/de.js @@ -119,6 +119,8 @@ export default { 'Vollständige Qwen Code Dokumentation im Browser öffnen', 'Configuration not available.': 'Konfiguration nicht verfügbar.', 'change the auth method': 'Authentifizierungsmethode ändern', + 'Configure authentication information for login': + 'Authentifizierungsinformationen für die Anmeldung konfigurieren', 'Copy the last result or code snippet to clipboard': 'Letztes Ergebnis oder Codeausschnitt in die Zwischenablage kopieren', diff --git a/packages/cli/src/i18n/locales/en.js b/packages/cli/src/i18n/locales/en.js index dfd37df5f..f4e299fc1 100644 --- a/packages/cli/src/i18n/locales/en.js +++ b/packages/cli/src/i18n/locales/en.js @@ -140,6 +140,8 @@ export default { 'open full Qwen Code documentation in your browser', 'Configuration not available.': 'Configuration not available.', 'change the auth method': 'change the auth method', + 'Configure authentication information for login': + 'Configure authentication information for login', 'Copy the last result or code snippet to clipboard': 'Copy the last result or code snippet to clipboard', diff --git a/packages/cli/src/i18n/locales/ja.js b/packages/cli/src/i18n/locales/ja.js index 99db86f73..f9d95b34a 100644 --- a/packages/cli/src/i18n/locales/ja.js +++ b/packages/cli/src/i18n/locales/ja.js @@ -110,6 +110,8 @@ export default { 'ブラウザで Qwen Code のドキュメントを開く', 'Configuration not available.': '設定が利用できません', 'change the auth method': '認証方式を変更', + 'Configure authentication information for login': + 'ログイン用の認証情報を設定', 'Copy the last result or code snippet to clipboard': '最後の結果またはコードスニペットをクリップボードにコピー', diff --git a/packages/cli/src/i18n/locales/pt.js b/packages/cli/src/i18n/locales/pt.js index 9f047aff2..8613c3076 100644 --- a/packages/cli/src/i18n/locales/pt.js +++ b/packages/cli/src/i18n/locales/pt.js @@ -141,6 +141,8 @@ export default { 'abrir documentação completa do Qwen Code no seu navegador', 'Configuration not available.': 'Configuração não disponível.', 'change the auth method': 'alterar o método de autenticação', + 'Configure authentication information for login': + 'Configurar informações de autenticação para login', 'Copy the last result or code snippet to clipboard': 'Copiar o último resultado ou trecho de código para a área de transferência', diff --git a/packages/cli/src/i18n/locales/ru.js b/packages/cli/src/i18n/locales/ru.js index 3552eca4d..92c9f8c50 100644 --- a/packages/cli/src/i18n/locales/ru.js +++ b/packages/cli/src/i18n/locales/ru.js @@ -143,6 +143,8 @@ export default { 'Открытие полной документации Qwen Code в браузере', 'Configuration not available.': 'Конфигурация недоступна.', 'change the auth method': 'Изменение метода авторизации', + 'Configure authentication information for login': + 'Настройка аутентификационной информации для входа', 'Copy the last result or code snippet to clipboard': 'Копирование последнего результата или фрагмента кода в буфер обмена', diff --git a/packages/cli/src/i18n/locales/zh.js b/packages/cli/src/i18n/locales/zh.js index 291235482..f20bf06c9 100644 --- a/packages/cli/src/i18n/locales/zh.js +++ b/packages/cli/src/i18n/locales/zh.js @@ -138,6 +138,7 @@ export default { '在浏览器中打开完整的 Qwen Code 文档', 'Configuration not available.': '配置不可用', 'change the auth method': '更改认证方法', + 'Configure authentication information for login': '配置登录认证信息', 'Copy the last result or code snippet to clipboard': '将最后的结果或代码片段复制到剪贴板', diff --git a/packages/cli/src/ui/commands/authCommand.test.ts b/packages/cli/src/ui/commands/authCommand.test.ts index d6d925dbd..8930af62d 100644 --- a/packages/cli/src/ui/commands/authCommand.test.ts +++ b/packages/cli/src/ui/commands/authCommand.test.ts @@ -31,6 +31,8 @@ describe('authCommand', () => { it('should have the correct name and description', () => { expect(authCommand.name).toBe('auth'); - expect(authCommand.description).toBe('change the auth method'); + expect(authCommand.description).toBe( + 'Configure authentication information for login', + ); }); }); diff --git a/packages/cli/src/ui/commands/authCommand.ts b/packages/cli/src/ui/commands/authCommand.ts index 9caee464d..83ab454b0 100644 --- a/packages/cli/src/ui/commands/authCommand.ts +++ b/packages/cli/src/ui/commands/authCommand.ts @@ -10,8 +10,9 @@ import { t } from '../../i18n/index.js'; export const authCommand: SlashCommand = { name: 'auth', + altNames: ['login'], get description() { - return t('change the auth method'); + return t('Configure authentication information for login'); }, kind: CommandKind.BUILT_IN, action: (_context, _args): OpenDialogActionReturn => ({