Skip to content

Commit

Permalink
Move another texts to english
Browse files Browse the repository at this point in the history
  • Loading branch information
BoomEaro committed Jul 21, 2024
1 parent 9b36030 commit 442aabf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void checkAndDownloadLanguages() {

Path outputPath = Paths.get(pat);
Files.copy(stream, outputPath);
this.plugin.getLogger().info("Скачан язык " + lt.getName() + " для версии " + this.version);
this.plugin.getLogger().info("Language " + lt.getName() + " successfully downloaded for version " + this.version);
}
} catch (Exception e) {
this.plugin.getLogger().log(Level.SEVERE, "Failed to download language " + lt.name() + " for " + this.version, e);
Expand Down Expand Up @@ -311,7 +311,7 @@ private static InputStream getFileInputStream() {
if (stream == null) {
stream = classLoader.getResourceAsStream(defaultEnPath + ".json");
if (stream == null) {
throw new IllegalArgumentException("Не найден языковый файл по умолчанию!");
throw new IllegalArgumentException("Default language file is not found!");
}
}
return stream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void onExecute(CommandSender sender, String[] args) {
}
}

sender.sendMessage((failed.isEmpty() ? "Все предметы присутствует в переводе." : "Следующие предметы не переведены: " + failed));
sender.sendMessage((failed.isEmpty() ? "All items are present in translation." : "The following items are not translated: " + failed));
}
{
List<EntityType> failed = new ArrayList<>();
Expand All @@ -114,7 +114,7 @@ public void onExecute(CommandSender sender, String[] args) {
}
}

sender.sendMessage((failed.isEmpty() ? "Все сущности присутствует в переводе." : "Следующие сущности не переведены: " + failed));
sender.sendMessage((failed.isEmpty() ? "All entities are present in the translation." : "The following entities are not translated: " + failed));
}
{
List<Enchantment> failed = new ArrayList<>();
Expand All @@ -135,7 +135,7 @@ public void onExecute(CommandSender sender, String[] args) {
}
}

sender.sendMessage((failed.isEmpty() ? "Все зачарования присутствует в переводе." : "Следующие зачарования не переведены: " + failed));
sender.sendMessage((failed.isEmpty() ? "All the enchantments are present in the translation." : "The following enchantments are not translated: " + failed));
}
{
List<Integer> failed = new ArrayList<>();
Expand All @@ -156,7 +156,7 @@ public void onExecute(CommandSender sender, String[] args) {
}
}

sender.sendMessage((failed.isEmpty() ? "Все уровни зачарования присутствует в переводе." : "Следующие уровни зачарования не переведены: " + failed));
sender.sendMessage((failed.isEmpty() ? "All levels of enchantment are present in the translation." : "The following enchantment levels are not translated: " + failed));
}
{
List<PotionEffectType> failed = new ArrayList<>();
Expand All @@ -182,7 +182,7 @@ public void onExecute(CommandSender sender, String[] args) {
}
}

sender.sendMessage((failed.isEmpty() ? "Все эффекты зелий присутствует в переводе." : "Следующие эффекты зелий не переведены: " + failed));
sender.sendMessage((failed.isEmpty() ? "All potion effects are present in the translation." : "The following potion effects have not been translated: " + failed));
}
{
List<Biome> failed = new ArrayList<>();
Expand All @@ -203,7 +203,7 @@ public void onExecute(CommandSender sender, String[] args) {
}
}

sender.sendMessage((failed.isEmpty() ? "Все биомы присутствует в переводе." : "Следующие биомы не переведены: " + failed));
sender.sendMessage((failed.isEmpty() ? "All biomes are present in the translation." : "The following biomes are not translated: " + failed));
}

}
Expand Down

0 comments on commit 442aabf

Please sign in to comment.