arb/freshness library

Functions

computeSourceHashes(ArbFile source) → Map<String, String>
Translation freshness — the change-half of the sync loop.
isStaleEntry(ArbEntry entry, Map<String, String> sourceHashes) → bool
True when entry records a source_hash that no longer matches the current source. Entries without a stored hash, or whose key is absent from sourceHashes, are untracked — not stale.
normalizeTranslation(ArbFile arb, Map<String, String> sourceHashes, {bool stamp = true}) → ArbFile
Normalize a translation ARB for dialect check --fix: