Skip to content

Commit

Permalink
feat(Mute): Add localization and proper spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Belphemur committed Apr 2, 2021
1 parent f03f427 commit c062df5
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 19 deletions.
9 changes: 9 additions & 0 deletions SoundSwitch/Localization/SettingsStrings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions SoundSwitch/Localization/SettingsStrings.fr.resx
Original file line number Diff line number Diff line change
Expand Up @@ -436,4 +436,7 @@ Restaurer l'état du système quand l'application est fermée.</value>
<data name="notification.microphone.unmuted" xml:space="preserve">
<value>{0} est réactivé.</value>
</data>
<data name="mute.toggle.label" xml:space="preserve">
<value>Sourdine</value>
</data>
</root>
3 changes: 3 additions & 0 deletions SoundSwitch/Localization/SettingsStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -456,4 +456,7 @@ Restore the state of the system when the application is closed.</value>
<data name="notification.microphone.unmuted" xml:space="preserve">
<value>{0} is now unmuted.</value>
</data>
<data name="mute.toggle.label" xml:space="preserve">
<value>Toggle mute</value>
</data>
</root>
38 changes: 19 additions & 19 deletions SoundSwitch/UI/Forms/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions SoundSwitch/UI/Forms/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ private void LocalizeForm()
// Misc
hotkeysCheckBox.Text = SettingsStrings.hotkeyEnabled;
closeButton.Text = SettingsStrings.close;
toggleMuteLabel.Text = SettingsStrings.mute_toggle_label;
muteHotKeyCheckbox.Text = SettingsStrings.hotkeyEnabled;
}


Expand Down

0 comments on commit c062df5

Please sign in to comment.