mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-07 06:52:28 +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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user