mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
some commy suggestions
This commit is contained in:
parent
9bb5e5daf4
commit
438941ff0e
@ -32,7 +32,7 @@ private _settingEH = ["CBA_SettingChanged", {
|
|||||||
if (_altValue < 10) then {
|
if (_altValue < 10) then {
|
||||||
_altValue = _altValue toFixed 1;
|
_altValue = _altValue toFixed 1;
|
||||||
} else {
|
} else {
|
||||||
_altValue = str round _altValue;
|
_altValue = _altValue toFixed 0;
|
||||||
};
|
};
|
||||||
_alt ctrlSetText _altValue;
|
_alt ctrlSetText _altValue;
|
||||||
}, 0, [_ctrl, _alt, _settingEH]] call CBA_fnc_addPerFrameHandler;
|
}, 0, [_ctrl, _alt, _settingEH]] call CBA_fnc_addPerFrameHandler;
|
||||||
|
@ -28,5 +28,5 @@ private _settingEH = ["CBA_SettingChanged", {
|
|||||||
};
|
};
|
||||||
_ctrl ctrlSetFade 1;
|
_ctrl ctrlSetFade 1;
|
||||||
_ctrl ctrlCommit 0;
|
_ctrl ctrlCommit 0;
|
||||||
_speed ctrlSetText str (round (speed vehicle ace_player / GVAR(speedRatio)));
|
_speed ctrlSetText ((speed vehicle ace_player / GVAR(speedRatio)) toFixed 0);
|
||||||
}, 0, [_ctrl, _speed, _settingEH]] call CBA_fnc_addPerFrameHandler;
|
}, 0, [_ctrl, _speed, _settingEH]] call CBA_fnc_addPerFrameHandler;
|
||||||
|
@ -3,44 +3,56 @@
|
|||||||
<Package name="Units">
|
<Package name="Units">
|
||||||
<Key ID="STR_ACE_Units_Module_DisplayName">
|
<Key ID="STR_ACE_Units_Module_DisplayName">
|
||||||
<English>Units</English>
|
<English>Units</English>
|
||||||
|
<German>Maßeinheiten</German>
|
||||||
</Key>
|
</Key>
|
||||||
|
|
||||||
<Key ID="STR_ACE_Units_Speed_DisplayName">
|
<Key ID="STR_ACE_Units_Speed_DisplayName">
|
||||||
<English>Speed</English>
|
<English>Speed</English>
|
||||||
|
<German>Geschwindigkeit</German>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_Units_Speed_Description">
|
<Key ID="STR_ACE_Units_Speed_Description">
|
||||||
<English>Units used to display Speed</English>
|
<English>Units used to display Speed.</English>
|
||||||
|
<German>Maßeinheit, um Geschwindigkeit darzustellen.</German>
|
||||||
</Key>
|
</Key>
|
||||||
|
|
||||||
<Key ID="STR_ACE_Units_Alt_DisplayName">
|
<Key ID="STR_ACE_Units_Alt_DisplayName">
|
||||||
<English>Altitude</English>
|
<English>Altitude</English>
|
||||||
|
<German>Flughöhe</German>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_Units_Alt_Description">
|
<Key ID="STR_ACE_Units_Alt_Description">
|
||||||
<English>Units used to display Altitude</English>
|
<English>Units used to display Altitude.</English>
|
||||||
|
<German>Maßeinheit, um Flughöhe darzustellen.</German>
|
||||||
</Key>
|
</Key>
|
||||||
|
|
||||||
<Key ID="STR_ACE_Units_Land_DisplayName">
|
<Key ID="STR_ACE_Units_Land_DisplayName">
|
||||||
<English>Land Vehicles</English>
|
<English>Land Vehicles</English>
|
||||||
|
<German>Bodenfahrzeuge</German>
|
||||||
</Key>
|
</Key>
|
||||||
|
|
||||||
<Key ID="STR_ACE_Units_Speed_KMH">
|
<Key ID="STR_ACE_Units_Speed_KMH">
|
||||||
<English>km/h</English>
|
<English>km/h</English>
|
||||||
|
<German>km/h</German>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_Units_Speed_MPH">
|
<Key ID="STR_ACE_Units_Speed_MPH">
|
||||||
<English>mph</English>
|
<English>mph</English>
|
||||||
|
<German>mph</German>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_Units_Speed_KNOT">
|
<Key ID="STR_ACE_Units_Speed_KNOT">
|
||||||
<English>kn</English>
|
<English>kn</English>
|
||||||
|
<German>kn</German>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_Units_Speed_MS">
|
<Key ID="STR_ACE_Units_Speed_MS">
|
||||||
<English>m/s</English>
|
<English>m/s</English>
|
||||||
|
<German>m/s</German>
|
||||||
</Key>
|
</Key>
|
||||||
|
|
||||||
<Key ID="STR_ACE_Units_Alt_M">
|
<Key ID="STR_ACE_Units_Alt_M">
|
||||||
<English>Meters</English>
|
<English>Meters</English>
|
||||||
|
<German>Meter</German>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_Units_Alt_F">
|
<Key ID="STR_ACE_Units_Alt_F">
|
||||||
<English>Feet</English>
|
<English>Feet</English>
|
||||||
|
<German>Fuß</German>
|
||||||
</Key>
|
</Key>
|
||||||
</Package>
|
</Package>
|
||||||
</Project>
|
</Project>
|
||||||
|
Loading…
Reference in New Issue
Block a user