mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 02:17:46 +08:00
feat(providers): add provider transfer limits
This commit is contained in:
@@ -112,6 +112,8 @@ describe('i18n infrastructure', () => {
|
||||
|
||||
it('translates common legacy phrases without adding new message entry points', () => {
|
||||
expect(translateLegacyText('请求记录清理策略', 'en-US')).toBe('Request log cleanup policy')
|
||||
expect(translateLegacyText('最大转移次数', 'en-US')).toBe('Max transfers')
|
||||
expect(translateLegacyText('最大转移超时', 'en-US')).toBe('Max transfer timeout')
|
||||
expect(translateLegacyText(' 发布于 2026-01-01 ', 'en-US')).toBe(' Published at 2026-01-01 ')
|
||||
expect(translateLegacyText('git clone https://github.com/fawney19/Aether.git', 'en-US')).toBe('git clone https://github.com/fawney19/Aether.git')
|
||||
})
|
||||
|
||||
@@ -1410,6 +1410,8 @@ const legacyExactEnglishMessages: Record<string, string> = {
|
||||
'计费类型': 'Billing type',
|
||||
'最大重试次数': 'Max retries',
|
||||
'默认 2': 'Default 2',
|
||||
'最大转移次数': 'Max transfers',
|
||||
'最大转移超时': 'Max transfer timeout',
|
||||
'流式首字节超时': 'Streaming first-byte timeout',
|
||||
'非流式请求超时': 'Non-streaming request timeout',
|
||||
'(秒)': '(seconds)',
|
||||
|
||||
Reference in New Issue
Block a user