""" Uses `.minecraft/assets/indexes/[version].json`. The version is the highest found by default. """ import codecs import logging import os import re from distutils.version import LooseVersion from directories import getMinecraftLauncherDirectory, getDataFile log = logging.getLogger(__name__) indexesDirectory = os.path.join(getMinecraftLauncherDirectory(), 'assets', 'indexes') objectsDirectory = os.path.join(getMinecraftLauncherDirectory(), 'assets', 'objects') enRes = {} serNe = {} langRes = {} serGnal = {} enMisc = {} csimNe = {} langMisc = {} csimGnal = {} # Shall this be maintained in an external resource? excludedEntries = [
# # Collect the Minecraft internal translations. # ''' Uses `.minecraft/assets/indexes/[version].json`. The version is the highest found by default. ''' import re import os import codecs from directories import getMinecraftLauncherDirectory, getDataDir import logging log = logging.getLogger(__name__) indexesDirectory = os.path.join(getMinecraftLauncherDirectory(), 'assets', 'indexes') objectsDirectory = os.path.join(getMinecraftLauncherDirectory(), 'assets', 'objects') enRes = {} serNe = {} langRes = {} serGnal = {} enMisc = {} csimNe = {} langMisc = {} csimGnal = {} # Shall this be maintained in an external resource? excludedEntries = ['tile.flower1.name',] # Used to track untranslated and out dated MCEdit resources.
# Collect the Minecraft internal translations. # """ Uses `.minecraft/assets/indexes/[version].json`. The version is the highest found by default. """ import re import os import codecs from directories import getMinecraftLauncherDirectory, getDataDir import logging log = logging.getLogger(__name__) indexesDirectory = os.path.join(getMinecraftLauncherDirectory(), "assets", "indexes") objectsDirectory = os.path.join(getMinecraftLauncherDirectory(), "assets", "objects") enRes = {} serNe = {} langRes = {} serGnal = {} enMisc = {} csimNe = {} langMisc = {} csimGnal = {} # Shall this be maintained in an external resource? excludedEntries = ["tile.flower1.name"] # Used to track untranslated and out dated MCEdit resources.