From b1ca9f31c40e9d735a4e0c8441cfa5c19d9a1aac Mon Sep 17 00:00:00 2001 From: Adriaan Date: Sun, 29 Mar 2020 20:13:36 +0200 Subject: [PATCH] Fixed PR "Added banner for mobile" (#475) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * added banner for mobile * corrected no translation * added en-us locale, en-us routes, and us domain to README * Update tr.json * Update it.json * Update sk.json * Update sk.json * Update nl.json * Update es-ES.json (#427) Change translation of "clear this form" to "borrar el formulario" * Add (#434) * add more sites * Statistics: always show a data point at the current time, Fix #431 * added italy and correct austrlias domain (#435) * fixed wrong url for argentina * Setup for Bangladesh (#439) * Setup for Bangladesh * adding bangla * Hide passcode in URL and add SRI to external scripts (#438) * Add SRI * Obfuscate path when on profile * Move obfuscatePath boolean to report.ejs * coronastatus.cl 🇨🇱 (#429) * Add es-CL settings * Add Chile to README * Fix lint error Co-authored-by: Eirik Fosse * Add privacy statement (#440) Make language to less formal Rename files to capitalize CL * differentiate between locale and country (#351) * differentiate between locale and country * rename privacy statements to use country code * update readme * fallback to english text in case someone forgets to update their configs * list of all servers (#441) * start making list of all servers * added urls and malta * fixed sk * added ukraine * added rest * added denmark * updated sk * added luke for ch * added deji adesoga to nigeria * removed duped canada * updated name of TK running * filled in remaining columns and rows * Add Malaysia and Singapore (#445) * added Nigeria files by @desoga10 (#443) * added files by @desoga10 * added urls for nigeria * Add other contributors, fix repo link (#433) * Add other contributors * Add country flags as suggested * moved nigerian specific files to right dir (#449) * Add es-CL zipcode data (#446) * Add geo data * Add zipGuide texts * Small text changes fof consistency with casual tone (#450) * added indian locale and country specific files to correct dir (#451) * added indian locale and country specific files to correct dir * added urls for india as well * typo in indias post code file * added missing indian word list * added india * Fix ttranslation (#452) * Check stats.length > 0 (#453) * Add India social media image (#454) * correct twitter handle for india (#459) * correct twitter handle for india * fixed url as well * Update SK privacy policy & translations (#457) * Generate social images (#388) * create page with social media images * clean up head * simplify dom structure * add puppeteer script to generate images * extra guards * make social images route only available on dev * add description * fix banner font weight * fit text to available width automatically * switch to ts-node and import from config.ts * import from config.ts correctly * update script to match new config Co-authored-by: Eirik Fosse * add instructions for generating social images in guide for new language * use country code instead of locale for folder when saving social media images (#464) * Add Ukrainian locale (#465) * Add Ukrainian locale * Update config example * Add pt-PT setup (#426) * Add pt-PT setup. - Changes zipCode pattern to support dashes (eg. Portuguese postal codes are in the format 0000-000) - Add pt-PT translations - Add pt-PT municipalities - Add pt-PT postal codes - Add pt-PT words list - Add pt-PT urls * move municipalities etc to correct folder * add english privacy statement for now * add portuguese example config * add social media images Co-authored-by: Painatalman * add flags to more easily cross reference with frontpage (#467) * add flags to more easily cross reference with frontpage * fix alignment * Adjusted to Brazil Version (#461) * Translated file with phrases and added word list * finalizados ajustes de idioma * adjusting the map coordinates * Modified pt-BR files * Adjusted .json files * added population * added all ceps brazil * Rollback Locale * removed package.lock.json * Adjusted space to lint Co-authored-by: sergio.prates * Fixes to Argentina (#437) * Add Argentina * case insensitive fix * add Argentina to README * buenos aires zip-codes * zip code finder * Argentina domain * social media ar * fix merge conflict * specify zip pattern instead of zip length in config (#468) * specify zip pattern instead of zip length in config * add maltese config * use very general fallback pattern * Add share options (#456) * Add share options * Add translations for every language in English * Add Danish * Add other languages via Google Translate * Add move lang * Delete commented code * Fix all English languages * Updated EN.json * Fix Canada * Update SK.json & fix whatsapp ref (#463) * Update SK.json * Fix whatsapp ref * Add spanish translations for share options (#460) * norwegian translations * english malaysian translations * Update spain line * Update tr.json * Add UA translation thanks to @tarasmatsyk * Missing Swedish translations (#466) * Missing Swedish translations * Removed duplicated, korona -> corona Co-authored-by: Pontus Freyhult Co-authored-by: Amrit Nagi Co-authored-by: Stano Bo Co-authored-by: Julian Betancourt Co-authored-by: Eirik Fosse Co-authored-by: Berkay Co-authored-by: Pontus Frehult Co-authored-by: Pontus Freyhult * Remove <<< Co-authored-by: Berkay Co-authored-by: zacel <54048016+zacel@users.noreply.github.com> Co-authored-by: Jesús García Martínez Co-authored-by: Michael McMillan Co-authored-by: Sondre Hjetland Co-authored-by: Yousuf Zaman Co-authored-by: Ruben Torres Co-authored-by: Eirik Fosse Co-authored-by: Kong Jin Jie Co-authored-by: Stano Bo Co-authored-by: Kilian Valkhof Co-authored-by: Taras Matsyk Co-authored-by: André Jonas Co-authored-by: Painatalman Co-authored-by: sergioprates Co-authored-by: sergio.prates Co-authored-by: Walter Gammarota Co-authored-by: Amrit Nagi Co-authored-by: Julian Betancourt Co-authored-by: Pontus Frehult Co-authored-by: Pontus Freyhult --- app/countrySpecific/geonames-converter.py | 4 ++-- app/locales/en-AU.json | 2 ++ app/locales/en-IN.json | 2 ++ app/locales/en-MT.json | 2 ++ app/locales/en-NG.json | 2 ++ app/locales/en-SG.json | 2 ++ app/locales/en-US.json | 2 ++ app/locales/en.json | 2 ++ app/locales/es-AR.json | 2 ++ app/locales/es-CO.json | 2 ++ app/locales/es-ES.json | 2 ++ app/locales/es-MX.json | 2 ++ app/locales/fr-FR.json | 2 ++ app/locales/it.json | 2 ++ app/locales/nl.json | 4 +++- app/locales/no.json | 2 ++ app/locales/pt-BR.json | 2 ++ app/locales/pt-PT.json | 2 ++ app/locales/sk.json | 2 ++ app/locales/tr.json | 2 ++ app/locales/uk-UA.json | 2 ++ app/views/partials/banner.ejs | 2 +- app/views/partials/header.ejs | 17 +++++++++++++++++ 23 files changed, 61 insertions(+), 4 deletions(-) diff --git a/app/countrySpecific/geonames-converter.py b/app/countrySpecific/geonames-converter.py index 75b153f3..2dbea149 100644 --- a/app/countrySpecific/geonames-converter.py +++ b/app/countrySpecific/geonames-converter.py @@ -4,7 +4,7 @@ # Set the country code you want to create JSON files for COUNTRY_CODE = 'bd' -# Parse CSV for a given country from Geonames.org +# Parse CSV for a given country from Geonames.org rows = [] with open('%s.txt' % COUNTRY_CODE.upper(), 'r') as f: fieldnames = [ @@ -32,7 +32,7 @@ if not municipality in municipalities: municipalities[municipality] = {'postalCodes': []} municipalities[municipality]['postalCodes'].append(row.get('postal code')) - + with open('%s-municipalities.json' % COUNTRY_CODE, 'w') as f: write_as_json(municipalities, f, indent=2, separators=(',', ': ')) diff --git a/app/locales/en-AU.json b/app/locales/en-AU.json index 93820717..866bab0a 100644 --- a/app/locales/en-AU.json +++ b/app/locales/en-AU.json @@ -182,6 +182,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Some questions and alternatives were not a part of the form from the beginning:", "March 27": "March 27", "Other": "Other", + "This page is not affiliated with the authorities.": "This page is not affiliated with the authorities.", + "Learn more!": "Learn more!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "CALL TO ALL AUSTRALIAN CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.", "Contribute and share {{ hostname }} on": "Contribute and share {{ hostname }} on", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Fill out this form - it takes 1 minute - and help Australia gain control over COVID-19.", diff --git a/app/locales/en-IN.json b/app/locales/en-IN.json index bde7cc36..a68e93ec 100644 --- a/app/locales/en-IN.json +++ b/app/locales/en-IN.json @@ -185,6 +185,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Some questions and alternatives were not a part of the form from the beginning:", "March 27": "March 27", "Other": "Other", + "This page is not affiliated with the authorities.": "This page is not affiliated with the authorities.", + "Learn more!": "Learn more!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "CALL TO ALL CITIZENS FROM INDIA: This is how we defeat the corona virus: together we make the invisible virus visible.", "Contribute and share {{ hostname }} on": "Contribute and share {{ hostname }} on", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Fill out this form - it takes 1 minute - and help India gain control over COVID-19.", diff --git a/app/locales/en-MT.json b/app/locales/en-MT.json index 05f28c0e..a5da90d0 100644 --- a/app/locales/en-MT.json +++ b/app/locales/en-MT.json @@ -184,6 +184,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Some questions and alternatives were not a part of the form from the beginning:", "March 27": "March 27", "Other": "Other", + "This page is not affiliated with the authorities.": "This page is not affiliated with the authorities.", + "Learn more!": "Learn more!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "CALL TO ALL MALTESE CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.", "Contribute and share {{ hostname }} on": "Contribute and share {{ hostname }} on", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Fill out this form - it takes 1 minute - and help Malta gain control over COVID-19.", diff --git a/app/locales/en-NG.json b/app/locales/en-NG.json index d1950434..72201f4a 100644 --- a/app/locales/en-NG.json +++ b/app/locales/en-NG.json @@ -184,6 +184,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Some questions and alternatives were not a part of the form from the beginning:", "March 27": "March 27", "Other": "Other", + "This page is not affiliated with the authorities.": "This page is not affiliated with the authorities.", + "Learn more!": "Learn more!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "CALL TO ALL NIGERIAN CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.", "Contribute and share {{ hostname }} on": "Contribute and share {{ hostname }} on", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Fill out this form - it takes 1 minute - and help Nigeria gain control over COVID-19.", diff --git a/app/locales/en-SG.json b/app/locales/en-SG.json index 0d8f8452..8d6c9175 100644 --- a/app/locales/en-SG.json +++ b/app/locales/en-SG.json @@ -184,6 +184,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Some questions and alternatives were not a part of the form from the beginning:", "March 27": "March 27", "Other": "Other", + "This page is not affiliated with the authorities.": "This page is not affiliated with the authorities.", + "Learn more!": "Learn more!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "CALL TO ALL SINGAPOREAN CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.", "Contribute and share {{ hostname }} on": "Contribute and share {{ hostname }} on", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Fill out this form - it takes 1 minute - and help Singapore gain control over COVID-19.", diff --git a/app/locales/en-US.json b/app/locales/en-US.json index a6803f3f..19f80025 100644 --- a/app/locales/en-US.json +++ b/app/locales/en-US.json @@ -184,6 +184,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Some questions and alternatives were not a part of the form from the beginning:", "March 27": "March 27", "Other": "Other", + "This page is not affiliated with the authorities.": "This page is not affiliated with the authorities.", + "Learn more!": "Learn more!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.", "Contribute and share {{ hostname }} on": "Contribute and share {{ hostname }} on", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.", diff --git a/app/locales/en.json b/app/locales/en.json index bc7fa637..1850a984 100644 --- a/app/locales/en.json +++ b/app/locales/en.json @@ -185,6 +185,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Some questions and alternatives were not a part of the form from the beginning:", "March 27": "March 27", "Other": "Other", + "This page is not affiliated with the authorities.": "This page is not affiliated with the authorities.", + "Learn more!": "Learn more!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "CALL TO ALL UK CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.", "Contribute and share {{ hostname }} on": "Contribute and share {{ hostname }} on", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Fill out this form - it takes 1 minute - and help the United Kingdom gain control over COVID-19.", diff --git a/app/locales/es-AR.json b/app/locales/es-AR.json index 08779964..c096c7be 100644 --- a/app/locales/es-AR.json +++ b/app/locales/es-AR.json @@ -183,6 +183,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Algunas preguntas no fueron incluidas desde el inicio:", "March 27": "Marzo 27", "Other": "Otro", + "This page is not affiliated with the authorities.": "Esta página no está afiliada con las autoridades.", + "Learn more!": "¡Conoce más!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "QUERIDOS ARGENTINOS: Así es como podemos derrotar al coronavirus: juntos podemos hacer visible el virus invisible.", "Contribute and share {{ hostname }} on": "Comparta {{ hostname }} en", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Complete este formulario (se tarda 1 minuto) y ayude a Argentina a controlar el COVID-19.", diff --git a/app/locales/es-CO.json b/app/locales/es-CO.json index 0b58f050..3421fc92 100644 --- a/app/locales/es-CO.json +++ b/app/locales/es-CO.json @@ -185,6 +185,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Algunas preguntas no fueron incluidas desde el inicio:", "March 27": "Marzo 27", "Other": "Otro", + "This page is not affiliated with the authorities.": "Esta página no está afiliada con las autoridades.", + "Learn more!": "¡Conoce más!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "QUERIDOS COLOMBIANOS: Así es como podemos derrotar al coronavirus: juntos podemos hacer visible el virus invisible.", "Contribute and share {{ hostname }} on": "Comparta {{ hostname }} en", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Complete este formulario (se tarda 1 minuto) y ayude a Colombia a controlar el COVID-19.", diff --git a/app/locales/es-ES.json b/app/locales/es-ES.json index 2b4c04dd..46fd881a 100644 --- a/app/locales/es-ES.json +++ b/app/locales/es-ES.json @@ -181,6 +181,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Algunas preguntas no fueron incluidas desde el inicio:", "March 27": "Marzo 27", "Other": "Otro", + "This page is not affiliated with the authorities.": "Esta página no está afiliada con las autoridades.", + "Learn more!": "¡Conoce más!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "QUERIDOS ESPAÑOLES: Así es como podemos derrotar al coronavirus: juntos podemos hacer visible el virus invisible.", "Contribute and share {{ hostname }} on": "Comparta {{ hostname }} en", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Complete este formulario (se tarda 1 minuto) y ayude a España a controlar el COVID-19.", diff --git a/app/locales/es-MX.json b/app/locales/es-MX.json index 6fe03a79..3b70956c 100644 --- a/app/locales/es-MX.json +++ b/app/locales/es-MX.json @@ -181,6 +181,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Algunas preguntas y sus respuestas no formaban parte del formulario original:", "March 27": "Marzo 27", "Other": "Otro", + "This page is not affiliated with the authorities.": "Esta página no está afiliada con las autoridades.", + "Learn more!": "¡Conoce más!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "QUERIDOS MEXICANOS: Así es como podemos derrotar al coronavirus: juntos podemos hacer visible el virus invisible.", "Contribute and share {{ hostname }} on": "Comparta {{ hostname }} en", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Complete este formulario (se tarda 1 minuto) y ayude a México a controlar el COVID-19.", diff --git a/app/locales/fr-FR.json b/app/locales/fr-FR.json index 0426d9cb..245b6494 100644 --- a/app/locales/fr-FR.json +++ b/app/locales/fr-FR.json @@ -181,6 +181,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Certaines questions ou alternatives n'étaient pas présentes au début:", "March 27": "27 mars", "Other": "Autre", + "This page is not affiliated with the authorities.": "Cette page n'est pas affiliée aux autorités", + "Learn more!": "En savoir plus!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "APPEL À TOUS LES CITOYENS FRANÇAIS: C'est ainsi que nous vainquons le virus corona: ensemble, nous rendons visible le virus invisible.", "Contribute and share {{ hostname }} on": "Contribuez et partagez {{ hostname }} sur", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Remplissez ce formulaire - cela prend 1 minute - et aidez les États-Unis à prendre le contrôle de COVID-19.", diff --git a/app/locales/it.json b/app/locales/it.json index dba54605..f304d6f2 100644 --- a/app/locales/it.json +++ b/app/locales/it.json @@ -49,6 +49,8 @@ "NB!": "Importante!", "This page is currently not affiliated with the authorities in any way.": "Questa pagina non è in alcun modo legata alle autorità italiane.", "Read how the data you enter is processed here!": "Leggi qui come vengono elaborati i tuoi dati!", + "This page is not affiliated with the authorities.":"Questo sito non è legato alle autorità italiane.", + "Learn more!":"Scopri di più!", "Use the link you noted down last time to update your health condition": "Utilizza il link che ti eri annotato per aggiornare la tua condizione di salute.", "Unreported cases": "Casi non segnalati", "The spread of COVID-19 in our country is unknown. Help us create a better overview.": "Non conosciamo la diffusione del COVID-19 nel nostro Paese, aiutaci quindi ad avere un quadro della situazione più dettagliato.", diff --git a/app/locales/nl.json b/app/locales/nl.json index 8311ea1f..1f2cc42b 100644 --- a/app/locales/nl.json +++ b/app/locales/nl.json @@ -47,8 +47,10 @@ "Make your voluntary contribution to the health care system and register your health condition now. Together we can create an overview.": "Doe uw vrijwillige bijdrage aan de gezondheidszorg en registreer nu uw gezondheidstoestand. Samen creëren we een overzicht.", "Share on": "Deel op", "NB!": "NB!", - "This page is currently not affiliated with the authorities in any way.": "Deze pagina is momenteel op geen enkele manier gelieerd aan de Nederlandse autoriteiten.", + "This page is currently not affiliated with the authorities in any way.": "Deze pagina is momenteel niet gelieerd aan de Nederlandse overheid.", "Read how the data you enter is processed here!": "Lees hier hoe de door u ingevulde gegevens worden verwerkt!", + "This page is not affiliated with the authorities.":"Deze pagina is niet gelieerd aan de overheid.", + "Learn more!":"Lees meer!", "Use the link you noted down last time to update your health condition": "Gebruik de door u opgeslagen link om uw veranderde gezondheid door te geven", "Unreported cases": "Ongemelde gevallen", "The spread of COVID-19 in our country is unknown. Help us create a better overview.": "De verspreiding van COVID-19 in ons land is onbekend. Help ons een beter overzicht te creëren.", diff --git a/app/locales/no.json b/app/locales/no.json index 0fcf0c92..eddb7100 100644 --- a/app/locales/no.json +++ b/app/locales/no.json @@ -49,6 +49,8 @@ "NB!": "NB!", "This page is currently not affiliated with the authorities in any way.": "Denne siden er p.t. ikke tilknyttet FHI eller norske myndigheter på noen måte.", "Read how the data you enter is processed here!": "Les hvordan dataen du oppgir blir behandlet her!", + "This page is not affiliated with the authorities.":"Denne siden er ikke tilknyttet myndighetene.", + "Learn more!":"Les mer!", "Use the link you noted down last time to update your health condition": "Bruk lenken du noterte deg sist for å endre din helsetilstand.", "Unreported cases": "Store mørketall", "The spread of COVID-19 in our country is unknown. Help us create a better overview.": "Spredningen av COVID-19 i landet vårt er ukjent. Hjelp oss med å skape en bedre oversikt.", diff --git a/app/locales/pt-BR.json b/app/locales/pt-BR.json index 1e3c70fb..55148e9f 100644 --- a/app/locales/pt-BR.json +++ b/app/locales/pt-BR.json @@ -182,6 +182,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Algumas perguntas e alternativas não faziam parte do formulário desde o início:", "March 27": "Março 27", "Other": "Outro", + "This page is not affiliated with the authorities.": "Este site não está afiliados às autoridades.", + "Learn more!": "Saber mais!", "View Website Statistics": "Ver estatísticas do website", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "Chamada de atenção a todos os cidadãos portugueses: É assim que vencemos o coronavírus: juntos tornamos visível, o vírus invisível.", "Contribute and share {{ hostname }} on": "Contribui e partilha {{hostname}} no", diff --git a/app/locales/pt-PT.json b/app/locales/pt-PT.json index fe7aa06f..edc0452d 100644 --- a/app/locales/pt-PT.json +++ b/app/locales/pt-PT.json @@ -184,6 +184,8 @@ "Some questions and alternatives were not a part of the form from the beginning:": "Algumas perguntas e alternativas não fizeram parte do formulário desde o início:", "March 27": "27 de Março", "Other": "Outro", + "This page is not affiliated with the authorities.": "Este site não está afiliados às autoridades.", + "Learn more!": "Saber mais!", "View Website Statistics": "Ver estatísticas do website", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "Chamada de atenção a todos os cidadãos portugueses: É assim que vencemos o coronavírus: juntos tornamos visível, o vírus invisível.", "Contribute and share {{ hostname }} on": "Contribui e partilha {{hostname}} no", diff --git a/app/locales/sk.json b/app/locales/sk.json index 6f777f1d..d45be242 100644 --- a/app/locales/sk.json +++ b/app/locales/sk.json @@ -48,6 +48,8 @@ "Share on": "Zdieľajte na", "NB!": "Upozornenie!", "This page is currently not affiliated with the authorities in any way.": "Táto stránka je nezávislou iniciatívou dobrovoľníkov, nesúvisí so štátnými orgánmi.", + "This page is not affiliated with the authorities.":"Táto stránka je nezávislou iniciatívou.", + "Learn more!":"Zisti viac!", "Read how the data you enter is processed here!": "Prečítajte si ako sú vami zadané dáta spracovávané", "Use the link you noted down last time to update your health condition": "Použite uložený odkaz, ktorý sa zobrazil pri vašej poslednej aktualizácii vášho zdravotného stavu", "Unreported cases": "Neoznámené prípady", diff --git a/app/locales/tr.json b/app/locales/tr.json index 51ffa87c..204f8ebd 100644 --- a/app/locales/tr.json +++ b/app/locales/tr.json @@ -49,6 +49,8 @@ "NB!": "Önemli!", "This page is currently not affiliated with the authorities in any way.": "Bu sayfa hiçbir şekilde yetkili birimlere bağlı değildir.", "Read how the data you enter is processed here!": "Girdiğiniz verilerin nasıl işlendiğini öğrenin!", + "This page is not affiliated with the authorities.":"Bu sayfa yetkili birimlere bağlı değildir.", + "Learn more!":"Daha fazla bilgi edin!", "Use the link you noted down last time to update your health condition": "Daha önceden not aldığınız bağlantıyı kullanarak sağlık durumunuzu güncelleyin.", "Unreported cases": "Bildirilmemiş vakalar", "The spread of COVID-19 in our country is unknown. Help us create a better overview.": "COVID-19'un ülkemizde yayılımı bilinmemektedir. Daha iyi bir genel bakış oluşturmamıza yardımcı olun.", diff --git a/app/locales/uk-UA.json b/app/locales/uk-UA.json index 5e6e1a99..9b20822c 100644 --- a/app/locales/uk-UA.json +++ b/app/locales/uk-UA.json @@ -186,6 +186,8 @@ "Other": "Інша", "What is my Zip code?": "Як знайти свій поштовий індекс?", "https://www.whatismyzip.com": "https://postcode.in.ua/", + "This page is not affiliated with the authorities.": "Ця сторінка ніяк не зв'язана із владою.", + "Learn more!": "Дізнатися більше!", "CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "ПРОХАННЯ ДО УСІХ ГРОМАДЯН: Так ми можемо перемогти коронавірус: разом ми робимо невидимий вірус - видими", "Contribute and share {{ hostname }} on": "Допомогти та поділитися {{ hostname }} у", "Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Заповнення форми займає 1 хвилину і допомагає України розуміти стан поширення COVID-19.", diff --git a/app/views/partials/banner.ejs b/app/views/partials/banner.ejs index 76afb205..a2273633 100644 --- a/app/views/partials/banner.ejs +++ b/app/views/partials/banner.ejs @@ -1,7 +1,7 @@ <% const { id = null, link = null, start = null, close = false, onclick = null, style = ''} = locals; %>
> diff --git a/app/views/partials/header.ejs b/app/views/partials/header.ejs index d98c3fe1..0f6fbb59 100644 --- a/app/views/partials/header.ejs +++ b/app/views/partials/header.ejs @@ -25,6 +25,23 @@ onclick: 'hasSubmittedAlertOnClick()' }) -%>
+
+ <%- include('partials/banner', { + start: __('NB!'), + message: __('This page is not affiliated with the authorities.'), + link: urls.privacyPolicy, + linkText: __('Learn more!'), + color: '#efbc2e' + }) -%> + <%- include('partials/banner', { + start: __('Important'), + message: __('Use the link you noted down last time to update your health condition'), + color: '#62C4C3', + style: 'display: none;', + id: 'has-submitted-alert', + onclick: 'hasSubmittedAlertOnClick()' + }) -%> +