-
Features
+
{$t('application.features')}
@@ -410,8 +423,8 @@
isCenter={false}
bind:setting={autodeploy}
on:click={() => changeSettings('autodeploy')}
- title="Enable Automatic Deployment"
- description="Enable automatic deployment through webhooks."
+ title={$t('application.enable_automatic_deployment')}
+ description={$t('application.enable_auto_deploy_webhooks')}
/>
@@ -419,8 +432,8 @@
isCenter={false}
bind:setting={previews}
on:click={() => changeSettings('previews')}
- title="Enable MR/PR Previews"
- description="Enable preview deployments from pull or merge requests."
+ title={$t('application.enable_mr_pr_previews')}
+ description={$t('application.enable_preview_deploy_mr_pr_requests')}
/>
@@ -428,8 +441,8 @@
isCenter={false}
bind:setting={debug}
on:click={() => changeSettings('debug')}
- title="Debug Logs"
- description="Enable debug logs during build phase.
Sensitive information could be visible and saved in logs."
+ title={$t('application.debug_logs')}
+ description={$t('application.enable_debug_log_during_build')}
/>
diff --git a/src/routes/applications/[id]/logs/build/_BuildLog.svelte b/src/routes/applications/[id]/logs/build/_BuildLog.svelte
index 4379d2d27..9a8dea4cc 100644
--- a/src/routes/applications/[id]/logs/build/_BuildLog.svelte
+++ b/src/routes/applications/[id]/logs/build/_BuildLog.svelte
@@ -10,6 +10,7 @@
import LoadingLogs from '../_Loading.svelte';
import { get } from '$lib/api';
import { errorNotification } from '$lib/form';
+ import { t } from '$lib/translations';
let logs = [];
let loading = true;
@@ -84,7 +85,7 @@
{/if}
{#if currentStatus === 'queued'}
-
Queued and waiting for execution.
+
{$t('application.build.queued_waiting_exec')}
{:else}
@@ -119,19 +121,23 @@
{#if build.status === 'running'}
-
Running
+
{$t('application.build.running')}
{:else if build.status === 'queued'}
-
Queued
+
{$t('application.build.queued')}
{:else}
{build.since}
-
Finished in {build.took}s
+
+ {$t('application.build.finished_in')} {build.took}s
+
{/if}
{/each}