codidact / qpixel

Q&A-based community knowledge-sharing software
https://codidact.com
GNU Affero General Public License v3.0
385 stars 69 forks source link

Translation files must have a top-level locale key (fixes #1210) #1221

Closed Oaphi closed 9 months ago

Oaphi commented 10 months ago

This minor PR fixes the issue with translation strings missing (all config YAML files for those must start with a top-level key denoting the locale, which were missing, causing the "translation missing" error to pop up).

cellio commented 10 months ago

Looks fine to me, but I don't know enough about how translation works (or how to test this) to sign off myself, hence the request for other reviewers. This is a pair of one-line changes, so should be a quick review for people who know what they're doing. :-)