Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
fossecode authored Mar 29, 2020
2 parents b3813ac + 0c19f3b commit e658a98
Show file tree
Hide file tree
Showing 33 changed files with 196 additions and 33 deletions.
8 changes: 5 additions & 3 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
* @fossecode
/static/no/ @fossecode
/static/nl/ @Kilian
/app/countrySpecific/sk-* @sbocinec
/app/locales/nl.json @Kilian
/app/locales/no.json @michaelmcmillan
/app/locales/sk*.json @sbocinec
*.md @michaelmcmillan
/app/repository/ @Snikanes
/app/views/ @fossecode
/app/views/privacy-statements/sk-privacy-statement.ejs @sbocinec
/ops/sk/ @sbocinec
/static/no/ @fossecode
/static/nl/ @Kilian
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@

We don't know how many people have COVID-19. So we made a website where people can self-report symptoms. We plot the submissions on a map and show graphs with trends.

### Countries where Coronastatus launches
## How can I help?

We need people who can help translate the site, develop new features, project leads for new and existing countries, and much more. Join our group chat: https://t.me/onzecorona

### In what countries have you launched Coronastatus?

- 🇳🇴 Norway: https://coronastatus.no
- 🇳🇱 The Netherlands: https://coronastatus.nl
Expand All @@ -30,6 +34,7 @@ We don't know how many people have COVID-19. So we made a website where people c
- 🇲🇹 Malta: https://coronastatusmt.com
- 🇨🇱 Chile: https://coronastatus.cl
- 🇮🇳 India: https://corona-status.in
- 🇵🇹 Portugal: https://coronastatus.pt
- 🇸🇪 Sweden: coming soon
- 🇵🇭 Philippines: coming soon
- 🇹🇷 Turkey: coming soon (work group Telegram chat: https://t.me/turkeycoronastatus)
Expand Down
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 @@ -187,6 +187,8 @@
"March 28": "March 28",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "In voluntary isolation to avoid potentially spreading or catching COVID-19",
"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 @@ -186,6 +186,8 @@
"March 28": "March 28",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "In voluntary isolation to avoid potentially spreading or catching COVID-19",
"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 @@ -186,6 +186,8 @@
"March 28": "March 28",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "In voluntary isolation to avoid potentially spreading or catching COVID-19",
"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 @@ -186,6 +186,8 @@
"March 28": "March 28",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "In voluntary isolation to avoid potentially spreading or catching COVID-19",
"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 @@ -186,6 +186,8 @@
"March 28": "March 28",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "In voluntary isolation to avoid potentially spreading or catching COVID-19",
"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 @@ -187,6 +187,8 @@
"March 28": "March 28",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "In voluntary isolation to avoid potentially spreading or catching COVID-19",
"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 @@ -185,6 +185,8 @@
"March 28": "Marzo 28",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "En aislamiento voluntario para evitar una potencial propagación o ser contagiado de COVID-19",
"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 @@ -187,6 +187,8 @@
"March 28": "Marzo 28",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "En aislamiento voluntario para evitar una potencial propagación o ser contagiado de COVID-19",
"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 @@ -183,6 +183,8 @@
"March 28": "Marzo 28",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "En aislamiento voluntario para evitar una potencial propagación o ser contagiado de COVID-19",
"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 @@ -183,6 +183,8 @@
"March 28": "Marzo 28",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "En aislamiento voluntario para evitar una potencial propagación o ser contagiado de COVID-19",
"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 @@ -183,6 +183,8 @@
"March 28": "28 mars",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "En isolement volontaire pour éviter de propager le COVOD-19 ou d'être contaminé",
"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
6 changes: 4 additions & 2 deletions 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 Expand Up @@ -186,7 +188,7 @@
"Other": "Anders / zeg ik liever niet",
"CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "OPROEP AAN ALLE NEDERLANDERS: Zo verslaan we samen het coronavirus: we maken het onzichtbare virus zichtbaar.",
"Contribute and share {{ hostname }} on": "Draag bij en deel {{ hostname }} via",
"Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Vul dit formulier in - het kost 1 minuut - en help Nederland controle te krijgen over corona.",
"Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Vul dit formulier in en help Nederland controle te krijgen over corona.",
"One more thing": "Nog één dingetje",
"To defeat the corona virus we need to make the invisible virus visible.": "Om het coronavirus te verslaan moeten we het onzichtbare virus zichtbaar maken.",
"{{ amount }} people already shared their health status.": "Al {{ amount }} mensen hebben hun gezondheidsstatus ingevuld.",
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
4 changes: 3 additions & 1 deletion app/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"Biological gender": "Sexo",
"Female": "Feminino",
"Male": "Masculino",
"Zip code": "Código Postal (primeiros 4 dígitos)",
"Zip code": "Código Postal",
"Testing and symptoms": "Teste e sintomas",
"Have you been in close contact with someone who was tested positive for COVID-19?": "Esteve em contacto próximo com alguém que testou positivo para COVID-19?",
"Yes": "Sim",
Expand Down Expand Up @@ -186,6 +186,8 @@
"Other": "Outro",
"In voluntary isolation to avoid potentially spreading or catching COVID-19": "Em isolamento voluntário para evitar uma potencial propagação ou contração do COVID-19",
"March 28": "28 de Março",
"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
Loading

0 comments on commit e658a98

Please sign in to comment.