1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-25 14:34:19 +00:00
pds-2021-g2-nest/nest_frontend/Localization.js
Stefano Pigozzi a21b982b97 Localization
2021-05-17 14:32:42 +00:00

29 lines
594 B
JavaScript

import LocalizedStrings from "react-localization"
/**
* All strings contained in the app should be present in this dict.
*
* If a key is missing in a language, the italian one is displayed instead.
*
* Define format strings as in C#:
* ```js
* "Raggio di {number} km"
* "{number} km radius"
* ```
*/
export default new LocalizedStrings({
// 🇮🇹
it: {
appName: "N.E.S.T.",
appFullName: "Noi Estraiamo Statistiche Tweet",
},
// 🇬🇧
en: {
appName: "N.E.S.T.",
},
// 🇫🇮
fi: {
appName: "N.E.S.T.",
}
})