Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Commit

Permalink
Fixed PR "Added banner for mobile" (#475)
Browse files Browse the repository at this point in the history
* 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 <meta name="referrer" content="origin" /> (#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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

Co-authored-by: Amrit Nagi <[email protected]>
Co-authored-by: Stano Bo <[email protected]>
Co-authored-by: Julian Betancourt <[email protected]>
Co-authored-by: Eirik Fosse <[email protected]>
Co-authored-by: Berkay <[email protected]>
Co-authored-by: Pontus Frehult <[email protected]>
Co-authored-by: Pontus Freyhult <[email protected]>

* Remove <<<<HEAD errors

* Fix some reverted changes

* Remove en-us-municipalities.json en-us-postalCodeCoordinates.json and en-us-word-list.txt

* Add translations of mobile banner to English files

* Delete en-us.json

* Add translations of mobile banner to Portugees files

* Fix spacing on mobile for banner

Co-authored-by: zac <[email protected]>
Co-authored-by: Berkay <[email protected]>
Co-authored-by: zacel <[email protected]>
Co-authored-by: Jesús García Martínez <[email protected]>
Co-authored-by: Michael McMillan <[email protected]>
Co-authored-by: Sondre Hjetland <[email protected]>
Co-authored-by: Yousuf Zaman <[email protected]>
Co-authored-by: Ruben Torres <[email protected]>
Co-authored-by: Eirik Fosse <[email protected]>
Co-authored-by: Kong Jin Jie <[email protected]>
Co-authored-by: Stano Bo <[email protected]>
Co-authored-by: Kilian Valkhof <[email protected]>
Co-authored-by: Taras Matsyk <[email protected]>
Co-authored-by: André Jonas <[email protected]>
Co-authored-by: Painatalman <[email protected]>
Co-authored-by: sergioprates <[email protected]>
Co-authored-by: sergio.prates <[email protected]>
Co-authored-by: Walter Gammarota <[email protected]>
Co-authored-by: Amrit Nagi <[email protected]>
Co-authored-by: Julian Betancourt <[email protected]>
Co-authored-by: Pontus Frehult <[email protected]>
Co-authored-by: Pontus Freyhult <[email protected]>
  • Loading branch information
23 people authored Mar 29, 2020
1 parent 8736795 commit b1ca9f3
Show file tree
Hide file tree
Showing 23 changed files with 61 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/countrySpecific/geonames-converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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=(',', ': '))

Expand Down
2 changes: 2 additions & 0 deletions app/locales/en-AU.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/en-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/en-MT.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/en-NG.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/en-SG.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/es-AR.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/es-CO.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/es-MX.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
4 changes: 3 additions & 1 deletion app/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/no.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 2 additions & 0 deletions app/locales/uk-UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion app/views/partials/banner.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% const { id = null, link = null, start = null, close = false, onclick = null, style = ''} = locals; %>

<div
class="w-full py-4 px-12 flex flex-row justify-between bg-blue-200 relative"
class="w-full text-sm sm:text-base py-2 sm:py-4 px-4 sm:px-6 flex flex-row justify-between bg-blue-200 relative"
style="background-color: <%= color %>; <%= style %>"
<%= id ? `id=${id}` : '' %>
>
Expand Down
17 changes: 17 additions & 0 deletions app/views/partials/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,23 @@
onclick: 'hasSubmittedAlertOnClick()'
}) -%>
</div>
<div class="lg:hidden">
<%- 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()'
}) -%>
</div>
</div>

<div class="main-container flex flex-col flex-grow">
Expand Down

0 comments on commit b1ca9f3

Please sign in to comment.