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:
@ -38,4 +38,20 @@ const PropertyServiceLabels = Object.freeze({
|
||||
// All services as array
|
||||
const PropertyServicesList = Object.freeze(Object.values(PropertyService));
|
||||
|
||||
export { PropertyService, PropertyServiceLabels, PropertyServicesList };
|
||||
const PropertyServiceTranslationKeys = Object.freeze({
|
||||
[PropertyService.ELECTRICITY]: 'propertyService.electricity',
|
||||
[PropertyService.INTERNET]: 'propertyService.internet',
|
||||
[PropertyService.HEATING]: 'propertyService.heating',
|
||||
[PropertyService.WATER]: 'propertyService.water',
|
||||
[PropertyService.POOL]: 'propertyService.pool',
|
||||
[PropertyService.PRIVATE_GARDEN]: 'propertyService.privateGarden',
|
||||
[PropertyService.PARKING]: 'propertyService.parking',
|
||||
[PropertyService.SECURITY_247]: 'propertyService.security247',
|
||||
[PropertyService.CENTRAL_HEATING]: 'propertyService.centralHeating',
|
||||
[PropertyService.CENTRAL_AIR_CONDITIONING]: 'propertyService.centralAirConditioning',
|
||||
[PropertyService.EQUIPPED_KITCHEN]: 'propertyService.equippedKitchen',
|
||||
[PropertyService.MAIDS_ROOM]: 'propertyService.maidsRoom',
|
||||
[PropertyService.ELEVATOR]: 'propertyService.elevator',
|
||||
});
|
||||
|
||||
export { PropertyService, PropertyServiceLabels, PropertyServicesList, PropertyServiceTranslationKeys };
|
||||
|
||||
Reference in New Issue
Block a user