ACE3/addons/switchunits/ACE_Settings.hpp

52 lines
1.7 KiB
C++
Raw Normal View History

2015-05-14 18:59:25 +00:00
class ACE_Settings {
class GVAR(enableSwitchUnits) {
category = CSTRING(DisplayName);
French translation (#7298) * Cleaning and reorganizing of some stringtable files (WIP) : - Duplicate entries have been removed, and the arrangement improved, to help future translators. - Some ACE_Settings.hpp files have been modified because they were not up to date. - Minor french translation correction. * Added French translation and / or correction for : - Weaponselect module, - Weather module, - Winddeflection module, - Yardage450 module, - Zeus module. * Convert Tabs to Spaces * Minor corrections ; arrangement improved for few stringtable.xml files. * Improved French translation, and adjust fews settings. - Nombreuses corrections mineures, en vérifiant chaque menu un à un, puis chaque option dans le jeu lui-même. Ca m'a permit de constater qu'il y a certaines absurdités, y compris en anglais, qui ont donc été retraduites dans toutes les langues, mais qui ne correspondent pas vraiment à l'option telle qu'implémentée. Par exemple, le système de réarmement dans Eden est traduit de manière très étrange. - Modification du fichier "addons/overheating/ACE_Settings.hpp", afin de changer l'ordre du menu "ACE Surchauffe". En effet la case "activé" était tout en bas, aussi je l'ai mise tout en haut (comme c'est déjà le cas pour toutes les options). - Modification du fichier "addons/finger/ACE_Settings.hpp", concernant le pointage du doigt ACE, afin d'y ajouter une description dans les réglages des addons. Il y en avait déjà une (peu utile) dans les paramètres des commandes, mais pas dans les options des addons, ce qui rend l'option peu explicite pour un débutant. * Corrections mineures * correction erreurs * correction erreurs (nametags) * correction erreurs et modules obsolètes (nametags) * correction erreurs et modules obsolètes (common) * Mise en commentaire d'éléments obsolètes * correction key error * Added Vdauphin suggestions :). * French translation - Replaced "Faction" (faction) to "Camp" (side) addons/captives/stringtable.xml addons/switchunits/stringtable.xml addons/zeus/stringtable.xml * Minor correction of french Concertina_wire translation * - (PabstMirror suggestions) Replace tabs by spaces, in addons/common/stringtable.xml - (PabstMirror suggestions) Replace xml comments by french plain text, in addons/common/stringtable.xml - Replace xml comments by french plain text, addons/explosives/stringtable.xml - Replace xml comments by french plain text, addons/nametags/stringtable.xml * Removed accented capital letters for objects in french translation : Capital accented letters were a problem because they were not classified alphabetically. Thus in Eden or in the arsenal, objects starting with a capital accented letter were systematically at the top of the list. modified: addons/chemlights/stringtable.xml modified: addons/huntir/stringtable.xml * Correction of a typing error (french concertina_wire translation
2019-12-19 17:08:31 +00:00
displayName = CSTRING(EnableSwitchUnits_DisplayName);
2015-05-14 18:59:25 +00:00
value = 0;
typeName = "BOOL";
};
class GVAR(switchToWest) {
category = CSTRING(DisplayName);
displayName = CSTRING(SwitchToWest_DisplayName);
description = CSTRING(SwitchToWest_Description);
2015-05-14 18:59:25 +00:00
value = 0;
typeName = "BOOL";
};
class GVAR(switchToEast) {
category = CSTRING(DisplayName);
displayName = CSTRING(SwitchToEast_DisplayName);
description = CSTRING(SwitchToEast_Description);
2015-05-14 18:59:25 +00:00
value = 0;
typeName = "BOOL";
};
class GVAR(switchToIndependent) {
category = CSTRING(DisplayName);
displayName = CSTRING(SwitchToIndependent_DisplayName);
description = CSTRING(SwitchToIndependent_Description);
2015-05-14 18:59:25 +00:00
value = 0;
typeName = "BOOL";
};
class GVAR(switchToCivilian) {
category = CSTRING(DisplayName);
displayName = CSTRING(SwitchToCivilian_DisplayName);
description = CSTRING(SwitchToCivilian_Description);
2015-05-14 18:59:25 +00:00
value = 0;
typeName = "BOOL";
};
class GVAR(enableSafeZone) {
category = CSTRING(DisplayName);
displayName = CSTRING(EnableSafeZone_DisplayName);
description = CSTRING(EnableSafeZone_Description);
2015-05-14 18:59:25 +00:00
value = 1;
typeName = "BOOL";
};
class GVAR(safeZoneRadius) {
category = CSTRING(DisplayName);
displayName = CSTRING(SafeZoneRadius_DisplayName);
description = CSTRING(SafeZoneRadius_Description);
2015-05-14 18:59:25 +00:00
value = 100;
typeName = "SCALAR";
sliderSettings[] = {0, 1000, 100, 0};
2015-05-14 18:59:25 +00:00
};
};