Skip to content

Commit

Permalink
feat: added dolphin sound
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDead committed Jul 12, 2024
1 parent 124da60 commit dc205c1
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
module Opal {
requires java.base;
requires java.net.http;
requires javafx.controls;
requires javafx.fxml;
requires java.desktop;
requires java.compiler;
requires java.naming;
requires javafx.media;
//noinspection Java9RedundantRequiresStatement
requires jdk.crypto.ec; // Added for SSL handshakes
requires org.apache.logging.log4j;
requires org.apache.logging.log4j.core;
requires com.fasterxml.jackson.core;
Expand Down
Binary file added src/main/resources/audio/dolphin.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions src/main/resources/translations/OpalApplication.properties
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ SlowMetronome=Metronome (slow)
FastMetronome=Metronome (fast)
PlayPause=Play / Pause
PlayPauseError=Unable to play / pause!
Dolphins=Dolphins
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ SlowMetronome=Langsames Metronom
FastMetronome=Schnelles Metronom
PlayPause=Abspielen / Pause
PlayPauseError=Abspielen / Pause konnte nicht ausgeführt werden!
Dolphins=Delfine
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ SlowMetronome=Metronome (slow)
FastMetronome=Metronome (fast)
PlayPause=Play / Pause
PlayPauseError=Unable to play / pause!
Dolphins=Dolphins
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ SlowMetronome=Metronomo lento
FastMetronome=Metronomo rápido
PlayPause=Reproducir / Pausa
PlayPauseError=¡No se puede reproducir / pausar el sonido!
Dolphins=Delfines
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ SlowMetronome=Métronome lent
FastMetronome=Métronome rapide
PlayPause=Lecture / Pause
PlayPauseError=Impossible de lire / mettre en pause!
Dolphins=Dauphins
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ SlowMetronome=遅いメトロノーム
FastMetronome=速いメトロノーム
PlayPause=再生/一時停止
PlayPauseError=再生/一時停止できません!
Dolphins=イルカ
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ SlowMetronome=Metronoom (langzaam)
FastMetronome=Metronoom (snel)
PlayPause=Afspelen / Pauzeren
PlayPauseError=Kan niet afspelen / pauzeren!
Dolphins=Dolfijnen
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ SlowMetronome=Медленный метроном
FastMetronome=Быстрый метроном
PlayPause=Воспроизведение / Пауза
PlayPauseError=Невозможно воспроизвести / приостановить воспроизведение!
Dolphins=Дельфины
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ SlowMetronome=Yavaş metronom
FastMetronome=Hızlı metronom
PlayPause=Oynat / Duraklat
PlayPauseError=Oynatma / Duraklatma düğmesi oluşturulamıyor!
Dolphins=Yunuslar
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ SlowMetronome=慢节拍器
FastMetronome=快节拍器
PlayPause=播放 / 暂停
PlayPauseError=无法播放 / 暂停!
Dolphins=海豚
4 changes: 4 additions & 0 deletions src/main/resources/windows/MainWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
<RowConstraints vgrow="ALWAYS"/>
<RowConstraints vgrow="ALWAYS"/>
<RowConstraints vgrow="ALWAYS"/>
<RowConstraints vgrow="ALWAYS"/>
</rowConstraints>

<columnConstraints>
Expand Down Expand Up @@ -238,6 +239,9 @@
<SoundPane GridPane.rowIndex="10" name="%Zoo"
mediaKey="zoo" mediaPath="/audio/zoo.mp3"
image="/images/zoo.png"/>
<SoundPane GridPane.rowIndex="11" name="%Dolphins"
mediaKey="dolphin" mediaPath="/audio/dolphin.mp3"
image="/images/ocean.png"/>
</GridPane>

<Label GridPane.rowIndex="3" GridPane.columnIndex="1" text="%Office">
Expand Down

0 comments on commit dc205c1

Please sign in to comment.