Change confirm prompt for relationships management (#19411)
* Change confirm prompt for relationships management * Add Korean translations * Apply suggestions from code review Co-authored-by: TobyWilkes <tobylwilkes@gmail.com> Co-authored-by: TobyWilkes <tobylwilkes@gmail.com>
This commit is contained in:
parent
0e8f8a1a1c
commit
d66dfc7b3c
3 changed files with 9 additions and 3 deletions
|
@ -42,11 +42,11 @@
|
||||||
%label.batch-table__toolbar__select.batch-checkbox-all
|
%label.batch-table__toolbar__select.batch-checkbox-all
|
||||||
= check_box_tag :batch_checkbox_all, nil, false
|
= check_box_tag :batch_checkbox_all, nil, false
|
||||||
.batch-table__toolbar__actions
|
.batch-table__toolbar__actions
|
||||||
= f.button safe_join([fa_icon('user-plus'), t('relationships.follow_selected_followers')]), name: :follow, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') } if followed_by_relationship? && !mutual_relationship?
|
= f.button safe_join([fa_icon('user-plus'), t('relationships.follow_selected_followers')]), name: :follow, class: 'table-action-link', type: :submit, data: { confirm: t('relationships.confirm_follow_selected_followers') } if followed_by_relationship? && !mutual_relationship?
|
||||||
|
|
||||||
= f.button safe_join([fa_icon('user-times'), t('relationships.remove_selected_follows')]), name: :unfollow, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') } unless followed_by_relationship?
|
= f.button safe_join([fa_icon('user-times'), t('relationships.remove_selected_follows')]), name: :unfollow, class: 'table-action-link', type: :submit, data: { confirm: t('relationships.confirm_remove_selected_follows') } unless followed_by_relationship?
|
||||||
|
|
||||||
= f.button safe_join([fa_icon('trash'), t('relationships.remove_selected_followers')]), name: :remove_from_followers, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') } unless following_relationship?
|
= f.button safe_join([fa_icon('trash'), t('relationships.remove_selected_followers')]), name: :remove_from_followers, class: 'table-action-link', type: :submit, data: { confirm: t('relationships.confirm_remove_selected_followers') } unless following_relationship?
|
||||||
|
|
||||||
= f.button safe_join([fa_icon('trash'), t('relationships.remove_selected_domains')]), name: :block_domains, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') } if followed_by_relationship?
|
= f.button safe_join([fa_icon('trash'), t('relationships.remove_selected_domains')]), name: :block_domains, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') } if followed_by_relationship?
|
||||||
.batch-table__body
|
.batch-table__body
|
||||||
|
|
|
@ -1371,6 +1371,9 @@ en:
|
||||||
unrecognized_emoji: is not a recognized emoji
|
unrecognized_emoji: is not a recognized emoji
|
||||||
relationships:
|
relationships:
|
||||||
activity: Account activity
|
activity: Account activity
|
||||||
|
confirm_follow_selected_followers: Are you sure you want to follow selected followers?
|
||||||
|
confirm_remove_selected_followers: Are you sure you want to remove selected followers?
|
||||||
|
confirm_remove_selected_follows: Are you sure you want to remove selected follows?
|
||||||
dormant: Dormant
|
dormant: Dormant
|
||||||
follow_selected_followers: Follow selected followers
|
follow_selected_followers: Follow selected followers
|
||||||
followers: Followers
|
followers: Followers
|
||||||
|
|
|
@ -1343,6 +1343,9 @@ ko:
|
||||||
unrecognized_emoji: 인식 되지 않은 에모지입니다
|
unrecognized_emoji: 인식 되지 않은 에모지입니다
|
||||||
relationships:
|
relationships:
|
||||||
activity: 계정 활동
|
activity: 계정 활동
|
||||||
|
confirm_follow_selected_followers: 정말로 선택된 팔로워들을 팔로우 하시겠습니까?
|
||||||
|
confirm_remove_selected_followers: 정말로 선택된 팔로워들을 삭제하시겠습니까?
|
||||||
|
confirm_remove_selected_follows: 정말로 선택된 팔로우를 끊으시겠습니까?
|
||||||
dormant: 휴면
|
dormant: 휴면
|
||||||
follow_selected_followers: 선택한 팔로워들을 팔로우
|
follow_selected_followers: 선택한 팔로워들을 팔로우
|
||||||
followers: 팔로워
|
followers: 팔로워
|
||||||
|
|
Loading…
Reference in a new issue