Skip to content

Commit a930bf8

Browse files
committed
l10n [nfc]: Treat Weblate-derived data as generated in Git diffs
This way these don't produce giant diffs, by default, when comparing versions of the tree across a sync of translations from Weblate.
1 parent fd91f72 commit a930bf8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.gitattributes

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
# Generated files for localizations.
77
lib/generated/l10n/*.dart -diff
88

9+
# Data files for translations synced from Weblate:
10+
assets/l10n/app_*.arb -diff
11+
# though not the similar file that is the source for what to translate:
12+
assets/l10n/app_en.arb diff
13+
914
# Generated files for testing migrations:
1015
test/model/schemas/*.dart -diff
1116
test/model/schemas/*.json -diff

0 commit comments

Comments
 (0)