Expand description
Shared FTL file operations for CLI commands.
Structs§
- FtlFile
Info - Information about a discovered FTL file.
- Loaded
FtlFile - A fully loaded FTL file with content and metadata.
Functions§
- discover_
and_ load_ ftl_ files - Discover and load all FTL files for a locale and crate.
- discover_
ftl_ files - Discover all FTL files for a given locale and crate, including main and namespaced files.
- load_
ftl_ files - Load and parse FTL files, returning a list of loaded file info.
- locale_
output_ dir - Build a path to the FTL output directory for a locale.
- main_
ftl_ path - Build the path to the main FTL file for a crate in a locale.
- parse_
ftl_ file_ with_ errors - Parse an FTL file and return both the resource and any parse errors.