Skip to content

Commit 4f1cd9e

Browse files
committed
Removed greetings.yml, renamed "Rename selected" button to "Change selected destination" and changed window title to "Save selected file".
1 parent 10ecbd8 commit 4f1cd9e

File tree

7 files changed

+9
-22
lines changed

7 files changed

+9
-22
lines changed

.github/workflows/greetings.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

flatc_deserializer_frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def on_change_dest_click(self):
320320
file_path = self.dest_binaries_table.set(selected_item, 0)
321321
file_dir, file_name = os.path.split(file_path)
322322
new_file_path = tkinter.filedialog.asksaveasfilename(
323-
title=t("main.tkinter_output_select"),
323+
title=t("main.save_selected_file"),
324324
defaultextension=".json",
325325
initialdir=file_dir, initialfile=file_name,
326326
filetypes=[(t("main.json_filetype"), "*.json")])

localization/en_US/frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ result_done: Done
2020
result_error: Error
2121
result_binary_not_found: Source file not found
2222
schema_not_found: Schema not found
23-
button_change_dest: Rename selected
23+
button_change_dest: Change selected destination

localization/en_US/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ flatc_downloader_desc: Tool for downloading latest version of Flatbuffers schema
3535
download_directory_arg: Directory for saving downloaded files
3636
no_files_selected: No files were selected.
3737
no_directory_selected: No directory was selected.
38-
no_file_selected: No file was selected.
38+
no_file_selected: No file was selected.
39+
save_selected_file: Save selected file

localization/ru_RU/frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ result_done: Завершено
2020
result_error: Ошибка
2121
result_binary_not_found: Исходный файл не найден
2222
schema_not_found: Схема не найдена
23-
button_change_dest: Переименовать выбранный
23+
button_change_dest: Изменить назначение выбранного

localization/ru_RU/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ flatc_downloader_desc: Утилита для скачивания последн
3535
download_directory_arg: Директория для сохранения скачанных файлов
3636
no_files_selected: Файлы не были выбраны.
3737
no_directory_selected: Директория не была выбрана.
38-
no_file_selected: Файл не был выбран.
38+
no_file_selected: Файл не был выбран.
39+
save_selected_file: Сохранить выбранный файл

main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ def get_schema_paths(root_path: str) -> list[str]:
194194
return schema_paths
195195

196196

197-
def get_binary_tuples(binary_paths: list[str], schema_paths: list[str], return_empty_pairs: bool = False) -> list[tuple[str, str]]:
197+
def get_binary_tuples(binary_paths: list[str], schema_paths: list[str],
198+
return_empty_pairs: bool = False) -> list[tuple[str, str]]:
198199
"""
199200
Получение списка кортежей из двух элементов: (путь к бинарному файлу, путь к соответствующему ему файлу схемы)
200201
:param binary_paths: Список путей к бинарным файлам или директориям с ними.

0 commit comments

Comments
 (0)