diff --git a/README.md b/README.md index 7038f90..f71c3d7 100644 --- a/README.md +++ b/README.md @@ -9,4 +9,5 @@ If you want to contribute by translating this mod, you can view the existing tra ### Credit Thanks to [unhott](https://mods.factorio.com/user/unhott) for the [original mod](https://mods.factorio.com/mod/GunTurretAlerts). -Thanks to [snouz](https://mods.factorio.com/user/snouz) for the new icons and thumbnail. \ No newline at end of file +Thanks to [snouz](https://mods.factorio.com/user/snouz) for the new icons and thumbnail. +Thanks to [d0ob](https://github.com/d0ob) for the french locale. \ No newline at end of file diff --git a/changelog.txt b/changelog.txt index 81a9e0e..4e279c8 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 1.1.8 +Date: 2021-08-06 + Locale: + - Addedd french locale (thanks to d0ob) +--------------------------------------------------------------------------------------------------- Version: 1.1.7 Date: 2021-06-21 Compatibility: diff --git a/info.json b/info.json index 4187f2e..7d09133 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "Gun_Turret_Alerts", - "version": "1.1.7", + "version": "1.1.8", "title": "Ammo Alerts", "author": "Wyrrrd", "factorio_version": "1.1", diff --git a/locale/fr/config.cfg b/locale/fr/config.cfg new file mode 100644 index 0000000..ddd9114 --- /dev/null +++ b/locale/fr/config.cfg @@ -0,0 +1,24 @@ +[mod-setting-name] +gun-turret-alerts-enabled=Activer les alertes de manque de munitions dans les tourelles. +gun-turret-alerts-car-enabled=Activer les alertes de manque de munitions dans les véhicules. +gun-turret-alerts-mode=Prendre en considération plusieurs compartiments de munitions. +gun-turret-alerts-threshold=Nombre de munitions restantes avant d'être alerté. + +[mod-setting-description] +gun-turret-alerts-enabled=Le manque de munitions dans une tourelle enverra une alerte au joueur. +gun-turret-alerts-car-enabled=Le manque de munitions dans un véhicule enverra une alerte au joueur. +gun-turret-alerts-mode=Surveiller tous les compartiments de l'unité, un seul, ou une sélection.\n(Certaines unités, principalement des véhicules, peuvent posséder plusieurs compartiments. À laisser décoché s'il n'y en a qu'un seul.) +gun-turret-alerts-threshold=Le nombre de munitions, dans une tourelle ou un véhicule, qui déclenchera un alerte une fois atteint. + +[string-mod-setting] +autofilter_mode-added=Tous +autofilter_mode-individually=Unique +autofilter_mode-selected=Sélection + +[gun-turret-alerts] +message-empty=__1__ plus de munition +message-low=__1__ peu de munitions + +[virtual-signal-name] +ammo-icon-red=Signal d'absence de munition +ammo-icon-yellow=Signal de manque de munitions \ No newline at end of file