Add new translations for feed tabs
This commit is contained in:
parent
0575bb8ee3
commit
196433052b
|
@ -1,24 +1,16 @@
|
||||||
.card
|
.card
|
||||||
.list-group.list-group-horizontal-sm.text-center
|
.list-group.list-group-horizontal-sm.text-center
|
||||||
= list_group_item t('views.general.timeline'), timeline_path
|
= list_group_item t('.timeline'), timeline_path
|
||||||
- if APP_CONFIG.dig(:features, :public, :enabled)
|
- if APP_CONFIG.dig(:features, :public, :enabled)
|
||||||
= list_group_item t('views.general.public'), public_timeline_path
|
= list_group_item t('.public'), public_timeline_path
|
||||||
%a.list-group-item.list-group-item-action.dropdown.dropdown-toggle{ class: list ? 'active' : '',
|
%a.list-group-item.list-group-item-action.dropdown.dropdown-toggle{ class: list ? 'active' : '',
|
||||||
type: :button, data: { toggle: :dropdown }, aria: { haspopup: true, expanded: false } }
|
type: :button, data: { toggle: :dropdown }, aria: { haspopup: true, expanded: false } }
|
||||||
- if list
|
- if list
|
||||||
= list.display_name
|
= list.display_name
|
||||||
- else
|
- else
|
||||||
Lists
|
= t(".lists.title")
|
||||||
.dropdown-menu.dropdown-menu-right.dropdown-menu--lists
|
.dropdown-menu.dropdown-menu-right.dropdown-menu--lists
|
||||||
- if current_user.lists.empty?
|
- if current_user.lists.empty?
|
||||||
.p-3
|
.p-3= t(".lists.notice_html")
|
||||||
%p Looks like you don't have any lists yet.
|
|
||||||
%p
|
|
||||||
You can create lists and add users to them using the
|
|
||||||
%i.fa.fa-fw.fa-list
|
|
||||||
icon in the navigation on user profiles that are not yours.
|
|
||||||
%p.mb-0
|
|
||||||
Once you have done that, the lists will be shown here.
|
|
||||||
When you select a list you'll get a timeline view of all users within that list.
|
|
||||||
- current_user.lists.each do |list|
|
- current_user.lists.each do |list|
|
||||||
%a.dropdown-item{ href: list_timeline_path(list.name) }= list.display_name
|
%a.dropdown-item{ href: list_timeline_path(list.name) }= list.display_name
|
||||||
|
|
|
@ -471,6 +471,21 @@ en:
|
||||||
terms: "Terms of Service"
|
terms: "Terms of Service"
|
||||||
privacy: "Privacy Policy"
|
privacy: "Privacy Policy"
|
||||||
tabs:
|
tabs:
|
||||||
|
feed:
|
||||||
|
public: "Public"
|
||||||
|
timeline: "Your Timeline"
|
||||||
|
lists:
|
||||||
|
title: "Lists"
|
||||||
|
notice_html: |
|
||||||
|
<p>Looks like you don't have any lists yet.</p>
|
||||||
|
<p>
|
||||||
|
You can create lists and add users to them using the <i class="fa fa-fw fa-list"></i>
|
||||||
|
icon in the navigation on user profiles that are not yours.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Once you have done that, the lists will be shown here.
|
||||||
|
When you select a list you'll get a timeline view of all users within that list.
|
||||||
|
</p>
|
||||||
moderation:
|
moderation:
|
||||||
all: "All reports"
|
all: "All reports"
|
||||||
answers: :activerecord.models.answer.other
|
answers: :activerecord.models.answer.other
|
||||||
|
|
Loading…
Reference in New Issue