Closed MalinAhlberg closed 4 years ago
There's a typo in the project, Celcius
should be Celsius. Would it be okay to fix in on this branch, or should it be separate?
A mini-PR doesn't hurt, I'm sure that it'll be merged super fast.. If you don't mind doing it :)
I think they have decided that the language code is se instead of sv.
Must add se-word-list.txt
.
app/domain/urls.ts
must have se added; my suggestion:
diff --git a/app/domain/urls.ts b/app/domain/urls.ts
index f8f2218..6934cbd 100644
--- a/app/domain/urls.ts
+++ b/app/domain/urls.ts
@@ -1,6 +1,6 @@
import { LANGUAGE } from '../../config.json';
-export type Locale = 'no' | 'nl' | 'en' | 'sk' | 'it';
+export type Locale = 'no' | 'nl' | 'en' | 'sk' | 'it' | 'se';
type Urls = {
[locale in Locale]: {
@@ -45,6 +45,16 @@ const localeAwareUrls: Urls = {
api: '/api',
apiDocs: '/api-docs',
statistics: '/statistics'
+ },
+ se: {
+ submitReport: '/',
+ profile: '/halsotillstand',
+ privacyPolicy: '/integritetspolicy',
+ map: '/karta',
+ contributors: '/frivilliga',
+ api: '/api',
+ apiDocs: '/api-docs',
+ statistics: '/statistik'
},
sk: {
submitReport: '/',
app/domain/urls.ts
must have se added
There are discussion regarding switching to sv-se
or the like but se
is great for now.
The zipcodes etc were added as se, so I got the impression it was already decided.
Translations of
app/locales/en.json
, also adds the fieldSweden
to the english translations.