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

Commit

Permalink
Add share options (#456)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
8 people authored Mar 29, 2020
1 parent d6c1273 commit 7bba2ba
Show file tree
Hide file tree
Showing 40 changed files with 3,611 additions and 327 deletions.
3 changes: 2 additions & 1 deletion app/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ const fallbackConfig: Config = {
REDIRECT_TO_GOVERNMENT:
process.env.REDIRECT_TO_GOVERNMENT === 'true' || false,
PASSCODE_LENGTH: parseInt(process.env.PASSCODE_LENGTH || '3', 10),
DB_PATH: process.env.DB_PATH || './covid_db'
DB_PATH: process.env.DB_PATH || './covid_db',
THOUSAND_SEPARATOR: process.env.THOUSAND_SEPARATOR || ' '
};

// @ts-ignore
Expand Down
1 change: 1 addition & 0 deletions app/domain/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export interface Config {
REDIRECT_TO_GOVERNMENT: boolean;
PASSCODE_LENGTH: number;
DB_PATH: string;
THOUSAND_SEPARATOR: string;
}

export type DatabaseType = 'pg' | 'sqlite';
59 changes: 33 additions & 26 deletions app/locales/bd.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,32 +137,32 @@
"Tested negative": "Testet negative",
"Map": "Map",
"API": "API",
"I agree to set a cookie so I can change my health condition later e.g. to report recovery/getting sick": "I agree to set a cookie so I can change my health condition later e.g. to report recovery/getting sick",
"required": "required",
"recommended": "recommended",
"I agree to set a cookie so I can change my health condition later e.g. to report recovery/getting sick": "আমি একটি কুকি সেট করতে রাজি তাই আমি আমার স্বাস্থ্যের অবস্থার পরে উদাহরণস্বরূপ পরিবর্তন করতে পারি। পুনরুদ্ধার রিপোর্ট / অসুস্থ হয়ে পড়া",
"required": "প্রয়োজনীয়",
"recommended": "সুপারিশ করা",
"Below is your personal health information.": "নীচে আপনার ব্যক্তিগত স্বাস্থ্য তথ্য দেওয়া আছে.",
"If you want to register another person on this computer, save or write down your personal link": "আপনি যদি এই কম্পিউটারে অন্য একজনকে নিবন্ধিত করতে চান তবে নিজের ব্যক্তিগত লিঙ্কটি সংরক্ষণ করুন বা টাইপ করুন",
"Your personal health information is cleared from this computer.": "আপনার ব্যক্তিগত স্বাস্থ্য তথ্য এই কম্পিউটার থেকে সাফ করা হয়েছে।",
"You can now use this computer for another user.": "আপনি এখন অন্য ব্যাবহারকারীর জন্য এই কম্পিউটারটি ব্যবহার করতে পারেন।",
"We stored your data in a cookie so come back later to update your status": "We stored your data in a cookie so come back later to update your status",
"If you use this computer with multiple users, please use this link to update your status.": "If you use this computer with multiple users, please use this link to update your status.",
"Write it down somewhere or save it on your computer.": "Write it down somewhere or save it on your computer.",
"The link has been copied.": "The link has been copied.",
"clear this form": "clear this form",
"We stored your data in a cookie so come back later to update your status": "আমরা আপনার ডেটা কোনও কুকিতে সংরক্ষণ করেছি তাই আপনার অবস্থা আপডেট করতে পরে ফিরে আসুন",
"If you use this computer with multiple users, please use this link to update your status.": "আপনি যদি একাধিক ব্যবহারকারীর সাথে এই কম্পিউটারটি ব্যবহার করেন তবে দয়া করে আপনার স্থিতি আপডেট করতে এই লিঙ্কটি ব্যবহার করুন।",
"Write it down somewhere or save it on your computer.": "এটি কোথাও লিখুন বা আপনার কম্পিউটারে এটি সংরক্ষণ করুন।",
"The link has been copied.": "লিঙ্কটি অনুলিপি করা হয়েছে.",
"clear this form": "এই ফর্মটি সাফ করুন",
"https://who.int": "https://who.int",
"To WHO.int": "To WHO.int",
"Are you from": "Are you from",
"Norway": "Norway",
"The Netherlands": "The Netherlands",
"Slovakia": "Slovakia",
"United Kingdom": "The United Kingdom",
"March 16": "March 16",
"March 17": "March 17",
"March 23": "March 23",
"at": "at",
"Are you from": "আপনি কি থেকে এসেছেন?",
"Norway": "নরওয়ে",
"The Netherlands": "নেদারল্যান্ড",
"Slovakia": "শ্লোভাকিয়া",
"United Kingdom": "যুক্তরাজ্য",
"March 16": "16 মার্চ",
"March 17": "17 মার্চ",
"March 23": "23 মার্চ",
"at": "",
"Nausea or vomiting": "বমি বমি ভাব (Nausea or vomiting)",
"Have you been diagnosed with any of the following conditions?": "Have you been diagnosed with any of the following conditions?",
"Diabetes mellitus, Hypertension, Ischemic heart disease, Asthma, Chronic lung disease, Chronic kidney disease": "Diabetes mellitus, Hypertension, Ischemic heart disease, Asthma, Chronic lung disease, Chronic kidney disease",
"Have you been diagnosed with any of the following conditions?": "আপনি কি নিম্নলিখিত শর্তগুলির সাথে নির্ণয় করেছেন (Have you been diagnosed with any of the following conditions)?",
"Diabetes mellitus, Hypertension, Ischemic heart disease, Asthma, Chronic lung disease, Chronic kidney disease": "ডায়াবেটিস মেলিটাস, উচ্চ রক্তচাপ, ইস্কেমিক হার্ট ডিজিজ, হাঁপানি, দীর্ঘস্থায়ী ফুসফুসের রোগ, দীর্ঘস্থায়ী কিডনি রোগ (Diabetes mellitus, Hypertension, Ischemic heart disease, Asthma, Chronic lung disease, Chronic kidney disease)",
"I am currently:": "আমি বর্তমানে আছি (I am currently)",
"Not in isolation": "বিচ্ছিন্ন / পৃথক নই (Not in isolation)",
"In isolation due to a recent international travel": "সাম্প্রতিক আন্তর্জাতিক ভ্রমণের কারণে বিচ্ছিন্নভাবে/পৃথক",
Expand All @@ -173,15 +173,22 @@
"I have never smoked": "আমি কখনও ধূমপান করিনি",
"What is your current body temperature? (Celcius)": "আপনার বর্তমান দেহের তাপমাত্রা কী - in Celsius?",
"This field is optional": "This field is optional",
"Close": "Close",
"Contribute now": "Contribute now",
"Help us uncover and predict the corona spread in your area": "Help us <span>uncover</span> and <span>predict</span> the corona spread in your area",
"Numbers": "Numbers",
"Close": "ঘনিষ্ঠ",
"Contribute now": "এখনই অবদান রাখুন",
"Help us uncover and predict the corona spread in your area": "আমাদের <span>উদ্ঘাটন</span> এবং <span>পূর্বাভাস</span> আপনার অঞ্চলে করোনার বিস্তার করতে সহায়তা করুন",
"Numbers": "নাম্বার",
"#washyourhands": "#wash<wbr/>your<wbr/>hands",
"#stayindoors": "#stay<wbr/>home",
"In isolation due to orders from the government": "সরকারের আদেশের কারণে বিচ্ছিন্নভাবে/পৃথক",
"In isolation due to COVID-19 infection": "COVID-19 সংক্রমণের কারণে বিচ্ছিন্নভাবে/পৃথক",
"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"
"Some questions and alternatives were not a part of the form from the beginning:": "কিছু প্রশ্ন এবং বিকল্প শুরু থেকেই ফর্মের অংশ ছিল না:",
"March 27": "27 মার্চ",
"Other": "অন্যান্য",
"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-এ নিয়ন্ত্রণ পেতে সহায়তা করে।",
"One more thing": "আরেকটা জিনিস",
"To defeat the corona virus we need to make the invisible virus visible.": "করোনার ভাইরাসকে পরাস্ত করতে আমাদের অদৃশ্য ভাইরাসটি দৃশ্যমান করা দরকার।",
"{{ amount }} people already shared their health status.": "{{ amount }} জন ইতিমধ্যে তাদের স্বাস্থ্যের অবস্থা ভাগ করেছেন.",
"Let your friends fill out this form too and help the United States gain control over COVID-19.": "আপনার বন্ধুরাও এই ফর্মটি পূরণ করুন এবং বাংলাদেশকে COVID-19-এ নিয়ন্ত্রণ পেতে সহায়তা করুন।"
}
9 changes: 8 additions & 1 deletion app/locales/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,12 @@
"In isolation due to COVID-19 infection": "In isolation due to COVID-19 infection",
"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"
"Other": "Other",
"CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "CALL TO ALL CANADIAN 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 Canada gain control over COVID-19.",
"One more thing": "One more thing",
"To defeat the corona virus we need to make the invisible virus visible.": "To defeat the corona virus we need to make the invisible virus visible.",
"{{ amount }} people already shared their health status.": "{{ amount }} people already shared their health status.",
"Let your friends fill out this form too and help the United States gain control over COVID-19.": "Let your friends fill out this form too and help Canada gain control over COVID-19."
}
9 changes: 8 additions & 1 deletion app/locales/dk.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,5 +179,12 @@
"In isolation due to COVID-19 infection": "Isoleret på grund af COVID-19-infektion",
"Some questions and alternatives were not a part of the form from the beginning:": "Nogle spørgsmål og alternativer var ikke en del af formularen fra starten:",
"March 27": "27 Marts",
"Other": "Andet"
"Other": "Andet",
"CALL TO ALL US CITIZENS: This is how we defeat the corona virus: together we make the invisible virus visible.": "RING TIL ALLE DANSKE MENNESKER: Sådan besejrer vi koronavirussen: sammen synliggør vi den usynlige virus.",
"Contribute and share {{ hostname }} on": "Bidrag og del {{ hostname }} på",
"Fill out this form - it takes 1 minute - and help the United States gain control over COVID-19.": "Udfyld denne formular - det tager 1 minut - og hjælp Danmark til at få kontrol over COVID-19.",
"One more thing": "En ting mere",
"To defeat the corona virus we need to make the invisible virus visible.": "For at besejre corona-virussen er vi nødt til at synliggøre den usynlige virus.",
"{{ amount }} people already shared their health status.": "{{ amount }} personer delte allerede deres sundhedsstatus.",
"Let your friends fill out this form too and help the United States gain control over COVID-19.": "Lad dine venner også udfylde denne formular og hjælpe De Forenede Stater med at få kontrol over COVID-19."
}
14 changes: 13 additions & 1 deletion app/locales/en-AU.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,5 +176,17 @@
"Help us uncover and predict the corona spread in your area": "Help us <span>uncover</span> and <span>predict</span> the corona spread in your area",
"Numbers": "Numbers",
"#washyourhands": "#wash<wbr/>your<wbr/>hands",
"#stayindoors": "#stay<wbr/>indoors"
"#stayindoors": "#stay<wbr/>indoors",
"In isolation due to orders from the government": "In isolation due to orders from the government",
"In isolation due to COVID-19 infection": "In isolation due to COVID-19 infection",
"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",
"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.",
"One more thing": "One more thing",
"To defeat the corona virus we need to make the invisible virus visible.": "To defeat the corona virus we need to make the invisible virus visible.",
"{{ amount }} people already shared their health status.": "{{ amount }} people already shared their health status.",
"Let your friends fill out this form too and help the United States gain control over COVID-19.": "Let your friends fill out this form too and help Australia gain control over COVID-19."
}
Loading

0 comments on commit 7bba2ba

Please sign in to comment.