From 9f6c02276a8271b762502828f337395bc58ae73e Mon Sep 17 00:00:00 2001 From: ensag-dev <59049879+ensag-dev@users.noreply.github.com> Date: Tue, 14 Jan 2020 16:24:53 +0100 Subject: [PATCH 01/14] Update Occitan translation --- i18n/oc.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/oc.json b/i18n/oc.json index 43a0db7..5356e71 100644 --- a/i18n/oc.json +++ b/i18n/oc.json @@ -169,13 +169,13 @@ "Your browser may require an HTTPS connection to support the WebCrypto API. Try switching to HTTPS.": "Se pòt que vòstre navigator faga besonh d’una connexion HTTPS per èsser compatible amb l’API WebCrypto. Ensajatz de passar al HTTPS.", "Your browser doesn't support WebAssembly, used for zlib compression. You can create uncompressed documents, but can't read compressed ones.": - "Your browser doesn't support WebAssembly, used for zlib compression. You can create uncompressed documents, but can't read compressed ones.", + "Vòstre navigator es pas compatible amb WebAssembly, utilizat per la compression zlib. Podètz crear de documents pas compressat, mas ne podètz pas legir de compressats.", "waiting on user to provide a password": - "waiting on user to provide a password", + "en espèra que l’utilizaire fornisca un senhal", "Could not decrypt data. Did you enter a wrong password? Retry with the button at the top.": - "Could not decrypt data. Did you enter a wrong password? Retry with the button at the top.", + "Deschiframent de las donadas impossible. Avètz picat un marrit senhal ? Tornatz ensajar amb lo boton ennaut.", "Retry": - "Retry", + "Tornar ensajar", "Showing raw text…": - "Showing raw text…" + "Afichatge del tèxte brut…" } From 3993b47e06ec0926402f218077d14f06ed406fbd Mon Sep 17 00:00:00 2001 From: rylebrun Date: Mon, 20 Jan 2020 12:03:11 +0100 Subject: [PATCH 02/14] Add mail fr translation --- i18n/fr.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/i18n/fr.json b/i18n/fr.json index 5c71e4b..449f68d 100644 --- a/i18n/fr.json +++ b/i18n/fr.json @@ -177,5 +177,15 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Utilisation:", + "This link will expire after %s.": + "Ce lien expire après le %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "Vous ne pouvez accéder à ce lien qu'une seule fois, n'utilisez pas le bouton précédent ou rafraîchir de votre navigateur.", + "Link:": + "Lien:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Le destinataire peut connaître votre fuseau horaire, convertir l'heure au format UTC?" } From 28c387074fe92efee905312f58e5c707666224b1 Mon Sep 17 00:00:00 2001 From: rylebrun Date: Mon, 20 Jan 2020 12:11:03 +0100 Subject: [PATCH 03/14] Add mail fr translation for buttons --- i18n/fr.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/i18n/fr.json b/i18n/fr.json index 449f68d..06fd3f3 100644 --- a/i18n/fr.json +++ b/i18n/fr.json @@ -187,5 +187,11 @@ "Link:": "Lien:", "Recipient may become aware of your timezone, convert time to UTC?": - "Le destinataire peut connaître votre fuseau horaire, convertir l'heure au format UTC?" + "Le destinataire peut connaître votre fuseau horaire, convertir l'heure au format UTC?", + "Use Current Timezone": + "Conserver l'actuel", + "Convert To UTC": + "Convertir en UTC", + "Close": + "Fermer" } From 1ae4f4f0fccedf453c8b43c620395f7759bbbc29 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Mon, 20 Jan 2020 19:24:28 +0100 Subject: [PATCH 04/14] updating all languages with missing translation, addresses failing unit test in previous commit --- i18n/bg.json | 18 +++++++++++++++++- i18n/cs.json | 18 +++++++++++++++++- i18n/de.json | 18 +++++++++++++++++- i18n/es.json | 18 +++++++++++++++++- i18n/hu.json | 18 +++++++++++++++++- i18n/it.json | 18 +++++++++++++++++- i18n/nl.json | 18 +++++++++++++++++- i18n/no.json | 18 +++++++++++++++++- i18n/oc.json | 18 +++++++++++++++++- i18n/pl.json | 18 +++++++++++++++++- i18n/pt.json | 18 +++++++++++++++++- i18n/ru.json | 18 +++++++++++++++++- i18n/sl.json | 18 +++++++++++++++++- i18n/uk.json | 18 +++++++++++++++++- i18n/zh.json | 18 +++++++++++++++++- 15 files changed, 255 insertions(+), 15 deletions(-) diff --git a/i18n/bg.json b/i18n/bg.json index 6366606..632bedb 100644 --- a/i18n/bg.json +++ b/i18n/bg.json @@ -168,5 +168,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/cs.json b/i18n/cs.json index 02b599d..02a5551 100644 --- a/i18n/cs.json +++ b/i18n/cs.json @@ -168,5 +168,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/de.json b/i18n/de.json index 1d6678a..20eb16d 100644 --- a/i18n/de.json +++ b/i18n/de.json @@ -168,5 +168,21 @@ "Retry": "Wiederholen", "Showing raw text…": - "Zeige reinen Text an…" + "Zeige reinen Text an…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/es.json b/i18n/es.json index 564dd72..9350987 100644 --- a/i18n/es.json +++ b/i18n/es.json @@ -168,5 +168,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/hu.json b/i18n/hu.json index c3e11a7..57076d9 100644 --- a/i18n/hu.json +++ b/i18n/hu.json @@ -168,5 +168,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/it.json b/i18n/it.json index 07af891..26b11c6 100644 --- a/i18n/it.json +++ b/i18n/it.json @@ -168,5 +168,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/nl.json b/i18n/nl.json index 29554d8..d6780c3 100644 --- a/i18n/nl.json +++ b/i18n/nl.json @@ -168,5 +168,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/no.json b/i18n/no.json index a2ad2c1..ccb5f2c 100644 --- a/i18n/no.json +++ b/i18n/no.json @@ -168,5 +168,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/oc.json b/i18n/oc.json index 5356e71..283d710 100644 --- a/i18n/oc.json +++ b/i18n/oc.json @@ -177,5 +177,21 @@ "Retry": "Tornar ensajar", "Showing raw text…": - "Afichatge del tèxte brut…" + "Afichatge del tèxte brut…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/pl.json b/i18n/pl.json index 6b5cbb5..ff27c47 100644 --- a/i18n/pl.json +++ b/i18n/pl.json @@ -168,5 +168,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/pt.json b/i18n/pt.json index 253a45e..d1994e6 100644 --- a/i18n/pt.json +++ b/i18n/pt.json @@ -168,5 +168,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/ru.json b/i18n/ru.json index 77a03f6..c65d5e9 100644 --- a/i18n/ru.json +++ b/i18n/ru.json @@ -178,5 +178,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/sl.json b/i18n/sl.json index f93d475..1bb6b60 100644 --- a/i18n/sl.json +++ b/i18n/sl.json @@ -177,5 +177,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/uk.json b/i18n/uk.json index 6fa2ee2..fd53982 100644 --- a/i18n/uk.json +++ b/i18n/uk.json @@ -178,5 +178,21 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…" + "Showing raw text…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } diff --git a/i18n/zh.json b/i18n/zh.json index b4bccbd..343ffc0 100644 --- a/i18n/zh.json +++ b/i18n/zh.json @@ -168,5 +168,21 @@ "Retry": "重试", "Showing raw text…": - "显示原始文字…" + "显示原始文字…", + "Notice:": + "Notice:", + "This link will expire after %s.": + "This link will expire after %s.", + "This link can only be accessed once, do not use back or refresh button in your browser.": + "This link can only be accessed once, do not use back or refresh button in your browser.", + "Link:": + "Link:", + "Recipient may become aware of your timezone, convert time to UTC?": + "Recipient may become aware of your timezone, convert time to UTC?", + "Use Current Timezone": + "Use Current Timezone", + "Convert To UTC": + "Convert To UTC", + "Close": + "Close" } From 72e96c7147206fb401944fa9bb15a36a275db9b0 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Mon, 20 Jan 2020 19:38:52 +0100 Subject: [PATCH 05/14] german translation of send to mail messages --- i18n/de.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/i18n/de.json b/i18n/de.json index 20eb16d..2c883df 100644 --- a/i18n/de.json +++ b/i18n/de.json @@ -170,19 +170,19 @@ "Showing raw text…": "Zeige reinen Text an…", "Notice:": - "Notice:", + "Hinweis:", "This link will expire after %s.": - "This link will expire after %s.", + "Dieser Link wird in %s ablaufen.", "This link can only be accessed once, do not use back or refresh button in your browser.": - "This link can only be accessed once, do not use back or refresh button in your browser.", + "Dieser Link kann nur einmal geöffnet werden, verwende nicht den \"Zurück\" oder \"Neu laden\" Knopf Deines Browsers.", "Link:": "Link:", "Recipient may become aware of your timezone, convert time to UTC?": - "Recipient may become aware of your timezone, convert time to UTC?", + "Der Empfänger könnte Deine Zeitzone erfahren, möchtest Du die Zeit in UTC umwandeln?", "Use Current Timezone": - "Use Current Timezone", + "Aktuelle Zeitzone verwenden", "Convert To UTC": - "Convert To UTC", + "In UTC Umwandeln", "Close": - "Close" + "Schliessen" } From 774fea923062a873db94050127d9890cecedd143 Mon Sep 17 00:00:00 2001 From: ensag-dev <59049879+ensag-dev@users.noreply.github.com> Date: Tue, 21 Jan 2020 08:05:17 +0000 Subject: [PATCH 06/14] Small corrections --- i18n/fr.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/fr.json b/i18n/fr.json index 06fd3f3..9af77fb 100644 --- a/i18n/fr.json +++ b/i18n/fr.json @@ -177,17 +177,17 @@ "Retry": "Retry", "Showing raw text…": - "Showing raw text…", + "Affichage du texte brut…", "Notice:": - "Utilisation:", + "Avertissement :", "This link will expire after %s.": "Ce lien expire après le %s.", "This link can only be accessed once, do not use back or refresh button in your browser.": "Vous ne pouvez accéder à ce lien qu'une seule fois, n'utilisez pas le bouton précédent ou rafraîchir de votre navigateur.", "Link:": - "Lien:", + "Lien :", "Recipient may become aware of your timezone, convert time to UTC?": - "Le destinataire peut connaître votre fuseau horaire, convertir l'heure au format UTC?", + "Le destinataire peut connaître votre fuseau horaire, convertir l'heure au format UTC ?", "Use Current Timezone": "Conserver l'actuel", "Convert To UTC": From 39ee46caeeffbac0686f70f8aa7e623db20a6fce Mon Sep 17 00:00:00 2001 From: ensag-dev <59049879+ensag-dev@users.noreply.github.com> Date: Tue, 21 Jan 2020 08:11:16 +0000 Subject: [PATCH 07/14] Update for e-mail function --- i18n/oc.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/i18n/oc.json b/i18n/oc.json index 283d710..7f9ad2a 100644 --- a/i18n/oc.json +++ b/i18n/oc.json @@ -179,19 +179,19 @@ "Showing raw text…": "Afichatge del tèxte brut…", "Notice:": - "Notice:", + "Avertiment :", "This link will expire after %s.": - "This link will expire after %s.", + "Aqueste ligam expirarà aprèp %s.", "This link can only be accessed once, do not use back or refresh button in your browser.": - "This link can only be accessed once, do not use back or refresh button in your browser.", + "Òm pòt pas qu’accedir a aqueste ligam qu’un còp, utilizetz pas lo boton precedent o actualizar del navigator.", "Link:": - "Link:", + "Ligam :", "Recipient may become aware of your timezone, convert time to UTC?": - "Recipient may become aware of your timezone, convert time to UTC?", + "Lo destinatari pòt s’avisar de vòstre fus orari, convertir en UTC ?", "Use Current Timezone": - "Use Current Timezone", + "Utilizar l’actual", "Convert To UTC": - "Convert To UTC", + "Convertir en UTC", "Close": - "Close" + "Tampar" } From 56ad0273e497e18277c9364c213ad2584ad39a64 Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Tue, 21 Jan 2020 22:47:17 -0300 Subject: [PATCH 08/14] Update pt translation --- i18n/pt.json | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/i18n/pt.json b/i18n/pt.json index d1994e6..6ccd9d3 100644 --- a/i18n/pt.json +++ b/i18n/pt.json @@ -151,38 +151,38 @@ "Caso essa mensagem nunca desapareça, por favor veja este FAQ para saber como resolver os problemas.", "+++ no paste text +++": "+++ sem texto de cópia +++", "Could not get paste data: %s": - "Could not get paste data: %s", - "QR code": "QR code", + "Não foi possível obter dados de cópia: %s", + "QR code": "Código QR", "This website is using an insecure HTTP connection! Please use it only for testing.": - "This website is using an insecure HTTP connection! Please use it only for testing.", + "Esse site usa uma conexão HTTP insegura! Use-o apenas para testes.", "For more information see this FAQ entry.": - "For more information see this FAQ entry.", + "Para mais informações veja esse item do FAQ.", "Your browser may require an HTTPS connection to support the WebCrypto API. Try switching to HTTPS.": - "Your browser may require an HTTPS connection to support the WebCrypto API. Try switching to HTTPS.", + "Seu navegador pode exigir uma conexão HTTPS para dar suporte à API WebCrypto. Tente mudar para HTTPS.", "Your browser doesn't support WebAssembly, used for zlib compression. You can create uncompressed documents, but can't read compressed ones.": - "Your browser doesn't support WebAssembly, used for zlib compression. You can create uncompressed documents, but can't read compressed ones.", + "Seu navagador não suporta WebAssembly, usado para compressão zlib. Você pode criar documentos não compactados, mas não pode lê-los.", "waiting on user to provide a password": - "waiting on user to provide a password", + "esperando que o usuário digite uma senha", "Could not decrypt data. Did you enter a wrong password? Retry with the button at the top.": - "Could not decrypt data. Did you enter a wrong password? Retry with the button at the top.", + "Não foi possível decifrar os dados. Você digitou a senha corretamente? Tente novamente com o botão ao topo.", "Retry": - "Retry", + "Tentar Novamente", "Showing raw text…": - "Showing raw text…", + "Mostrando texto bruto…", "Notice:": - "Notice:", + "Aviso:", "This link will expire after %s.": - "This link will expire after %s.", + "Esse link vai expirar após %s.", "This link can only be accessed once, do not use back or refresh button in your browser.": - "This link can only be accessed once, do not use back or refresh button in your browser.", + "Esse link só pode ser acessado uma vez, não utilize o botão de voltar ou atualizar do seu navegador.", "Link:": "Link:", "Recipient may become aware of your timezone, convert time to UTC?": - "Recipient may become aware of your timezone, convert time to UTC?", + "O recipiente pode ter ciência de seu fuso horário, converter hora para UTC?", "Use Current Timezone": - "Use Current Timezone", + "Usar Fuso Horário Atual", "Convert To UTC": - "Convert To UTC", + "Converter para UTC", "Close": - "Close" + "Fechar" } From f6899785a970083666d240fef537b9947e1e6865 Mon Sep 17 00:00:00 2001 From: Erion Date: Sat, 25 Jan 2020 18:47:18 +0100 Subject: [PATCH 09/14] Fix ARIA for Editor/preview tabs. --- js/privatebin.js | 6 ++++++ tpl/bootstrap.php | 6 +++--- tpl/page.php | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/js/privatebin.js b/js/privatebin.js index dc02e8f..3665d1b 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -2205,6 +2205,9 @@ jQuery.PrivateBin = (function($, RawDeflate) { $messageEdit.addClass('active'); $messagePreview.removeClass('active'); + $('#messageedit').attr("aria-selected",true); + $('#messagepreview').attr("aria-selected",false); + PasteViewer.hide(); // reshow input @@ -2234,6 +2237,9 @@ jQuery.PrivateBin = (function($, RawDeflate) { $messageEdit.removeClass('active'); $messagePreview.addClass('active'); + $('#messageedit').attr("aria-selected","false"); + $('#messagepreview').attr("aria-selected","true"); + // hide input as now preview is shown $message.addClass('hidden'); diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index a74e767..e8fb517 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -72,7 +72,7 @@ endif; ?> - + @@ -517,8 +517,8 @@ endif; ?>