feat(i18n): add translations for "Configure authentication information for login" in multiple languages

This commit is contained in:
mingholy.lmh 2026-02-11 16:58:54 +08:00
parent 54d9073cc0
commit a5c7f1db3b
8 changed files with 16 additions and 2 deletions

View file

@ -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',
);
});
});

View file

@ -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 => ({