From 8089be45967614a774ff306ece98c62f0000e2f4 Mon Sep 17 00:00:00 2001 From: Deserty0 <86846189+Deserty0@users.noreply.github.com> Date: Sun, 27 Apr 2025 20:11:23 +1000 Subject: [PATCH] Loc fix (#1229) * fun * Revert "fun" This reverts commit 419b4e9e8f5433e0cf789805b087d3c72ce76d4c. * fix --- Resources/Locale/ru-RU/_CP14/_PROTO/entities/entities.ftl | 2 +- .../LocalizationHelper/parsers/fluent/ftl_reader.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/Locale/ru-RU/_CP14/_PROTO/entities/entities.ftl b/Resources/Locale/ru-RU/_CP14/_PROTO/entities/entities.ftl index 56217d580f..e822753540 100644 --- a/Resources/Locale/ru-RU/_CP14/_PROTO/entities/entities.ftl +++ b/Resources/Locale/ru-RU/_CP14/_PROTO/entities/entities.ftl @@ -554,7 +554,7 @@ ent-CP14ActionSpellIceDagger = Ледяной кинжал ent-CP14SpellScrollIceDagger = свиток заклинания ледяного кинжала .desc = { ent-CP14BaseSpellScrollWater.desc } - + ent-CP14ActionSpellIceShards = Ледяные осколки .desc = Быстрые ледяные иглы для быстрой стрельбы по мишеням. diff --git a/Tools/_CP14/LocalizationHelper/LocalizationHelper/parsers/fluent/ftl_reader.py b/Tools/_CP14/LocalizationHelper/LocalizationHelper/parsers/fluent/ftl_reader.py index 999cfc1119..be53a1b8c8 100644 --- a/Tools/_CP14/LocalizationHelper/LocalizationHelper/parsers/fluent/ftl_reader.py +++ b/Tools/_CP14/LocalizationHelper/LocalizationHelper/parsers/fluent/ftl_reader.py @@ -12,7 +12,7 @@ def read_ftl(path: str) -> dict: logger.debug("%s: %s", LogText.READING_DATA_FROM_FILE, path) with open(path, encoding="utf-8") as file: for line in file.readlines(): - if line.startswith("#") or line.startswith("\n"): + if line.startswith("#") or line.startswith("\n") or line.startswith(" \n"): continue if not line.startswith(" "):