Always use english translation for language selectors
This commit is contained in:
@@ -69,8 +69,10 @@ onMounted(async () => {
|
||||
allLanguages.value = result.map(l => {
|
||||
return {
|
||||
id: l,
|
||||
display: t(`lang.${l}`)
|
||||
display: t(`lang.${l}`, l /* default fallback */, { locale: 'en' })
|
||||
};
|
||||
}).sort((a, b) => {
|
||||
return a.display.localeCompare(b.display);
|
||||
});
|
||||
|
||||
[error, result] = await cloudronModel.getLanguage();
|
||||
|
||||
Reference in New Issue
Block a user