From f8f8dc696968b684a89b8eb40b7466ec4415d9c1 Mon Sep 17 00:00:00 2001 From: Jeff Poirier Date: Mon, 1 Jul 2024 08:02:33 -0400 Subject: [PATCH] Extending transation coverage to profile and landing page --- public/_lang/en.json | Bin 6997 -> 7426 bytes public/_lang/fr.json | Bin 7374 -> 8872 bytes resources/assets/components/DirectMessage.vue | 2 +- resources/assets/components/landing/Index.vue | 12 +++-- .../partials/profile/ProfileFollowers.vue | 2 +- .../partials/profile/ProfileHoverCard.vue | 2 +- .../assets/components/partials/sidebar.vue | 8 +-- resources/assets/js/i18n/en.json | 21 ++++++-- resources/assets/js/i18n/fr.json | 44 ++++++++++++++-- resources/lang/en/web.php | 22 ++++++-- resources/lang/fr/web.php | 47 +++++++++++++++--- 11 files changed, 131 insertions(+), 29 deletions(-) diff --git a/public/_lang/en.json b/public/_lang/en.json index 9e3b67209f1ec25ea098bb62b8d3a0f08b4e37ea..84bd3913ff9b7c1a250e8dcae35eb085d1bce478 100644 GIT binary patch delta 436 zcmah_!Ab)$5XHk*SlQyO2SJ7?J&AY{?6vAiMDPRJbTjP+V-k{-wyuldFYJ#9`yD;{ z37-53lij*4Ud(AS@4b2R=JWD>@G*|!Ie$dwxSZMYaQ~np%u0N@u9x zFUUY=$|oD%ytNw)}CH9RC8J1wXqI! ScJ9#7(AYmT-)ZcMxcC7i=z_2S delta 76 zcmZp&x@xu|fpu~#YdoKlm4cFUQEFmIs)Ao?`R3oOYK)s-u?w(qD!Jw7%!b0OFAt^8f$< diff --git a/public/_lang/fr.json b/public/_lang/fr.json index 02598034cd4989fa9188e5df96615b9b319a2da8..580ce877c86477d0d230271abd2e11007a227376 100644 GIT binary patch delta 1448 zcmZux-D+D$5JrjP6qlqpgoKbnw&x-gss`T$H{?PwF)qju9FkH9l+~V*G|`@&SdrCn=rXJyuRabs^5~&g^{iee><#`@cW`^G)y8h-g+xJ1c$= z#Y>zR@aq@7X>V0qQUGP#J|N@K1h7SaN3_4fz?n}u0q4^A?vc{uAf6q9tv=0C8rAFw zY&zz}X@GNq3cKkJjKlR`SB6(_zaW>2oV*Epd$3>P1nm0$_D{VpwKOG~30GM(2iyIJ zC0bCP?E6^v8F>cWy%WxAO%|FzwjQjeAWKHYaYGQbv|dg?l>9j*Pp&UYX`Bc~RF_4i zaHLRbQRW>5##^b;3nf0$X4tjSM8|tG1g_3nVYyP=;XG>g&LG#atYBp(2A-g>@x&22cDRY z1S!T((f#OtreKda^st?;*TfSb=HxAiF=|nRbrGNLi_?HBLE|x>XmFwqBOai{ii?tQ z!P@h_;~_+r4vZjMatA-W28D&1Y;?q;dAj>;^I>;;bpn#filRpMO3gr-1<#gboLvFhu zjFXF$geTvT7M4iM&&kOz&&*2)X>m--&&x~AP0cGQo;-&|VRN>i0`KHM^4UyWwE$~# BAnE`B diff --git a/resources/assets/components/DirectMessage.vue b/resources/assets/components/DirectMessage.vue index e91ecdfaf..0c2326c4c 100644 --- a/resources/assets/components/DirectMessage.vue +++ b/resources/assets/components/DirectMessage.vue @@ -227,7 +227,7 @@ v-html="conversationProfile.display_name" @click="gotoProfile(conversationProfile)" > -

+

@@ -31,7 +31,11 @@

{{ config.domain }}

- Decentralized photo sharing social media powered by Pixelfed + + +

diff --git a/resources/assets/components/partials/profile/ProfileFollowers.vue b/resources/assets/components/partials/profile/ProfileFollowers.vue index 4f3df5fec..704a20896 100644 --- a/resources/assets/components/partials/profile/ProfileFollowers.vue +++ b/resources/assets/components/partials/profile/ProfileFollowers.vue @@ -12,7 +12,7 @@

@{{ profile.acct }}

-

{{ $t('profile.followers') }}

+

{{ $t('profile.followers.caption') }}

Back diff --git a/resources/assets/components/partials/profile/ProfileHoverCard.vue b/resources/assets/components/partials/profile/ProfileHoverCard.vue index c1bbff7a2..a2f2b5e61 100644 --- a/resources/assets/components/partials/profile/ProfileHoverCard.vue +++ b/resources/assets/components/partials/profile/ProfileHoverCard.vue @@ -72,7 +72,7 @@

- {{ formatCount(profile.following_count) }} Following + {{ formatCount(profile.following_count) }} {{ $t('profile.following.caption', profile.following_count) }} {{ formatCount(profile.followers_count) }} Followers diff --git a/resources/assets/components/partials/sidebar.vue b/resources/assets/components/partials/sidebar.vue index 06b20bf2a..3777eeb85 100644 --- a/resources/assets/components/partials/sidebar.vue +++ b/resources/assets/components/partials/sidebar.vue @@ -16,10 +16,10 @@

@{{ user.username }}

- {{ formatCount(user.following_count) }} Following + {{ formatCount(user.following_count) }} {{ $tc('sidebar.followingCount', user.following_count) }} - {{ formatCount(user.followers_count) }} Followers + {{ formatCount(user.followers_count) }} {{ $tc('sidebar.followersCount', user.followers_count) }}

@@ -29,10 +29,10 @@
- {{ $t('navmenu.compose') }} Post + {{ $t('navmenu.composePost') }}