From d2262a61dd0dba04c74fd2c18efd5d1bbb23dad6 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 8 Jul 2022 14:10:26 +0200 Subject: [PATCH] Fixing translations. --- backend/i18n/frontend_en.json | 2 +- backend/i18n/frontend_it.json | 2 +- backend/i18n/frontend_nl.json | 2 +- backend/i18n/frontend_zh.json | 2 +- backend/i18n/source/frontend_en.json | 2 +- backend/i18n/source/frontend_it.json | 2 +- backend/i18n/source/frontend_nl.json | 2 +- backend/i18n/source/frontend_zh.json | 2 +- .../settings/pages/clients/client-add-form.component.html | 2 +- frontend/src/app/shared/components/app-form.component.html | 2 +- frontend/src/app/shared/components/assets/asset.component.scss | 2 ++ 11 files changed, 12 insertions(+), 10 deletions(-) diff --git a/backend/i18n/frontend_en.json b/backend/i18n/frontend_en.json index fa94aad5e..dccb7d272 100644 --- a/backend/i18n/frontend_en.json +++ b/backend/i18n/frontend_en.json @@ -162,7 +162,7 @@ "clients.allowAnonymousHint": "Allow access to the API without an access token to all resources that are configured via the role of this client. Do not give more than one client anonymous access.", "clients.apiCallsLimit": "Max API Calls", "clients.apiCallsLimitHint": "Limit the number of API calls this client can make per month to protect your API contingent for other clients that are more important.", - "clients.clientIdValidationMessage": "Name can only contain letters, numbers, dashes and spaces.", + "clients.clientIdValidationMessage": "Name can only contain letters, numbers and dashes.", "clients.clientNamePlaceholder": "Enter client name", "clients.connect": "Connect", "clients.connectWizard.cli": "Connect with Squidex CLI", diff --git a/backend/i18n/frontend_it.json b/backend/i18n/frontend_it.json index 063337a23..103deefba 100644 --- a/backend/i18n/frontend_it.json +++ b/backend/i18n/frontend_it.json @@ -162,7 +162,7 @@ "clients.allowAnonymousHint": "Consenti l'accesso alle API senza token di accesso a tutte le risorse che sono configurate per il ruolo di questo client. È possibile avere un solo client impostato con accesso anonimo.", "clients.apiCallsLimit": "Numero Max di chiamate alle API", "clients.apiCallsLimitHint": "Limita il numero di chiamate al mese effettuabili dal client alle API calls per riservare ai client più importanti il numero di chiamate API disponili.", - "clients.clientIdValidationMessage": "Il nome deve contenere solo lettere, numeri, trattini e spaziNa.", + "clients.clientIdValidationMessage": "Il nome può contenere solo lettere, numeri e trattini.", "clients.clientNamePlaceholder": "Inserisci il nome del client", "clients.connect": "Connettere", "clients.connectWizard.cli": "Connettere con la Squidex CLI", diff --git a/backend/i18n/frontend_nl.json b/backend/i18n/frontend_nl.json index 933953644..b48a11b5d 100644 --- a/backend/i18n/frontend_nl.json +++ b/backend/i18n/frontend_nl.json @@ -162,7 +162,7 @@ "clients.allowAnonymousHint": "Sta toegang tot de API toe zonder toegangstoken voor alle bronnen die zijn geconfigureerd via de rol van deze client. Geef niet meer dan één client anonieme toegang.", "clients.apiCallsLimit": "Max. API aanroepen", "clients.apiCallsLimitHint": "Beperk het aantal API aanroepen dat deze client per maand kan doen om uw API quota te beschermen voor andere clients die belangrijker zijn.", - "clients.clientIdValidationMessage": "Naam mag alleen letters, cijfers, streepjes en spaties bevatten.", + "clients.clientIdValidationMessage": "Naam mag alleen letters, cijfers en streepjes bevatten.", "clients.clientNamePlaceholder": "Voer de naam van de klant in", "clients.connect": "Verbinden", "clients.connectWizard.cli": "Maak verbinding met Squidex CLI", diff --git a/backend/i18n/frontend_zh.json b/backend/i18n/frontend_zh.json index 588c9fbbd..9b7fb2608 100644 --- a/backend/i18n/frontend_zh.json +++ b/backend/i18n/frontend_zh.json @@ -162,7 +162,7 @@ "clients.allowAnonymousHint": "允许在没有访问令牌的情况下访问通过此客户端角色配置的所有资源的 API。不要给多个客户端匿名访问。", "clients.apiCallsLimit": "最大 API 调用数", "clients.apiCallsLimitHint": "限制此客户端每月可以进行的 API 调用次数,以保护您的 API 队伍为其他更重要的客户端提供服务。", - "clients.clientIdValidationMessage": "名称只能包含字母、数字、破折号和空格。", + "clients.clientIdValidationMessage": "名称只能包含字母、数字和破折号。", "clients.clientNamePlaceholder": "输入客户端名称", "clients.connect": "连接", "clients.connectWizard.cli": "连接 Squidex CLI", diff --git a/backend/i18n/source/frontend_en.json b/backend/i18n/source/frontend_en.json index fa94aad5e..dccb7d272 100644 --- a/backend/i18n/source/frontend_en.json +++ b/backend/i18n/source/frontend_en.json @@ -162,7 +162,7 @@ "clients.allowAnonymousHint": "Allow access to the API without an access token to all resources that are configured via the role of this client. Do not give more than one client anonymous access.", "clients.apiCallsLimit": "Max API Calls", "clients.apiCallsLimitHint": "Limit the number of API calls this client can make per month to protect your API contingent for other clients that are more important.", - "clients.clientIdValidationMessage": "Name can only contain letters, numbers, dashes and spaces.", + "clients.clientIdValidationMessage": "Name can only contain letters, numbers and dashes.", "clients.clientNamePlaceholder": "Enter client name", "clients.connect": "Connect", "clients.connectWizard.cli": "Connect with Squidex CLI", diff --git a/backend/i18n/source/frontend_it.json b/backend/i18n/source/frontend_it.json index 7490b2c64..08c3852eb 100644 --- a/backend/i18n/source/frontend_it.json +++ b/backend/i18n/source/frontend_it.json @@ -136,7 +136,7 @@ "clients.allowAnonymousHint": "Consenti l'accesso alle API senza token di accesso a tutte le risorse che sono configurate per il ruolo di questo client. È possibile avere un solo client impostato con accesso anonimo.", "clients.apiCallsLimit": "Numero Max di chiamate alle API", "clients.apiCallsLimitHint": "Limita il numero di chiamate al mese effettuabili dal client alle API calls per riservare ai client più importanti il numero di chiamate API disponili.", - "clients.clientIdValidationMessage": "Il nome deve contenere solo lettere, numeri, trattini e spaziNa.", + "clients.clientIdValidationMessage": "Il nome può contenere solo lettere, numeri e trattini.", "clients.clientNamePlaceholder": "Inserisci il nome del client", "clients.connect": "Connettere", "clients.connectWizard.cli": "Connettere con la Squidex CLI", diff --git a/backend/i18n/source/frontend_nl.json b/backend/i18n/source/frontend_nl.json index fe3cf7b1b..81a7baf12 100644 --- a/backend/i18n/source/frontend_nl.json +++ b/backend/i18n/source/frontend_nl.json @@ -158,7 +158,7 @@ "clients.allowAnonymousHint": "Sta toegang tot de API toe zonder toegangstoken voor alle bronnen die zijn geconfigureerd via de rol van deze client. Geef niet meer dan één client anonieme toegang.", "clients.apiCallsLimit": "Max. API aanroepen", "clients.apiCallsLimitHint": "Beperk het aantal API aanroepen dat deze client per maand kan doen om uw API quota te beschermen voor andere clients die belangrijker zijn.", - "clients.clientIdValidationMessage": "Naam mag alleen letters, cijfers, streepjes en spaties bevatten.", + "clients.clientIdValidationMessage": "Naam mag alleen letters, cijfers en streepjes bevatten.", "clients.clientNamePlaceholder": "Voer de naam van de klant in", "clients.connect": "Verbinden", "clients.connectWizard.cli": "Maak verbinding met Squidex CLI", diff --git a/backend/i18n/source/frontend_zh.json b/backend/i18n/source/frontend_zh.json index c90c55414..940015eed 100644 --- a/backend/i18n/source/frontend_zh.json +++ b/backend/i18n/source/frontend_zh.json @@ -146,7 +146,7 @@ "clients.allowAnonymousHint": "允许在没有访问令牌的情况下访问通过此客户端角色配置的所有资源的 API。不要给多个客户端匿名访问。", "clients.apiCallsLimit": "最大 API 调用数", "clients.apiCallsLimitHint": "限制此客户端每月可以进行的 API 调用次数,以保护您的 API 队伍为其他更重要的客户端提供服务。", - "clients.clientIdValidationMessage": "名称只能包含字母、数字、破折号和空格。", + "clients.clientIdValidationMessage": "名称只能包含字母、数字和破折号。", "clients.clientNamePlaceholder": "输入客户端名称", "clients.connect": "连接", "clients.connectWizard.cli": "连接 Squidex CLI", diff --git a/frontend/src/app/features/settings/pages/clients/client-add-form.component.html b/frontend/src/app/features/settings/pages/clients/client-add-form.component.html index ed28c9063..f54cf393e 100644 --- a/frontend/src/app/features/settings/pages/clients/client-add-form.component.html +++ b/frontend/src/app/features/settings/pages/clients/client-add-form.component.html @@ -4,7 +4,7 @@
- +
diff --git a/frontend/src/app/shared/components/app-form.component.html b/frontend/src/app/shared/components/app-form.component.html index 9988e6394..9b0d27eae 100644 --- a/frontend/src/app/shared/components/app-form.component.html +++ b/frontend/src/app/shared/components/app-form.component.html @@ -13,7 +13,7 @@ -
+
diff --git a/frontend/src/app/shared/components/assets/asset.component.scss b/frontend/src/app/shared/components/assets/asset.component.scss index b975caed2..2af952964 100644 --- a/frontend/src/app/shared/components/assets/asset.component.scss +++ b/frontend/src/app/shared/components/assets/asset.component.scss @@ -111,6 +111,8 @@ $list-height: 2.25rem; img { background-image: $asset-background; + object-fit: contain; + object-position: inherit; } }