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:
METO
2026-03-07 14:49:57 +08:00
committed by GitHub
parent 4982e2dbc0
commit 446649576c
4 changed files with 9 additions and 4 deletions
+1
View File
@@ -91,6 +91,7 @@ export default {
'button.paste': 'Paste',
// New session form
'newSession.title': 'Create Session',
'newSession.machine': 'Machine',
'newSession.directory': 'Directory',
'newSession.placeholder': '/path/to/project',