From 4ce405a8bf94310eab678b08a4fa1c7fea427920 Mon Sep 17 00:00:00 2001 From: 4gray <4gray@users.noreply.github.com> Date: Wed, 15 Feb 2023 23:32:27 +0100 Subject: [PATCH 1/2] refactor(settings): extract hardcoded text to i18n string this commit is related to GUI translation issues #226 --- .../home/url-upload/url-upload.component.html | 2 +- .../about-dialog/about-dialog.component.ts | 16 +++++++++------- src/assets/i18n/en.json | 8 ++++++-- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/app/home/url-upload/url-upload.component.html b/src/app/home/url-upload/url-upload.component.html index ca45dfe2f..08efd5e67 100644 --- a/src/app/home/url-upload/url-upload.component.html +++ b/src/app/home/url-upload/url-upload.component.html @@ -8,7 +8,7 @@ /> - Note: In order to avoid CORS issues at this point the application uses a public CORS Proxy service. If you want to upload a playlist with sensitive data, it is better to import it as a file in the adjacent tab. + {{ 'HOME.URL_UPLOAD.CORS_NOTE' | translate }}