Skip to main content

Module scraper

Module scraper 

Source
Expand description

Localization text scraping.

Structsยง

CommandMacroArgs ๐Ÿ”’
CommandMacroEntry ๐Ÿ”’
CommandMetaEntry ๐Ÿ”’
FluentEntry
Represents one call to l10n! or similar macro in a Rust code file.
FluentNote
Represents a standalone note, declared using // l10n-{file}-### {note} or l10n-### {note}.
FluentTemplate
Represents all calls to l10n! or similar macro scraped from selected Rust code files.
L10nMacroArgs ๐Ÿ”’

Functionsยง

parse_validate_id ๐Ÿ”’
scrape_file ๐Ÿ”’
scrape_files ๐Ÿ”’
scrape_fluent_text
Scrapes all use of the l10n! macro in Rust files selected by a glob pattern.