Added translation to all site with edit style
All checks were successful
Build frontend / build (push) Successful in 1m40s
All checks were successful
Build frontend / build (push) Successful in 1m40s
This commit is contained in:
@ -35,4 +35,20 @@ function extractCity(address) {
|
||||
return '';
|
||||
}
|
||||
|
||||
export { City, CitiesList, extractCity };
|
||||
const CityTranslationKeys = Object.freeze({
|
||||
[City.DAMASCUS]: 'city.damascus',
|
||||
[City.ALEPPO]: 'city.aleppo',
|
||||
[City.HOMS]: 'city.homs',
|
||||
[City.LATAKIA]: 'city.latakia',
|
||||
[City.DARAA]: 'city.daraa',
|
||||
[City.TARTOUS]: 'city.tartous',
|
||||
[City.SUWEIDA]: 'city.suweida',
|
||||
[City.DEIR_EZZOR]: 'city.deirEzzor',
|
||||
[City.RAQQA]: 'city.raqqa',
|
||||
[City.IDLIB]: 'city.idlib',
|
||||
[City.HASAKAH]: 'city.hasakah',
|
||||
[City.QAMISHLI]: 'city.qamishli',
|
||||
[City.RURAL_DAMASCUS]: 'city.ruralDamascus',
|
||||
});
|
||||
|
||||
export { City, CitiesList, extractCity, CityTranslationKeys };
|
||||
|
||||
Reference in New Issue
Block a user