joelnitta / dovetail

Other
6 stars 1 forks source link

Need a better error for incorrectly specified lang in config.yaml #25

Open joelnitta opened 4 months ago

joelnitta commented 4 months ago

It is easy to mess this up, since lang appears in both the config.yaml in the original repo, and within the translated file. The one in the translated file is actually used by {sandpaper}. If it does not match with the lang argument of render_trans_from_(), an informative error should be thrown.