WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ public final class MainWindowController implements IAudioTimer, TrayIconListener
@FXML
private SoundPane snpDolphins;
@FXML
private SoundPane snpForest;
@FXML
private SoundPane snpZoo;
@FXML
private SoundPane snpFrogs;
Expand Down Expand Up @@ -313,6 +315,7 @@ public void setControllers(final SettingsController settingsController, final Up
snpFrogs.getNameLabel().textProperty().bind(resourceFactory.getStringBinding("Frogs"));
snpZoo.getNameLabel().textProperty().bind(resourceFactory.getStringBinding("Zoo"));
snpDolphins.getNameLabel().textProperty().bind(resourceFactory.getStringBinding("Dolphins"));
snpForest.getNameLabel().textProperty().bind(resourceFactory.getStringBinding("Forest"));

pneOffice.textProperty().bind(resourceFactory.getStringBinding("Office"));
snpTyping.getNameLabel().textProperty().bind(resourceFactory.getStringBinding("Typing"));
Expand Down
Binary file added src/main/resources/audio/forest.mp3
Binary file not shown.
Binary file added src/main/resources/images/forest.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 src/main/resources/translations/OpalApplication.properties
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=Custom sounds
AddCustomSound=Add custom sound
OpenCustomSoundError=Unable to open custom sound!
CustomSound=Custom sound
Forest=Forest
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=Benutzerdefinierte Klänge
AddCustomSound=Benutzerdefinierten Klang hinzufügen
OpenCustomSoundError=Benutzerdefinierten Klang konnte nicht geöffnet werden!
CustomSound=Benutzerdefinierter Klang
Forest=Wald
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=Custom sounds
AddCustomSound=Add custom sound
OpenCustomSoundError=Unable to open custom sound!
CustomSound=Custom sound
Forest=Forest
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=Sonidos personalizados
AddCustomSound=Añadir sonido personalizado
OpenCustomSoundError=¡No se puede abrir el sonido personalizado!
CustomSound=Sonido personalizado
Forest=Bosque
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=Sons personnalisés
AddCustomSound=Ajouter un son personnalisé
OpenCustomSoundError=Impossible d'ouvrir le son personnalisé!
CustomSound=Son personnalisé
Forest=Forêt
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=कस्टम ध्वनियाँ
AddCustomSound=कस्टम ध्वनि जोड़ें
OpenCustomSoundError=कस्टम ध्वनि खोलने में असमर्थ!
CustomSound=कस्टम ध्वनि
Forest=जंगल
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=カスタム サウンド
AddCustomSound=カスタム サウンドを追加
OpenCustomSoundError=カスタム サウンドを開けません!
CustomSound=カスタム サウンド
Forest=森
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=Aangepaste geluiden
AddCustomSound=Aangepast geluid toevoegen
OpenCustomSoundError=Kan aangepast geluid niet openen!
CustomSound=Aangepast geluid
Forest=Bos
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=Пользовательские звуки
AddCustomSound=Добавить пользовательский звук
OpenCustomSoundError=Невозможно открыть пользовательский звук!
CustomSound=Пользовательский звук
Forest=Лес
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=Özel sesler
AddCustomSound=Özel ses ekle
OpenCustomSoundError=Özel ses açılamıyor!
CustomSound=Özel ses
Forest=Orman
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=Користувацькі звуки
AddCustomSound=Додати користувацький звук
OpenCustomSoundError=Не вдалося відкрити користувацький звук!
CustomSound=Користувацький звук
Forest=Ліс
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CustomSounds=自定义声音
AddCustomSound=添加自定义声音
OpenCustomSoundError=无法打开自定义声音!
CustomSound=自定义声音
Forest=森林
4 changes: 4 additions & 0 deletions src/main/resources/windows/MainWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@
<RowConstraints vgrow="ALWAYS"/>
<RowConstraints vgrow="ALWAYS"/>
<RowConstraints vgrow="ALWAYS"/>
<RowConstraints vgrow="ALWAYS"/>
</rowConstraints>

<columnConstraints>
Expand Down Expand Up @@ -269,6 +270,9 @@
<SoundPane fx:id="snpDolphins" GridPane.rowIndex="11" name="%Dolphins"
mediaKey="dolphin" mediaPath="/audio/dolphin.mp3"
image="/images/ocean.png" resourceFile="true"/>
<SoundPane fx:id="snpForest" GridPane.rowIndex="12" name="%Forest"
mediaKey="forest" mediaPath="/audio/forest.mp3"
image="/images/forest.png" resourceFile="true"/>
</GridPane>
</TitledPane>
<TitledPane fx:id="pneOffice" text="%Office" expanded="false">
Expand Down