parent
2bd344a594
commit
0532890c0e
|
@ -1,51 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Settings::FeaturedTagsController < Settings::BaseController
|
||||
layout 'admin'
|
||||
|
||||
before_action :authenticate_user!
|
||||
before_action :set_featured_tags, only: :index
|
||||
before_action :set_featured_tag, except: [:index, :create]
|
||||
before_action :set_most_used_tags, only: :index
|
||||
|
||||
def index
|
||||
@featured_tag = FeaturedTag.new
|
||||
end
|
||||
|
||||
def create
|
||||
@featured_tag = current_account.featured_tags.new(featured_tag_params)
|
||||
@featured_tag.reset_data
|
||||
|
||||
if @featured_tag.save
|
||||
redirect_to settings_featured_tags_path
|
||||
else
|
||||
set_featured_tags
|
||||
set_most_used_tags
|
||||
|
||||
render :index
|
||||
end
|
||||
end
|
||||
|
||||
def destroy
|
||||
@featured_tag.destroy!
|
||||
redirect_to settings_featured_tags_path
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def set_featured_tag
|
||||
@featured_tag = current_account.featured_tags.find(params[:id])
|
||||
end
|
||||
|
||||
def set_featured_tags
|
||||
@featured_tags = current_account.featured_tags.order(statuses_count: :desc).reject(&:new_record?)
|
||||
end
|
||||
|
||||
def set_most_used_tags
|
||||
@most_used_tags = Tag.most_used(current_account).where.not(id: @featured_tags.map(&:id)).limit(10)
|
||||
end
|
||||
|
||||
def featured_tag_params
|
||||
params.require(:featured_tag).permit(:name)
|
||||
end
|
||||
end
|
|
@ -15,9 +15,5 @@ class ProcessHashtagsService < BaseService
|
|||
end
|
||||
|
||||
return unless status.public_visibility? || status.unlisted_visibility?
|
||||
|
||||
status.account.featured_tags.where(tag_id: records.map(&:id)).each do |featured_tag|
|
||||
featured_tag.increment(status.created_at)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -137,10 +137,6 @@ class RemoveStatusService < BaseService
|
|||
end
|
||||
|
||||
def remove_from_hashtags
|
||||
@account.featured_tags.where(tag_id: @status.tags.pluck(:id)).each do |featured_tag|
|
||||
featured_tag.decrement(@status.id)
|
||||
end
|
||||
|
||||
return unless @status.public_visibility?
|
||||
|
||||
@tags.each do |hashtag|
|
||||
|
|
|
@ -31,16 +31,3 @@
|
|||
|
||||
.column-1
|
||||
= render 'bio', account: @account
|
||||
|
||||
- @account.featured_tags.order(statuses_count: :desc).each do |featured_tag|
|
||||
.directory__tag{ class: params[:tag] == featured_tag.name ? 'active' : nil }
|
||||
= link_to short_account_tag_path(@account, featured_tag.tag) do
|
||||
%h4
|
||||
= fa_icon 'hashtag'
|
||||
= featured_tag.name
|
||||
%small
|
||||
- if featured_tag.last_status_at.nil?
|
||||
= t('accounts.nothing_here')
|
||||
- else
|
||||
%time{ datetime: featured_tag.last_status_at.iso8601, title: l(featured_tag.last_status_at) }= l featured_tag.last_status_at
|
||||
.trends__item__current= number_to_human featured_tag.statuses_count, strip_insignificant_zeros: true
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
- content_for :page_title do
|
||||
= t('settings.featured_tags')
|
||||
|
||||
= simple_form_for @featured_tag, url: settings_featured_tags_path do |f|
|
||||
= render 'shared/error_messages', object: @featured_tag
|
||||
|
||||
.fields-group
|
||||
= f.input :name, wrapper: :with_block_label, hint: safe_join([t('simple_form.hints.featured_tag.name'), safe_join(@most_used_tags.map { |tag| link_to("##{tag.name}", settings_featured_tags_path(featured_tag: { name: tag.name }), method: :post) }, ', ')], ' ')
|
||||
|
||||
.actions
|
||||
= f.button :button, t('featured_tags.add_new'), type: :submit
|
||||
|
||||
%hr.spacer/
|
||||
|
||||
- @featured_tags.each do |featured_tag|
|
||||
.directory__tag{ class: params[:tag] == featured_tag.name ? 'active' : nil }
|
||||
%div
|
||||
%h4
|
||||
= fa_icon 'hashtag'
|
||||
= featured_tag.name
|
||||
%small
|
||||
- if featured_tag.last_status_at.nil?
|
||||
= t('accounts.nothing_here')
|
||||
- else
|
||||
%time{ datetime: featured_tag.last_status_at.iso8601, title: l(featured_tag.last_status_at) }= l featured_tag.last_status_at
|
||||
= table_link_to 'trash', t('filters.index.delete'), settings_featured_tag_path(featured_tag), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }
|
||||
.trends__item__current= number_to_human featured_tag.statuses_count, strip_insignificant_zeros: true
|
|
@ -588,8 +588,6 @@ ar:
|
|||
lists: القوائم
|
||||
mutes: قُمتَ بكتم
|
||||
storage: ذاكرة التخزين
|
||||
featured_tags:
|
||||
add_new: إضافة واحد
|
||||
filters:
|
||||
contexts:
|
||||
home: الخيط الزمني الرئيسي
|
||||
|
|
|
@ -610,10 +610,6 @@ ca:
|
|||
lists: Llistes
|
||||
mutes: Persones silenciades
|
||||
storage: Emmagatzematge
|
||||
featured_tags:
|
||||
add_new: Afegir nova
|
||||
errors:
|
||||
limit: Ja has mostrat la quantitat màxima d'etiquetes
|
||||
filters:
|
||||
contexts:
|
||||
home: Línia de temps Inici
|
||||
|
@ -869,7 +865,6 @@ ca:
|
|||
development: Desenvolupament
|
||||
edit_profile: Editar perfil
|
||||
export: Exportar dades
|
||||
featured_tags: Etiquetes destacades
|
||||
identity_proofs: Proves d'identitat
|
||||
import: Importar
|
||||
import_and_export: Importar i exportar
|
||||
|
|
|
@ -610,10 +610,6 @@ co:
|
|||
lists: Liste
|
||||
mutes: Piattate
|
||||
storage: I vostri media
|
||||
featured_tags:
|
||||
add_new: Aghjustà novu
|
||||
errors:
|
||||
limit: Avete digià messu in mostra u numeru massimale di hashtag
|
||||
filters:
|
||||
contexts:
|
||||
home: Accolta
|
||||
|
@ -869,7 +865,6 @@ co:
|
|||
development: Sviluppu
|
||||
edit_profile: Mudificà u prufile
|
||||
export: Spurtazione d’infurmazione
|
||||
featured_tags: Hashtag in vista
|
||||
identity_proofs: Prove d'identità
|
||||
import: Impurtazione
|
||||
import_and_export: Impurtazione è spurtazione
|
||||
|
|
|
@ -617,10 +617,6 @@ cs:
|
|||
lists: Seznamy
|
||||
mutes: Skryl/a jste
|
||||
storage: Paměť médií
|
||||
featured_tags:
|
||||
add_new: Přidat nový
|
||||
errors:
|
||||
limit: Již jste zvýraznil/a maximální počet hashtagů
|
||||
filters:
|
||||
contexts:
|
||||
home: Domovská časová osa
|
||||
|
@ -880,7 +876,6 @@ cs:
|
|||
development: Vývoj
|
||||
edit_profile: Upravit profil
|
||||
export: Export dat
|
||||
featured_tags: Zvýrazněné hashtagy
|
||||
identity_proofs: Důkazy identity
|
||||
import: Import
|
||||
import_and_export: Import a export
|
||||
|
|
|
@ -600,10 +600,6 @@ cy:
|
|||
lists: Rhestrau
|
||||
mutes: Yr ydych yn tawelu
|
||||
storage: Storio cyfryngau
|
||||
featured_tags:
|
||||
add_new: Ychwanegu
|
||||
errors:
|
||||
limit: Yr ydych yn barod wedi cynnwys yr uchafswm o hashnodau
|
||||
filters:
|
||||
contexts:
|
||||
home: Ffrwd gartref
|
||||
|
|
|
@ -610,10 +610,6 @@ de:
|
|||
lists: Listen
|
||||
mutes: Du hast stummgeschaltet
|
||||
storage: Medienspeicher
|
||||
featured_tags:
|
||||
add_new: Neu hinzufügen
|
||||
errors:
|
||||
limit: Du hast bereits die maximale Anzahl an empfohlenen Hashtags erreicht
|
||||
filters:
|
||||
contexts:
|
||||
home: Startseite
|
||||
|
@ -869,7 +865,6 @@ de:
|
|||
development: Entwicklung
|
||||
edit_profile: Profil bearbeiten
|
||||
export: Datenexport
|
||||
featured_tags: Empfohlene Hashtags
|
||||
identity_proofs: Identitätsnachweise
|
||||
import: Datenimport
|
||||
import_and_export: Importieren und Exportieren
|
||||
|
|
|
@ -603,10 +603,6 @@ el:
|
|||
lists: Λίστες
|
||||
mutes: Αποσιωπάς
|
||||
storage: Αποθήκευση πολυμέσων
|
||||
featured_tags:
|
||||
add_new: Προσθήκη νέας
|
||||
errors:
|
||||
limit: Έχεις ήδη προσθέσει το μέγιστο αριθμό ταμπελών
|
||||
filters:
|
||||
contexts:
|
||||
home: Αρχική ροή
|
||||
|
@ -852,7 +848,6 @@ el:
|
|||
development: Ανάπτυξη
|
||||
edit_profile: Επεξεργασία προφίλ
|
||||
export: Εξαγωγή δεδομένων
|
||||
featured_tags: Χαρακτηριστικές ταμπέλες
|
||||
identity_proofs: Αποδείξεις ταυτοτήτων
|
||||
import: Εισαγωγή
|
||||
migrate: Μετακόμιση λογαριασμού
|
||||
|
|
|
@ -633,10 +633,6 @@ en:
|
|||
lists: Lists
|
||||
mutes: You mute
|
||||
storage: Media storage
|
||||
featured_tags:
|
||||
add_new: Add new
|
||||
errors:
|
||||
limit: You have already featured the maximum amount of hashtags
|
||||
filters:
|
||||
contexts:
|
||||
home: Home timeline
|
||||
|
@ -892,7 +888,6 @@ en:
|
|||
development: Development
|
||||
edit_profile: Edit profile
|
||||
export: Data export
|
||||
featured_tags: Featured hashtags
|
||||
identity_proofs: Identity proofs
|
||||
billing: Billing
|
||||
upgrade: Upgrade
|
||||
|
|
|
@ -600,10 +600,6 @@ en_GB:
|
|||
lists: Lists
|
||||
mutes: You mute
|
||||
storage: Media storage
|
||||
featured_tags:
|
||||
add_new: Add new
|
||||
errors:
|
||||
limit: You have already featured the maximum amount of hashtags
|
||||
filters:
|
||||
contexts:
|
||||
home: Home timeline
|
||||
|
@ -847,7 +843,6 @@ en_GB:
|
|||
development: Development
|
||||
edit_profile: Edit profile
|
||||
export: Data export
|
||||
featured_tags: Featured hashtags
|
||||
identity_proofs: Identity proofs
|
||||
import: Import
|
||||
migrate: Account migration
|
||||
|
|
|
@ -606,10 +606,6 @@ eo:
|
|||
lists: Listoj
|
||||
mutes: Vi silentigas
|
||||
storage: Aŭdovidaĵa konservado
|
||||
featured_tags:
|
||||
add_new: Aldoni novan
|
||||
errors:
|
||||
limit: Vi jam elstarigis la maksimuman kvanton da kradvortoj
|
||||
filters:
|
||||
contexts:
|
||||
home: Hejma templinio
|
||||
|
@ -862,7 +858,6 @@ eo:
|
|||
development: Evoluigado
|
||||
edit_profile: Redakti profilon
|
||||
export: Eksporti datumojn
|
||||
featured_tags: Elstarigitaj kradvortoj
|
||||
identity_proofs: Identity proofs
|
||||
import: Importi
|
||||
migrate: Konta migrado
|
||||
|
|
|
@ -571,10 +571,6 @@ eu:
|
|||
lists: Zerrendak
|
||||
mutes: Zuk mututukoak
|
||||
storage: Multimedia biltegiratzea
|
||||
featured_tags:
|
||||
add_new: Gehitu berria
|
||||
errors:
|
||||
limit: Gehienezko traola kopurua nabarmendu duzu jada
|
||||
filters:
|
||||
contexts:
|
||||
home: Hasierako denbora-lerroa
|
||||
|
@ -782,7 +778,6 @@ eu:
|
|||
development: Garapena
|
||||
edit_profile: Aldatu profila
|
||||
export: Datuen esportazioa
|
||||
featured_tags: Nabarmendutako traolak
|
||||
import: Inportazioa
|
||||
migrate: Kontuaren migrazioa
|
||||
notifications: Jakinarazpenak
|
||||
|
|
|
@ -603,10 +603,6 @@ fa:
|
|||
lists: فهرستها
|
||||
mutes: حسابهای بیصداشده
|
||||
storage: تصویرهای ذخیرهشده
|
||||
featured_tags:
|
||||
add_new: افزودن تازه
|
||||
errors:
|
||||
limit: شما بیشترین تعداد مجاز برچسبها را دارید
|
||||
filters:
|
||||
contexts:
|
||||
home: خانه
|
||||
|
@ -853,7 +849,6 @@ fa:
|
|||
development: فرابری
|
||||
edit_profile: ویرایش نمایه
|
||||
export: برونسپاری دادهها
|
||||
featured_tags: برچسبهای منتخب
|
||||
identity_proofs: مدرک شناسهها
|
||||
import: درونریزی
|
||||
migrate: انتقال حساب
|
||||
|
|
|
@ -572,10 +572,6 @@ fr:
|
|||
lists: Listes
|
||||
mutes: Vous masquez
|
||||
storage: Médias stockés
|
||||
featured_tags:
|
||||
add_new: Ajouter un nouvel hashtag
|
||||
errors:
|
||||
limit: Vous avez déjà mis en avant le nombre maximum de hashtags
|
||||
filters:
|
||||
contexts:
|
||||
home: Accueil
|
||||
|
@ -793,7 +789,6 @@ fr:
|
|||
development: Développement
|
||||
edit_profile: Modifier le profil
|
||||
export: Export de données
|
||||
featured_tags: Hashtags mis en avant
|
||||
import: Import de données
|
||||
migrate: Migration de compte
|
||||
notifications: Notifications
|
||||
|
|
|
@ -600,10 +600,6 @@ gl:
|
|||
lists: Listas
|
||||
mutes: Acalou
|
||||
storage: Almacenamento de medios
|
||||
featured_tags:
|
||||
add_new: Engadir novo
|
||||
errors:
|
||||
limit: Xa acadou o número máximo de etiquetas
|
||||
filters:
|
||||
contexts:
|
||||
home: Liña temporal inicial
|
||||
|
@ -848,7 +844,6 @@ gl:
|
|||
development: Desenvolvemento
|
||||
edit_profile: Editar perfil
|
||||
export: Exportar datos
|
||||
featured_tags: Etiquetas destacadas
|
||||
identity_proofs: Probas de identidade
|
||||
import: Importar
|
||||
migrate: Migrar conta
|
||||
|
|
|
@ -551,10 +551,6 @@ it:
|
|||
lists: Liste
|
||||
mutes: Stai silenziando
|
||||
storage: Archiviazione media
|
||||
featured_tags:
|
||||
add_new: Aggiungi nuovo
|
||||
errors:
|
||||
limit: Hai già messo in evidenza il numero massimo di hashtag
|
||||
filters:
|
||||
contexts:
|
||||
home: Timeline home
|
||||
|
@ -757,7 +753,6 @@ it:
|
|||
development: Sviluppo
|
||||
edit_profile: Modifica profilo
|
||||
export: Esporta impostazioni
|
||||
featured_tags: Hashtag in evidenza
|
||||
import: Importa
|
||||
migrate: Migrazione dell'account
|
||||
notifications: Notifiche
|
||||
|
|
|
@ -610,10 +610,6 @@ ja:
|
|||
lists: リスト
|
||||
mutes: ミュート
|
||||
storage: メディア
|
||||
featured_tags:
|
||||
add_new: 追加
|
||||
errors:
|
||||
limit: 注目のハッシュタグの上限に達しました
|
||||
filters:
|
||||
contexts:
|
||||
home: ホームタイムライン
|
||||
|
@ -868,7 +864,6 @@ ja:
|
|||
development: 開発
|
||||
edit_profile: プロフィールを編集
|
||||
export: データのエクスポート
|
||||
featured_tags: 注目のハッシュタグ
|
||||
identity_proofs: Identity proofs
|
||||
import: データのインポート
|
||||
import_and_export: インポート・エクスポート
|
||||
|
|
|
@ -572,10 +572,6 @@ kk:
|
|||
lists: Тізімдер
|
||||
mutes: Үнсіздер
|
||||
storage: Медиа жинақ
|
||||
featured_tags:
|
||||
add_new: Жаңасын қосу
|
||||
errors:
|
||||
limit: Хэштег лимитинен асып кеттіңіз
|
||||
filters:
|
||||
contexts:
|
||||
home: Ішкі желі
|
||||
|
@ -792,7 +788,6 @@ kk:
|
|||
development: Жасаушы топ
|
||||
edit_profile: Профиль өңдеу
|
||||
export: Экспорт уақыты
|
||||
featured_tags: Таңдаулы хэштегтер
|
||||
import: Импорт
|
||||
migrate: Аккаунт көшіру
|
||||
notifications: Ескертпелер
|
||||
|
|
|
@ -612,10 +612,6 @@ ko:
|
|||
lists: 리스트
|
||||
mutes: 뮤트
|
||||
storage: 미디어
|
||||
featured_tags:
|
||||
add_new: 추가
|
||||
errors:
|
||||
limit: 이미 추천 해시태그의 개수가 최대입니다
|
||||
filters:
|
||||
contexts:
|
||||
home: 홈 타임라인
|
||||
|
@ -871,7 +867,6 @@ ko:
|
|||
development: 개발
|
||||
edit_profile: 프로필 편집
|
||||
export: 데이터 내보내기
|
||||
featured_tags: 추천 해시태그
|
||||
identity_proofs: 신원 증명
|
||||
import: 데이터 가져오기
|
||||
import_and_export: 가져오기 / 내보내기
|
||||
|
|
|
@ -581,10 +581,6 @@ lt:
|
|||
lists: Sąrašai
|
||||
mutes: Jūs tildote
|
||||
storage: Medijos sandėlis
|
||||
featured_tags:
|
||||
add_new: Pridėti naują
|
||||
errors:
|
||||
limit: Jūs jau naudojate maksimalų galimą saitažodžių(#) kiekį
|
||||
filters:
|
||||
contexts:
|
||||
home: Namų laiko juosta
|
||||
|
@ -795,7 +791,6 @@ lt:
|
|||
development: Plėtojimas
|
||||
edit_profile: Keisti profilį
|
||||
export: Informacijos eksportas
|
||||
featured_tags: Rodomi saitažodžiai(#)
|
||||
import: Importuoti
|
||||
migrate: Paskyros migracija
|
||||
notifications: Pranešimai
|
||||
|
|
|
@ -610,10 +610,6 @@ nl:
|
|||
lists: Lijsten
|
||||
mutes: Jij negeert
|
||||
storage: Mediaopslag
|
||||
featured_tags:
|
||||
add_new: Nieuwe toevoegen
|
||||
errors:
|
||||
limit: Je hebt al het maximaal aantal hashtags uitgelicht
|
||||
filters:
|
||||
contexts:
|
||||
home: Starttijdlijn
|
||||
|
@ -869,7 +865,6 @@ nl:
|
|||
development: Ontwikkelaars
|
||||
edit_profile: Profiel bewerken
|
||||
export: Exporteren
|
||||
featured_tags: Uitgelichte hashtags
|
||||
identity_proofs: Identiteitsbewijzen
|
||||
import: Importeren
|
||||
import_and_export: Importeren en exporteren
|
||||
|
|
|
@ -648,10 +648,6 @@ oc:
|
|||
lists: Listas
|
||||
mutes: Personas rescondudas
|
||||
storage: Mèdias gardats
|
||||
featured_tags:
|
||||
add_new: Ajustar una etiqueta nòva
|
||||
errors:
|
||||
limit: Avètz ja utilizat lo maximum d’etiquetas
|
||||
filters:
|
||||
contexts:
|
||||
home: Flux d’acuèlh
|
||||
|
@ -884,7 +880,6 @@ oc:
|
|||
development: Desvolopament
|
||||
edit_profile: Modificar lo perfil
|
||||
export: Exportar de donadas
|
||||
featured_tags: Etiquetas en avant
|
||||
import: Importar de donadas
|
||||
migrate: Migracion de compte
|
||||
notifications: Notificacions
|
||||
|
|
|
@ -618,10 +618,6 @@ pl:
|
|||
lists: Listy
|
||||
mutes: Wyciszeni
|
||||
storage: Urządzenie przechowujące dane
|
||||
featured_tags:
|
||||
add_new: Dodaj nowy
|
||||
errors:
|
||||
limit: Już przekroczyłeś(-aś) maksymalną liczbę wyróżnionych hashtagów
|
||||
filters:
|
||||
contexts:
|
||||
home: Strona główna
|
||||
|
@ -882,7 +878,6 @@ pl:
|
|||
development: Tworzenie aplikacji
|
||||
edit_profile: Edytuj profil
|
||||
export: Eksportowanie danych
|
||||
featured_tags: Wyróżnione hashtagi
|
||||
identity_proofs: Dowody tożsamości
|
||||
import: Importowanie danych
|
||||
migrate: Migracja konta
|
||||
|
|
|
@ -610,10 +610,6 @@ pt-BR:
|
|||
lists: Listas
|
||||
mutes: Você silenciou
|
||||
storage: Armazenamento de mídia
|
||||
featured_tags:
|
||||
add_new: Adicionar uma nova hashtag
|
||||
errors:
|
||||
limit: Você atingiu o limite de hashtags em destaque
|
||||
filters:
|
||||
contexts:
|
||||
home: Página inicial
|
||||
|
@ -869,7 +865,6 @@ pt-BR:
|
|||
development: Desenvolvimento
|
||||
edit_profile: Editar perfil
|
||||
export: Exportar dados
|
||||
featured_tags: Hashtags em destaque
|
||||
identity_proofs: Provas de identidade
|
||||
import: Importar
|
||||
import_and_export: Importar e exportar
|
||||
|
|
|
@ -574,10 +574,6 @@ pt:
|
|||
lists: Listas
|
||||
mutes: Tens em silêncio
|
||||
storage: Armazenamento de média
|
||||
featured_tags:
|
||||
add_new: Adicionar nova
|
||||
errors:
|
||||
limit: Já atingiste o limite máximo de hashtags
|
||||
filters:
|
||||
contexts:
|
||||
home: Cronologia inicial
|
||||
|
@ -795,7 +791,6 @@ pt:
|
|||
development: Desenvolvimento
|
||||
edit_profile: Editar perfil
|
||||
export: Exportar dados
|
||||
featured_tags: Hashtags destacadas
|
||||
import: Importar
|
||||
migrate: Migração de conta
|
||||
notifications: Notificações
|
||||
|
|
|
@ -624,10 +624,6 @@ ru:
|
|||
lists: Списки
|
||||
mutes: Список глушения
|
||||
storage: Ваш медиаконтент
|
||||
featured_tags:
|
||||
add_new: Добавить
|
||||
errors:
|
||||
limit: Вы уже добавили максимальное число хэштегов
|
||||
filters:
|
||||
contexts:
|
||||
home: Домашняя лента
|
||||
|
@ -891,7 +887,6 @@ ru:
|
|||
development: Разработка
|
||||
edit_profile: Изменить профиль
|
||||
export: Экспорт данных
|
||||
featured_tags: Особенные хэштеги
|
||||
identity_proofs: Подтверждения личности
|
||||
import: Импорт
|
||||
import_and_export: Импорт и экспорт
|
||||
|
|
|
@ -609,10 +609,6 @@ sk:
|
|||
lists: Zoznamy
|
||||
mutes: Stíšil/a si
|
||||
storage: Úložisko médií
|
||||
featured_tags:
|
||||
add_new: Pridaj nový
|
||||
errors:
|
||||
limit: Už si si predvolil/a najvyšší možný počet obľúbených haštagov
|
||||
filters:
|
||||
contexts:
|
||||
home: Domáca os
|
||||
|
@ -836,7 +832,6 @@ sk:
|
|||
development: Vývoj
|
||||
edit_profile: Uprav profil
|
||||
export: Exportuj dáta
|
||||
featured_tags: Zvýraznené haštagy
|
||||
import: Importuj
|
||||
import_and_export: Import a export
|
||||
migrate: Presuň účet
|
||||
|
|
|
@ -569,10 +569,6 @@ sq:
|
|||
lists: Lista
|
||||
mutes: Heshtoni
|
||||
storage: Depozitim për media
|
||||
featured_tags:
|
||||
add_new: Shtoni të re
|
||||
errors:
|
||||
limit: Keni përdorur tashmë si të zgjedhur sasinë maksimum të hashtagëve
|
||||
filters:
|
||||
contexts:
|
||||
home: Rrjedhë kohore vetjake
|
||||
|
@ -779,7 +775,6 @@ sq:
|
|||
development: Zhvillim
|
||||
edit_profile: Përpunoni profilin
|
||||
export: Eksportim të dhënash
|
||||
featured_tags: Hashtagë të zgjedhur
|
||||
import: Importo
|
||||
migrate: Migrim llogarie
|
||||
notifications: Njoftime
|
||||
|
|
|
@ -430,8 +430,6 @@ th:
|
|||
lists: รายการ
|
||||
mutes: คุณปิดเสียง
|
||||
storage: ที่เก็บข้อมูลสื่อ
|
||||
featured_tags:
|
||||
add_new: เพิ่มใหม่
|
||||
filters:
|
||||
contexts:
|
||||
home: เส้นเวลาหน้าแรก
|
||||
|
|
|
@ -6,8 +6,6 @@ SimpleNavigation::Configuration.run do |navigation|
|
|||
|
||||
n.item :profile, safe_join([fa_icon('user fw'), t('settings.profile')]), settings_profile_url do |s|
|
||||
s.item :profile, safe_join([fa_icon('pencil fw'), t('settings.appearance')]), settings_profile_url, highlights_on: %r{/settings/profile|/settings/migration}
|
||||
s.item :featured_tags, safe_join([fa_icon('hashtag fw'), t('settings.featured_tags')]), settings_featured_tags_url
|
||||
s.item :identity_proofs, safe_join([fa_icon('key fw'), t('settings.identity_proofs')]), settings_identity_proofs_path, highlights_on: %r{/settings/identity_proofs*}, if: proc { current_account.identity_proofs.exists? }
|
||||
end
|
||||
|
||||
n.item :preferences, safe_join([fa_icon('cog fw'), t('settings.preferences')]), settings_preferences_url, highlights_on: %r{/settings/preferences|/settings/notifications}
|
||||
|
|
|
@ -134,7 +134,6 @@ Rails.application.routes.draw do
|
|||
resource :migration, only: [:show, :update]
|
||||
|
||||
resources :sessions, only: [:destroy]
|
||||
resources :featured_tags, only: [:index, :create, :destroy]
|
||||
resources :scheduled_statuses, only: [:index, :destroy]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue