Skip to content

Commit

Permalink
fix(eventcreation and i18next): were only able to fix the labels issue
Browse files Browse the repository at this point in the history
...but events still fall under the wrong category. we somehow can't send the correct category
selection to backend

#155
  • Loading branch information
omerfarukatas committed Aug 31, 2022
1 parent 201f731 commit 04b88d5
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 52 deletions.
36 changes: 18 additions & 18 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"responsibleConsumptionAndProduction": "Responsible Consumption and Production",
"sustainableCitiesAndCommunities": "Sustainable Cities and Communities",
"climateAction": "Climate Action",
"lifeBelowWater": "Life Below Water",
"Life Below Water": "Life Below Water",
"lifeOnLand": "Life On Land",
"peaceJusticeAndStrongInstitutions": "Peace, Justice and Strong Institutions",
"partnershipForTheGoals": "Partnership for the Goals",
Expand Down Expand Up @@ -227,23 +227,23 @@
"locationPH": "Location",
"changePasswordHeader": "Change Password",
"interests": "Your Interests",
"noPoverty": "No Poverty",
"zeroHunger": "Zero Hunger",
"goodHealthAndWellbeing": "Good Health and Wellbeing",
"qualityEducation": "Quality Education",
"genderEquality": "Gender Equality",
"cleanWaterAndSanitation": "Clean Water and Sanitation",
"affordableAndCleanEnergy": "Affordable and Clean Energy",
"decentWorkAndEconomicGrowth": "Decent Work and Economic Growth",
"industryInnovationAndInfrastructure": "Industry, Innovation and Infrastructure",
"reducedInequalities": "Reduced Inequalities",
"responsibleConsumptionAndProduction": "Responsible Consumption and Production",
"sustainableCitiesAndCommunities": "Sustainable Cities and Communities",
"climateAction": "Climate Action",
"lifeBelowWater": "Life Below Water",
"lifeOnLand": "Life On Land",
"peaceJusticeAndStrongInstitutions": "Peace, Justice and Strong Institutions",
"partnershipForTheGoals": "Partnership for the Goals",
"No Poverty": "No Poverty",
"Zero Hunger": "Zero Hunger",
"Good Health and Wellbeing": "Good Health and Wellbeing",
"Quality Education": "Quality Education",
"Gender Equality": "Gender Equality",
"Clean Water and Sanitation": "Clean Water and Sanitation",
"Affordable and Clean Energy": "Affordable and Clean Energy",
"Decent Work and Economic Growth": "Decent Work and Economic Growth",
"Industry, Innovation and Infrastructure": "Industry, Innovation and Infrastructure",
"Reduced Inequalities": "Reduced Inequalities",
"Responsible Consumption and Production": "Responsible Consumption and Production",
"Sustainable Cities and Communities": "Sustainable Cities and Communities",
"Climate Action": "Climate Action",
"Life Below Water": "Life Below Water",
"Life On Land": "Life On Land",
"Peace, Justice and Strong Institutions": "Peace, Justice and Strong Institutions",
"Partnership for the Goals": "Partnership for the Goals",
"passwordPH": "Password",
"retypePH": "Retype Password",
"submitBtn": "Submit",
Expand Down
34 changes: 17 additions & 17 deletions public/locales/tr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,23 +228,23 @@
"locationPH": "Konumunuz",
"changePasswordHeader": "Şifre Değiştir",
"interests": "İlgi Alanlarınız",
"noPoverty": "Sıfır Yoksulluk",
"zeroHunger": "Sıfır Açlık",
"goodHealthAndWellbeing": "İyi Sağlık ve Refah",
"qualityEducation": "Kaliteli eğitim",
"genderEquality": "Cinsiyet eşitliği",
"cleanWaterAndSanitation": "Temiz Su ve Sanitasyon",
"affordableAndCleanEnergy": "Uygun Fiyatlı ve Temiz Enerji",
"decentWorkAndEconomicGrowth": "İnsana Yakışır İş ve Ekonomik Büyüme",
"industryInnovationAndInfrastructure": "Sanayi, İnovasyon ve Altyapı",
"reducedInequalities": "Azaltılmış Eşitsizlikler",
"responsibleConsumptionAndProduction": "Sorumlu Tüketim ve Üretim",
"sustainableCitiesAndCommunities": "Sürdürülebilir Şehirler ve Topluluklar",
"climateAction": "İklim Eylemi",
"lifeBelowWater": "Su Altında Yaşam",
"lifeOnLand": "Karada Yaşam",
"peaceJusticeAndStrongInstitutions": "Barış, Adalet ve Güçlü Kurumlar",
"partnershipForTheGoals": "Hedefler için Ortaklık",
"No Poverty": "Sıfır Yoksulluk",
"Zero Hunger": "Sıfır Açlık",
"Good Health and Wellbeing": "İyi Sağlık ve Refah",
"Quality Education": "Kaliteli eğitim",
"Gender Equality": "Cinsiyet eşitliği",
"Clean Water and Sanitation": "Temiz Su ve Sanitasyon",
"Affordable and Clean Energy": "Uygun Fiyatlı ve Temiz Enerji",
"Decent Work and Economic Growth": "İnsana Yakışır İş ve Ekonomik Büyüme",
"Industry, Innovation and Infrastructure": "Sanayi, İnovasyon ve Altyapı",
"Reduced Inequalities": "Azaltılmış Eşitsizlikler",
"Responsible Consumption and Production": "Sorumlu Tüketim ve Üretim",
"Sustainable Cities and Communities": "Sürdürülebilir Şehirler ve Topluluklar",
"Climate Action": "İklim Eylemi",
"Life Below Water": "Su Altında Yaşam",
"Life On Land": "Karada Yaşam",
"Peace, Justice and Strong Institutions": "Barış, Adalet ve Güçlü Kurumlar",
"Partnership for the Goals": "Hedefler için Ortaklık",
"passwordPH": "Şifrenizi yazın",
"retypePH": "Şifrenizi yeniden yazın",
"submitBtn": "Kaydet",
Expand Down
34 changes: 17 additions & 17 deletions src/components/EditInterests/EditInterests.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ const EditInterests = ({
}) => {
const { t } = useTranslation("common");
const labels = [
"noPoverty",
"zeroHunger",
"goodHealthAndWellbeing",
"qualityEducation",
"genderEquality",
"cleanWaterAndSanitation",
"affordableAndCleanEnergy",
"decentWorkAndEconomicGrowth",
"industryInnovationAndInfrastructure",
"reducedInequalities",
"sustainableCitiesAndCommunities",
"responsibleConsumptionAndProduction",
"climateAction",
"lifeBelowWater",
"lifeOnLand",
"peaceJusticeAndStrongInstitutions",
"partnershipForTheGoals",
"No Poverty",
"Zero Hunger",
"Good Health and Wellbeing",
"Quality Education",
"Gender Equality",
"Clean Water and Sanitation",
"Affordable and Clean Energy",
"Decent Work and Economic Growth",
"Industry, Innovation and Infrastructure",
"Reduced Inequalities",
"Sustainable Cities and Communities",
"Responsible Consumption and Production",
"Climate Action",
"Life Below Water",
"Life On Land",
"Peace, Justice and Strong Institutions",
"Partnership for the Goals"
];
const [selected, setSelected] = useState([]);

Expand Down

0 comments on commit 04b88d5

Please sign in to comment.