diff --git a/src/i18n/en-GB.json b/src/i18n/en-GB.json index 093764a..3d4edee 100644 --- a/src/i18n/en-GB.json +++ b/src/i18n/en-GB.json @@ -29,6 +29,17 @@ "insertKey": "Insert new key", "insertLanguage": "Insert new language", "delete": "Delete selected items" + }, + "prompt": { + "newKey": { + "title": "Which key do you want to create?", + "placeholder": "Name of the new key", + "description": "Hint: use `.` to denote nested keys,\ni.e. `this.is.some.key` would be a key that is four levels deep." + }, + "newLanguage": { + "title": "Which language do you want to add?", + "placeholder": "Locale code, i.e. en-GB for Britisch English" + } } } }, @@ -39,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/i18n/nl-NL.json b/src/i18n/nl-NL.json index 2a8e47d..de06ee8 100644 --- a/src/i18n/nl-NL.json +++ b/src/i18n/nl-NL.json @@ -29,6 +29,17 @@ "insertKey": "Voeg nieuwe sleutel toe", "insertLanguage": "Voeg nieuwe taal toe", "delete": "Verwijder geselecteerde items" + }, + "prompt": { + "newKey": { + "title": "Welke sleutel wil je toevoegen?", + "placeholder": "Naam van de nieuwe sleutel", + "description": "Hint: gebruik een `.` voor geneste sleutels,\nbijv. `this.is.some.key` is een sleutel die vier lagen diep is." + }, + "newLanguage": { + "title": "Welke taal wil je toevoegen?", + "placeholder": "Landcode, bijv. en-GB voor Brits Engels" + } } } }, diff --git a/src/routes/(editor)/edit.tsx b/src/routes/(editor)/edit.tsx index 06a1984..4f25822 100644 --- a/src/routes/(editor)/edit.tsx +++ b/src/routes/(editor)/edit.tsx @@ -346,12 +346,12 @@ const Editor: Component<{ root: FileSystemDirectoryHandle }> = (props) => { - hint: use . to denote nested keys,
i.e. this.is.some.key would be a key that is four levels deep}> - + + - - + +