mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
rename language file
This commit is contained in:
1 parent
3ceeb0595f
commit
4b6cbd66d0
2 files changed
+2
-2
No files matched your search
@@ -36,9 +36,9 @@ public class CarbonMessageSource implements IMessageSource<String, Audience> {
|
||||
this.properties = new Properties();
|
||||
|
||||
// TODO: read file name from config, allow users to specify which file.
|
||||
// TODO: have a fallback that uses messages-en.properties in the jar
|
||||
// TODO: have a fallback that uses messages-en_US.properties in the jar
|
||||
// so that any missing entries in the user's file will be resolvable.
|
||||
final var fileName = "messages-en.properties";
|
||||
final var fileName = "messages-en_US.properties";
|
||||
final var file = dataDirectory.resolve(fileName).toFile();
|
||||
|
||||
if (file.isFile()) {
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user