Skip to content

Commit

Permalink
fix: tabs titles localization (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebus-84 authored Aug 27, 2024
1 parent e8ca2d3 commit 5794884
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/routes/[[lang]]/(protected)/activity/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}
</script>

<d-tab-page tab="activity" title="ACTIVITY" {...scanButton}>
<d-tab-page tab="activity" title={m.Notifications()} {...scanButton}>
<div class="flex w-full flex-col items-center">
{#if activities.length > 0}
<div class="flex justify-end gap-2.5 pb-4 w-full">
Expand Down
2 changes: 1 addition & 1 deletion src/routes/[[lang]]/(protected)/home/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
};
</script>

<d-tab-page tab="home" title="HOME" {...scanButton}>
<d-tab-page tab="home" title={m.Home()} {...scanButton}>
<d-feedback {...feedback?.content} on:dClose={onFeedbackClose} />
<d-page-description
title={m.Claim_credential()}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/[[lang]]/(protected)/profile/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
const gotoLanguageSettings = () => goto('/languages');
</script>

<d-tab-page tab="profile" title="PROFILE" {...scanButton} settings>
<d-tab-page tab="profile" title={m.Profile()} {...scanButton} settings>
<div class="flex h-full flex-col justify-between gap-24">
<div class="flex flex-col items-center gap-2 pt-8 text-center">
<d-avatar src={authFilesUri(user?.avatar, user?.id)} size="2xl"></d-avatar>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/[[lang]]/(protected)/wallet/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
const { credentials } = data;
</script>

<d-tab-page tab="wallet" title="WALLET" {...scanButton}>
<d-tab-page tab="wallet" title={m.Wallet()} {...scanButton}>
<d-page-description
title={m.My_issued_credentials()}
description={m.Explore_and_manage_your_verified_credentials()}
Expand Down

0 comments on commit 5794884

Please sign in to comment.