mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-08 07:17:39 +00:00
fix(web): use i18n translation for hardcoded "Create Session" strings (#259)
Replace hardcoded English strings with translation function calls in SpawnSession.tsx and router.tsx. Add newSession.title key for the NewSessionPage header to match the newSession.* namespace.
This commit is contained in:
@@ -93,6 +93,7 @@ export default {
|
||||
'button.paste': '粘贴',
|
||||
|
||||
// New session form
|
||||
'newSession.title': '创建会话',
|
||||
'newSession.machine': '机器',
|
||||
'newSession.directory': '目录',
|
||||
'newSession.placeholder': '/path/to/project',
|
||||
|
||||
Reference in New Issue
Block a user