Skip to content

Commit 8762f51

Browse files
committed
1.7.15-2
Added Close program to action selection
1 parent 3f7876b commit 8762f51

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

Source/HDRProfile/Profiles/Actions/CloseProgramAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace AutoHDR.Profiles.Actions
1818
[JsonObject(MemberSerialization.OptIn)]
1919
public class CloseProgramAction : ProfileActionBase
2020
{
21-
public override string ActionTypeName => ProjectResources.Locale_Texts.CloseProgram;
21+
public override string ActionTypeName => ProjectResources.Locale_Texts.CloseProgramAction;
2222

2323

2424
private string _processName = "";

Source/HDRProfile/Profiles/Actions/ProfileActionAdder.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ public List<ActionTypeDescription> ProfileActions
6262
{
6363
get
6464
{
65-
return new List<ActionTypeDescription>() { new ActionTypeDescription(typeof(DisplayAction), Locale_Texts.DisplayAction), new ActionTypeDescription(typeof(RunProgramAction), Locale_Texts.RunProgramAction), new ActionTypeDescription(typeof(AudioDeviceAction), Locale_Texts.AudioAction) };
65+
return new List<ActionTypeDescription>() {
66+
new ActionTypeDescription(typeof(DisplayAction), Locale_Texts.DisplayAction),
67+
new ActionTypeDescription(typeof(RunProgramAction), Locale_Texts.RunProgramAction),
68+
new ActionTypeDescription(typeof(CloseProgramAction), Locale_Texts.CloseProgramAction),
69+
new ActionTypeDescription(typeof(AudioDeviceAction), Locale_Texts.AudioAction) };
6670
}
6771
}
6872

Source/HDRProfile/ProjectResources/Locale_Texts.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Source/HDRProfile/ProjectResources/Locale_Texts.de.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
<data name="Close" xml:space="preserve">
193193
<value>Beenden</value>
194194
</data>
195-
<data name="CloseProgram" xml:space="preserve">
195+
<data name="CloseProgramAction" xml:space="preserve">
196196
<value>Programm beenden</value>
197197
</data>
198198
<data name="ColorDepth" xml:space="preserve">

Source/HDRProfile/ProjectResources/Locale_Texts.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
<data name="Close" xml:space="preserve">
199199
<value>Close</value>
200200
</data>
201-
<data name="CloseProgram" xml:space="preserve">
201+
<data name="CloseProgramAction" xml:space="preserve">
202202
<value>Close program</value>
203203
</data>
204204
<data name="ColorDepth" xml:space="preserve">

0 commit comments

Comments
 (0)