diff --git a/src/lib/locales/en.json b/src/lib/locales/en.json index 6c52891c6..3b0ff03fd 100644 --- a/src/lib/locales/en.json +++ b/src/lib/locales/en.json @@ -44,7 +44,15 @@ "port": "Port", "default": "default", "base_directory": "Base Directory", - "publish_directory": "Publish Directory" + "publish_directory": "Publish Directory", + "generated_automatically_after_start": "Generated automatically after start", + "roots_password": "Root's Password", + "root_user": "Root User", + "eg": "eg", + "user": "User", + "loading": "Loading...", + "version": "Version", + "host": "Host" }, "register": { "register": "Register", @@ -155,5 +163,24 @@ "cant_activate_auto_deploy_without_repo": "Cannot activate automatic deployments until only one application is defined for this repository / branch.", "no_applications_found": "No applications found" }, - "general": "General" + "general": "General", + "database": { + "default_database": "Default Database", + "generated_automatically_after_set_to_public": "Generated automatically after set to public", + "connection_string": "Connection String", + "set_public": "Set it public", + "warning_database_public": "Your database will be reachable over the internet.
Take security seriously in this case!", + "change_append_only_mode": "Change append only mode", + "warning_append_only": "Useful if you would like to restore redis data from a backup.
Database restart is required.", + "select_database_type": "Select a Database type", + "select_database_version": "Select a Database version", + "confirm_stop": "Are you sure you would like to stop {name}?", + "stop_database": "Stop database", + "permission_denied_stop_database": "You do not have permission to stop the database.", + "start_database": "Start database", + "permission_denied_start_database": "You do not have permission to start the database.", + "delete_database": "Delete Database", + "permission_denied_delete_database": "You do not have permission to delete a Database", + "no_databases_found": "No databases found" + } } diff --git a/src/routes/databases/[id]/_Databases/_CouchDb.svelte b/src/routes/databases/[id]/_Databases/_CouchDb.svelte index 861e21cb5..f8f9ebc10 100644 --- a/src/routes/databases/[id]/_Databases/_CouchDb.svelte +++ b/src/routes/databases/[id]/_Databases/_CouchDb.svelte @@ -1,6 +1,7 @@
@@ -8,34 +9,38 @@
- +
- +
- +
- +
- +
-
General
+
{$t('general')}
{#if $session.isAdmin} {loading ? $t('forms.saving') : $t('forms.save')} {/if}
- +
- + {#if database.destinationDockerId}
- +
- +
- + {/if}
- +
-
Features
+
{$t('application.features')}
changeSettings('isPublic')} - title="Set it public" - description="Your database will be reachable over the internet.
Take security seriously in this case!" + title={$t('database.set_public')} + description={$t('database.warning_database_public')} />
{#if database.type === 'redis'} @@ -190,8 +197,8 @@ changeSettings('appendOnly')} - title="Change append only mode" - description="Useful if you would like to restore redis data from a backup.
Database restart is required." + title={$t('database.change_append_only_mode')} + description={$t('database.warning_append_only')} />
{/if} diff --git a/src/routes/databases/[id]/_Databases/_MongoDB.svelte b/src/routes/databases/[id]/_Databases/_MongoDB.svelte index 7ec21edcd..1a6a526ce 100644 --- a/src/routes/databases/[id]/_Databases/_MongoDB.svelte +++ b/src/routes/databases/[id]/_Databases/_MongoDB.svelte @@ -1,6 +1,7 @@
@@ -8,9 +9,9 @@
- +
- + export let database; import CopyPasswordField from '$lib/components/CopyPasswordField.svelte'; + import { t } from '$lib/translations';
@@ -8,34 +9,38 @@
- +
- +
- +
- +
- + export let database; import CopyPasswordField from '$lib/components/CopyPasswordField.svelte'; + import { t } from '$lib/translations';
@@ -8,34 +9,38 @@
- +
- +
- + export let database; import CopyPasswordField from '$lib/components/CopyPasswordField.svelte'; + import { t } from '$lib/translations';
@@ -8,11 +9,13 @@
- +