Update PropSync.java

This commit is contained in:
Ludy87 2025-07-13 10:05:02 +02:00
parent dae05cb150
commit fcd41924f5
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -9,7 +9,7 @@ import java.util.*;
public class PropSync { public class PropSync {
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {
File folder = new File("C:\\Users\\systo\\git\\Stirling-PDF\\src\\main\\resources"); File folder = new File("C:\\Users\\systo\\git\\Stirling-PDF\\app\\core\\src\\main\\resources");
File[] files = folder.listFiles((dir, name) -> name.matches("messages_.*\\.properties")); File[] files = folder.listFiles((dir, name) -> name.matches("messages_.*\\.properties"));
List<String> enLines = Files.readAllLines(Paths.get(folder + "\\messages_en_GB.properties"), StandardCharsets.UTF_8); List<String> enLines = Files.readAllLines(Paths.get(folder + "\\messages_en_GB.properties"), StandardCharsets.UTF_8);