mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Translations for accessible labels https://github.com/seerge/g-helper/issues/1823
This commit is contained in:
20
app/Extra.Designer.cs
generated
20
app/Extra.Designer.cs
generated
@@ -148,7 +148,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// panelServices
|
// panelServices
|
||||||
//
|
//
|
||||||
panelServices.AccessibleName = "Asus Services";
|
|
||||||
panelServices.AccessibleRole = AccessibleRole.Grouping;
|
panelServices.AccessibleRole = AccessibleRole.Grouping;
|
||||||
panelServices.Controls.Add(pictureService);
|
panelServices.Controls.Add(pictureService);
|
||||||
panelServices.Controls.Add(labelServices);
|
panelServices.Controls.Add(labelServices);
|
||||||
@@ -245,7 +244,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// panelBindings
|
// panelBindings
|
||||||
//
|
//
|
||||||
panelBindings.AccessibleName = "Key Bindings";
|
|
||||||
panelBindings.AutoSize = true;
|
panelBindings.AutoSize = true;
|
||||||
panelBindings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
panelBindings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
panelBindings.Controls.Add(tableBindings);
|
panelBindings.Controls.Add(tableBindings);
|
||||||
@@ -259,7 +257,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// tableBindings
|
// tableBindings
|
||||||
//
|
//
|
||||||
tableBindings.AccessibleName = "Keyboard Bindings";
|
|
||||||
tableBindings.AccessibleRole = AccessibleRole.Table;
|
tableBindings.AccessibleRole = AccessibleRole.Table;
|
||||||
tableBindings.AutoSize = true;
|
tableBindings.AutoSize = true;
|
||||||
tableBindings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
tableBindings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
@@ -318,7 +315,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// comboFNE
|
// comboFNE
|
||||||
//
|
//
|
||||||
comboFNE.AccessibleName = "Fn+Numpad Action";
|
|
||||||
comboFNE.BorderColor = Color.White;
|
comboFNE.BorderColor = Color.White;
|
||||||
comboFNE.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboFNE.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
comboFNE.Dock = DockStyle.Top;
|
comboFNE.Dock = DockStyle.Top;
|
||||||
@@ -375,7 +371,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// comboM1
|
// comboM1
|
||||||
//
|
//
|
||||||
comboM1.AccessibleName = "M1 Action";
|
|
||||||
comboM1.BorderColor = Color.White;
|
comboM1.BorderColor = Color.White;
|
||||||
comboM1.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboM1.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
comboM1.Dock = DockStyle.Top;
|
comboM1.Dock = DockStyle.Top;
|
||||||
@@ -400,7 +395,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// comboM4
|
// comboM4
|
||||||
//
|
//
|
||||||
comboM4.AccessibleName = "M4 Action";
|
|
||||||
comboM4.BorderColor = Color.White;
|
comboM4.BorderColor = Color.White;
|
||||||
comboM4.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboM4.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
comboM4.Dock = DockStyle.Top;
|
comboM4.Dock = DockStyle.Top;
|
||||||
@@ -414,7 +408,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// comboM3
|
// comboM3
|
||||||
//
|
//
|
||||||
comboM3.AccessibleName = "M3 Action";
|
|
||||||
comboM3.BorderColor = Color.White;
|
comboM3.BorderColor = Color.White;
|
||||||
comboM3.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboM3.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
comboM3.Dock = DockStyle.Top;
|
comboM3.Dock = DockStyle.Top;
|
||||||
@@ -483,7 +476,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// comboM2
|
// comboM2
|
||||||
//
|
//
|
||||||
comboM2.AccessibleName = "M2 Action";
|
|
||||||
comboM2.BorderColor = Color.White;
|
comboM2.BorderColor = Color.White;
|
||||||
comboM2.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboM2.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
comboM2.Dock = DockStyle.Top;
|
comboM2.Dock = DockStyle.Top;
|
||||||
@@ -508,7 +500,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// comboFNF4
|
// comboFNF4
|
||||||
//
|
//
|
||||||
comboFNF4.AccessibleName = "Fn+F4 Action";
|
|
||||||
comboFNF4.BorderColor = Color.White;
|
comboFNF4.BorderColor = Color.White;
|
||||||
comboFNF4.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboFNF4.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
comboFNF4.Dock = DockStyle.Top;
|
comboFNF4.Dock = DockStyle.Top;
|
||||||
@@ -532,7 +523,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// comboFNC
|
// comboFNC
|
||||||
//
|
//
|
||||||
comboFNC.AccessibleName = "Fn+C Action";
|
|
||||||
comboFNC.BorderColor = Color.White;
|
comboFNC.BorderColor = Color.White;
|
||||||
comboFNC.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboFNC.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
comboFNC.Dock = DockStyle.Top;
|
comboFNC.Dock = DockStyle.Top;
|
||||||
@@ -653,7 +643,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// numericBacklightPluggedTime
|
// numericBacklightPluggedTime
|
||||||
//
|
//
|
||||||
numericBacklightPluggedTime.AccessibleName = "Backlight Timeout when plugged";
|
|
||||||
numericBacklightPluggedTime.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
numericBacklightPluggedTime.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
numericBacklightPluggedTime.Location = new Point(670, 63);
|
numericBacklightPluggedTime.Location = new Point(670, 63);
|
||||||
numericBacklightPluggedTime.Margin = new Padding(4, 3, 4, 3);
|
numericBacklightPluggedTime.Margin = new Padding(4, 3, 4, 3);
|
||||||
@@ -664,7 +653,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// numericBacklightTime
|
// numericBacklightTime
|
||||||
//
|
//
|
||||||
numericBacklightTime.AccessibleName = "Backlight Timeout when on battery";
|
|
||||||
numericBacklightTime.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
numericBacklightTime.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
numericBacklightTime.Location = new Point(822, 63);
|
numericBacklightTime.Location = new Point(822, 63);
|
||||||
numericBacklightTime.Margin = new Padding(4, 3, 4, 3);
|
numericBacklightTime.Margin = new Padding(4, 3, 4, 3);
|
||||||
@@ -693,7 +681,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// comboKeyboardSpeed
|
// comboKeyboardSpeed
|
||||||
//
|
//
|
||||||
comboKeyboardSpeed.AccessibleName = "Keyboard Animation Speed";
|
|
||||||
comboKeyboardSpeed.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
comboKeyboardSpeed.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
comboKeyboardSpeed.BorderColor = Color.White;
|
comboKeyboardSpeed.BorderColor = Color.White;
|
||||||
comboKeyboardSpeed.ButtonColor = SystemColors.ControlLight;
|
comboKeyboardSpeed.ButtonColor = SystemColors.ControlLight;
|
||||||
@@ -786,7 +773,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// checkAwake
|
// checkAwake
|
||||||
//
|
//
|
||||||
checkAwake.AccessibleName = "Awake Backlight";
|
|
||||||
checkAwake.Dock = DockStyle.Fill;
|
checkAwake.Dock = DockStyle.Fill;
|
||||||
checkAwake.Location = new Point(4, 45);
|
checkAwake.Location = new Point(4, 45);
|
||||||
checkAwake.Margin = new Padding(4, 0, 4, 0);
|
checkAwake.Margin = new Padding(4, 0, 4, 0);
|
||||||
@@ -799,7 +785,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// checkBoot
|
// checkBoot
|
||||||
//
|
//
|
||||||
checkBoot.AccessibleName = "Boot Backlight";
|
|
||||||
checkBoot.Dock = DockStyle.Fill;
|
checkBoot.Dock = DockStyle.Fill;
|
||||||
checkBoot.Location = new Point(4, 88);
|
checkBoot.Location = new Point(4, 88);
|
||||||
checkBoot.Margin = new Padding(4, 0, 4, 0);
|
checkBoot.Margin = new Padding(4, 0, 4, 0);
|
||||||
@@ -812,7 +797,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// checkSleep
|
// checkSleep
|
||||||
//
|
//
|
||||||
checkSleep.AccessibleName = "Sleep Backlight";
|
|
||||||
checkSleep.Dock = DockStyle.Fill;
|
checkSleep.Dock = DockStyle.Fill;
|
||||||
checkSleep.Location = new Point(4, 131);
|
checkSleep.Location = new Point(4, 131);
|
||||||
checkSleep.Margin = new Padding(4, 0, 4, 0);
|
checkSleep.Margin = new Padding(4, 0, 4, 0);
|
||||||
@@ -825,7 +809,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// checkShutdown
|
// checkShutdown
|
||||||
//
|
//
|
||||||
checkShutdown.AccessibleName = "Shutdown Backlight";
|
|
||||||
checkShutdown.Dock = DockStyle.Fill;
|
checkShutdown.Dock = DockStyle.Fill;
|
||||||
checkShutdown.Location = new Point(4, 174);
|
checkShutdown.Location = new Point(4, 174);
|
||||||
checkShutdown.Margin = new Padding(4, 0, 4, 0);
|
checkShutdown.Margin = new Padding(4, 0, 4, 0);
|
||||||
@@ -1065,7 +1048,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// panelSettings
|
// panelSettings
|
||||||
//
|
//
|
||||||
panelSettings.AccessibleName = "Extra Settings";
|
|
||||||
panelSettings.AccessibleRole = AccessibleRole.Grouping;
|
panelSettings.AccessibleRole = AccessibleRole.Grouping;
|
||||||
panelSettings.AutoSize = true;
|
panelSettings.AutoSize = true;
|
||||||
panelSettings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
panelSettings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
@@ -1200,7 +1182,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// numericHibernateAfter
|
// numericHibernateAfter
|
||||||
//
|
//
|
||||||
numericHibernateAfter.AccessibleName = "Minutes till Hibernation in sleep";
|
|
||||||
numericHibernateAfter.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
numericHibernateAfter.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
numericHibernateAfter.Increment = new decimal(new int[] { 10, 0, 0, 0 });
|
numericHibernateAfter.Increment = new decimal(new int[] { 10, 0, 0, 0 });
|
||||||
numericHibernateAfter.Location = new Point(810, 7);
|
numericHibernateAfter.Location = new Point(810, 7);
|
||||||
@@ -1247,7 +1228,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// comboAPU
|
// comboAPU
|
||||||
//
|
//
|
||||||
comboAPU.AccessibleName = "Keyboard Animation Speed";
|
|
||||||
comboAPU.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
comboAPU.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
comboAPU.BorderColor = Color.White;
|
comboAPU.BorderColor = Color.White;
|
||||||
comboAPU.ButtonColor = SystemColors.ControlLight;
|
comboAPU.ButtonColor = SystemColors.ControlLight;
|
||||||
|
|||||||
28
app/Extra.cs
28
app/Extra.cs
@@ -143,6 +143,34 @@ namespace GHelper
|
|||||||
|
|
||||||
Text = Properties.Strings.ExtraSettings;
|
Text = Properties.Strings.ExtraSettings;
|
||||||
|
|
||||||
|
// Accessible Labels
|
||||||
|
|
||||||
|
panelServices.AccessibleName = Properties.Strings.AsusServicesRunning;
|
||||||
|
panelBindings.AccessibleName = Properties.Strings.KeyBindings;
|
||||||
|
tableBindings.AccessibleName = Properties.Strings.KeyBindings;
|
||||||
|
|
||||||
|
comboM1.AccessibleName = "M1 Action";
|
||||||
|
comboM2.AccessibleName = "M2 Action";
|
||||||
|
comboM3.AccessibleName = "M3 Action";
|
||||||
|
comboM4.AccessibleName = "M4 Action";
|
||||||
|
comboFNF4.AccessibleName = "Fn+F4 Action";
|
||||||
|
comboFNC.AccessibleName = "Fn+C Action";
|
||||||
|
comboFNE.AccessibleName = "Fn+Numpad Action";
|
||||||
|
|
||||||
|
numericBacklightPluggedTime.AccessibleName = Properties.Strings.BacklightTimeoutPlugged;
|
||||||
|
numericBacklightTime.AccessibleName = Properties.Strings.BacklightTimeoutBattery;
|
||||||
|
|
||||||
|
comboKeyboardSpeed.AccessibleName = Properties.Strings.LaptopBacklight + " " +Properties.Strings.AnimationSpeed;
|
||||||
|
comboAPU.AccessibleName = Properties.Strings.LaptopBacklight + " " + Properties.Strings.AnimationSpeed;
|
||||||
|
|
||||||
|
checkBoot.AccessibleName = Properties.Strings.Boot + " " + Properties.Strings.LaptopBacklight;
|
||||||
|
checkAwake.AccessibleName = Properties.Strings.Awake + " " + Properties.Strings.LaptopBacklight;
|
||||||
|
checkSleep.AccessibleName = Properties.Strings.Sleep + " " + Properties.Strings.LaptopBacklight;
|
||||||
|
checkShutdown.AccessibleName = Properties.Strings.Shutdown + " " + Properties.Strings.LaptopBacklight;
|
||||||
|
|
||||||
|
panelSettings.AccessibleName = Properties.Strings.ExtraSettings;
|
||||||
|
numericHibernateAfter.AccessibleName = Properties.Strings.HibernateAfter;
|
||||||
|
|
||||||
if (AppConfig.IsARCNM())
|
if (AppConfig.IsARCNM())
|
||||||
{
|
{
|
||||||
labelM3.Text = "FN+F6";
|
labelM3.Text = "FN+F6";
|
||||||
|
|||||||
18
app/Properties/Strings.Designer.cs
generated
18
app/Properties/Strings.Designer.cs
generated
@@ -456,6 +456,24 @@ namespace GHelper.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Backlight Timeout when on battery.
|
||||||
|
/// </summary>
|
||||||
|
internal static string BacklightTimeoutBattery {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("BacklightTimeoutBattery", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Backlight Timeout when plugged.
|
||||||
|
/// </summary>
|
||||||
|
internal static string BacklightTimeoutPlugged {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("BacklightTimeoutPlugged", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Balanced.
|
/// Looks up a localized string similar to Balanced.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -249,6 +249,12 @@
|
|||||||
<data name="BacklightTimeout" xml:space="preserve">
|
<data name="BacklightTimeout" xml:space="preserve">
|
||||||
<value>Timeout plugged / on battery (0 - ON)</value>
|
<value>Timeout plugged / on battery (0 - ON)</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="BacklightTimeoutBattery" xml:space="preserve">
|
||||||
|
<value>Backlight Timeout when on battery</value>
|
||||||
|
</data>
|
||||||
|
<data name="BacklightTimeoutPlugged" xml:space="preserve">
|
||||||
|
<value>Backlight Timeout when plugged</value>
|
||||||
|
</data>
|
||||||
<data name="Balanced" xml:space="preserve">
|
<data name="Balanced" xml:space="preserve">
|
||||||
<value>Balanced</value>
|
<value>Balanced</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
25
app/Settings.Designer.cs
generated
25
app/Settings.Designer.cs
generated
@@ -145,7 +145,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// panelMatrix
|
// panelMatrix
|
||||||
//
|
//
|
||||||
panelMatrix.AccessibleName = "Anime Matrix";
|
|
||||||
panelMatrix.AccessibleRole = AccessibleRole.Grouping;
|
panelMatrix.AccessibleRole = AccessibleRole.Grouping;
|
||||||
panelMatrix.AutoSize = true;
|
panelMatrix.AutoSize = true;
|
||||||
panelMatrix.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
panelMatrix.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
@@ -312,7 +311,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// sliderBattery
|
// sliderBattery
|
||||||
//
|
//
|
||||||
sliderBattery.AccessibleName = "Battery Charge Limit";
|
|
||||||
sliderBattery.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
sliderBattery.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
sliderBattery.Location = new Point(20, 65);
|
sliderBattery.Location = new Point(20, 65);
|
||||||
sliderBattery.Margin = new Padding(4);
|
sliderBattery.Margin = new Padding(4);
|
||||||
@@ -420,7 +418,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonQuit
|
// buttonQuit
|
||||||
//
|
//
|
||||||
buttonQuit.AccessibleName = "Quit Application";
|
|
||||||
buttonQuit.Activated = false;
|
buttonQuit.Activated = false;
|
||||||
buttonQuit.BackColor = SystemColors.ControlLight;
|
buttonQuit.BackColor = SystemColors.ControlLight;
|
||||||
buttonQuit.BorderColor = Color.Transparent;
|
buttonQuit.BorderColor = Color.Transparent;
|
||||||
@@ -441,7 +438,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonUpdates
|
// buttonUpdates
|
||||||
//
|
//
|
||||||
buttonUpdates.AccessibleName = "BIOS and Driver Updates";
|
|
||||||
buttonUpdates.Activated = false;
|
buttonUpdates.Activated = false;
|
||||||
buttonUpdates.BackColor = SystemColors.ControlLight;
|
buttonUpdates.BackColor = SystemColors.ControlLight;
|
||||||
buttonUpdates.BorderColor = Color.Transparent;
|
buttonUpdates.BorderColor = Color.Transparent;
|
||||||
@@ -473,7 +469,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// panelPerformance
|
// panelPerformance
|
||||||
//
|
//
|
||||||
panelPerformance.AccessibleName = "Performance";
|
|
||||||
panelPerformance.AccessibleRole = AccessibleRole.Grouping;
|
panelPerformance.AccessibleRole = AccessibleRole.Grouping;
|
||||||
panelPerformance.AutoSize = true;
|
panelPerformance.AutoSize = true;
|
||||||
panelPerformance.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
panelPerformance.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
@@ -512,7 +507,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonSilent
|
// buttonSilent
|
||||||
//
|
//
|
||||||
buttonSilent.AccessibleName = "Silent Mode";
|
|
||||||
buttonSilent.Activated = false;
|
buttonSilent.Activated = false;
|
||||||
buttonSilent.BackColor = SystemColors.ControlLightLight;
|
buttonSilent.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonSilent.BackgroundImageLayout = ImageLayout.None;
|
buttonSilent.BackgroundImageLayout = ImageLayout.None;
|
||||||
@@ -536,7 +530,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonBalanced
|
// buttonBalanced
|
||||||
//
|
//
|
||||||
buttonBalanced.AccessibleName = "Balanced Mode";
|
|
||||||
buttonBalanced.Activated = false;
|
buttonBalanced.Activated = false;
|
||||||
buttonBalanced.BackColor = SystemColors.ControlLightLight;
|
buttonBalanced.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonBalanced.BorderColor = Color.Transparent;
|
buttonBalanced.BorderColor = Color.Transparent;
|
||||||
@@ -559,7 +552,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonTurbo
|
// buttonTurbo
|
||||||
//
|
//
|
||||||
buttonTurbo.AccessibleName = "Turbo Mode";
|
|
||||||
buttonTurbo.Activated = false;
|
buttonTurbo.Activated = false;
|
||||||
buttonTurbo.BackColor = SystemColors.ControlLightLight;
|
buttonTurbo.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonTurbo.BorderColor = Color.Transparent;
|
buttonTurbo.BorderColor = Color.Transparent;
|
||||||
@@ -582,7 +574,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonFans
|
// buttonFans
|
||||||
//
|
//
|
||||||
buttonFans.AccessibleName = "Fans and Power Settings";
|
|
||||||
buttonFans.Activated = false;
|
buttonFans.Activated = false;
|
||||||
buttonFans.BackColor = SystemColors.ControlLight;
|
buttonFans.BackColor = SystemColors.ControlLight;
|
||||||
buttonFans.BorderColor = Color.Transparent;
|
buttonFans.BorderColor = Color.Transparent;
|
||||||
@@ -654,7 +645,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// panelGPU
|
// panelGPU
|
||||||
//
|
//
|
||||||
panelGPU.AccessibleName = "GPU";
|
|
||||||
panelGPU.AccessibleRole = AccessibleRole.Grouping;
|
panelGPU.AccessibleRole = AccessibleRole.Grouping;
|
||||||
panelGPU.AutoSize = true;
|
panelGPU.AutoSize = true;
|
||||||
panelGPU.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
panelGPU.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
@@ -731,7 +721,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonEco
|
// buttonEco
|
||||||
//
|
//
|
||||||
buttonEco.AccessibleName = "Eco GPU Mode";
|
|
||||||
buttonEco.Activated = false;
|
buttonEco.Activated = false;
|
||||||
buttonEco.BackColor = SystemColors.ControlLightLight;
|
buttonEco.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonEco.BorderColor = Color.Transparent;
|
buttonEco.BorderColor = Color.Transparent;
|
||||||
@@ -755,7 +744,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonStandard
|
// buttonStandard
|
||||||
//
|
//
|
||||||
buttonStandard.AccessibleName = "Standard GPU Mode";
|
|
||||||
buttonStandard.Activated = false;
|
buttonStandard.Activated = false;
|
||||||
buttonStandard.BackColor = SystemColors.ControlLightLight;
|
buttonStandard.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonStandard.BorderColor = Color.Transparent;
|
buttonStandard.BorderColor = Color.Transparent;
|
||||||
@@ -801,7 +789,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonOptimized
|
// buttonOptimized
|
||||||
//
|
//
|
||||||
buttonOptimized.AccessibleName = "Optimized GPU Mode";
|
|
||||||
buttonOptimized.Activated = false;
|
buttonOptimized.Activated = false;
|
||||||
buttonOptimized.BackColor = SystemColors.ControlLightLight;
|
buttonOptimized.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonOptimized.BorderColor = Color.Transparent;
|
buttonOptimized.BorderColor = Color.Transparent;
|
||||||
@@ -824,7 +811,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonUltimate
|
// buttonUltimate
|
||||||
//
|
//
|
||||||
buttonUltimate.AccessibleName = "Ultimate GPU Mode";
|
|
||||||
buttonUltimate.Activated = false;
|
buttonUltimate.Activated = false;
|
||||||
buttonUltimate.BackColor = SystemColors.ControlLightLight;
|
buttonUltimate.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonUltimate.BorderColor = Color.Transparent;
|
buttonUltimate.BorderColor = Color.Transparent;
|
||||||
@@ -892,7 +878,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// panelScreen
|
// panelScreen
|
||||||
//
|
//
|
||||||
panelScreen.AccessibleName = "Screen";
|
|
||||||
panelScreen.AccessibleRole = AccessibleRole.Grouping;
|
panelScreen.AccessibleRole = AccessibleRole.Grouping;
|
||||||
panelScreen.AutoSize = true;
|
panelScreen.AutoSize = true;
|
||||||
panelScreen.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
panelScreen.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
@@ -942,7 +927,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonScreenAuto
|
// buttonScreenAuto
|
||||||
//
|
//
|
||||||
buttonScreenAuto.AccessibleName = "Auto Screen Refresh Rate";
|
|
||||||
buttonScreenAuto.Activated = false;
|
buttonScreenAuto.Activated = false;
|
||||||
buttonScreenAuto.BackColor = SystemColors.ControlLightLight;
|
buttonScreenAuto.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonScreenAuto.BorderColor = Color.Transparent;
|
buttonScreenAuto.BorderColor = Color.Transparent;
|
||||||
@@ -962,7 +946,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// button60Hz
|
// button60Hz
|
||||||
//
|
//
|
||||||
button60Hz.AccessibleName = "60Hz Refresh Rate";
|
|
||||||
button60Hz.Activated = false;
|
button60Hz.Activated = false;
|
||||||
button60Hz.BackColor = SystemColors.ControlLightLight;
|
button60Hz.BackColor = SystemColors.ControlLightLight;
|
||||||
button60Hz.BorderColor = Color.Transparent;
|
button60Hz.BorderColor = Color.Transparent;
|
||||||
@@ -983,7 +966,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// button120Hz
|
// button120Hz
|
||||||
//
|
//
|
||||||
button120Hz.AccessibleName = "Maximum Refresh Rate";
|
|
||||||
button120Hz.Activated = false;
|
button120Hz.Activated = false;
|
||||||
button120Hz.BackColor = SystemColors.ControlLightLight;
|
button120Hz.BackColor = SystemColors.ControlLightLight;
|
||||||
button120Hz.BorderColor = Color.Transparent;
|
button120Hz.BorderColor = Color.Transparent;
|
||||||
@@ -1068,7 +1050,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// panelKeyboard
|
// panelKeyboard
|
||||||
//
|
//
|
||||||
panelKeyboard.AccessibleName = "Keyboard";
|
|
||||||
panelKeyboard.AccessibleRole = AccessibleRole.Grouping;
|
panelKeyboard.AccessibleRole = AccessibleRole.Grouping;
|
||||||
panelKeyboard.AutoSize = true;
|
panelKeyboard.AutoSize = true;
|
||||||
panelKeyboard.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
panelKeyboard.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
@@ -1105,7 +1086,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonKeyboard
|
// buttonKeyboard
|
||||||
//
|
//
|
||||||
buttonKeyboard.AccessibleName = "Extra Settings";
|
|
||||||
buttonKeyboard.Activated = false;
|
buttonKeyboard.Activated = false;
|
||||||
buttonKeyboard.BackColor = SystemColors.ControlLight;
|
buttonKeyboard.BackColor = SystemColors.ControlLight;
|
||||||
buttonKeyboard.BorderColor = Color.Transparent;
|
buttonKeyboard.BorderColor = Color.Transparent;
|
||||||
@@ -1160,7 +1140,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonKeyboardColor
|
// buttonKeyboardColor
|
||||||
//
|
//
|
||||||
buttonKeyboardColor.AccessibleName = "Keyboard Color";
|
|
||||||
buttonKeyboardColor.Activated = false;
|
buttonKeyboardColor.Activated = false;
|
||||||
buttonKeyboardColor.BackColor = SystemColors.ButtonHighlight;
|
buttonKeyboardColor.BackColor = SystemColors.ButtonHighlight;
|
||||||
buttonKeyboardColor.BorderColor = Color.Transparent;
|
buttonKeyboardColor.BorderColor = Color.Transparent;
|
||||||
@@ -1179,7 +1158,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// comboKeyboard
|
// comboKeyboard
|
||||||
//
|
//
|
||||||
comboKeyboard.AccessibleName = "Keyboard Backlight Mode";
|
|
||||||
comboKeyboard.BorderColor = Color.White;
|
comboKeyboard.BorderColor = Color.White;
|
||||||
comboKeyboard.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboKeyboard.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
comboKeyboard.Dock = DockStyle.Top;
|
comboKeyboard.Dock = DockStyle.Top;
|
||||||
@@ -1310,7 +1288,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonPeripheral3
|
// buttonPeripheral3
|
||||||
//
|
//
|
||||||
buttonPeripheral3.AccessibleName = "Peripheral 3";
|
|
||||||
buttonPeripheral3.Activated = false;
|
buttonPeripheral3.Activated = false;
|
||||||
buttonPeripheral3.BackColor = SystemColors.ControlLightLight;
|
buttonPeripheral3.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonPeripheral3.BorderColor = Color.Transparent;
|
buttonPeripheral3.BorderColor = Color.Transparent;
|
||||||
@@ -1335,7 +1312,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonPeripheral2
|
// buttonPeripheral2
|
||||||
//
|
//
|
||||||
buttonPeripheral2.AccessibleName = "Peripheral 2";
|
|
||||||
buttonPeripheral2.Activated = false;
|
buttonPeripheral2.Activated = false;
|
||||||
buttonPeripheral2.BackColor = SystemColors.ControlLightLight;
|
buttonPeripheral2.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonPeripheral2.BorderColor = Color.Transparent;
|
buttonPeripheral2.BorderColor = Color.Transparent;
|
||||||
@@ -1360,7 +1336,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// buttonPeripheral1
|
// buttonPeripheral1
|
||||||
//
|
//
|
||||||
buttonPeripheral1.AccessibleName = "Peripheral 1";
|
|
||||||
buttonPeripheral1.Activated = false;
|
buttonPeripheral1.Activated = false;
|
||||||
buttonPeripheral1.BackColor = SystemColors.ControlLightLight;
|
buttonPeripheral1.BackColor = SystemColors.ControlLightLight;
|
||||||
buttonPeripheral1.BorderColor = Color.Transparent;
|
buttonPeripheral1.BorderColor = Color.Transparent;
|
||||||
|
|||||||
@@ -87,6 +87,33 @@ namespace GHelper
|
|||||||
buttonQuit.Text = Properties.Strings.Quit;
|
buttonQuit.Text = Properties.Strings.Quit;
|
||||||
buttonUpdates.Text = Properties.Strings.Updates;
|
buttonUpdates.Text = Properties.Strings.Updates;
|
||||||
|
|
||||||
|
// Accessible Labels
|
||||||
|
|
||||||
|
panelMatrix.AccessibleName = Properties.Strings.AnimeMatrix;
|
||||||
|
sliderBattery.AccessibleName = Properties.Strings.BatteryChargeLimit;
|
||||||
|
buttonQuit.AccessibleName = Properties.Strings.Quit;
|
||||||
|
buttonUpdates.AccessibleName = Properties.Strings.BiosAndDriverUpdates;
|
||||||
|
panelPerformance.AccessibleName = Properties.Strings.PerformanceMode;
|
||||||
|
buttonSilent.AccessibleName = Properties.Strings.Silent;
|
||||||
|
buttonBalanced.AccessibleName = Properties.Strings.Balanced;
|
||||||
|
buttonTurbo.AccessibleName = Properties.Strings.Turbo;
|
||||||
|
buttonFans.AccessibleName = Properties.Strings.FansAndPower;
|
||||||
|
panelGPU.AccessibleName = Properties.Strings.GPUMode;
|
||||||
|
buttonEco.AccessibleName = Properties.Strings.EcoMode;
|
||||||
|
buttonStandard.AccessibleName = Properties.Strings.StandardMode;
|
||||||
|
buttonOptimized.AccessibleName = Properties.Strings.Optimized;
|
||||||
|
buttonUltimate.AccessibleName = Properties.Strings.UltimateMode;
|
||||||
|
panelScreen.AccessibleName = Properties.Strings.LaptopScreen;
|
||||||
|
|
||||||
|
buttonScreenAuto.AccessibleName = Properties.Strings.AutoMode;
|
||||||
|
//button60Hz.AccessibleName = "60Hz Refresh Rate";
|
||||||
|
//button120Hz.AccessibleName = "Maximum Refresh Rate";
|
||||||
|
|
||||||
|
panelKeyboard.AccessibleName = Properties.Strings.LaptopKeyboard;
|
||||||
|
buttonKeyboard.AccessibleName = Properties.Strings.ExtraSettings;
|
||||||
|
buttonKeyboardColor.AccessibleName = Properties.Strings.LaptopKeyboard + " " + Properties.Strings.Color;
|
||||||
|
comboKeyboard.AccessibleName = Properties.Strings.LaptopBacklight;
|
||||||
|
|
||||||
FormClosing += SettingsForm_FormClosing;
|
FormClosing += SettingsForm_FormClosing;
|
||||||
Deactivate += SettingsForm_LostFocus;
|
Deactivate += SettingsForm_LostFocus;
|
||||||
|
|
||||||
@@ -1044,7 +1071,7 @@ namespace GHelper
|
|||||||
Invoke(delegate
|
Invoke(delegate
|
||||||
{
|
{
|
||||||
labelPerf.Text = modeText;
|
labelPerf.Text = modeText;
|
||||||
panelPerformance.AccessibleName = labelPerf.Text; // + ". " + Program.trayIcon.Text;
|
panelPerformance.AccessibleName = labelPerf.Text;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user