From 7ecc793e70aaa1251dbc9946139c71b7d9ad2658 Mon Sep 17 00:00:00 2001 From: Thomas Zemp Date: Wed, 31 May 2023 13:35:50 +0200 Subject: [PATCH] fix: update languages drop down [DHIS2-15327] --- src/pages/Translations/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/Translations/index.js b/src/pages/Translations/index.js index 00dff96e..acd5086a 100644 --- a/src/pages/Translations/index.js +++ b/src/pages/Translations/index.js @@ -700,7 +700,10 @@ class TranslationsPage extends PureComponent { const locales = languagesResponse ? languagesResponse.map((language) => ({ id: language.locale, - name: language.name, + name: + language.name === language.displayName + ? language.name + : `${language.name} — ${language.displayName}`, })) : []