Skip to content

Commit

Permalink
hotfix, bumped version and fixed tooltip localisation that threw errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Crowdedlight committed Jul 24, 2024
1 parent 24d5280 commit 802dd2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion addons/main/script_version.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#define MAJOR 2
#define MINOR 2
#define PATCH 0
#define PATCH 1
12 changes: 6 additions & 6 deletions addons/spectrum/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ private _autolineColourLabels = GVAR(spectrumAutolineColours) apply { _x select
[
QGVAR(spectrumAutoline), // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"CHECKBOX", // setting type
[localize "STR_CROWSEW_Spectrum_settings_autoline_enable", parseText localize "STR_CROWSEW_Spectrum_settings_autoline_enable_tooltip"],
[localize "STR_CROWSEW_Spectrum_settings_autoline_enable", [localize "STR_CROWSEW_Spectrum_settings_autoline_enable_tooltip", "<br/>", endl] call CBA_fnc_replace],
["Crows Electronic Warfare", localize "STR_CROWSEW_Spectrum_settings_autoline_catageory"],
true,
nil
Expand Down Expand Up @@ -304,7 +304,7 @@ private _autolineColourLabels = GVAR(spectrumAutolineColours) apply { _x select
[
QGVAR(spectrumAutolineNoise), // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting.
"SLIDER", // setting type
[localize "STR_CROWSEW_Spectrum_settings_autoline_deviation", parseText localize "STR_CROWSEW_Spectrum_settings_autoline_deviation_tooltip"],
[localize "STR_CROWSEW_Spectrum_settings_autoline_deviation", [localize "STR_CROWSEW_Spectrum_settings_autoline_deviation_tooltip", "<br/>", endl] call CBA_fnc_replace],
["Crows Electronic Warfare", localize "STR_CROWSEW_Spectrum_settings_autoline_catageory"],
[0, 100, 0, 0],
nil
Expand All @@ -315,7 +315,7 @@ private _autolineColourLabels = GVAR(spectrumAutolineColours) apply { _x select
GVAR(spectrumAutolineC1Keybind) = [
["Crows Electronic Warfare", "Spectrum"],
"spectrum_autoline_c1",
[localize "STR_CROWSEW_Spectrum_keybinds_autoline_color1", parseText localize "STR_CROWSEW_Spectrum_keybinds_autoline_tooltip"],
[localize "STR_CROWSEW_Spectrum_keybinds_autoline_color1", [localize "STR_CROWSEW_Spectrum_keybinds_autoline_tooltip", "<br/>", endl] call CBA_fnc_replace],
{ [GVAR(spectrumAutolineColor1)] call FUNC(drawSpectrumLine); },
"",
[DIK_SPACE, [false, false, false]], // [DIK code, [Shift?, Ctrl?, Alt?]]
Expand All @@ -325,7 +325,7 @@ GVAR(spectrumAutolineC1Keybind) = [
GVAR(spectrumAutolineC2Keybind) = [
["Crows Electronic Warfare", "Spectrum"],
"spectrum_autoline_c2",
[localize "STR_CROWSEW_Spectrum_keybinds_autoline_color2", parseText localize "STR_CROWSEW_Spectrum_keybinds_autoline_tooltip"],
[localize "STR_CROWSEW_Spectrum_keybinds_autoline_color2", [localize "STR_CROWSEW_Spectrum_keybinds_autoline_tooltip", "<br/>", endl] call CBA_fnc_replace],
{ [GVAR(spectrumAutolineColor2)] call FUNC(drawSpectrumLine); },
"",
[DIK_SPACE, [false, true, false]], // [DIK code, [Shift?, Ctrl?, Alt?]]
Expand All @@ -335,7 +335,7 @@ GVAR(spectrumAutolineC2Keybind) = [
GVAR(spectrumAutolineC3Keybind) = [
["Crows Electronic Warfare", "Spectrum"],
"spectrum_autoline_c3",
[localize "STR_CROWSEW_Spectrum_keybinds_autoline_color3", parseText localize "STR_CROWSEW_Spectrum_keybinds_autoline_tooltip"],
[localize "STR_CROWSEW_Spectrum_keybinds_autoline_color3", [localize "STR_CROWSEW_Spectrum_keybinds_autoline_tooltip", "<br/>", endl] call CBA_fnc_replace],
{ [GVAR(spectrumAutolineColor3)] call FUNC(drawSpectrumLine); },
"",
[DIK_SPACE, [true, false, false]], // [DIK code, [Shift?, Ctrl?, Alt?]]
Expand All @@ -345,7 +345,7 @@ GVAR(spectrumAutolineC3Keybind) = [
GVAR(spectrumAutolineC4Keybind) = [
["Crows Electronic Warfare", "Spectrum"],
"spectrum_autoline_c4",
[localize "STR_CROWSEW_Spectrum_keybinds_autoline_color4", parseText localize "STR_CROWSEW_Spectrum_keybinds_autoline_tooltip"],
[localize "STR_CROWSEW_Spectrum_keybinds_autoline_color4", [localize "STR_CROWSEW_Spectrum_keybinds_autoline_tooltip", "<br/>", endl] call CBA_fnc_replace],
{ [GVAR(spectrumAutolineColor4)] call FUNC(drawSpectrumLine); },
"",
[DIK_SPACE, [false, false, true]], // [DIK code, [Shift?, Ctrl?, Alt?]]
Expand Down

0 comments on commit 802dd2e

Please sign in to comment.