Add CSV input files and enhance syncback warning logic

- Introduced a new CSV input file with translation data for Spanish.
- Updated the `init.csv` file to include a new entry for "Rojo" with its context and example.
- Enhanced the syncback logic to conditionally emit warnings for duplicate child names based on the new `warn_duplicate_names` configuration in `SyncbackRules`.
- Added documentation for the new warning behavior in the `SyncbackRules` and `SyncbackSnapshot` implementations.
This commit is contained in:
Joe 2026-01-30 10:42:38 -06:00
parent 18a74c8e4d
commit 0b243b4ca9
5 changed files with 48 additions and 3 deletions

View file

@ -0,0 +1,2 @@
Key,Source,Context,Example,es
Ack,Ack!,,An exclamation of despair,¡Ay!
1 Key Source Context Example es
2 Ack Ack! An exclamation of despair ¡Ay!

View file

@ -1,2 +1,2 @@
Key,Source,Context,Example,en
,,,,
Rojo,Rojo,,Rojo is a really cool program,Red

1 Key Source Context Example en
2 Rojo Rojo Rojo is a really cool program Red