Update translation strings.
And remove console.log
This commit is contained in:
parent
0788035cba
commit
ade2735973
21
src/App.js
21
src/App.js
@ -69,18 +69,22 @@ const languageStrings = {
|
|||||||
radio_amateur: 'Radio amateur',
|
radio_amateur: 'Radio amateur',
|
||||||
software: 'Software',
|
software: 'Software',
|
||||||
// Education
|
// Education
|
||||||
courses: 'Courses',
|
certification: 'Certification',
|
||||||
completed: 'Completed',
|
completed: 'Completed',
|
||||||
|
courses: 'Courses',
|
||||||
|
education: 'Education',
|
||||||
|
issued: 'issued',
|
||||||
|
skills: 'Skills',
|
||||||
// Navigation
|
// Navigation
|
||||||
portal: 'Portal',
|
portal: 'Portal',
|
||||||
language: 'Language',
|
language: 'Language',
|
||||||
// Radio
|
// Radio
|
||||||
nvisAntenna: 'NVIS Antenna',
|
|
||||||
equipment: 'Equipment',
|
equipment: 'Equipment',
|
||||||
fielddays: 'Field days',
|
fielddays: 'Field days',
|
||||||
|
nvisAntenna: 'NVIS Antenna',
|
||||||
// Footer
|
// Footer
|
||||||
footer_madewith: 'This site was made with',
|
|
||||||
footer_contentparsed: 'Content is parsed by',
|
footer_contentparsed: 'Content is parsed by',
|
||||||
|
footer_madewith: 'This site was made with',
|
||||||
},
|
},
|
||||||
nl: {
|
nl: {
|
||||||
// Common
|
// Common
|
||||||
@ -91,18 +95,22 @@ const languageStrings = {
|
|||||||
radio_amateur: 'Radiozendamateur',
|
radio_amateur: 'Radiozendamateur',
|
||||||
software: 'Software',
|
software: 'Software',
|
||||||
// Education
|
// Education
|
||||||
courses: 'Cursussen',
|
certification: 'Certificering',
|
||||||
completed: 'Voltooid',
|
completed: 'Voltooid',
|
||||||
|
courses: 'Cursussen',
|
||||||
|
education: 'Opleiding',
|
||||||
|
issued: 'uitgegeven',
|
||||||
|
skills: 'Vaardigheden',
|
||||||
// Navigation
|
// Navigation
|
||||||
portal: 'Portaal',
|
portal: 'Portaal',
|
||||||
language: 'Taal',
|
language: 'Taal',
|
||||||
// Radio
|
// Radio
|
||||||
nvisAntenna: 'NVIS Antenne',
|
|
||||||
equipment: 'Apparatuur',
|
equipment: 'Apparatuur',
|
||||||
fielddays: 'Velddagen',
|
fielddays: 'Velddagen',
|
||||||
|
nvisAntenna: 'NVIS Antenne',
|
||||||
// Footer
|
// Footer
|
||||||
footer_madewith: 'Deze website is gemaakt met',
|
|
||||||
footer_contentparsed: 'Inhoud is verwerkt door',
|
footer_contentparsed: 'Inhoud is verwerkt door',
|
||||||
|
footer_madewith: 'Deze website is gemaakt met',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -140,7 +148,6 @@ function App() {
|
|||||||
];
|
];
|
||||||
return equipments.map(equipment => {
|
return equipments.map(equipment => {
|
||||||
const path = `/${lang}/radio/equipment/${equipment.category}/${equipment.title}`;
|
const path = `/${lang}/radio/equipment/${equipment.category}/${equipment.title}`;
|
||||||
console.log(path);
|
|
||||||
const mdPath = `Radio/${lang}/equipment/${equipment.category}/${equipment.filename}.md`;
|
const mdPath = `Radio/${lang}/equipment/${equipment.category}/${equipment.filename}.md`;
|
||||||
return <Route key={`${lang}-${equipment.title}`} exact path={path} element={<EquipmentPage mdPath={mdPath} />} />;
|
return <Route key={`${lang}-${equipment.title}`} exact path={path} element={<EquipmentPage mdPath={mdPath} />} />;
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user