mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-13 06:30:20 +08:00
fix(frontend): shorten Agent Identity tab label
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
:disabled="importing || creatingAgentIdentity"
|
||||
@click="switchMode('agent_identity')"
|
||||
>
|
||||
{{ legacyT('创建 Agent Identity') }}
|
||||
{{ legacyT('Agent Identity') }}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
+3
-3
@@ -444,9 +444,9 @@ describe('OAuthAccountDialog Grok import', () => {
|
||||
|
||||
expect(getExactButton(root, '获取授权')).toBeTruthy()
|
||||
expect(getExactButton(root, '导入授权')).toBeTruthy()
|
||||
expect(getExactButton(root, '创建 Agent Identity')).toBeTruthy()
|
||||
expect(getExactButton(root, 'Agent Identity')).toBeTruthy()
|
||||
|
||||
getExactButton(root, '创建 Agent Identity')?.click()
|
||||
getExactButton(root, 'Agent Identity')?.click()
|
||||
await settle()
|
||||
|
||||
const textarea = root.querySelector<HTMLTextAreaElement>(
|
||||
@@ -475,7 +475,7 @@ describe('OAuthAccountDialog Grok import', () => {
|
||||
|
||||
expect(getExactButton(root, '获取授权')).toBeTruthy()
|
||||
expect(getExactButton(root, '导入授权')).toBeTruthy()
|
||||
expect(getExactButton(root, '创建 Agent Identity')).toBeFalsy()
|
||||
expect(getExactButton(root, 'Agent Identity')).toBeFalsy()
|
||||
})
|
||||
|
||||
it('sends a complete sub2api Agent Identity export through batch import', async () => {
|
||||
|
||||
@@ -1582,7 +1582,7 @@ const legacyExactEnglishMessages: Record<string, string> = {
|
||||
'浏览器登录': 'Browser sign-in',
|
||||
'设备授权': 'Device authorization',
|
||||
'导入授权': 'Import authorization',
|
||||
'创建 Agent Identity': 'Create Agent Identity',
|
||||
'Agent Identity': 'Agent Identity',
|
||||
'创建并导入 Agent Identity': 'Create and import Agent Identity',
|
||||
'创建 Agent Identity 失败': 'Failed to create Agent Identity',
|
||||
'ChatGPT Session Token': 'ChatGPT Session Token',
|
||||
|
||||
Reference in New Issue
Block a user