Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma-fe
Commits
d22e04ea
Commit
d22e04ea
authored
Dec 28, 2021
by
HJ
🔥
Browse files
Merge branch 'allow_to_cancel_follow_request' into 'develop'
Allow canceling a follow request See merge request
!1416
parents
a20f1794
4587f37d
Pipeline
#38483
passed with stages
in 4 minutes and 46 seconds
Changes
26
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/follow_button/follow_button.js
View file @
d22e04ea
...
...
@@ -14,7 +14,7 @@ export default {
if
(
this
.
inProgress
||
this
.
relationship
.
following
)
{
return
this
.
$t
(
'
user_card.follow_unfollow
'
)
}
else
if
(
this
.
relationship
.
requested
)
{
return
this
.
$t
(
'
user_card.follow_
again
'
)
return
this
.
$t
(
'
user_card.follow_
cancel
'
)
}
else
{
return
this
.
$t
(
'
user_card.follow
'
)
}
...
...
@@ -33,7 +33,7 @@ export default {
},
methods
:
{
onClick
()
{
this
.
relationship
.
following
?
this
.
unfollow
()
:
this
.
follow
()
this
.
relationship
.
following
||
this
.
relationship
.
requested
?
this
.
unfollow
()
:
this
.
follow
()
},
follow
()
{
this
.
inProgress
=
true
...
...
src/i18n/ca.json
View file @
d22e04ea
...
...
@@ -620,7 +620,6 @@
"grant_moderator"
:
"Concedir permisos de Moderació"
},
"edit_profile"
:
"Edita el perfil"
,
"follow_again"
:
"Envia de nou la petició?"
,
"hidden"
:
"Amagat"
,
"follow_sent"
:
"Petició enviada!"
,
"unmute_progress"
:
"Deixant de silenciar…"
,
...
...
src/i18n/cs.json
View file @
d22e04ea
...
...
@@ -407,7 +407,6 @@
"follow"
:
"Sledovat"
,
"follow_sent"
:
"Požadavek odeslán!"
,
"follow_progress"
:
"Odeslílám požadavek…"
,
"follow_again"
:
"Odeslat požadavek znovu?"
,
"follow_unfollow"
:
"Přestat sledovat"
,
"followees"
:
"Sledovaní"
,
"followers"
:
"Sledující"
,
...
...
src/i18n/de.json
View file @
d22e04ea
...
...
@@ -569,7 +569,6 @@
"follow"
:
"Folgen"
,
"follow_sent"
:
"Anfrage gesendet!"
,
"follow_progress"
:
"Anfragen…"
,
"follow_again"
:
"Anfrage erneut senden?"
,
"follow_unfollow"
:
"Folgen beenden"
,
"followees"
:
"Folgt"
,
"followers"
:
"Folgende"
,
...
...
src/i18n/en.json
View file @
d22e04ea
...
...
@@ -731,9 +731,9 @@
"edit_profile"
:
"Edit profile"
,
"favorites"
:
"Favorites"
,
"follow"
:
"Follow"
,
"follow_cancel"
:
"Cancel request"
,
"follow_sent"
:
"Request sent!"
,
"follow_progress"
:
"Requesting…"
,
"follow_again"
:
"Send request again?"
,
"follow_unfollow"
:
"Unfollow"
,
"followees"
:
"Following"
,
"followers"
:
"Followers"
,
...
...
src/i18n/eo.json
View file @
d22e04ea
...
...
@@ -580,7 +580,6 @@
"follow"
:
"Aboni"
,
"follow_sent"
:
"Peto sendiĝis!"
,
"follow_progress"
:
"Petante…"
,
"follow_again"
:
"Ĉu sendi peton ree?"
,
"follow_unfollow"
:
"Malaboni"
,
"followees"
:
"Abonatoj"
,
"followers"
:
"Abonantoj"
,
...
...
src/i18n/es.json
View file @
d22e04ea
...
...
@@ -687,7 +687,6 @@
"follow"
:
"Seguir"
,
"follow_sent"
:
"¡Solicitud enviada!"
,
"follow_progress"
:
"Solicitando…"
,
"follow_again"
:
"¿Enviar solicitud de nuevo?"
,
"follow_unfollow"
:
"Dejar de seguir"
,
"followees"
:
"Siguiendo"
,
"followers"
:
"Seguidores"
,
...
...
src/i18n/eu.json
View file @
d22e04ea
...
...
@@ -569,7 +569,6 @@
"follow"
:
"Jarraitu"
,
"follow_sent"
:
"Eskaera bidalita!"
,
"follow_progress"
:
"Eskatzen…"
,
"follow_again"
:
"Eskaera berriro bidali?"
,
"follow_unfollow"
:
"Jarraitzeari utzi"
,
"followees"
:
"Jarraitzen"
,
"followers"
:
"Jarraitzaileak"
,
...
...
src/i18n/fi.json
View file @
d22e04ea
...
...
@@ -590,7 +590,6 @@
"follow"
:
"Seuraa"
,
"follow_sent"
:
"Pyyntö lähetetty!"
,
"follow_progress"
:
"Pyydetään…"
,
"follow_again"
:
"Lähetä pyyntö uudestaan?"
,
"follow_unfollow"
:
"Älä seuraa"
,
"followees"
:
"Seuraa"
,
"followers"
:
"Seuraajat"
,
...
...
src/i18n/fr.json
View file @
d22e04ea
...
...
@@ -624,7 +624,6 @@
"follow"
:
"Suivre"
,
"follow_sent"
:
"Demande envoyée !"
,
"follow_progress"
:
"Demande en cours…"
,
"follow_again"
:
"Renvoyer la demande ?"
,
"follow_unfollow"
:
"Désabonner"
,
"followees"
:
"Suivis"
,
"followers"
:
"Vous suivent"
,
...
...
src/i18n/he.json
View file @
d22e04ea
...
...
@@ -312,7 +312,6 @@
"follow"
:
"עקוב"
,
"follow_sent"
:
"בקשה נשלחה!"
,
"follow_progress"
:
"מבקש…"
,
"follow_again"
:
"שלח בקשה שוב?"
,
"follow_unfollow"
:
"בטל עקיבה"
,
"followees"
:
"נעקבים"
,
"followers"
:
"עוקבים"
,
...
...
src/i18n/id.json
View file @
d22e04ea
...
...
@@ -322,7 +322,6 @@
"delete_user"
:
"Hapus pengguna"
,
"delete_user_confirmation"
:
"Apakah Anda benar-benar yakin? Tindakan ini tidak dapat dibatalkan."
},
"follow_again"
:
"Kirim permintaan lagi?"
,
"follow_unfollow"
:
"Berhenti mengikuti"
,
"followees"
:
"Mengikuti"
,
"followers"
:
"Pengikut"
,
...
...
src/i18n/it.json
View file @
d22e04ea
...
...
@@ -516,7 +516,6 @@
"its_you"
:
"Sei tu!"
,
"hidden"
:
"Nascosto"
,
"follow_unfollow"
:
"Disconosci"
,
"follow_again"
:
"Reinvio richiesta?"
,
"follow_progress"
:
"Richiedo…"
,
"follow_sent"
:
"Richiesta inviata!"
,
"favorites"
:
"Preferiti"
,
...
...
src/i18n/ja_easy.json
View file @
d22e04ea
...
...
@@ -567,7 +567,6 @@
"follow"
:
"フォロー"
,
"follow_sent"
:
"リクエストを、おくりました!"
,
"follow_progress"
:
"リクエストしています…"
,
"follow_again"
:
"ふたたびリクエストをおくりますか?"
,
"follow_unfollow"
:
"フォローをやめる"
,
"followees"
:
"フォロー"
,
"followers"
:
"フォロワー"
,
...
...
src/i18n/ja_pedantic.json
View file @
d22e04ea
...
...
@@ -679,7 +679,6 @@
"follow"
:
"フォロー"
,
"follow_sent"
:
"リクエストを送りました!"
,
"follow_progress"
:
"リクエストしています…"
,
"follow_again"
:
"再びリクエストを送りますか?"
,
"follow_unfollow"
:
"フォローをやめる"
,
"followees"
:
"フォロー"
,
"followers"
:
"フォロワー"
,
...
...
src/i18n/ko.json
View file @
d22e04ea
...
...
@@ -428,7 +428,6 @@
"follow"
:
"팔로우"
,
"follow_sent"
:
"요청 보내짐!"
,
"follow_progress"
:
"요청 중…"
,
"follow_again"
:
"요청을 다시 보낼까요?"
,
"follow_unfollow"
:
"팔로우 중지"
,
"followees"
:
"팔로우 중"
,
"followers"
:
"팔로워"
,
...
...
src/i18n/nb.json
View file @
d22e04ea
...
...
@@ -516,7 +516,6 @@
"follow"
:
"Følg"
,
"follow_sent"
:
"Forespørsel sendt!"
,
"follow_progress"
:
"Forespør…"
,
"follow_again"
:
"Gjenta forespørsel?"
,
"follow_unfollow"
:
"Avfølg"
,
"followees"
:
"Følger"
,
"followers"
:
"Følgere"
,
...
...
src/i18n/nl.json
View file @
d22e04ea
...
...
@@ -565,9 +565,9 @@
"deny"
:
"Weigeren"
,
"favorites"
:
"Favorieten"
,
"follow"
:
"Volgen"
,
"follow_cancel"
:
"Aanvraag annuleren"
,
"follow_sent"
:
"Aanvraag verzonden!"
,
"follow_progress"
:
"Aanvragen…"
,
"follow_again"
:
"Aanvraag opnieuw zenden?"
,
"follow_unfollow"
:
"Stop volgen"
,
"followees"
:
"Aan het volgen"
,
"followers"
:
"Volgers"
,
...
...
src/i18n/oc.json
View file @
d22e04ea
...
...
@@ -465,7 +465,6 @@
"follow"
:
"Seguir"
,
"follow_sent"
:
"Demanda enviada !"
,
"follow_progress"
:
"Demanda…"
,
"follow_again"
:
"Tornar enviar la demanda ?"
,
"follow_unfollow"
:
"Quitar de seguir"
,
"followees"
:
"Abonaments"
,
"followers"
:
"Seguidors"
,
...
...
src/i18n/pl.json
View file @
d22e04ea
...
...
@@ -721,7 +721,6 @@
"follow"
:
"Obserwuj"
,
"follow_sent"
:
"Wysłano prośbę!"
,
"follow_progress"
:
"Wysyłam prośbę…"
,
"follow_again"
:
"Wysłać prośbę ponownie?"
,
"follow_unfollow"
:
"Przestań obserwować"
,
"followees"
:
"Obserwowani"
,
"followers"
:
"Obserwujący"
,
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment