MCPcopy Create free account

hub / github.com/Teyliu/PVZF-Translation / functions

Functions22 in github.com/Teyliu/PVZF-Translation

↓ 5 callersFunctionexcel_to_json
Converts an Excel sheet to a JSON file based on the specified data type. Parameters: input_file (str): Path to the Excel file.
Useful Scripts/jsonifier.py:10
↓ 5 callersFunctionjson_to_csv
Converts a JSON file into a CSV file based on the structure and type. Parameters: json_file (str): Path to the JSON file. outpu
Useful Scripts/csver.py:9
↓ 2 callersFunctioncompare_json_files
Compares two JSON files and writes the merged result to a new file in this script's directory. Rules: a. If a key is present in both
Useful Scripts/strings_json_comparer.py:8
↓ 2 callersFunctionextract_level_key
(key)
Useful Scripts/fs_tips_normaliser.py:10
↓ 2 callersFunctionextract_to_csv
(json_path, csv_path, list_key, id_key, name_key)
Useful Scripts/id_stripper.py:26
↓ 2 callersFunctionfind_duplicates_in_almanac
Detect duplicates in Almanac-type JSONs (plants or zombies), showing all real line numbers from the JSON file.
Useful Scripts/Checking/double_check.py:5
↓ 2 callersFunctionfind_nb_line
(file, line_recherche)
Useful Scripts/Diff/Diff-intl.py:11
↓ 2 callersFunctionload_json
(path)
Useful Scripts/fs_tips_normaliser.py:14
↓ 2 callersFunctionmerge_entries
Merge two lists of dictionaries based on a shared key. Prioritizes entries in primary_list when the key is present in both.
Useful Scripts/almanac_json_comparer.py:8
↓ 1 callersFunctionINTL2json
(input_folder, txt_file, output_folder="output_json")
Useful Scripts/INTL/INTL2json.py:52
↓ 1 callersFunctionMerge_INTL
(txt1, txt2, output_file)
Useful Scripts/INTL/Merge_INTL.py:5
↓ 1 callersFunctionbuild_standard_map
(standard_json)
Useful Scripts/fs_tips_normaliser.py:22
↓ 1 callersFunctioncompare_file
(file1, file2, diff1, diff2)
Useful Scripts/Diff/Diff-intl.py:18
↓ 1 callersFunctionextract_strings
(obj)
Useful Scripts/INTL/json2INTL.py:13
↓ 1 callersFunctionfind_duplicates_in_achievements
Detect duplicate keys in Achievements JSON, showing all real line numbers.
Useful Scripts/Checking/double_check.py:60
↓ 1 callersFunctionjson2INTL
(folder_path, output_file="output.txt")
Useful Scripts/INTL/json2INTL.py:29
↓ 1 callersFunctionload_translations
(txt_path)
Useful Scripts/INTL/INTL2json.py:12
↓ 1 callersFunctionnormalize_file
(standard_map, standard_json, target_json)
Useful Scripts/fs_tips_normaliser.py:30
↓ 1 callersFunctionreplace_strings
(obj, mapping)
Useful Scripts/INTL/INTL2json.py:34
↓ 1 callersFunctionrun_duplicate_check
Run duplicate checks for LawnStringsTranslate.json, ZombieStringsTranslate.json, and AchievementsTextTranslate.json in the specified localiza
Useful Scripts/Checking/double_check.py:101
↓ 1 callersFunctionrun_global_check
Run duplicate checks for all languages found in the Localization directory.
Useful Scripts/Checking/global_double_check.py:4
↓ 1 callersFunctionsave_json
(data, path)
Useful Scripts/fs_tips_normaliser.py:18