Files
web/types/enums/country.ts
Erik Tiekstra ca42876eb8 Merged in feat/SW-1453-city-listing-on-country-page (pull request #1222)
feat(SW-1453): added city listing component

* feat(SW-1453): added city listing component


Approved-by: Christian Andolf
Approved-by: Fredrik Thorsson
2025-01-29 10:09:51 +00:00

62 lines
1.5 KiB
TypeScript

import { Lang } from "@/constants/languages"
export enum Country {
Denmark = "Denmark",
Finland = "Finland",
Germany = "Germany",
Norway = "Norway",
Poland = "Poland",
Sweden = "Sweden",
}
export const ApiCountry: Record<Lang, Record<Country, string>> = {
[Lang.da]: {
[Country.Denmark]: "Danmark",
[Country.Finland]: "Finland",
[Country.Germany]: "Tyskland",
[Country.Norway]: "Norge",
[Country.Poland]: "Polen",
[Country.Sweden]: "Sverige",
},
[Lang.de]: {
[Country.Denmark]: "Dänemark",
[Country.Finland]: "Finnland",
[Country.Germany]: "Deutschland",
[Country.Norway]: "Norwegen",
[Country.Poland]: "Polen",
[Country.Sweden]: "Schweden",
},
[Lang.en]: {
[Country.Denmark]: "Denmark",
[Country.Finland]: "Finland",
[Country.Germany]: "Germany",
[Country.Norway]: "Norway",
[Country.Poland]: "Poland",
[Country.Sweden]: "Sweden",
},
[Lang.fi]: {
[Country.Denmark]: "Tanska",
[Country.Finland]: "Suomi",
[Country.Germany]: "Saksa",
[Country.Norway]: "Norja",
[Country.Poland]: "Puola",
[Country.Sweden]: "Ruotsi",
},
[Lang.no]: {
[Country.Denmark]: "Danmark",
[Country.Finland]: "Finland",
[Country.Germany]: "Tyskland",
[Country.Norway]: "Norge",
[Country.Poland]: "Polen",
[Country.Sweden]: "Sverige",
},
[Lang.sv]: {
[Country.Denmark]: "Danmark",
[Country.Finland]: "Finland",
[Country.Germany]: "Tyskland",
[Country.Norway]: "Norge",
[Country.Poland]: "Polen",
[Country.Sweden]: "Sverige",
},
}