From 346337fd9ab15d9a498cba53f2897e767b495b67 Mon Sep 17 00:00:00 2001 From: lolodomo Date: Sat, 30 Apr 2022 21:07:57 +0200 Subject: [PATCH] [groupepsa] Add default translations (#12669) Signed-off-by: Laurent Garnier --- .../OH-INF/i18n/groupepsa.properties | 185 +++++++++++++++++- 1 file changed, 181 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.binding.groupepsa/src/main/resources/OH-INF/i18n/groupepsa.properties b/bundles/org.openhab.binding.groupepsa/src/main/resources/OH-INF/i18n/groupepsa.properties index e79057c77..cbc449feb 100644 --- a/bundles/org.openhab.binding.groupepsa/src/main/resources/OH-INF/i18n/groupepsa.properties +++ b/bundles/org.openhab.binding.groupepsa/src/main/resources/OH-INF/i18n/groupepsa.properties @@ -1,8 +1,187 @@ # binding + binding.groupepsa.name = Groupe PSA Binding binding.groupepsa.description = Provides information and (limited) control of cars from the Groupe PSA (Peugeot, Citroen, Opel, etc.). -#configuration errors +# thing types + +thing-type.groupepsa.bridge.label = Groupe PSA Bridge +thing-type.groupepsa.bridge.description = The bridge to communicate with the PSA (Peugeot, Citroen, Vauxhall, Opel, DS) Web API for End-Users +thing-type.groupepsa.vehicle.label = Groupe PSA Car +thing-type.groupepsa.vehicle.description = Car connected via Groupe PSA (Peugeot, Citroen, Vauxhall, Opel, DS) Bridge + +# thing types config + +thing-type.config.groupepsa.bridge.clientId.label = Client ID +thing-type.config.groupepsa.bridge.clientId.description = The client ID for API access: can normally left at the default value. (see: https://developer.groupe-psa.io/webapi/b2c/quickstart/connect/#article) +thing-type.config.groupepsa.bridge.clientSecret.label = Client Secret +thing-type.config.groupepsa.bridge.clientSecret.description = The client secret for API access: can normally left at the default value. (see: https://developer.groupe-psa.io/webapi/b2c/quickstart/connect/#article) +thing-type.config.groupepsa.bridge.password.description = The password for the given user +thing-type.config.groupepsa.bridge.pollingInterval.label = Polling Interval +thing-type.config.groupepsa.bridge.pollingInterval.description = How often the available vehicles should be queried in minutes +thing-type.config.groupepsa.bridge.userName.label = User Name +thing-type.config.groupepsa.bridge.userName.description = The user name for the mypeugot/mycitroen/myds/myopel/myvauxhall website or app +thing-type.config.groupepsa.bridge.vendor.label = Brand +thing-type.config.groupepsa.bridge.vendor.description = The brand of the car +thing-type.config.groupepsa.bridge.vendor.option.PEUGEOT = Peugeot +thing-type.config.groupepsa.bridge.vendor.option.CITROEN = Citroen +thing-type.config.groupepsa.bridge.vendor.option.DS = DS +thing-type.config.groupepsa.bridge.vendor.option.OPEL = Opel +thing-type.config.groupepsa.bridge.vendor.option.VAUXHALL = Vauxhall +thing-type.config.groupepsa.vehicle.id.label = ID +thing-type.config.groupepsa.vehicle.id.description = Vehicle API ID (obtained automatically during discovery, not equal to the VIN) +thing-type.config.groupepsa.vehicle.onlineInterval.label = Online Timeout +thing-type.config.groupepsa.vehicle.onlineInterval.description = Timeout when the vehicle is considered offline +thing-type.config.groupepsa.vehicle.pollingInterval.label = Polling Interval +thing-type.config.groupepsa.vehicle.pollingInterval.description = How often this vehicle should be polled for updated information + +# channel group types + +channel-group-type.groupepsa.battery.label = Battery +channel-group-type.groupepsa.battery.description = Main battery +channel-group-type.groupepsa.battery.channel.voltage.label = Battery Level +channel-group-type.groupepsa.battery.channel.voltage.description = Battery level +channel-group-type.groupepsa.doors.label = Doors +channel-group-type.groupepsa.doors.description = State of the doors +channel-group-type.groupepsa.doors.channel.driver.label = Driver Door +channel-group-type.groupepsa.doors.channel.driver.description = Driver door open state +channel-group-type.groupepsa.electric.label = Electric Energy +channel-group-type.groupepsa.electric.description = Electric motor energy status +channel-group-type.groupepsa.electric.channel.autonomy.label = Electric Autonomy +channel-group-type.groupepsa.electric.channel.autonomy.description = Remaining distance +channel-group-type.groupepsa.electric.channel.level.label = Electricity Level +channel-group-type.groupepsa.electric.channel.level.description = Electricity level +channel-group-type.groupepsa.environment.label = Environment +channel-group-type.groupepsa.environment.description = Environmental conditions +channel-group-type.groupepsa.environment.channel.temperature.label = Outside Temperature +channel-group-type.groupepsa.environment.channel.temperature.description = Outside Temperature +channel-group-type.groupepsa.fuel.label = Fuel +channel-group-type.groupepsa.fuel.description = Thermic Motor Fuel Status +channel-group-type.groupepsa.motion.label = Motion +channel-group-type.groupepsa.motion.description = Motion information +channel-group-type.groupepsa.position.label = Position +channel-group-type.groupepsa.position.description = Location information +channel-group-type.groupepsa.various.label = Various +channel-group-type.groupepsa.various.description = Miscellaneous information + +# channel types + +channel-type.groupepsa.acceleration.label = Acceleration +channel-type.groupepsa.acceleration.description = Current acceleration +channel-type.groupepsa.autonomy.label = Fuel Autonomy +channel-type.groupepsa.autonomy.description = Remaining distance +channel-type.groupepsa.belt.label = Belt Status +channel-type.groupepsa.belt.description = Seat belt status +channel-type.groupepsa.belt.state.option.Normal = Belts on +channel-type.groupepsa.belt.state.option.Omission = Belt open +channel-type.groupepsa.capacity.label = Battery Capacity +channel-type.groupepsa.capacity.description = Battery capacity +channel-type.groupepsa.chargingMode.label = Charging Mode +channel-type.groupepsa.chargingMode.description = Battery charging mode +channel-type.groupepsa.chargingMode.state.option.No = No +channel-type.groupepsa.chargingMode.state.option.Slow = Slow +channel-type.groupepsa.chargingMode.state.option.Quick = Fast +channel-type.groupepsa.chargingNextDelayedTime.label = Time Till Next Charging +channel-type.groupepsa.chargingNextDelayedTime.description = Time till the next charging starts +channel-type.groupepsa.chargingPlugged.label = Plugged In +channel-type.groupepsa.chargingPlugged.description = Vehicle plugged in to charger +channel-type.groupepsa.chargingRate.label = Charging Rate +channel-type.groupepsa.chargingRate.description = Battery Charging Rate +channel-type.groupepsa.chargingRemainingTime.label = Charging Time Remaining +channel-type.groupepsa.chargingRemainingTime.description = Time remaining till charged +channel-type.groupepsa.chargingStatus.label = Charging Status +channel-type.groupepsa.chargingStatus.description = Battery charging status +channel-type.groupepsa.chargingStatus.state.option.Disconnected = Disconnected +channel-type.groupepsa.chargingStatus.state.option.InProgess = In Progress +channel-type.groupepsa.chargingStatus.state.option.Failure = Failure +channel-type.groupepsa.chargingStatus.state.option.Stopped = Stopped +channel-type.groupepsa.chargingStatus.state.option.Finished = Finished +channel-type.groupepsa.consumption.label = Fuel Consumption +channel-type.groupepsa.consumption.description = Fuel consumption +channel-type.groupepsa.current.label = Current +channel-type.groupepsa.current.description = Electrical current +channel-type.groupepsa.daytime.label = Daytime +channel-type.groupepsa.daytime.description = Enabled if it is daytime +channel-type.groupepsa.doorLock.label = Door Lock +channel-type.groupepsa.doorLock.description = Door lock state +channel-type.groupepsa.doorLock.state.option.Unlocked = Unlocked +channel-type.groupepsa.doorLock.state.option.Locked = Locked +channel-type.groupepsa.doorLock.state.option.SuperLocked = Super Locked +channel-type.groupepsa.doorLock.state.option.DriverDoorUnlocked = Driver Door Unlocked +channel-type.groupepsa.doorLock.state.option.CabinDoorsUnlocked = Cabin Doors Unlocked +channel-type.groupepsa.doorLock.state.option.CargoDoorsLocked = Cargo Doors Locked +channel-type.groupepsa.doorLock.state.option.CargoDoorsUnlocked = Cargo Doors Unlocked +channel-type.groupepsa.doorLock.state.option.RearDoorsLocked = Rear Doors Locked +channel-type.groupepsa.doorLock.state.option.RearDoorsUnlocked = Rear Doors Unlocked +channel-type.groupepsa.doorOpen.label = Door Open +channel-type.groupepsa.doorOpen.description = Door is open +channel-type.groupepsa.emergency.label = Emergency Call +channel-type.groupepsa.emergency.description = Emergency call status +channel-type.groupepsa.emergency.state.option.NoRequest = None +channel-type.groupepsa.emergency.state.option.AirbagUnabled = Airbag Deployed +channel-type.groupepsa.emergency.state.option.Requested = Emergency Call Requested +channel-type.groupepsa.heading.label = Heading +channel-type.groupepsa.heading.description = Direction of travel +channel-type.groupepsa.healthCapacity.label = Battery Health - Capacity +channel-type.groupepsa.healthCapacity.description = Health of the battery capacity +channel-type.groupepsa.healthResistance.label = Battery Health - Resistance +channel-type.groupepsa.healthResistance.description = Health of the battery resistance +channel-type.groupepsa.ignition.label = Ignition +channel-type.groupepsa.ignition.description = Ignition state +channel-type.groupepsa.ignition.state.option.Stop = Stop +channel-type.groupepsa.ignition.state.option.StartUp = Start up +channel-type.groupepsa.ignition.state.option.Start = Start +channel-type.groupepsa.ignition.state.option.Free = Free +channel-type.groupepsa.lastUpdated.label = Time of Last Update +channel-type.groupepsa.lastUpdated.description = Last time the results were updated on the server +channel-type.groupepsa.level.label = Fuel Level +channel-type.groupepsa.level.description = Fuel level +channel-type.groupepsa.mileage.label = Mileage +channel-type.groupepsa.mileage.description = Total travelled distance +channel-type.groupepsa.moving.label = Moving +channel-type.groupepsa.moving.description = Vehicle is moving +channel-type.groupepsa.position.label = Position +channel-type.groupepsa.position.description = Last known position +channel-type.groupepsa.preconditioning.label = Air Conditioning +channel-type.groupepsa.preconditioning.description = Air conditioning status +channel-type.groupepsa.preconditioning.state.option.Enabled = Enabled +channel-type.groupepsa.preconditioning.state.option.Disabled = Disabled +channel-type.groupepsa.preconditioning.state.option.Finished = Finished +channel-type.groupepsa.preconditioning.state.option.Failure = Failure +channel-type.groupepsa.preconditioningFailure.label = Air Conditioning Failure +channel-type.groupepsa.preconditioningFailure.description = Air conditioning failure cause +channel-type.groupepsa.preconditioningFailure.state.option.Defect = Defect +channel-type.groupepsa.preconditioningFailure.state.option.DoorOpened = Door Opened +channel-type.groupepsa.preconditioningFailure.state.option.LowBattery = Low Battery +channel-type.groupepsa.preconditioningFailure.state.option.LowFuelLevel = Low Fuel Level +channel-type.groupepsa.preconditioningFailure.state.option.TooManyUnusedProg = Too many times unused +channel-type.groupepsa.privacy.label = Privacy Status +channel-type.groupepsa.privacy.description = Privacy status +channel-type.groupepsa.privacy.state.option.None = None +channel-type.groupepsa.privacy.state.option.Geolocation = Location +channel-type.groupepsa.privacy.state.option.Full = Full +channel-type.groupepsa.residual.label = Remaining Charge +channel-type.groupepsa.residual.description = Remaining battery charge +channel-type.groupepsa.service.label = Service +channel-type.groupepsa.service.description = Service Type +channel-type.groupepsa.service.state.option.Electric = Electric +channel-type.groupepsa.service.state.option.Hybrid = Hybrid +channel-type.groupepsa.service.state.option.Unknown = Unknown +channel-type.groupepsa.speed.label = Speed +channel-type.groupepsa.speed.description = Current speed +channel-type.groupepsa.temperature.label = Temperature +channel-type.groupepsa.temperature.description = Temperature +channel-type.groupepsa.type.label = Position Type +channel-type.groupepsa.type.description = Position acquisition type +channel-type.groupepsa.type.state.option.Estimate = Estimate +channel-type.groupepsa.type.state.option.Acquire = Acquire +channel-type.groupepsa.voltage.label = Voltage +channel-type.groupepsa.voltage.description = Voltage + +# configuration errors + +conf-error-no-vehicle-id = No VIN specified. Unable to communicate with the vehicle without an ID +conf-error-no-bridge = No valid bridge for the vehicle is available conf-error-no-vendor = Cannot connect to Groupe PSA bridge as no vendor is available in the configuration conf-error-unknown-vendor = Cannot connect to Groupe PSA bridge as the vendor is not valid conf-error-no-username = Cannot connect to Groupe PSA bridge as no username is available in the configuration @@ -12,10 +191,8 @@ conf-error-no-clientsecret = Cannot connect to Groupe PSA bridge as no client se conf-error-invalid-polling-interval = Invalid polling interval specified. The interval has to be >= 1 conf-error-invalid-online-interval = Invalid online check interval specified. The interval has to be >= 1 -conf-error-no-vehicle-id = No VIN specified. Unable to communicate with the vehicle without an ID -conf-error-no-bridge = No valid bridge for the vehicle is available +# communication errors -#communication errors comm-error-vehicle-not-connected-to-cloud = Vehicle not connected to the cloud comm-error-query-vehicle-failed = Unable to query the vehicle status ({0}) comm-error-query-vehicles-failed = Unable to get a list of vehicles ({0})