Skip to content

Commit

Permalink
lang(telemetry): add localization for telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Belphemur committed Aug 23, 2021
1 parent 0161ec0 commit 227a32c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 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
Expand Up @@ -445,4 +445,7 @@ Restaurer l'état du système quand l'application est fermée.</value>
<data name="profile.trigger.trayMenu.desc" xml:space="preserve">
<value>Le profile sera visible dans le menu de l'application. Cliquer avec le bouton gauche sur l'icone de l'application.</value>
</data>
<data name="telemetry" xml:space="preserve">
<value>Télémétrie</value>
</data>
</root>
3 changes: 3 additions & 0 deletions SoundSwitch/Localization/SettingsStrings.resx
Expand Up @@ -465,4 +465,7 @@ Restore the state of the system when the application is closed.</value>
<data name="profile.trigger.trayMenu.desc" xml:space="preserve">
<value>This trigger make the profile visible in the tray icon menu. Left-click on the systray icon to see your profile.</value>
</data>
<data name="telemetry" xml:space="preserve">
<value>Telemetry</value>
</data>
</root>
1 change: 1 addition & 0 deletions SoundSwitch/UI/Forms/Settings.cs
Expand Up @@ -180,6 +180,7 @@ public SettingsForm(IAudioDeviceLister audioDeviceLister)
toggleMuteLabel.Visible = false;

telemetryCheckbox.DataBindings.Add(nameof(CheckBox.Checked), AppModel.Instance, nameof(AppModel.Telemetry), false, DataSourceUpdateMode.OnPropertyChanged);
telemetryCheckbox.Text = SettingsStrings.telemetry;

PopulateSettings();

Expand Down

0 comments on commit 227a32c

Please sign in to comment.