Skip to content

Commit

Permalink
Add a button for disabling custom sound
Browse files Browse the repository at this point in the history
Fixes #261
  • Loading branch information
Antoine Aflalo committed May 11, 2018
1 parent 8f8d710 commit 96bbc17
Show file tree
Hide file tree
Showing 11 changed files with 211 additions and 144 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 @@ -257,4 +257,7 @@ Ban. : Bannière discrète sur fond noir transparent sur le coté gauche de l'é
<data name="notificationOptionBanner" xml:space="preserve">
<value>Bannière</value>
</data>
<data name="disableCustomSoundTooltip" xml:space="preserve">
<value>Désactiver le son personnalisé.</value>
</data>
</root>
140 changes: 70 additions & 70 deletions SoundSwitch/Localization/SettingsStrings.it-IT.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down Expand Up @@ -60,45 +60,45 @@
: and then encoded with base64 encoding.
-->
<xsd:schema xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
<xsd:attribute ref="xml:space"/>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
Expand All @@ -117,165 +117,165 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="selected" xml:space="preserve">
<data name="selected" xml:space="preserve">
<value>Selezionato</value>
</data>
<data name="connected" xml:space="preserve">
<data name="connected" xml:space="preserve">
<value>Connesso</value>
</data>
<data name="disconnected" xml:space="preserve">
<data name="disconnected" xml:space="preserve">
<value>Disconnesso</value>
</data>
<data name="recording" xml:space="preserve">
<data name="recording" xml:space="preserve">
<value>Registrazione</value>
</data>
<data name="playback" xml:space="preserve">
<data name="playback" xml:space="preserve">
<value>Riproduzione</value>
</data>
<data name="settings" xml:space="preserve">
<data name="settings" xml:space="preserve">
<value>Impostazioni</value>
</data>
<data name="hotkeys" xml:space="preserve">
<data name="hotkeys" xml:space="preserve">
<value>Tasti rapidi</value>
</data>
<data name="communicationsDevice" xml:space="preserve">
<data name="communicationsDevice" xml:space="preserve">
<value>Modifica dispositivo comunicazione predefinito</value>
</data>
<data name="startWithWindows" xml:space="preserve">
<data name="startWithWindows" xml:space="preserve">
<value>Esegui automaticamente all'avvio di Windows</value>
</data>
<data name="close" xml:space="preserve">
<data name="close" xml:space="preserve">
<value>Chiudi</value>
</data>
<data name="closeTooltip" xml:space="preserve">
<data name="closeTooltip" xml:space="preserve">
<value>Le modifiche sono state automaticamente salvate</value>
</data>
<data name="communicationsDeviceTooltip" xml:space="preserve">
<data name="communicationsDeviceTooltip" xml:space="preserve">
<value>Quando selezionato, verranno cambiati insieme il 'Dispositivo di comunicazione predefinito' e il 'Dispositivo di riproduzione predefinito' (utile per Skype, TeamSpeak, ecc.).</value>
</data>
<data name="notification" xml:space="preserve">
<data name="notification" xml:space="preserve">
<value>Notifiche</value>
</data>
<data name="updateIncludeBetaVersions" xml:space="preserve">
<data name="updateIncludeBetaVersions" xml:space="preserve">
<value>Includi versioni beta</value>
</data>
<data name="updateIncludeBetaVersionsTooltip" xml:space="preserve">
<data name="updateIncludeBetaVersionsTooltip" xml:space="preserve">
<value>Quando selezionato, SoundSwitch controllerà anche la presenza di versioni beta su Github.</value>
</data>
<data name="audioFiles" xml:space="preserve">
<data name="audioFiles" xml:space="preserve">
<value>File audio</value>
</data>
<data name="selectSoundButtonTooltip" xml:space="preserve">
<data name="selectSoundButtonTooltip" xml:space="preserve">
<value>Seleziona il file audio per la notifica.</value>
</data>
<data name="hotkeysTooltip" xml:space="preserve">
<data name="hotkeysTooltip" xml:space="preserve">
<value>Spunta per abilitare i tasti rapidi.</value>
</data>
<data name="basicSettings" xml:space="preserve">
<data name="basicSettings" xml:space="preserve">
<value>Impostazioni di base</value>
</data>
<data name="audioSettings" xml:space="preserve">
<data name="audioSettings" xml:space="preserve">
<value>Impostazioni audio</value>
</data>
<data name="updateSettings" xml:space="preserve">
<data name="updateSettings" xml:space="preserve">
<value>Impostazioni aggiornamento</value>
</data>
<data name="cycleThrough" xml:space="preserve">
<data name="cycleThrough" xml:space="preserve">
<value>Cambia tra i dispositivi</value>
</data>
<data name="keepSystemTrayIcon" xml:space="preserve">
<data name="keepSystemTrayIcon" xml:space="preserve">
<value>Mantieni icona di sistema SoundSwitch</value>
</data>
<data name="keepSystemTrayIconTooltip" xml:space="preserve">
<data name="keepSystemTrayIconTooltip" xml:space="preserve">
<value>Quando spuntato, l'icona di sistema non si modificherà quando viene cambiato il 'Dispositivo di riproduzione predefinito'.</value>
</data>
<data name="updateInstallAutomatically" xml:space="preserve">
<data name="updateInstallAutomatically" xml:space="preserve">
<value>Installa automaticamente aggiornamenti</value>
</data>
<data name="updateInstallAutomaticallyTooltip" xml:space="preserve">
<data name="updateInstallAutomaticallyTooltip" xml:space="preserve">
<value>Gli aggiornamenti saranno installati automaticamente senza conferma.</value>
</data>
<data name="updateNotify" xml:space="preserve">
<data name="updateNotify" xml:space="preserve">
<value>Avvisami quando è disponibile un aggiornamento</value>
</data>
<data name="updateNever" xml:space="preserve">
<data name="updateNever" xml:space="preserve">
<value>Non controllare mai gli aggiornamenti</value>
</data>
<data name="tooltipOnHover" xml:space="preserve">
<data name="tooltipOnHover" xml:space="preserve">
<value>Suggerimento passando sopra</value>
</data>
<data name="cycleThroughOptionAllAudioDevices" xml:space="preserve">
<data name="cycleThroughOptionAllAudioDevices" xml:space="preserve">
<value>Tutti i dispositivi audio</value>
</data>
<data name="cycleThroughOptionOnlySelectedAudioDevices" xml:space="preserve">
<data name="cycleThroughOptionOnlySelectedAudioDevices" xml:space="preserve">
<value>Solo i dispositivi audio selezionati</value>
</data>
<data name="cycleThroughTooltip" xml:space="preserve">
<data name="cycleThroughTooltip" xml:space="preserve">
<value>Scegli quali dispositivi puoi commutare. Puoi scegliere tra i selezionati o tutti.</value>
</data>
<data name="notificationOptionWindowsDefault" xml:space="preserve">
<data name="notificationOptionWindowsDefault" xml:space="preserve">
<value>Finestra notifica</value>
</data>
<data name="notificationOptionSound" xml:space="preserve">
<data name="notificationOptionSound" xml:space="preserve">
<value>Notifica audio</value>
</data>
<data name="notificationOptionNone" xml:space="preserve">
<data name="notificationOptionNone" xml:space="preserve">
<value>Nessuna notifica</value>
</data>
<data name="notificationOptionToast" xml:space="preserve">
<data name="notificationOptionToast" xml:space="preserve">
<value>Notifica toast</value>
</data>
<data name="notificationOptionCustomized" xml:space="preserve">
<data name="notificationOptionCustomized" xml:space="preserve">
<value>Notifica audio personalizzata</value>
</data>
<data name="notificationTooltip" xml:space="preserve">
<data name="notificationTooltip" xml:space="preserve">
<value>Finestra notifica: la finestra popup predefinita.
Notifica audio: riproduce un suono quando si modifica il dispositivo di riproduzione.
Notifica audio personalizzata: riproduce uno specifico suono quando si modifica il dispositivo di riproduzione.
Notifica toast: usa uno speciale modulo della versione finestra popup.
Banner: usa uno speciale riquadro sempre in primo piano, utile per l'uso durante i giochi.</value>
</data>
<data name="tooltipOnHoverOptionPlaybackDevice" xml:space="preserve">
<data name="tooltipOnHoverOptionPlaybackDevice" xml:space="preserve">
<value>Dispositivo riproduzione</value>
</data>
<data name="tooltipOnHoverOptionRecordingDevice" xml:space="preserve">
<data name="tooltipOnHoverOptionRecordingDevice" xml:space="preserve">
<value>Dispositivo registrazione</value>
</data>
<data name="tooltipOnHoverOptionBothDevices" xml:space="preserve">
<data name="tooltipOnHoverOptionBothDevices" xml:space="preserve">
<value>Per entrambi i dispositivi</value>
</data>
<data name="tooltipOnHoverOptionNone" xml:space="preserve">
<data name="tooltipOnHoverOptionNone" xml:space="preserve">
<value>Nessun suggerimento</value>
</data>
<data name="audioFileNotFound" xml:space="preserve">
<data name="audioFileNotFound" xml:space="preserve">
<value>Il file audio selezionato per la notifica non è disponibile. SoundSwitch tornerà all'impostazione di notifica '{0}'.</value>
</data>
<data name="audioFileNotFoundCaption" xml:space="preserve">
<data name="audioFileNotFoundCaption" xml:space="preserve">
<value>File audio non trovato</value>
</data>
<data name="activeRecording" xml:space="preserve">
<data name="activeRecording" xml:space="preserve">
<value>Reg: {0}</value>
</data>
<data name="activePlayback" xml:space="preserve">
<data name="activePlayback" xml:space="preserve">
<value>Ripr.: {0}</value>
</data>
<data name="language" xml:space="preserve">
<data name="language" xml:space="preserve">
<value>Lingua</value>
</data>
<data name="languageRestartRequired" xml:space="preserve">
<data name="languageRestartRequired" xml:space="preserve">
<value>La lingua verà modificata dopo il riavvio di SoundSwitch.
Vuoi riavviare SoundSwitch ora?</value>
</data>
<data name="languageRestartRequiredCaption" xml:space="preserve">
<data name="languageRestartRequiredCaption" xml:space="preserve">
<value>Richiede un riavvio</value>
</data>
<data name="updateNeverTooltip" xml:space="preserve">
<data name="updateNeverTooltip" xml:space="preserve">
<value>Non verrà aggiornato il programma a meno di farlo manualmente.</value>
</data>
<data name="updateNotifyTooltip" xml:space="preserve">
<data name="updateNotifyTooltip" xml:space="preserve">
<value>SoundSwitch notificherà quando è disponibile un aggiornamento. Facendo clic sulla notifica, apparirà una finestra che scaricherà l'aggiornamento e chiederà se si vuole installarlo.</value>
</data>
<data name="notificationOptionBanner" xml:space="preserve">
<data name="notificationOptionBanner" xml:space="preserve">
<value>Banner</value>
</data>
</root>
</root>
3 changes: 3 additions & 0 deletions SoundSwitch/Localization/SettingsStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,7 @@ Do you want to restart now?</value>
<data name="notificationOptionBanner" xml:space="preserve">
<value>Banner</value>
</data>
<data name="disableCustomSoundTooltip" xml:space="preserve">
<value>Disable the set Custom Sound.</value>
</data>
</root>
10 changes: 10 additions & 0 deletions SoundSwitch/Properties/Resources.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/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,7 @@
<data name="donate" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\donate-16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="delete" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
Binary file added SoundSwitch/Resources/delete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions SoundSwitch/SoundSwitch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<None Include="Resources\delete.png" />
<None Include="packages.config" />
<None Include="Resources\donate-16.png" />
<None Include="Resources\donate.ico" />
Expand Down
Loading

0 comments on commit 96bbc17

Please sign in to comment.