From 3344264cd0103a00e87852daff841324ed2c633b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?VIR=C3=81G=2C=20Bal=C3=A1zs?=
<152511065+viragur@users.noreply.github.com>
Date: Mon, 4 Mar 2024 14:56:06 +0100
Subject: [PATCH 1/2] Fix untranslated 'Mint' string on homescreen when no
mints are set up.
---
src/screens/Dashboard.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/screens/Dashboard.tsx b/src/screens/Dashboard.tsx
index df8baa2b..b28a6119 100644
--- a/src/screens/Dashboard.tsx
+++ b/src/screens/Dashboard.tsx
@@ -330,7 +330,7 @@ export default function Dashboard({ navigation, route }: TDashboardPageProps) {
:
}
- txt='Mint'
+ txt={t('mint', { ns: NS.wallet })}
color={hi[highlight]}
onPress={() => setModal(prev => ({ ...prev, mint: true }))}
/>
@@ -494,4 +494,4 @@ const styles = ScaledSheet.create({
borderColor: mainColors.WARN,
borderRadius: '50@s',
}
-})
\ No newline at end of file
+})
From 74767651e728143a0e8e79b053c4400745e42074 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?VIR=C3=81G=2C=20Bal=C3=A1zs?=
<152511065+viragur@users.noreply.github.com>
Date: Tue, 5 Mar 2024 10:38:14 +0100
Subject: [PATCH 2/2] Fix untranslated 'Mint' string on home screen when no
mints are set up.
---
src/screens/Dashboard.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/screens/Dashboard.tsx b/src/screens/Dashboard.tsx
index b28a6119..5f3983a4 100644
--- a/src/screens/Dashboard.tsx
+++ b/src/screens/Dashboard.tsx
@@ -330,7 +330,7 @@ export default function Dashboard({ navigation, route }: TDashboardPageProps) {
:
}
- txt={t('mint', { ns: NS.wallet })}
+ txt={t('mint')}
color={hi[highlight]}
onPress={() => setModal(prev => ({ ...prev, mint: true }))}
/>