From 08d5d2d73167f8b541a428ecf32b796c88c2293f Mon Sep 17 00:00:00 2001 From: Jeff Poirier Date: Sat, 6 Jul 2024 23:37:17 +0000 Subject: [PATCH] More translation expansion --- .../assets/components/landing/Directory.vue | 10 +-- .../assets/components/landing/Explore.vue | 8 +-- resources/assets/components/landing/Index.vue | 46 ++++++------ .../assets/components/landing/NotFound.vue | 6 +- .../components/landing/sections/footer.vue | 10 +-- .../components/landing/sections/nav.vue | 8 +-- resources/assets/js/components/NavMenu.vue | 8 +-- resources/lang/en/web.php | 66 +++++++++++++++-- resources/lang/fr/web.php | 70 +++++++++++++++++-- 9 files changed, 175 insertions(+), 57 deletions(-) diff --git a/resources/assets/components/landing/Directory.vue b/resources/assets/components/landing/Directory.vue index c8a1397b3..a2c73d828 100644 --- a/resources/assets/components/landing/Directory.vue +++ b/resources/assets/components/landing/Directory.vue @@ -6,20 +6,20 @@
-

Discover accounts and people

+

{{ $t('landing.discover.tagline') }}

@@ -43,7 +43,7 @@
-

Nothing to show yet! Check back later.

+

{{ $t('landing.discover.empty') }}

diff --git a/resources/assets/components/landing/Explore.vue b/resources/assets/components/landing/Explore.vue index 16152e7fc..e007eea40 100644 --- a/resources/assets/components/landing/Explore.vue +++ b/resources/assets/components/landing/Explore.vue @@ -6,20 +6,20 @@
-

Explore trending posts

+

{{ $t('landing.explore.tagline') }}

diff --git a/resources/assets/components/landing/Index.vue b/resources/assets/components/landing/Index.vue index 7cc8f6436..50d27b311 100644 --- a/resources/assets/components/landing/Index.vue +++ b/resources/assets/components/landing/Index.vue @@ -6,13 +6,13 @@ @@ -31,7 +31,7 @@

{{ config.domain }}

- + @@ -43,15 +43,15 @@

{{ formatCount(config.stats.posts_count) }}

-

Posts

+

{{ $tc('landing.about.stats.posts', config.stats.posts_count) }}

{{ formatCount(config.stats.active_users) }}

-

Active Users

+

{{ $tc('landing.about.stats.activeUsers', config.stats.active_users) }}

{{ formatCount(config.stats.total_users) }}

-

Total Users

+

{{ $tc('landing.about.stats.totalUsers', config.stats.total_users) }}

@@ -93,7 +93,7 @@ @@ -113,7 +113,7 @@ @@ -137,7 +137,7 @@ @@ -146,15 +146,15 @@
-
Photo Posts
-
Photo Albums
-
Photo Filters
-
Collections
-
Comments
-
Hashtags
-
Likes
-
Notifications
-
Shares
+
{{ $t('landing.about.features.photoPosts' ) }}
+
{{ $t('landing.about.features.photoAlbums' ) }}
+
{{ $t('landing.about.features.photoFilters' ) }}
+
{{ $t('landing.about.features.collections' ) }}
+
{{ $t('landing.about.features.comments' ) }}
+
{{ $t('landing.about.features.hashtags' ) }}
+
{{ $t('landing.about.features.likes' ) }}
+
{{ $t('landing.about.features.notifications' ) }}
+
{{ $t('landing.about.features.shares' ) }}
@@ -168,22 +168,22 @@
-
Federation
+
{{ $t('landing.about.features.federation') }}
-
Mobile App Support
+
{{ $t('landing.about.features.mobileAppSupport') }}
-
Stories
+
{{ $t('landing.about.features.stories') }}
-
Videos
+
{{ $t('landing.about.features.videos') }}
diff --git a/resources/assets/components/landing/NotFound.vue b/resources/assets/components/landing/NotFound.vue index 036aed662..377d3a5fd 100644 --- a/resources/assets/components/landing/NotFound.vue +++ b/resources/assets/components/landing/NotFound.vue @@ -4,10 +4,10 @@
-

404 - Not Found

-

The page you are looking for does not exist.

+

{{ $t('landing.notfound.header') }}

+

{{ $t('landing.notfound.description') }}

- Go back home + {{ $t('landing.notfound.goback') }}
diff --git a/resources/assets/components/landing/sections/footer.vue b/resources/assets/components/landing/sections/footer.vue index 8733030e4..68a71ad1f 100644 --- a/resources/assets/components/landing/sections/footer.vue +++ b/resources/assets/components/landing/sections/footer.vue @@ -1,19 +1,19 @@