add french plugin language

This commit is contained in:
Alexandre Luini 2021-03-10 16:49:40 +01:00
parent 4b6002f686
commit 0376dc09d5
5 changed files with 36 additions and 8 deletions

View File

@ -124,3 +124,6 @@
## 0.8.1
* Include Robot name in Homekit battery service name
## 0.8.2
* Add French plugin language (for example, this gives you a "Aspirer la cuisine" Siri command for a zone called "La cuisine")

View File

@ -27,7 +27,7 @@ The interaction with the Server is handled by the underlying [node-kobold-contro
- Automatic or periodic refresh of robot state
- Multiple robots
- German or English Language Setting
- German, English or French Language Setting
> <b name="change-room">2</b> You can send the robot from one room to another as well. He will return to the base, wait there some seconds and then starts cleaning the next room.
@ -95,7 +95,7 @@ curl -X "POST" "https://mykobold.eu.auth0.com/oauth/token" \
From the output, you want to copy the `id_token` value.
The `language` can be `de` for German, or `en` for English.
The `language` can be `de` for German, `en` for English, or `fr` for French.
### Advanced

View File

@ -64,6 +64,19 @@ function KoboldVacuumRobotAccessory(platform, robotObject)
"findMe": "Finde mich",
"cleanSpot": "Spot Reinigung",
"battery": "Batterie"
},
'fr': {
"clean": "Aspirer",
"clean the": "Aspirer",
"goToDock": "Retour à la base",
"dockState": "Sur la base",
"eco": "Eco mode",
"noGoLines": "Lignes NoGo",
"extraCare": "Extra Care",
"schedule": "Planifier",
"findMe": "Me retrouver",
"cleanSpot": "Nettoyage local",
"battery": "Batterie"
}
}[this.platform.language]

View File

@ -27,6 +27,12 @@
"enum": [
"de"
]
},
{
"title": "French",
"enum": [
"fr"
]
}
],
"required": true

View File

@ -1,6 +1,6 @@
{
"name": "homebridge-kobold",
"version": "0.8.1",
"version": "0.8.2",
"description": "A Vorwerk Kobold vacuum robot plugin for homebridge.",
"license": "MIT",
"keywords": [
@ -16,6 +16,12 @@
"name": "Luis R.",
"url2": "https://github.com/himbeles"
},
"contributors": [
{
"name": "Alexandre L.",
"url": "https://github.com/aluini"
}
],
"repository": {
"type": "git",
"url": "git://github.com/himbeles/homebridge-kobold.git"