Skip to content

Commit 4c2d3ab

Browse files
committed
feat: added missing translations, replaced deprecated methods, improved logging
1 parent 4a81042 commit 4c2d3ab

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ tasks.register('AppImage') {
109109
from '.AppImage/.AppDir/Opal.png'
110110
into layout.buildDirectory.dir("AppImage/Opal.AppDir/usr/lib")
111111
}
112-
exec {
112+
providers.exec {
113113
commandLine 'sh', "${project.rootDir}/.AppImage/createAppImage.sh", "${project.version.toString()}"
114114
}
115115
delete layout.buildDirectory.dir("AppImage/Opal.AppDir")

src/main/java/com/codedead/opal/utils/HelpUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void openFile(final RunnableFileOpener runnableFileOpener) throws FileNot
3636
if (runnableFileOpener == null)
3737
throw new NullPointerException("RunnableFileOpener cannot be null!");
3838

39-
logger.info("Attempting to open file {}", runnableFileOpener.getFileLocation());
39+
logger.info("Attempting to open file from filesystem {}", runnableFileOpener.getFileLocation());
4040

4141
final Path filePath = Paths.get(runnableFileOpener.getFileLocation());
4242

src/main/resources/translations/OpalApplication_uk_UA.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,7 @@ Dolphins=Дельфіни
101101
RollerCoaster=Американські гірки
102102
LargeCrowd=Великий натовп
103103
Search=Пошук
104+
CustomSounds=Користувацькі звуки
105+
AddCustomSound=Додати користувацький звук
106+
OpenCustomSoundError=Не вдалося відкрити користувацький звук!
107+
CustomSound=Користувацький звук

0 commit comments

Comments
 (0)