diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da5a1bf..42fa09f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,35 +17,32 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies if: ${{ matrix.os == 'ubuntu-latest' }} run: sudo apt-get install -y fuse libfuse2 - - name: Set up JDK 21 - uses: actions/setup-java@v3 + - name: Setup JDK 21 + uses: actions/setup-java@v4 with: java-version: '21' distribution: 'temurin' + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + - name: Build - uses: gradle/gradle-build-action@v2 - with: - arguments: build + run: ./gradlew build - name: Build (jlink) - uses: gradle/gradle-build-action@v2 - with: - arguments: jlink + run: ./gradlew jlink - name: Build (jpackage) - uses: gradle/gradle-build-action@v2 - with: - arguments: jpackage + run: ./gradlew jpackage - name: Publish artifacts - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: prerelease: false files: | @@ -60,18 +57,21 @@ jobs: os: [ ubuntu-latest, windows-latest ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies if: ${{ matrix.os == 'ubuntu-latest' }} run: sudo apt-get install -y fuse libfuse2 - - name: Set up JDK 21 - uses: actions/setup-java@v3 + - name: Setup JDK 21 + uses: actions/setup-java@v4 with: java-version: '21' distribution: 'temurin' + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + - name: Switch portable flag (Linux) if: ${{ matrix.os == 'ubuntu-latest' }} run: sed -i 's/final boolean PORTABLE = false/final boolean PORTABLE = true/g' src/main/java/com/codedead/opal/utils/SharedVariables.java @@ -81,32 +81,24 @@ jobs: run: (Get-Content src\main\java\com\codedead\opal\utils\SharedVariables.java).replace('final boolean PORTABLE = false', 'final boolean PORTABLE = true') | Set-Content src\main\java\com\codedead\opal\utils\SharedVariables.java - name: Build - uses: gradle/gradle-build-action@v2 - with: - arguments: build + run: ./gradlew build - name: Build (AppImage) if: ${{ matrix.os == 'ubuntu-latest' }} - uses: gradle/gradle-build-action@v2 - with: - arguments: AppImage + run: ./gradlew AppImage - name: Build (jlink) - uses: gradle/gradle-build-action@v2 - with: - arguments: jlink + run: ./gradlew jlink - name: Build (jpackage) - uses: gradle/gradle-build-action@v2 - with: - arguments: jpackage + run: ./gradlew jpackage - name: ZIP artifacts if: ${{ matrix.os == 'windows-latest' }} run: Compress-Archive -Path build/jpackage/Opal/* -Destination build/jpackage/Opal-win-portable.zip - name: Publish artifacts - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: prerelease: false files: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ff11af..b481867 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,40 +17,33 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies if: ${{ matrix.os == 'ubuntu-latest' }} run: sudo apt-get install -y fuse libfuse2 - - name: Set up JDK 21 - uses: actions/setup-java@v3 + - name: Setup JDK 21 + uses: actions/setup-java@v4 with: java-version: '21' distribution: 'temurin' + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + - name: Test - uses: gradle/gradle-build-action@v2 - with: - arguments: test + run: ./gradlew test - name: Build - uses: gradle/gradle-build-action@v2 - with: - arguments: build + run: ./gradlew build - name: Build (AppImage) if: ${{ matrix.os == 'ubuntu-latest' }} - uses: gradle/gradle-build-action@v2 - with: - arguments: AppImage + run: ./gradlew AppImage - name: Build (jlink) - uses: gradle/gradle-build-action@v2 - with: - arguments: jlink + run: ./gradlew jlink - name: Build (jpackage) - uses: gradle/gradle-build-action@v2 - with: - arguments: jpackage + run: ./gradlew jpackage diff --git a/README.md b/README.md index 96dafd6..740b08a 100644 --- a/README.md +++ b/README.md @@ -116,4 +116,4 @@ This library is maintained by CodeDead. You can find more about us using the fol * [Facebook](https://facebook.com/deadlinecodedead) * [Reddit](https://reddit.com/r/CodeDead) -Copyright © 2023 CodeDead +Copyright © 2024 CodeDead diff --git a/build.gradle b/build.gradle index 066f531..d5e25a6 100644 --- a/build.gradle +++ b/build.gradle @@ -5,12 +5,12 @@ plugins { id 'idea' id 'eclipse' id 'application' - id 'org.beryx.jlink' version '3.0.0' + id 'org.beryx.jlink' version '3.0.1' id 'org.openjfx.javafxplugin' version '0.1.0' } group 'com.codedead' -version '1.3.0' +version '1.3.1' def currentOS = DefaultNativePlatform.currentOperatingSystem @@ -25,7 +25,7 @@ application { } javafx { - version = '21.0.1' + version = '22' configuration = 'implementation' modules = ['javafx.base', 'javafx.controls', 'javafx.fxml', 'javafx.media'] } @@ -55,7 +55,7 @@ jlink { '--win-upgrade-uuid', '876c5464-9a66-4913-89a4-c63a4b8b4bb9', '--win-help-url', 'https://codedead.com/contact', '--win-dir-chooser', - '--copyright', 'Copyright (c) 2023 CodeDead', + '--copyright', 'Copyright (c) 2024 CodeDead', '--description', 'Opal is a free and open-source JavaFX application that can play relaxing music in the background', '--vendor', 'CodeDead', '--license-file', 'LICENSE', @@ -71,7 +71,7 @@ jlink { '--linux-shortcut', '--linux-package-name', 'opal-codedead', '--linux-rpm-license-type', 'GPLv3', - '--copyright', 'Copyright (c) 2023 CodeDead', + '--copyright', 'Copyright (c) 2024 CodeDead', '--description', 'Opal is a free and open-source JavaFX application that can play relaxing music in the background', '--vendor', 'CodeDead', '--license-file', 'LICENSE', @@ -87,7 +87,7 @@ jlink { '--mac-package-name', 'Opal', '--mac-package-identifier', 'com.codedead.opal', '--mac-app-category', 'public.app-category.music', - '--copyright', 'Copyright (c) 2023 CodeDead', + '--copyright', 'Copyright (c) 2024 CodeDead', '--description', 'Opal is a free and open-source JavaFX application that can play relaxing music in the background', '--vendor', 'CodeDead', '--license-file', 'LICENSE', @@ -140,11 +140,11 @@ repositories { } dependencies { - implementation 'org.apache.logging.log4j:log4j-core:2.21.1' + implementation 'org.apache.logging.log4j:log4j-core:2.23.1' implementation 'io.github.mkpaz:atlantafx-base:2.0.1' - implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.3' - testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0' - testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0' + implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0' + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2' } tasks.named('test') { diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 7f93135..e644113 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 3fa8f86..b82aa23 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew.bat b/gradlew.bat index 93e3f59..25da30d 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 if %ERRORLEVEL% equ 0 goto execute -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail diff --git a/src/main/java/com/codedead/opal/controller/MainWindowController.java b/src/main/java/com/codedead/opal/controller/MainWindowController.java index def1793..9c30916 100644 --- a/src/main/java/com/codedead/opal/controller/MainWindowController.java +++ b/src/main/java/com/codedead/opal/controller/MainWindowController.java @@ -425,7 +425,7 @@ private void settingsAction() { logger.info("Showing the SettingsWindow"); primaryStage.show(); primaryStage.setWidth(450); - primaryStage.setHeight(320); + primaryStage.setHeight(350); } catch (final IOException ex) { logger.error("Unable to open the SettingsWindow", ex); FxUtils.showErrorAlert(translationBundle.getString("SettingsWindowError"), ex.toString(), getClass().getResourceAsStream(SharedVariables.ICON_URL)); @@ -510,7 +510,7 @@ private void aboutAction() { logger.info("Showing the AboutWindow"); primaryStage.show(); primaryStage.setWidth(450); - primaryStage.setHeight(250); + primaryStage.setHeight(280); } catch (final IOException ex) { logger.error("Unable to open the AboutWindow", ex); FxUtils.showErrorAlert(translationBundle.getString("AboutWindowError"), ex.toString(), getClass().getResourceAsStream(SharedVariables.ICON_URL)); @@ -549,7 +549,7 @@ public void fired() { String line; while ((line = reader.readLine()) != null) { builder.append(line); - builder.append(System.getProperty("line.separator")); + builder.append(System.lineSeparator()); } final String result = builder.toString(); logger.info("Shutdown command result: {}", result); @@ -606,7 +606,7 @@ private void onDragDropped(final DragEvent dragEvent) { boolean success = false; if (db.hasFiles()) { - openSoundPreset(db.getFiles().get(0).getAbsolutePath()); + openSoundPreset(db.getFiles().getFirst().getAbsolutePath()); success = true; } diff --git a/src/main/java/com/codedead/opal/controller/UpdateController.java b/src/main/java/com/codedead/opal/controller/UpdateController.java index 51b22c3..03d2894 100644 --- a/src/main/java/com/codedead/opal/controller/UpdateController.java +++ b/src/main/java/com/codedead/opal/controller/UpdateController.java @@ -126,17 +126,18 @@ private int versionCompare(final String v1, final String v2) { public List getUpdates() throws IOException, InterruptedException, InvalidHttpResponseCodeException { logger.info("Attempting to retrieve List of PlatformUpdate objects from {}", getUpdateUrl()); - final HttpClient client = HttpClient.newHttpClient(); - final HttpRequest request = HttpRequest.newBuilder() - .uri(URI.create(getUpdateUrl())) - .build(); + try (final HttpClient client = HttpClient.newHttpClient()) { + final HttpRequest request = HttpRequest.newBuilder() + .uri(URI.create(getUpdateUrl())) + .build(); - final HttpResponse response = client.send(request, HttpResponse.BodyHandlers.ofString()); + final HttpResponse response = client.send(request, HttpResponse.BodyHandlers.ofString()); - if (response.statusCode() == 200) - return Arrays.asList(objectMapper.readValue(response.body(), PlatformUpdate[].class)); + if (response.statusCode() == 200) + return Arrays.asList(objectMapper.readValue(response.body(), PlatformUpdate[].class)); - throw new InvalidHttpResponseCodeException(String.format("Invalid HTTP response code (%s)", response.statusCode())); + throw new InvalidHttpResponseCodeException(String.format("Invalid HTTP response code (%s)", response.statusCode())); + } } /** diff --git a/src/main/java/com/codedead/opal/utils/FxUtils.java b/src/main/java/com/codedead/opal/utils/FxUtils.java index 261f9ba..b0d2518 100644 --- a/src/main/java/com/codedead/opal/utils/FxUtils.java +++ b/src/main/java/com/codedead/opal/utils/FxUtils.java @@ -30,13 +30,10 @@ public static void showInformationAlert(final String content, final InputStream throw new NullPointerException("Content cannot be null!"); final Alert alert = new Alert(Alert.AlertType.INFORMATION, content, ButtonType.OK); - alert.setResizable(true); - final Stage stage = (Stage) alert.getDialogPane().getScene().getWindow(); - if (imageStream != null) { + if (imageStream != null) stage.getIcons().add(new Image(imageStream)); - } alert.showAndWait(); } @@ -50,13 +47,10 @@ public static void showInformationAlert(final String content, final InputStream */ public static boolean showConfirmationAlert(final String content, final InputStream imageStream) { final Alert alert = new Alert(Alert.AlertType.CONFIRMATION, content, ButtonType.YES, ButtonType.NO); - alert.setResizable(true); - final Stage stage = (Stage) alert.getDialogPane().getScene().getWindow(); - if (imageStream != null) { + if (imageStream != null) stage.getIcons().add(new Image(imageStream)); - } alert.showAndWait(); @@ -110,9 +104,7 @@ private static Alert getErrorAlert(final String content) { GridPane.setHgrow(textArea, Priority.ALWAYS); expContent.add(textArea, 0, 0); - alert.getDialogPane().setExpandableContent(expContent); - alert.setResizable(true); return alert; } diff --git a/src/main/java/com/codedead/opal/utils/SharedVariables.java b/src/main/java/com/codedead/opal/utils/SharedVariables.java index 845ccec..ce69411 100644 --- a/src/main/java/com/codedead/opal/utils/SharedVariables.java +++ b/src/main/java/com/codedead/opal/utils/SharedVariables.java @@ -3,7 +3,7 @@ public final class SharedVariables { public static final String ICON_URL = "/images/opal.png"; - public static final String CURRENT_VERSION = "1.3.0.0"; + public static final String CURRENT_VERSION = "1.3.1.0"; public static final boolean PORTABLE = false; public static final String DEFAULT_LOCALE = "en-US"; diff --git a/src/main/resources/documents/help.pdf b/src/main/resources/documents/help.pdf index 04b7a26..9dc1480 100644 Binary files a/src/main/resources/documents/help.pdf and b/src/main/resources/documents/help.pdf differ diff --git a/src/main/resources/translations/OpalApplication.properties b/src/main/resources/translations/OpalApplication.properties index 2b6e5c4..d08359c 100644 --- a/src/main/resources/translations/OpalApplication.properties +++ b/src/main/resources/translations/OpalApplication.properties @@ -1,5 +1,5 @@ About=About -AboutText=Opal was created by DeadLine\n\nAudio: ZapSplat.com\nImages: Remix Icon\nTheme: AtlantaFX\nVersion: 1.3.0\n\nCopyright © 2023 CodeDead +AboutText=Opal was created by DeadLine\n\nAudio: ZapSplat.com\nImages: Remix Icon\nTheme: AtlantaFX\nVersion: 1.3.1\n\nCopyright © 2024 CodeDead AboutWindowError=Unable to open the About Window! AboutWindowTitle=Opal - About AutoUpdate=Automatically check for updates diff --git a/src/main/resources/translations/OpalApplication_de_DE.properties b/src/main/resources/translations/OpalApplication_de_DE.properties index 92d5c51..8bd5355 100644 --- a/src/main/resources/translations/OpalApplication_de_DE.properties +++ b/src/main/resources/translations/OpalApplication_de_DE.properties @@ -1,5 +1,5 @@ About=Über -AboutText=Opal wurde erstellt von: DeadLine\n\nAudio: ZapSplat.com\nBilder: Remix Icon\nDesign: AtlantaFX\nÜbersetzung: github.com/uDEV2019\nVersion: 1.3.0\n\nCopyright © 2023 CodeDead +AboutText=Opal wurde erstellt von: DeadLine\n\nAudio: ZapSplat.com\nBilder: Remix Icon\nDesign: AtlantaFX\nÜbersetzung: github.com/uDEV2019\nVersion: 1.3.1\n\nCopyright © 2024 CodeDead AboutWindowError=Über-Dialog konnte nicht geöffnet werden! AboutWindowTitle=Opal - Über AutoUpdate=Automatisch auf Aktualisierungen prüfen diff --git a/src/main/resources/translations/OpalApplication_en_US.properties b/src/main/resources/translations/OpalApplication_en_US.properties index 2b6e5c4..d08359c 100644 --- a/src/main/resources/translations/OpalApplication_en_US.properties +++ b/src/main/resources/translations/OpalApplication_en_US.properties @@ -1,5 +1,5 @@ About=About -AboutText=Opal was created by DeadLine\n\nAudio: ZapSplat.com\nImages: Remix Icon\nTheme: AtlantaFX\nVersion: 1.3.0\n\nCopyright © 2023 CodeDead +AboutText=Opal was created by DeadLine\n\nAudio: ZapSplat.com\nImages: Remix Icon\nTheme: AtlantaFX\nVersion: 1.3.1\n\nCopyright © 2024 CodeDead AboutWindowError=Unable to open the About Window! AboutWindowTitle=Opal - About AutoUpdate=Automatically check for updates diff --git a/src/main/resources/translations/OpalApplication_es_ES.properties b/src/main/resources/translations/OpalApplication_es_ES.properties index b23eef1..baa643f 100644 --- a/src/main/resources/translations/OpalApplication_es_ES.properties +++ b/src/main/resources/translations/OpalApplication_es_ES.properties @@ -1,5 +1,5 @@ About=Acerca de -AboutText=Opal fue creado por DeadLine\n\nAudio: ZapSplat.com\nImágenes: Remix Icon\nTema: AtlantaFX\nVersión: 1.3.0\n\nCopyright © 2023 CodeDead +AboutText=Opal fue creado por DeadLine\n\nAudio: ZapSplat.com\nImágenes: Remix Icon\nTema: AtlantaFX\nVersión: 1.3.1\n\nCopyright © 2024 CodeDead AboutWindowError=¡No se puede abrir la ventana Acerca de! AboutWindowTitle=Opal - Acerca de AutoUpdate=Buscar actualizaciones automáticamente diff --git a/src/main/resources/translations/OpalApplication_fr_FR.properties b/src/main/resources/translations/OpalApplication_fr_FR.properties index 44b59f0..b843d8c 100644 --- a/src/main/resources/translations/OpalApplication_fr_FR.properties +++ b/src/main/resources/translations/OpalApplication_fr_FR.properties @@ -1,5 +1,5 @@ About=À propos -AboutText=Opal a été créé par DeadLine\n\nAudio: ZapSplat.com\nImages: Remix Icon\nThème: AtlantaFX\nVersion: 1.3.0\n\nCopyright © 2023 CodeDead +AboutText=Opal a été créé par DeadLine\n\nAudio: ZapSplat.com\nImages: Remix Icon\nThème: AtlantaFX\nVersion: 1.3.1\n\nCopyright © 2024 CodeDead AboutWindowError=Impossible d'ouvrir la fenêtre À propos! AboutWindowTitle=Opal - À propos AutoUpdate=Rechercher automatiquement les mises à jour diff --git a/src/main/resources/translations/OpalApplication_jp_JP.properties b/src/main/resources/translations/OpalApplication_jp_JP.properties index 60b7a70..17e552c 100644 --- a/src/main/resources/translations/OpalApplication_jp_JP.properties +++ b/src/main/resources/translations/OpalApplication_jp_JP.properties @@ -1,5 +1,5 @@ About=このアプリについて -AboutText=Opal は DeadLine によって作成されました\n\nオーディオ: ZapSplat.com\n画像: リミックス アイコン\nテーマ: AtlantaFX\nバージョン: 1.3.0\n\nCopyright © 2023 CodeDead +AboutText=Opal は DeadLine によって作成されました\n\nオーディオ: ZapSplat.com\n画像: リミックス アイコン\nテーマ: AtlantaFX\nバージョン: 1.3.1\n\nCopyright © 2024 CodeDead AboutWindowError=バージョン情報ウィンドウを開けません! AboutWindowTitle=Opal - このアプリについて AutoUpdate=アップデートを自動的に確認する diff --git a/src/main/resources/translations/OpalApplication_nl_NL.properties b/src/main/resources/translations/OpalApplication_nl_NL.properties index ea57a0d..4395c57 100644 --- a/src/main/resources/translations/OpalApplication_nl_NL.properties +++ b/src/main/resources/translations/OpalApplication_nl_NL.properties @@ -1,5 +1,5 @@ About=Over -AboutText=Opal is gemaakt door DeadLine\n\nAudio: ZapSplat.com\nAfbeeldingen: Remix Icon\nThema: AtlantaFX\nVersie: 1.3.0\n\nCopyright © 2023 CodeDead +AboutText=Opal is gemaakt door DeadLine\n\nAudio: ZapSplat.com\nAfbeeldingen: Remix Icon\nThema: AtlantaFX\nVersie: 1.3.1\n\nCopyright © 2024 CodeDead AboutWindowError=Kan het Over venster niet openen! AboutWindowTitle=Opal - Over AutoUpdate=Automatisch controleren op updates diff --git a/src/main/resources/translations/OpalApplication_ru_RU.properties b/src/main/resources/translations/OpalApplication_ru_RU.properties index 0f7b54a..0fe2f28 100644 --- a/src/main/resources/translations/OpalApplication_ru_RU.properties +++ b/src/main/resources/translations/OpalApplication_ru_RU.properties @@ -1,5 +1,5 @@ About=О -AboutText=Opal был создан DeadLine\n\nАудио: ZapSplat.com\nИзображения: Remix Icon\nТема: AtlantaFX\nВерсия: 1.3.0\n\nАвторские права © 2023 CodeDead +AboutText=Opal был создан DeadLine\n\nАудио: ZapSplat.com\nИзображения: Remix Icon\nТема: AtlantaFX\nВерсия: 1.3.1\n\nАвторские права © 2024 CodeDead AboutWindowError=Не удается открыть окно «О программе»! AboutWindowTitle=Opal - О компании AutoUpdate=Автоматически проверять наличие обновлений diff --git a/src/main/resources/translations/OpalApplication_tr_TR.properties b/src/main/resources/translations/OpalApplication_tr_TR.properties index 679914f..f4b617c 100644 --- a/src/main/resources/translations/OpalApplication_tr_TR.properties +++ b/src/main/resources/translations/OpalApplication_tr_TR.properties @@ -1,5 +1,5 @@ About=Hakkında -AboutText=Opal, DeadLine tarafından oluşturuldu\n\nSes: ZapSplat.com\nGörüntüler: Remix Simgesi\nTema: AtlantaFX\nSürüm: 1.3.0\n\nTelif hakkı © 2023 CodeDead +AboutText=Opal, DeadLine tarafından oluşturuldu\n\nSes: ZapSplat.com\nGörüntüler: Remix Simgesi\nTema: AtlantaFX\nSürüm: 1.3.1\n\nTelif hakkı © 2024 CodeDead AboutWindowError=Hakkında Penceresi açılamıyor! AboutWindowTitle=Opal - Hakkında AutoUpdate=Güncellemeleri otomatik olarak kontrol et diff --git a/src/main/resources/translations/OpalApplication_zh_CN.properties b/src/main/resources/translations/OpalApplication_zh_CN.properties index ba5c4ff..06a6319 100644 --- a/src/main/resources/translations/OpalApplication_zh_CN.properties +++ b/src/main/resources/translations/OpalApplication_zh_CN.properties @@ -1,5 +1,5 @@ About=关于 -AboutText=Opal 由 DeadLine 创建\n\n音频:ZapSplat.com\n图像:Remix Icon\n主题:AtlantaFX\n版本:1.3.0\n\n版权所有 © 2023 CodeDead +AboutText=Opal 由 DeadLine 创建\n\n音频:ZapSplat.com\n图像:Remix Icon\n主题:AtlantaFX\n版本:1.3.1\n\n版权所有 © 2024 CodeDead AboutWindowError=无法打开“关于”窗口! AboutWindowTitle=Opal - 关于 AutoUpdate=自动检查更新 diff --git a/src/main/resources/windows/AboutWindow.fxml b/src/main/resources/windows/AboutWindow.fxml index bd1deb0..24035de 100644 --- a/src/main/resources/windows/AboutWindow.fxml +++ b/src/main/resources/windows/AboutWindow.fxml @@ -10,7 +10,7 @@ xmlns:fx="http://javafx.com/fxml" alignment="CENTER" fx:controller="com.codedead.opal.controller.AboutWindowController" - prefHeight="250.0" prefWidth="450.0"> + prefHeight="280.0" prefWidth="450.0"> diff --git a/src/main/resources/windows/SettingsWindow.fxml b/src/main/resources/windows/SettingsWindow.fxml index acbaa80..68e1ffe 100644 --- a/src/main/resources/windows/SettingsWindow.fxml +++ b/src/main/resources/windows/SettingsWindow.fxml @@ -19,7 +19,7 @@ + prefHeight="350.0" prefWidth="450.0">