Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add french translation #1561

Closed

Conversation

OlivierFrancais
Copy link

Add french translation.

@arendst
Copy link
Owner

arendst commented Jan 12, 2018

In next (pre)release

But need additional translation for the following new items:

#define D_WARNING_MINIMAL_VERSION "WARNING This version does not support persistent settings"

// xsns_18_pms5003.ino
#define D_STANDARD_CONCENTRATION "Standard Concentration"
#define D_ENVIRONMENTAL_CONCENTRATION "Environmental Concentration"
#define D_PARTICALS_BEYOND "Particals beyond"

#define D_UNIT_MICROGRAM_PER_CUBIC_METER "ug/m3"
#define D_UNIT_MICROMETER "um"
#define D_UNIT_PARTS_PER_DECILITER "ppd"

arendst added a commit that referenced this pull request Jan 13, 2018
5.11.1b
 * Add command PowerOnState option 5 which inverts PulseTime and
allows for delayed always on after power on
 * Changed
OSWATCH_RESET_TIME (Blocked loop) from 30 to 120 seconds to allow slow
networks (#1556)
 * Add French language file (#1561)
 * Fix truncated
command names and wrong response for DomoticzSwitchIdx (#1571)
 * Add
HTTP Allow Cross Origin removed from ESP8266/Arduino 2.4.0 (#1572)
 *
Fix %-sign issue as printf escape character in Humidity and Sonoff SC
(#1579)
@calcipher49
Copy link

Hi,
French language is ok, but (in 5.11.1b) still missing from platformio.ini
Need to be added manually before compiling

@OlivierFrancais
Copy link
Author

I've updated the translation file.
I've added missing lines, correct one typo and improve some translations.

@calcipher49
Copy link

calcipher49 commented Jan 18, 2018

I have issues with french version due to use of comma as decimal separator. Better to keep dot as decimal separator.
For example this string is not correct json:

{"Time":"2018-01-18T13:11:53","Switch1":"OFF","Switch2":"OFF","DS18B20":{"Temperature":12,9},"TempUnit":"C"}

@arendst
Copy link
Owner

arendst commented Jan 18, 2018

@calcipher49 fixed in next pre-release

@OlivierFrancais
Copy link
Author

Sorry I didn't check the usage of this separator.
For me this separator as to be used only for direct display to user. Of course, in JSON, the decimal separator is only the dot. But, in good french, the decimal separator is a comma (and space for thousands separator).

@arendst
Copy link
Owner

arendst commented Jan 18, 2018

@OlivierFrancais No need to check as I am suppose to use the dot for JSON and the language option for other stuff. Currently it will be using the dot overall as I need to rewrite all non JSON values at the cost of code space. So currently the language option will not be used.

arendst added a commit that referenced this pull request Jan 18, 2018
5.11.1c
 * Make command color parameter input less strict to ease Hass
support
 * Add ColorTemperature to light status message
 * Change
PubSubClient.h define MQTT_MAX_PACKET_SIZE from 512 to 1000 for Hass
support
 * Make define MESSZ dependent on PubSubClient.h define
MQTT_MAX_PACKET_SIZE
 * Fix logging line length around 400 characters
 *
Change module name Wemos D1 mini into Generic (#1220)
 * Revert HTML
change from width=100% to style=width:100% supporting HTML5 (#1358)
 *
Add experimental (still Hass python exceptions) Home Assistant Discovery
for switch and light to be enabled by command SetOption19 1 (#1534)
 *
Updated French Translation (#1561)
 * Fix DS18B20 temperature JSON
decimal dot (#1561)
 * Add Spanish language file (#1589)
 * Update
Italian Language file (#1594)
 * Consolidate WIFI_MANAGER_SEC into
WIFI_CONFIG_SEC (#1616)
 * Fix Energy JSON message (#1621)
@arendst arendst closed this Jan 18, 2018
arendst added a commit that referenced this pull request Feb 9, 2018
5.12.0 20180209
* Change library PubSubClient.h define MQTT_MAX_PACKET_SIZE from 512 to
1000 for Home Assistant  support
* Change relation of define MESSZ being dependent on PubSubClient.h
define MQTT_MAX_PACKET_SIZE
* Change command color parameter input checks to less strict for Home
Assistant support
* Change command Ina219Mode into command Sensor13
* Change commands HlwPCal, HlwUCal and HlwICal to PowerCal, VoltageCal
and CurrentCal to be used for both Pow and S31 calibration
* Change commands HlwPSet, HlwUSet and HlwISet to PowerSet, VoltageSet
and CurrentSet to be used for both Pow and S31 calibration
* Change uptime from hour to second resulting in a display of
123T13:45:21 where 123 is days
* Change module name Wemos D1 mini into Generic (#1220)
* Change HTML from width=100% to style=width:100% supporting HTML5
(#1358)
* Change OSWATCH_RESET_TIME (Blocked loop) from 30 to 120 seconds to
allow slow networks (#1556)
* Change WIFI_MANAGER_SEC into WIFI_CONFIG_SEC (#1616)
* Change function pointers code to save code space and memory (#1683)
* Change webserver argument processing gaining 5k code space (#1705)
* Change weblog memory usage (#1730, #1793, #1819)
* Update TasmotaSerial library to 1.1.0
* Update language files Italian (#1594), Dutch (#1723) and Spanish
(#1722)
* Fix Non-English JSON temperature unit attachement
* Fix Arilux RF induced exception by moving interrupt handler to iram on
non ESP8266/Arduino lib v2.3.0
* Fix truncated command names and wrong response for DomoticzSwitchIdx
(#1571)
* Fix %-sign issue as printf escape character in Humidity and Sonoff SC
(#1579)
* Fix DS18B20 temperature JSON decimal dot (#1561)
* Fix Energy JSON message (#1621)
* Fix IRSend parameter translation (#1636)
* Fix TSL2561 device detection (#1644, #1825)
* Fix BME680 teleperiod resistance measuring (#1647)
* Fix Energy Monitoring Energy Today and Energy Total reading after
restart (#1648)
* Fix IRReceive Data value (#1663)
* Fix Energy Monitoring Energy Period roll-over (#1688)
* Fix compiler warnings (#1774)
* Fix command PWM response if no PWM channel is configured (#1783)
* Add locale Decimal Separator to Web sensor page
* Add ColorTemperature to light status message
* Add command PowerOnState option 5 which inverts PulseTime and allows
for delayed always on after power on
* Add OtaMagic two step Web server OTA upgrade using filename-minimal
image if OTA free space is too small
* Add support for PMS5003 and PMS7003 particle concentration sensor
* Add command SetOption21 1 to allow Energy Monitoring when power is off
on Sonoff Pow and Sonoff S31 (#1420)
* Add Chinese language file (#1551)
* Add French language file (#1561)
* Add Spanish language file (#1589)
* Add HTTP Allow Cross Origin removed from ESP8266/Arduino lib v2.4.0
(#1572)
* Add Home Assistant MQTT Discovery for switch and light to be enabled
by command SetOption19 1 (#1534) or define
HOME_ASSISTANT_DISCOVERY_ENABLE in user_config.h (#1685)
* Add command State to retrieve device state information (same data as
teleperiod state and status 11 in slightly different JSON format)
* Add optional login to Webserver AP mode (#1587, #1635)
* Add command Sensor15 2 to start MHZ19(B) Zero Point Calibration
(#1643)
* Add support for Sonoff S31 Smart Socket with Power Consumption
Detection (#1626)
* Add command SetOption20 to allow update of Dimmer/Color/Ct without
turning power on (#1719, #1741)
* Add NTP sync time slot based on chip id (#1773)
* Add cursor pointer to web button (#1836)
curzon01 pushed a commit to curzon01/Tasmota that referenced this pull request Sep 6, 2018
5.11.1b
 * Add command PowerOnState option 5 which inverts PulseTime and
allows for delayed always on after power on
 * Changed
OSWATCH_RESET_TIME (Blocked loop) from 30 to 120 seconds to allow slow
networks (arendst#1556)
 * Add French language file (arendst#1561)
 * Fix truncated
command names and wrong response for DomoticzSwitchIdx (arendst#1571)
 * Add
HTTP Allow Cross Origin removed from ESP8266/Arduino 2.4.0 (arendst#1572)
 *
Fix %-sign issue as printf escape character in Humidity and Sonoff SC
(arendst#1579)
curzon01 pushed a commit to curzon01/Tasmota that referenced this pull request Sep 6, 2018
5.11.1c
 * Make command color parameter input less strict to ease Hass
support
 * Add ColorTemperature to light status message
 * Change
PubSubClient.h define MQTT_MAX_PACKET_SIZE from 512 to 1000 for Hass
support
 * Make define MESSZ dependent on PubSubClient.h define
MQTT_MAX_PACKET_SIZE
 * Fix logging line length around 400 characters
 *
Change module name Wemos D1 mini into Generic (arendst#1220)
 * Revert HTML
change from width=100% to style=width:100% supporting HTML5 (arendst#1358)
 *
Add experimental (still Hass python exceptions) Home Assistant Discovery
for switch and light to be enabled by command SetOption19 1 (arendst#1534)
 *
Updated French Translation (arendst#1561)
 * Fix DS18B20 temperature JSON
decimal dot (arendst#1561)
 * Add Spanish language file (arendst#1589)
 * Update
Italian Language file (arendst#1594)
 * Consolidate WIFI_MANAGER_SEC into
WIFI_CONFIG_SEC (arendst#1616)
 * Fix Energy JSON message (arendst#1621)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants