mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-22 08:15:13 +00:00
- Invoke PHP command to retrieve the list instead of parsing PHP file. This fixes issue with regex not being generic enough to retrieve languages list using double quotes. Also make is much more robust to future formatting changes. - If there is an error in retrieving, which may happen due to future code changes, fall back to showing a safe list of languages instead of making the app unusable. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>