mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 06:23:18 +00:00
Extending transation coverage to profile and landing page
This commit is contained in:
parent
ace65df62a
commit
f8f8dc6969
11 changed files with 131 additions and 29 deletions
Binary file not shown.
Binary file not shown.
|
@ -227,7 +227,7 @@
|
|||
v-html="conversationProfile.display_name"
|
||||
@click="gotoProfile(conversationProfile)"
|
||||
>
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p
|
||||
class="username primary"
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
<div class="card-header bg-bluegray-800 nav-menu" style="border-top-left-radius: 10px; border-top-right-radius: 10px;">
|
||||
<ul class="nav justify-content-around">
|
||||
<li class="nav-item">
|
||||
<router-link to="/" class="nav-link">About</router-link>
|
||||
<router-link to="/" class="nav-link">{{ $t('landing.about') }}</router-link>
|
||||
</li>
|
||||
<li v-if="config.show_directory" class="nav-item">
|
||||
<router-link to="/web/directory" class="nav-link">Directory</router-link>
|
||||
<router-link to="/web/directory" class="nav-link">{{ $t('landing.directory') }}</router-link>
|
||||
</li>
|
||||
<li v-if="config.show_explore_feed" class="nav-item">
|
||||
<router-link to="/web/explore" class="nav-link">Explore</router-link>
|
||||
<router-link to="/web/explore" class="nav-link">{{ $t('landing.explore') }}</router-link>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -31,7 +31,11 @@
|
|||
<div class="server-header">
|
||||
<p class="server-header-domain">{{ config.domain }}</p>
|
||||
<p class="server-header-attribution">
|
||||
Decentralized photo sharing social media powered by <a href="https://pixelfed.org" target="_blank">Pixelfed</a>
|
||||
<i18n path="landing.header" tag="p">
|
||||
<template v-slot:pixelfedLink>
|
||||
<a href="https://pixelfed.org" target="_blank">Pixelfed</a>
|
||||
</template>
|
||||
</i18n>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
<div class="d-flex align-items-center justify-content-center flex-column w-100 overflow-hidden">
|
||||
<p class="small text-muted mb-0 text-uppercase font-weight-light cursor-pointer text-truncate text-center" style="width: 70%;" @click="goBack()">@{{ profile.acct }}</p>
|
||||
<p class="lead font-weight-bold mt-n1 mb-0">{{ $t('profile.followers') }}</p>
|
||||
<p class="lead font-weight-bold mt-n1 mb-0">{{ $t('profile.followers.caption') }}</p>
|
||||
</div>
|
||||
<div>
|
||||
<a class="btn btn-dark rounded-pill font-weight-bold spacer-btn" href="#">Back</a>
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
<p class="stats">
|
||||
<span class="stats-following">
|
||||
<span class="following-count">{{ formatCount(profile.following_count) }}</span> Following
|
||||
<span class="following-count">{{ formatCount(profile.following_count) }}</span> {{ $t('profile.following.caption', profile.following_count) }}
|
||||
</span>
|
||||
<span class="stats-followers">
|
||||
<span class="followers-count">{{ formatCount(profile.followers_count) }}</span> Followers
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
<p class="username primary">@{{ user.username }}</p>
|
||||
<p class="stats">
|
||||
<span class="stats-following">
|
||||
<span class="following-count">{{ formatCount(user.following_count) }}</span> Following
|
||||
<span class="following-count">{{ formatCount(user.following_count) }}</span> {{ $tc('sidebar.followingCount', user.following_count) }}
|
||||
</span>
|
||||
<span class="stats-followers">
|
||||
<span class="followers-count">{{ formatCount(user.followers_count) }}</span> Followers
|
||||
<span class="followers-count">{{ formatCount(user.followers_count) }}</span> {{ $tc('sidebar.followersCount', user.followers_count) }}
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
|
@ -29,10 +29,10 @@
|
|||
|
||||
<div class="btn-group btn-group-lg btn-block mb-4">
|
||||
<!-- <button type="button" class="btn btn-outline-primary btn-block font-weight-bold" style="border-top-left-radius: 18px;border-bottom-left-radius:18px;font-size:18px;font-weight:300!important" @click="createNewPost()">
|
||||
<i class="fal fa-arrow-circle-up mr-1"></i> {{ $t('navmenu.compose') }} Post
|
||||
<i class="fal fa-arrow-circle-up mr-1"></i> {{ $t('navmenu.composePost') }}
|
||||
</button> -->
|
||||
<router-link to="/i/web/compose" class="btn btn-primary btn-block font-weight-bold">
|
||||
<i class="fal fa-arrow-circle-up mr-1"></i> {{ $t('navmenu.compose') }} Post
|
||||
<i class="fal fa-arrow-circle-up mr-1"></i> {{ $t('navmenu.composePost') }}
|
||||
</router-link>
|
||||
<button type="button" class="btn btn-outline-primary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-expanded="false">
|
||||
<span class="sr-only">Toggle Dropdown</span>
|
||||
|
|
|
@ -43,10 +43,11 @@
|
|||
"notifications": "Notifications",
|
||||
"groups": "Groups",
|
||||
"stories": "Stories",
|
||||
"uiSettings": "UI Settings",
|
||||
"profile": "Profile",
|
||||
"drive": "Drive",
|
||||
"settings": "Settings",
|
||||
"compose": "Create New",
|
||||
"composePost": "Create New Post",
|
||||
"logout": "Logout",
|
||||
"about": "About",
|
||||
"help": "Help",
|
||||
|
@ -56,6 +57,12 @@
|
|||
"poweredByPixelfed": "Powered by Pixelfed",
|
||||
"backToPreviousDesign": "Go back to previous design"
|
||||
},
|
||||
"landing": {
|
||||
"about": "About",
|
||||
"directory": "Directory",
|
||||
"explore": "Explore",
|
||||
"header": "Decentralized photo sharing social media powered by {pixelfedLink}"
|
||||
},
|
||||
"uiSettings": {
|
||||
"title": "UI Settings",
|
||||
"theme": "Theme",
|
||||
|
@ -104,8 +111,12 @@
|
|||
},
|
||||
"profile": {
|
||||
"posts": "Posts",
|
||||
"followers": "Followers",
|
||||
"following": "Following",
|
||||
"followers": {
|
||||
"caption": "Follower | Followers"
|
||||
},
|
||||
"following": {
|
||||
"caption": "Following"
|
||||
},
|
||||
"admin": "Admin",
|
||||
"collections": "Collections",
|
||||
"follow": "Follow",
|
||||
|
@ -181,5 +192,9 @@
|
|||
"sendingReport": "Sending report",
|
||||
"thanksMsg": "Thanks for the report, people like you help keep our community safe!",
|
||||
"contactAdminMsg": "If you'd like to contact an administrator about this post or report"
|
||||
},
|
||||
"sidebar": {
|
||||
"followingCount": "Following",
|
||||
"followersCount": "Followers"
|
||||
}
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
"shared": "Partag\u00e9",
|
||||
"shares": "Partages",
|
||||
"unshare": "Ne plus partager",
|
||||
"bookmark": "Signet",
|
||||
"cancel": "Annuler",
|
||||
"copyLink": "Copier le lien",
|
||||
"delete": "Supprimer",
|
||||
|
@ -19,6 +20,10 @@
|
|||
"other": "Autre",
|
||||
"readMore": "En savoir plus",
|
||||
"success": "Op\u00e9ration r\u00e9ussie",
|
||||
"proceed": "Continuer",
|
||||
"next": "Suivant",
|
||||
"close": "Fermer",
|
||||
"clickHere": "cliquez ici",
|
||||
"sensitive": "Sensible",
|
||||
"sensitiveContent": "Contenu sensible",
|
||||
"sensitiveContentWarning": "Le contenu de ce message peut \u00eatre sensible"
|
||||
|
@ -42,7 +47,7 @@
|
|||
"profile": "Mon profil",
|
||||
"drive": "M\u00e9diath\u00e8que",
|
||||
"settings": "Param\u00e8tres",
|
||||
"compose": "R\u00e9daction",
|
||||
"composePost": "R\u00e9diger",
|
||||
"logout": "D\u00e9connexion",
|
||||
"about": "\u00c0 propos",
|
||||
"help": "Aide",
|
||||
|
@ -52,6 +57,12 @@
|
|||
"poweredByPixelfed": "Propuls\u00e9 par Pixelfed",
|
||||
"backToPreviousDesign": "Basculer vers l'ancienne interface"
|
||||
},
|
||||
"landing": {
|
||||
"about": "\u00c0 propos",
|
||||
"directory": "Bottin",
|
||||
"explore": "D\u00e9couverte",
|
||||
"header": "Le partage de photos, dans un m\u00e9dia social d\u00e9centralis\u00e9, propuls\u00e9 par {pixelfedLink}"
|
||||
},
|
||||
"uiSettings": {
|
||||
"title": "Param\u00e8tres visuels",
|
||||
"theme": "Jeu de couleurs",
|
||||
|
@ -89,7 +100,8 @@
|
|||
"groupPost": "publication de groupe",
|
||||
"modlog": "journal de mod\u00e9ration",
|
||||
"post": "publication",
|
||||
"story": "story"
|
||||
"story": "story",
|
||||
"noneFound": "Aucune notification"
|
||||
},
|
||||
"post": {
|
||||
"shareToFollowers": "Partager avec ses abonn\u00e9\u00b7e\u00b7s",
|
||||
|
@ -99,8 +111,12 @@
|
|||
},
|
||||
"profile": {
|
||||
"posts": "Publications",
|
||||
"followers": "Abonn\u00e9\u00b7e\u00b7s",
|
||||
"following": "Abonnements",
|
||||
"followers": {
|
||||
"caption": "Abonn\u00e9\u00b7e | Abonn\u00e9\u00b7e\u00b7s"
|
||||
},
|
||||
"following": {
|
||||
"caption": "Abonnement | Abonnements"
|
||||
},
|
||||
"admin": "Administrateur\u00b7rice",
|
||||
"collections": "Collections",
|
||||
"follow": "S'abonner",
|
||||
|
@ -158,9 +174,27 @@
|
|||
"add": "Ajouter une Story"
|
||||
},
|
||||
"timeline": {
|
||||
"peopleYouMayKnow": "Connaissances potentielles"
|
||||
"peopleYouMayKnow": "Connaissances potentielles",
|
||||
"onboarding": {
|
||||
"welcome": "Bienvenue",
|
||||
"thisIsYourHomeFeed": "Voici votre fil personnel, qui offre les publications de comptes suivis, en ordre chronologique.",
|
||||
"letUsHelpYouFind": "Laissez-nous vous pr\u00e9senter des gens qui vont vous int\u00e9resser",
|
||||
"refreshFeed": "Mise \u00e0 jour de mon fil"
|
||||
}
|
||||
},
|
||||
"hashtags": {
|
||||
"emptyFeed": "Aucune publication associ\u00e9e \u00e0 ce mot-clic!"
|
||||
},
|
||||
"report": {
|
||||
"report": "Signaler",
|
||||
"selectReason": "Signaler en tant que",
|
||||
"reported": "Signal\u00e9",
|
||||
"sendingReport": "Envoi du signalement",
|
||||
"thanksMsg": "Merci de votre signalement; vous contribuez \u00e0 la s\u00e9curit\u00e9 de notre communaut\u00e9!",
|
||||
"contactAdminMsg": "Si vous d\u00e9sirez discuter de ce signalement avec un\u00b7e admnistrateur\u00b7trice"
|
||||
},
|
||||
"sidebar": {
|
||||
"followingCount": "Abonnement|Abonnements",
|
||||
"followersCount": "Abonn\u00e9\u00b7e|Abonn\u00e9\u00b7e\u00b7s"
|
||||
}
|
||||
}
|
|
@ -54,12 +54,13 @@ return [
|
|||
'notifications' => 'Notifications',
|
||||
'groups' => 'Groups',
|
||||
'stories' => 'Stories',
|
||||
'uiSettings' => 'UI Settings',
|
||||
|
||||
// Self links
|
||||
'profile' => 'Profile',
|
||||
'drive' => 'Drive',
|
||||
'settings' => 'Settings',
|
||||
'compose' => 'Create New',
|
||||
'composePost' => 'Create New Post',
|
||||
'logout' => 'Logout',
|
||||
|
||||
// Nav footer
|
||||
|
@ -73,6 +74,13 @@ return [
|
|||
// Temporary links
|
||||
'backToPreviousDesign' => 'Go back to previous design'
|
||||
],
|
||||
|
||||
'landing' => [
|
||||
'about' => 'About',
|
||||
'directory' => 'Directory',
|
||||
'explore' => 'Explore',
|
||||
'header' => 'Decentralized photo sharing social media powered by {pixelfedLink}',
|
||||
],
|
||||
|
||||
'uiSettings' => [
|
||||
'title' => 'UI Settings',
|
||||
|
@ -130,8 +138,12 @@ return [
|
|||
|
||||
'profile' => [
|
||||
'posts' => 'Posts',
|
||||
'followers' => 'Followers',
|
||||
'following' => 'Following',
|
||||
'followers' => [
|
||||
'caption' => 'Follower | Followers',
|
||||
],
|
||||
'following' => [
|
||||
'caption' => 'Following',
|
||||
],
|
||||
'admin' => 'Admin',
|
||||
'collections' => 'Collections',
|
||||
'follow' => 'Follow',
|
||||
|
@ -221,4 +233,8 @@ return [
|
|||
'contactAdminMsg' => 'If you\'d like to contact an administrator about this post or report',
|
||||
],
|
||||
|
||||
'sidebar' => [
|
||||
'followingCount' => 'Following',
|
||||
'followersCount' => 'Followers'
|
||||
]
|
||||
];
|
||||
|
|
|
@ -13,7 +13,7 @@ return [
|
|||
'shared' => 'Partagé',
|
||||
'shares' => 'Partages',
|
||||
'unshare' => 'Ne plus partager',
|
||||
|
||||
'bookmark' => 'Signet',
|
||||
'cancel' => 'Annuler',
|
||||
'copyLink' => 'Copier le lien',
|
||||
'delete' => 'Supprimer',
|
||||
|
@ -23,6 +23,10 @@ return [
|
|||
'other' => 'Autre',
|
||||
'readMore' => 'En savoir plus',
|
||||
'success' => 'Opération réussie',
|
||||
'proceed' => 'Continuer',
|
||||
'next' => 'Suivant',
|
||||
'close' => 'Fermer',
|
||||
'clickHere' => 'cliquez ici',
|
||||
|
||||
'sensitive' => 'Sensible',
|
||||
'sensitiveContent' => 'Contenu sensible',
|
||||
|
@ -55,7 +59,7 @@ return [
|
|||
'profile' => 'Mon profil',
|
||||
'drive' => 'Médiathèque',
|
||||
'settings' => 'Paramètres',
|
||||
'compose' => 'Rédaction',
|
||||
'composePost' => 'Rédiger',
|
||||
'logout' => 'Déconnexion',
|
||||
|
||||
// Nav footer
|
||||
|
@ -70,6 +74,13 @@ return [
|
|||
'backToPreviousDesign' => 'Basculer vers l\'ancienne interface'
|
||||
],
|
||||
|
||||
'landing' => [
|
||||
'about' => 'À propos',
|
||||
'directory' => 'Bottin',
|
||||
'explore' => 'Découverte',
|
||||
'header' => 'Des images partagées de manière décentralisée grâce au média social {pixelfedLink}',
|
||||
],
|
||||
|
||||
'uiSettings' => [
|
||||
'title' => 'Paramètres visuels',
|
||||
'theme' => 'Jeu de couleurs',
|
||||
|
@ -114,7 +125,8 @@ return [
|
|||
'modlog' => 'journal de modération',
|
||||
'post' => 'publication',
|
||||
'story' => 'story',
|
||||
],
|
||||
'noneFound' => 'Aucune notification'
|
||||
],
|
||||
|
||||
'post' => [
|
||||
'shareToFollowers' => 'Partager avec ses abonné·e·s',
|
||||
|
@ -125,8 +137,12 @@ return [
|
|||
|
||||
'profile' => [
|
||||
'posts' => 'Publications',
|
||||
'followers' => 'Abonné·e·s',
|
||||
'following' => 'Abonnements',
|
||||
'followers' => [
|
||||
'caption' => 'Abonné·e | Abonné·e·s',
|
||||
],
|
||||
'following' => [
|
||||
'caption' => 'Abonnement | Abonnements',
|
||||
],
|
||||
'admin' => 'Administrateur·rice',
|
||||
'collections' => 'Collections',
|
||||
'follow' => 'S\'abonner',
|
||||
|
@ -193,11 +209,28 @@ return [
|
|||
],
|
||||
|
||||
'timeline' => [
|
||||
'peopleYouMayKnow' => 'Connaissances potentielles'
|
||||
'peopleYouMayKnow' => 'Connaissances potentielles',
|
||||
'onboarding' => [
|
||||
'welcome' => 'Bienvenue',
|
||||
'thisIsYourHomeFeed' => 'Voici votre fil personnel, qui offre les publications de comptes suivis, en ordre chronologique.',
|
||||
'letUsHelpYouFind' => 'Laissez-nous vous présenter des gens qui vont vous intéresser',
|
||||
'refreshFeed' => 'Mise à jour de mon fil',
|
||||
],
|
||||
],
|
||||
|
||||
'hashtags' => [
|
||||
'emptyFeed' => 'Aucune publication associée à ce mot-clic!'
|
||||
],
|
||||
|
||||
'report' => [
|
||||
'report' => 'Signaler',
|
||||
'selectReason' => 'Signaler en tant que',
|
||||
'reported' => 'Signalé',
|
||||
'sendingReport' => 'Envoi du signalement',
|
||||
'thanksMsg' => 'Merci de votre signalement; vous contribuez à la sécurité de notre communauté!',
|
||||
'contactAdminMsg' => 'Si vous désirez discuter de ce signalement avec un·e admnistrateur·trice',
|
||||
],
|
||||
'sidebar' => [
|
||||
'followingCount' => 'Abonnement|Abonnements',
|
||||
'followersCount' => 'Abonné·e|Abonné·e·s'
|
||||
]
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue