-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix locale scripts #2648
Merged
Merged
Fix locale scripts #2648
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
Status: Needs Review
This PR requires new reviews before it can be merged
Changes: No C#
Code has not been changed
labels
Oct 6, 2024
вроде должно работать но я хз честно так что лучше проверить |
герой |
Я вот думаю у меня на сборке работало(она не корвакса) Будет ли работать у вас - честно хз. |
mhamsterr
reviewed
Oct 6, 2024
Co-authored-by: mhamster <[email protected]>
Evgencheg
commented
Oct 10, 2024
@@ -49,7 +62,6 @@ def create_en_fluent_file(self, relative_parent_dir, file_name, file_data): | |||
en_new_dir_path = os.path.join(project.en_locale_prototypes_dir_path, relative_parent_dir) | |||
en_fluent_file = FluentFile(os.path.join(en_new_dir_path, f'{file_name}.ftl')) | |||
en_fluent_file.save_data(file_data) | |||
logging.info(f'Актуализирован файл английской локали {en_fluent_file.full_path}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
пояснение - это говно срёт ВСЕГДА независимо было ли добавлено или нет.
fix crlf |
Как? |
Гений, наконец-то |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Changes: No C#
Code has not been changed
Status: Needs Review
This PR requires new reviews before it can be merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Описание PR
Немного улучшены скрипты.
Почему / Баланс
Поможет переводчикам работать быстрее
Технические детали
Добавил пару скриптов для удаления дубликатов и пустых файлов.
Изменил структуру file.py чтобы он не сносил многострочные переводы начинающиеся с спец символа
Изменил код yamlexctractor чтобы в en-US он не писал { ent-['ent-id', 'ent-id'] }
Просто запустите translations.bat и всё заработает.
Медиа
Нечего показывать
Требования
Критические изменения
No (нечаянно затронул скрипты(никак не изменив) тем что сделал ctrl+c и ctrl+v измененной папки)
Список изменений
No cl no fun