diff --git a/src/i18n/i18n.js b/src/i18n/i18n.js index db0ba8b5..23f1efeb 100644 --- a/src/i18n/i18n.js +++ b/src/i18n/i18n.js @@ -20,6 +20,18 @@ import translations from './translations/translations.js'; window.listSupportedLanguages = () => Object.keys(translations).map(lang => translations[lang]); +const variables = { + docs: "https://docs.puter.com/", + terms: "https://puter.com/terms", + privacy: "https://puter.com/privacy" +}; + +function ReplacePlaceholders(str) { + str = str.replace(/{{link=(.*?)}}(.*?){{\/link}}/g, (_, key, text) => `${text}`); + str = str.replace(/{{(.*?)}}/g, (_, key) => variables[key]); + return str; +} + window.i18n = function (key, replacements = [], encode_html = true) { if(Array.isArray(replacements) === false){ replacements = [replacements]; @@ -31,6 +43,7 @@ window.i18n = function (key, replacements = [], encode_html = true) { if (!str) { str = key; } + str = ReplacePlaceholders(str); str = encode_html ? html_encode(str) : str; // replace %% occurrences with the values in replacements // %% is for simple text replacements diff --git a/src/i18n/translations/ar.js b/src/i18n/translations/ar.js index 279d8119..a7b3f4e0 100644 --- a/src/i18n/translations/ar.js +++ b/src/i18n/translations/ar.js @@ -110,7 +110,7 @@ const ar = { paste_into_folder: "الصق داخل الملف", pick_name_for_website: "اختيار اسم لموقع الويب ", picture: "صورة ", - powered_by_puter_js: `مشغل بواسطةPuter.js`, + powered_by_puter_js: `مشغل بواسطة{{link=docs}}Puter.js{{/link}}`, preparing: "إعداده", preparing_for_upload: "التحضير للتحميل ", properties: "ملكيات ", @@ -148,7 +148,7 @@ const ar = { start: 'إبدأ ', taking_longer_than_usual: 'يستغرق وقتا أطول من المعتاد ', text_document: 'وثيقة نصية', - tos_fineprint: `بالنقر على "إنشاء حساب مجاني"، فإنك توافق على شروط الاستخدام و حماية البيانات`, + tos_fineprint: `بالنقر على "إنشاء حساب مجاني"، فإنك توافق على {{link=terms}}شروط الاستخدام{{/link}} و {{link=privacy}}حماية البيانات{{/link}}`, trash: 'نفاية', type: 'اكتب', undo: 'الغاء التحميل', diff --git a/src/i18n/translations/bn.js b/src/i18n/translations/bn.js index 8cc68092..e5a89f13 100644 --- a/src/i18n/translations/bn.js +++ b/src/i18n/translations/bn.js @@ -109,7 +109,7 @@ const bn = { paste_into_folder: "ফোল্ডার আয়ে পেস্ট করুন", pick_name_for_website: "আপনার ওয়েবসাইটের জন্য একটি নাম পছন্দ করুন:", picture: "ছবি", - powered_by_puter_js: `দ্বারা চালিত Puter.js`, + powered_by_puter_js: `দ্বারা চালিত {{link=docs}}Puter.js{{/link}}`, preparing: "প্রস্তুত হচ্ছে...", preparing_for_upload: "আপলোডের জন্য প্রস্তুত হচ্ছে...", properties: "বৈশিষ্ট্য", @@ -147,7 +147,7 @@ const bn = { start: 'শুরু করুন', taking_longer_than_usual: 'স্বাভাবিকের চেয়ে একটু বেশি সময় নিচ্ছে। অনুগ্রহপূর্বক অপেক্ষা করুন...', text_document: 'পাঠ্য নথি', - tos_fineprint: `'ফ্রি অ্যাকাউন্ট তৈরি করুন'-এ ক্লিক করার মাধ্যমে আপনি Puter-এর পরিষেবার শর্তাবলী এবং গোপনীয়তা নীতি।`, + tos_fineprint: `'ফ্রি অ্যাকাউন্ট তৈরি করুন'-এ ক্লিক করার মাধ্যমে আপনি Puter-এর {{link=terms}}পরিষেবার শর্তাবলী{{/link}} এবং {{link=privacy}}গোপনীয়তা নীতি{{/link}}।`, trash: 'আবর্জনা', type: 'টাইপ', undo: 'পূর্বাবস্থায় ফেরান', diff --git a/src/i18n/translations/br.js b/src/i18n/translations/br.js index c1f041b3..ae8ca572 100644 --- a/src/i18n/translations/br.js +++ b/src/i18n/translations/br.js @@ -132,7 +132,7 @@ const br = { pick_name_for_website: "Escolha um nome para seu site:", picture: "Imagem", plural_suffix: 's', - powered_by_puter_js: `Criado por Puter.js`, + powered_by_puter_js: `Criado por {{link=docs}}Puter.js{{/link}}`, preparing: "Preparando...", preparing_for_upload: "Preparando para o envio...", privacy: "Privacidade", @@ -184,7 +184,7 @@ const br = { taking_longer_than_usual: 'Está a levar mais tempo que o usual. Por favor, aguarde...', terms: "Termos", text_document: 'Documento de Texto', - tos_fineprint: `Clicando em 'Criar Conta Gratuita' você concorda com os Termos de Serviço e Política de Privacidade do Puter.`, + tos_fineprint: `Clicando em 'Criar Conta Gratuita' você concorda com os {{link=terms}}Termos de Serviço{{/link}} e {{link=privacy}}Política de Privacidade{{/link}} do Puter.`, trash: 'Lixo', type: 'Tipo', type_confirm_to_delete_account: "Digite 'confirm' para excluir sua conta.", diff --git a/src/i18n/translations/da.js b/src/i18n/translations/da.js index 21f9ab30..891fc56a 100644 --- a/src/i18n/translations/da.js +++ b/src/i18n/translations/da.js @@ -110,7 +110,7 @@ const da = { paste_into_folder: "Indsæt i mappe", pick_name_for_website: "Vælg et navn til dit websted:", picture: "Billede", - powered_by_puter_js: "Drevet af Puter.js", + powered_by_puter_js: "Drevet af {{link=docs}}Puter.js{{/link}}", preparing: "Forbereder...", preparing_for_upload: "Forbereder upload...", properties: "Egenskaber", @@ -148,7 +148,7 @@ const da = { start: "Start", taking_longer_than_usual: "Dette tager længere tid end sædvanligt. Vent venligst...", text_document: "Tekstdokument", - tos_fineprint: "Ved at klikke på 'Opret gratis konto' accepterer du Puters servicevilkår og privatlivspolitik.", + tos_fineprint: "Ved at klikke på 'Opret gratis konto' accepterer du Puters {{link=terms}}servicevilkår{{/link}} og {{link=privacy}}privatlivspolitik{{/link}}.", trash: "Papirkurv", type: "Type", undo: "Fortryd", diff --git a/src/i18n/translations/de.js b/src/i18n/translations/de.js index 5f665b8c..4e899e15 100644 --- a/src/i18n/translations/de.js +++ b/src/i18n/translations/de.js @@ -110,7 +110,7 @@ const de = { paste_into_folder: "In Ordner einfügen", pick_name_for_website: "Wählen Sie einen Namen für Ihre Webseite:", picture: "Bild", - powered_by_puter_js: `Betrieben von Puter.js`, + powered_by_puter_js: `Betrieben von {{link=docs}}Puter.js{{/link}}`, preparing: "Bereitet vor...", preparing_for_upload: "Bereitet für das Hochladen vor...", properties: "Einstellungen", @@ -148,7 +148,7 @@ const de = { start: 'Start', taking_longer_than_usual: 'Dauert etwas länger als gewöhnlich. Bitte warten...', text_document: 'Textdokument', - tos_fineprint: `Indem Sie auf „Kostenloses Konto erstellen“ klicken, stimmen Sie den Nutzungsbedingungen und der Datenschutzerklärung von Puter zu.`, + tos_fineprint: `Indem Sie auf „Kostenloses Konto erstellen“ klicken, stimmen Sie den {{link=terms}}Nutzungsbedingungen{{/link}} und der {{link=privacy}}Datenschutzerklärung{{/link}} von Puter zu.`, trash: 'Papierkorb', type: 'Typ', undo: 'Zurück', diff --git a/src/i18n/translations/en.js b/src/i18n/translations/en.js index 4f22ecac..19433f55 100644 --- a/src/i18n/translations/en.js +++ b/src/i18n/translations/en.js @@ -136,7 +136,7 @@ const en = { pick_name_for_website: "Pick a name for your website:", picture: "Picture", plural_suffix: 's', - powered_by_puter_js: `Powered by Puter.js`, + powered_by_puter_js: `Powered by {{link=docs}}Puter.js{{/link}}`, preparing: "Preparing...", preparing_for_upload: "Preparing for upload...", privacy: "Privacy", @@ -189,7 +189,7 @@ const en = { taking_longer_than_usual: 'Taking a little longer than usual. Please wait...', terms: "Terms", text_document: 'Text document', - tos_fineprint: `By clicking 'Create Free Account' you agree to Puter's Terms of Service and Privacy Policy.`, + tos_fineprint: `By clicking 'Create Free Account' you agree to Puter's {{link=terms}}Terms of Service{{/link}} and {{link=privacy}}Privacy Policy{{/link}}.`, trash: 'Trash', type: 'Type', type_confirm_to_delete_account: "Type 'confirm' to delete your account.", diff --git a/src/i18n/translations/es.js b/src/i18n/translations/es.js index e6ccca5b..917ef1c3 100644 --- a/src/i18n/translations/es.js +++ b/src/i18n/translations/es.js @@ -110,7 +110,7 @@ const es = { paste_into_folder: "Pegar en la Carpeta", pick_name_for_website: "Escoge un nombre para tu página web:", picture: "Imagen", - powered_by_puter_js: `Creado por Puter.js`, + powered_by_puter_js: `Creado por {{link=docs}}Puter.js{{/link}}`, preparing: "Preparando...", preparing_for_upload: "Preparando para la subida...", properties: "Propiedades", @@ -148,7 +148,7 @@ const es = { start: 'Inicio', taking_longer_than_usual: 'Tardando un poco más de lo usual. Por favor, espere...', text_document: 'Documento de Texto', - tos_fineprint: `Pulsando sobre 'Crear una cuenta gratuita' aceptas los términos del servicio de Puter y la política de privacidad.`, + tos_fineprint: `Pulsando sobre 'Crear una cuenta gratuita' aceptas los {{link=terms}}términos del servicio{{/link}} de Puter y {{link=privacy}}la política de privacidad{{/link}}.`, trash: 'Papelera', type: 'Tipo', undo: 'Deshacer', diff --git a/src/i18n/translations/fa.js b/src/i18n/translations/fa.js index e2d3b94d..d0db2ae4 100644 --- a/src/i18n/translations/fa.js +++ b/src/i18n/translations/fa.js @@ -111,7 +111,7 @@ const fa = { paste_into_folder: "چسباندن در پوشه", pick_name_for_website: "یک نام برای وبسایت خود انتخاب کنید:", picture: "تصویر", - powered_by_puter_js: `پشتیبانی شده توسط Puter.js`, + powered_by_puter_js: `پشتیبانی شده توسط {{link=docs}}Puter.js{{/link}}`, preparing: "در حال آماده سازی...", preparing_for_upload: "آماده سازی برای بارگذاری...", properties: "ویژگی ها", @@ -149,7 +149,7 @@ const fa = { start: 'شروع', taking_longer_than_usual: 'کمی بیشتر از معمول طول می کشد. لطفا صبر کنید...', text_document: 'سند متنی', - tos_fineprint: `با کلیک بر روی 'ایجاد حساب کاربری رایگان' شما با شرایط خدمات و سیاست حفظ حریم خصوصی Puter موافقت می کنید.`, + tos_fineprint: `با کلیک بر روی 'ایجاد حساب کاربری رایگان' شما با {{link=terms}}شرایط خدمات{{/link}} و {{link=privacy}}سیاست حفظ حریم خصوصی{{/link}} Puter موافقت می کنید.`, trash: 'سطل زباله', type: 'نوع', undo: 'بازگشت', diff --git a/src/i18n/translations/fi.js b/src/i18n/translations/fi.js index 9950f10f..9dc4eb62 100644 --- a/src/i18n/translations/fi.js +++ b/src/i18n/translations/fi.js @@ -154,7 +154,7 @@ const fi = { paste_into_folder: "Liitä Kansioon", pick_name_for_website: "Valitse nimi verkkosivustollesi:", picture: "Kuva", - powered_by_puter_js: `Tämän Mahdollistaa Puter.js`, + powered_by_puter_js: `Tämän Mahdollistaa {{link=docs}}Puter.js{{/link}}`, preparing: "Valmistellaan...", preparing_for_upload: "Valmistellaan latausta...", properties: "Ominaisuudet", diff --git a/src/i18n/translations/fr.js b/src/i18n/translations/fr.js index ebf296bd..1ff642a6 100644 --- a/src/i18n/translations/fr.js +++ b/src/i18n/translations/fr.js @@ -109,7 +109,7 @@ const fr = { paste_into_folder: "Coller dans le dossier", pick_name_for_website: "Choisissez un nom pour votre site web :", picture: "Image", - powered_by_puter_js: "Propulsé par Puter.js", + powered_by_puter_js: "Propulsé par {{link=docs}}Puter.js{{/link}}", preparing: "Préparation en cours...", preparing_for_upload: "Préparation du téléchargement en cours...", properties: "Propriétés", @@ -147,7 +147,7 @@ const fr = { start: "Démarrer", taking_longer_than_usual: "Cela prend un peu plus de temps que d'habitude. Veuillez patienter...", text_document: "Document texte", - tos_fineprint: "En cliquant sur 'Créer un compte gratuit', vous acceptez les Conditions d'utilisation et la Politique de confidentialité de Puter.", + tos_fineprint: "En cliquant sur 'Créer un compte gratuit', vous acceptez les {{link=terms}}Conditions d'utilisation{{/link}} et la {{link=privacy}}Politique de confidentialité{{/link}} de Puter.", trash: "Corbeille", type: "Type", undo: "Annuler", diff --git a/src/i18n/translations/hy.js b/src/i18n/translations/hy.js index 01c4d6cc..86ee13c6 100644 --- a/src/i18n/translations/hy.js +++ b/src/i18n/translations/hy.js @@ -110,7 +110,7 @@ const hy = { paste_into_folder: "Տեղադրել պանակում", pick_name_for_website: "Ընտրել անուն ձեր կայքի համար", picture: "Նկար", - powered_by_puter_js: `Աջակցվում է Puter.js-ի կողմից`, + powered_by_puter_js: `Աջակցվում է {{link=docs}}Puter.js{{/link}}-ի կողմից`, preparing: "Պատրաստվում է...", preparing_for_upload: "Պատրաստվում է վերբեռնել...", properties: "Հատկություններ", @@ -148,7 +148,7 @@ const hy = { start: "Սկսել", taking_longer_than_usual: "Սովորականից մի փոքր ավելի երկար է տևում: Խնդրում ենք սպասել...", text_document: "Text նիշք", - tos_fineprint: `Սեղմելով «Ստեղծել անվճար հաշիվ»՝ դուք համաձայնում եք Փութերի ծառայությունների պայմաններին և գաղտնիության քաղաքականությանը:`, + tos_fineprint: `Սեղմելով «Ստեղծել անվճար հաշիվ»՝ դուք համաձայնում եք Փութերի {{link=terms}}ծառայությունների պայմաններին{{/link}} և {{link=privacy}}գաղտնիության քաղաքականությանը{{/link}}:`, trash: "Աղբաման", type: "Տեսակ", undo: "Հետարկել", diff --git a/src/i18n/translations/it.js b/src/i18n/translations/it.js index abace233..6efe23db 100644 --- a/src/i18n/translations/it.js +++ b/src/i18n/translations/it.js @@ -110,7 +110,7 @@ const it = { paste_into_folder: "Incolla nella cartella", pick_name_for_website: "Scegli un nome per il tuo sito web:", picture: "Immagine", - powered_by_puter_js: `Powered by Puter.js`, + powered_by_puter_js: `Powered by {{link=docs}}Puter.js{{/link}}`, preparing: "Preparazione in corso...", preparing_for_upload: "Preparazione per l’upload...", properties: "Proprietà", @@ -148,7 +148,7 @@ const it = { start: 'Start', taking_longer_than_usual: 'Il processo in corso ci sta mettendo più del solito. Attendere prego...', text_document: 'Documento di testo', - tos_fineprint: `Cliccando su 'Crea un account gratis' accetti i Termini di Servizio e l'Informativa sulla Privacy di Puter.`, + tos_fineprint: `Cliccando su 'Crea un account gratis' accetti i {{link=terms}}Termini di Servizio{{/link}} e l'{{link=privacy}}Informativa sulla Privacy{{/link}} di Puter.`, trash: 'Cestino', type: 'Tipo', undo: 'Annulla', diff --git a/src/i18n/translations/ko.js b/src/i18n/translations/ko.js index 6ec427e2..e0229928 100644 --- a/src/i18n/translations/ko.js +++ b/src/i18n/translations/ko.js @@ -110,7 +110,7 @@ const ko = { paste_into_folder: "폴더에 붙여넣기", pick_name_for_website: "웹사이트 이름을 선택하세요:", picture: "사진", - powered_by_puter_js: `Powered by Puter.js`, + powered_by_puter_js: `Powered by {{link=docs}}Puter.js{{/link}}`, preparing: "준비 중...", preparing_for_upload: "업로드 준비 중...", properties: "속성", @@ -148,7 +148,7 @@ const ko = { start: '시작', taking_longer_than_usual: '보통보다 조금 더 오래 걸립니다. 잠시만 기다려 주십시오...', text_document: '텍스트 문서', - tos_fineprint: `무료 계정 생성을 클릭하면 Puter의 서비스 약관개인정보 보호정책에 동의하는 것입니다.`, + tos_fineprint: `무료 계정 생성을 클릭하면 Puter의 {{link=terms}}서비스 약관{{/link}}과 {{link=privacy}}개인정보 보호정책{{/link}}에 동의하는 것입니다.`, trash: '휴지통', type: '유형', undo: '실행 취소', diff --git a/src/i18n/translations/nb.js b/src/i18n/translations/nb.js index 50bfbe83..5d361085 100644 --- a/src/i18n/translations/nb.js +++ b/src/i18n/translations/nb.js @@ -120,7 +120,7 @@ const nb = { paste_into_folder: "Lim inn i mappe", pick_name_for_website: "Velg et navn for nettstedet ditt:", picture: "Bilde", - powered_by_puter_js: "Drevet av Puter.js", + powered_by_puter_js: "Drevet av {{link=docs}}Puter.js{{/link}}", preparing: "Forbereder...", preparing_for_upload: "Forbereder opplasting...", properties: "Egenskaper", @@ -166,7 +166,7 @@ const nb = { start: "Start", taking_longer_than_usual: "Dette tar litt lenger tid enn vanlig. Vennligst vent...", text_document: "Tekstdokument", - tos_fineprint: "Ved å klikke på 'Opprett gratis konto' godtar du Puters tjenestevilkår og personvernpolicy.", + tos_fineprint: "Ved å klikke på 'Opprett gratis konto' godtar du Puters {{link=terms}}tjenestevilkår{{/link}} og {{link=privacy}}personvernpolicy{{/link}}.", trash: "Papirkurv", type: "Type", undo: "Angre", diff --git a/src/i18n/translations/nl.js b/src/i18n/translations/nl.js index df8764bf..1591147d 100644 --- a/src/i18n/translations/nl.js +++ b/src/i18n/translations/nl.js @@ -132,7 +132,7 @@ const nl = { paste_into_folder: "Plakken in Map", pick_name_for_website: "Kies een naam voor uw website:", picture: "Foto", - powered_by_puter_js: `Aangedreven door Puter.js`, + powered_by_puter_js: `Aangedreven door {{link=docs}}Puter.js{{/link}}`, preparing: "Voorbereiden...", preparing_for_upload: "Upload voorbereiden...", proceed_to_login: 'Doorgaan naar Inloggen', @@ -184,7 +184,7 @@ const nl = { taking_longer_than_usual: 'Het duurt iets langer dan normaal. Even geduld aub...', terms: "Voorwaarden", text_document: 'Tekst document', - tos_fineprint: `Door te klikken op 'Maak Gratis Account' gaat u akkoord met Puter's Gebruiksvoorwaarden en Privacybeleid.`, + tos_fineprint: `Door te klikken op 'Maak Gratis Account' gaat u akkoord met Puter's {{link=terms}}Gebruiksvoorwaarden{{/link}} en {{link=privacy}}Privacybeleid{{/link}}.`, trash: 'Prullenbak', type: 'Type', type_confirm_to_delete_account: "Type 'bevestig' om uw account te verwijderen.", diff --git a/src/i18n/translations/nn.js b/src/i18n/translations/nn.js index 471762ea..15d2e4d2 100644 --- a/src/i18n/translations/nn.js +++ b/src/i18n/translations/nn.js @@ -110,7 +110,7 @@ const nn = { paste_into_folder: "Lim inn i mappe", pick_name_for_website: "Vel eit namn for nettstaden din:", picture: "Bilete", - powered_by_puter_js: "Dreve av Puter.js", + powered_by_puter_js: "Dreve av {{link=docs}}Puter.js{{/link}}", preparing: "Førebur…", preparing_for_upload: "Førebur opplasting…", properties: "Eigenskapar", @@ -148,7 +148,7 @@ const nn = { start: "Start", taking_longer_than_usual: "Dette tar litt lengre tid enn vanleg. Vennligst vent...", text_document: "Tekstdokument", - tos_fineprint: "Ved å klikke på 'Opprett gratis konto' godtek du Puters tenestevilkår og personvernpolitikk.", + tos_fineprint: "Ved å klikke på 'Opprett gratis konto' godtek du Puters {{link=terms}}tenestevilkår{{/link}} og {{link=privacy}}personvernpolitikk{{/link}}.", trash: "Papirkorg", type: "Type", undo: "Angra", diff --git a/src/i18n/translations/pl.js b/src/i18n/translations/pl.js index f958a2c5..c12d30b6 100644 --- a/src/i18n/translations/pl.js +++ b/src/i18n/translations/pl.js @@ -120,7 +120,7 @@ const pl = { paste_into_folder: "Wklej do folderu", pick_name_for_website: "Wybierz nazwę dla swojej strony:", picture: "Obraz", - powered_by_puter_js: `Zasilane za pomocą Puter.js`, + powered_by_puter_js: `Zasilane za pomocą {{link=docs}}Puter.js{{/link}}`, preparing: "Przygotowywanie...", preparing_for_upload: "Przygotowywanie do wgrania...", proceed_to_login: 'Przejdź do logowania', @@ -166,7 +166,7 @@ const pl = { start: 'Start', taking_longer_than_usual: 'To trwa chwilę dłużej niż zwyklę. Prosimy poczekać...', text_document: 'Dokument tekstowy', - tos_fineprint: `Klikając 'Stwórz darmowe konto' Zgadzasz się z Warunkami Obsługi i Polityką Prywatności.`, + tos_fineprint: `Klikając 'Stwórz darmowe konto' Zgadzasz się z {{link=terms}}Warunkami Obsługi{{/link}} i {{link=privacy}}Polityką Prywatności{{/link}}.`, trash: 'Kosz', type: 'Wpisz', undo: 'Cofnij', diff --git a/src/i18n/translations/pt.js b/src/i18n/translations/pt.js index 524e73e0..3835939d 100644 --- a/src/i18n/translations/pt.js +++ b/src/i18n/translations/pt.js @@ -136,7 +136,7 @@ const pt = { pick_name_for_website: "Escolha um nome para seu site:", picture: "Imagem", plural_suffix: 's', - powered_by_puter_js: `Criado com Puter.js`, + powered_by_puter_js: `Criado com {{link=docs}}Puter.js{{/link}}`, preparing: "A preparar...", preparing_for_upload: "A preparar o upload...", privacy: "Privacidade", @@ -188,7 +188,7 @@ const pt = { taking_longer_than_usual: 'Está a levar mais tempo que o usual. Por favor aguarda...', terms: "Termos", text_document: 'Documento de Texto', - tos_fineprint: `Ao clicares em 'Criar Conta Gratuita' concordas com os Termos de Serviço e Política de Privacidade de Puter.com.`, + tos_fineprint: `Ao clicares em 'Criar Conta Gratuita' concordas com os {{link=terms}}Termos de Serviço{{/link}} e {{link=privacy}}Política de Privacidade{{/link}} do Puter.`, trash: 'Lixo', type: 'Tipo', type_confirm_to_delete_account: "Escreve 'confirm' para apagares esta conta.", diff --git a/src/i18n/translations/ro.js b/src/i18n/translations/ro.js index feaa56b7..823b860c 100644 --- a/src/i18n/translations/ro.js +++ b/src/i18n/translations/ro.js @@ -109,7 +109,7 @@ const ro = { paste_into_folder: "Inserează in folder", pick_name_for_website: "Alegeți un nume pentru site-ul dvs:", picture: "Poza", - powered_by_puter_js: `Creat de Puter.js`, + powered_by_puter_js: `Creat de {{link=docs}}Puter.js{{/link}}`, preparing: "Preparare...", preparing_for_upload: "Preparare pentru încărcare...", properties: "Proprietăți", @@ -147,7 +147,7 @@ const ro = { start: 'Start', taking_longer_than_usual: 'Durează puțin mai mult decât de obicei. Vă rugăm așteptați...', text_document: 'Document Text', - tos_fineprint: `Făcând clic pe „Creați un cont gratuit”, sunteți de acord cu Termenii si conditiile si Politia de Confidentialitate Puter.com.`, + tos_fineprint: `Făcând clic pe „Creați un cont gratuit”, sunteți de acord cu {{link=terms}}Termenii si conditiile{{/link}} si {{link=privacy}}Politia de Confidentialitate Puter.com{{/link}}.`, trash: 'Coș de gunoi', type: 'Type', undo: 'Undo', diff --git a/src/i18n/translations/sv.js b/src/i18n/translations/sv.js index 6136cdfb..6d7d1ece 100644 --- a/src/i18n/translations/sv.js +++ b/src/i18n/translations/sv.js @@ -110,7 +110,7 @@ const sv = { paste_into_folder: "Klistra in i mapp", pick_name_for_website: "Välj ett namn för din webbplats:", picture: "Bild", - powered_by_puter_js: "Drivs av Puter.js", + powered_by_puter_js: "Drivs av {{link=docs}}Puter.js{{/link}}", preparing: "Förbereder...", preparing_for_upload: "Förbereder för uppladdning...", properties: "Egenskaper", @@ -148,7 +148,7 @@ const sv = { start: "Start", taking_longer_than_usual: "Detta tar längre tid än vanligt. Vänligen vänta...", text_document: "Textdokument", - tos_fineprint: "Genom att klicka på 'Skapa gratis konto' godkänner du Puters användarvillkor och integritetspolicy.", + tos_fineprint: "Genom att klicka på 'Skapa gratis konto' godkänner du Puters {{link=terms}}användarvillkor{{/link}} och {{link=privacy}}integritetspolicy{{/link}}.", trash: "Papperskorg", type: "Typ", undo: "Ångra", diff --git a/src/i18n/translations/th.js b/src/i18n/translations/th.js index 99383292..0be6cc90 100644 --- a/src/i18n/translations/th.js +++ b/src/i18n/translations/th.js @@ -119,7 +119,7 @@ const th = { paste_into_folder: "วางลงในโฟลเดอร์", pick_name_for_website: "เลือกชื่อสำหรับเว็บไซต์ของคุณ:", picture: "รูปภาพ", - powered_by_puter_js: `สนับสนุนโดย Puter.js`, + powered_by_puter_js: `สนับสนุนโดย {{link=docs}}Puter.js{{/link}}`, preparing: "กำลังเตรียม...", preparing_for_upload: "กำลังเตรียมสำหรับอัปโหลด...", proceed_to_login: "ดำเนินการเข้าสู่ระบบ", @@ -165,7 +165,7 @@ const th = { start: "เริ่มต้น", taking_longer_than_usual: "ใช้เวลานานกว่าปกติเล็กน้อย กรุณารอสักครู่...", text_document: "เอกสารข้อความ", - tos_fineprint: `การคลิก 'สร้างบัญชีฟรี' หมายความว่าคุณยอมรับ ข้อกำหนดการให้บริการ และ นโยบายความเป็นส่วนตัว.`, + tos_fineprint: `การคลิก 'สร้างบัญชีฟรี' หมายความว่าคุณยอมรับ {{link=terms}}ข้อกำหนดการให้บริการ{{/link}} และ {{link=privacy}}นโยบายความเป็นส่วนตัว{{/link}}.`, trash: "ถังขยะ", type: "ประเภท", undo: "เลิกทำ", diff --git a/src/i18n/translations/ur.js b/src/i18n/translations/ur.js index 65c79eaf..f6492e40 100644 --- a/src/i18n/translations/ur.js +++ b/src/i18n/translations/ur.js @@ -110,7 +110,7 @@ const ur = { paste_into_folder: "فولڈر میں چسپاں کریں", pick_name_for_website: "ویب سائٹ کے لئے نام منتخب کریں ", picture: "تصویر ", - powered_by_puter_js: 'پیوٹر جے ایس کے زریعے محرکPuter.js', + powered_by_puter_js: 'پیوٹر جے ایس کے زریعے محرک{{link=docs}}Puter.js{{/link}}', preparing: "تیاری ", preparing_for_upload: "اپلوڈ کے لئے تیاری ", properties: "خصوصیات ", diff --git a/src/i18n/translations/zh.js b/src/i18n/translations/zh.js index c44eb14c..f8b976d0 100644 --- a/src/i18n/translations/zh.js +++ b/src/i18n/translations/zh.js @@ -114,7 +114,7 @@ const zh = { paste_into_folder: "粘贴到文件夹", pick_name_for_website: "为您的网站选择一个名称:", picture: "图片", - powered_by_puter_js: `由 Puter.js 提供支持`, + powered_by_puter_js: `由 {{link=docs}}Puter.js{{/link}} 提供支持`, preparing: "准备中...", preparing_for_upload: "准备上传...", properties: "属性", @@ -152,7 +152,7 @@ const zh = { start: '开始', taking_longer_than_usual: '需要的时间比平时长一点。请稍等...', text_document: '文本文档', - tos_fineprint: `点击“创建免费帐户”即表示您同意 Puter 的 服务条款隐私政策。`, + tos_fineprint: `点击“创建免费帐户”即表示您同意 Puter 的 {{link=terms}}服务条款{{/link}} 和 {{link=privacy}}隐私政策{{/link}}。`, trash: '回收站', type: '类型', undo: '撤销',