Skip to content

Commit c062df5

Browse files
committed
feat(Mute): Add localization and proper spacing
1 parent f03f427 commit c062df5

File tree

5 files changed

+36
-19
lines changed

5 files changed

+36
-19
lines changed

SoundSwitch/Localization/SettingsStrings.Designer.cs

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SoundSwitch/Localization/SettingsStrings.fr.resx

+3
Original file line numberDiff line numberDiff line change
@@ -436,4 +436,7 @@ Restaurer l'état du système quand l'application est fermée.</value>
436436
<data name="notification.microphone.unmuted" xml:space="preserve">
437437
<value>{0} est réactivé.</value>
438438
</data>
439+
<data name="mute.toggle.label" xml:space="preserve">
440+
<value>Sourdine</value>
441+
</data>
439442
</root>

SoundSwitch/Localization/SettingsStrings.resx

+3
Original file line numberDiff line numberDiff line change
@@ -456,4 +456,7 @@ Restore the state of the system when the application is closed.</value>
456456
<data name="notification.microphone.unmuted" xml:space="preserve">
457457
<value>{0} is now unmuted.</value>
458458
</data>
459+
<data name="mute.toggle.label" xml:space="preserve">
460+
<value>Toggle mute</value>
461+
</data>
459462
</root>

SoundSwitch/UI/Forms/Settings.Designer.cs

+19-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SoundSwitch/UI/Forms/Settings.cs

+2
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,8 @@ private void LocalizeForm()
336336
// Misc
337337
hotkeysCheckBox.Text = SettingsStrings.hotkeyEnabled;
338338
closeButton.Text = SettingsStrings.close;
339+
toggleMuteLabel.Text = SettingsStrings.mute_toggle_label;
340+
muteHotKeyCheckbox.Text = SettingsStrings.hotkeyEnabled;
339341
}
340342

341343

0 commit comments

Comments
 (0)