Skip to content

Commit e622502

Browse files
committed
added conditional statement for en
1 parent e9e8a28 commit e622502

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/components/LanguagePicker/index.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,15 @@ const LanguagePickerFooter = ({ onTranslationProgramClick }) => {
193193
<div className="sticky bottom-0 flex border-t-2 border-primary bg-primary-low-contrast p-0 pb-1 pt-1">
194194
<div className="flex w-full max-w-sm items-center justify-between px-4">
195195
<div className="flex min-w-0 flex-col items-start">
196-
<p className="overflow-hidden text-ellipsis whitespace-nowrap text-xs font-bold text-body">
197-
Translate to {t(`language-${locale}`)}
198-
</p>
196+
{locale == "en" ? (
197+
<p className="overflow-hidden text-ellipsis whitespace-nowrap text-xs font-bold text-body">
198+
Translate Ethereum.org
199+
</p>
200+
) : (
201+
<p className="overflow-hidden text-ellipsis whitespace-nowrap text-xs font-bold text-body">
202+
Translate to {t(`language-${locale}`)}
203+
</p>
204+
)}
199205
<p className="text-xs text-body">
200206
{t("page-languages-recruit-community")}
201207
</p>

0 commit comments

Comments
 (0)