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
entryrecords asource_hashthat no longer matches the current source. Entries without a stored hash, or whose key is absent fromsourceHashes, are untracked — not stale. -
normalizeTranslation(
ArbFile arb, Map< String, String> sourceHashes) → ArbFile -
Normalize a translation ARB for
dialect check --fix: