Removed featured tags

We don't use
This commit is contained in:
mgabdev 2020-03-27 18:05:16 -04:00
parent 2bd344a594
commit 0532890c0e
35 changed files with 1 additions and 236 deletions

View File

@ -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

View File

@ -15,9 +15,5 @@ class ProcessHashtagsService < BaseService
end end
return unless status.public_visibility? || status.unlisted_visibility? 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
end end

View File

@ -137,10 +137,6 @@ class RemoveStatusService < BaseService
end end
def remove_from_hashtags 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? return unless @status.public_visibility?
@tags.each do |hashtag| @tags.each do |hashtag|

View File

@ -30,17 +30,4 @@
.entry= link_to_more @older_url .entry= link_to_more @older_url
.column-1 .column-1
= render 'bio', account: @account = 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

View File

@ -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

View File

@ -588,8 +588,6 @@ ar:
lists: القوائم lists: القوائم
mutes: قُمتَ بكتم mutes: قُمتَ بكتم
storage: ذاكرة التخزين storage: ذاكرة التخزين
featured_tags:
add_new: إضافة واحد
filters: filters:
contexts: contexts:
home: الخيط الزمني الرئيسي home: الخيط الزمني الرئيسي

View File

@ -610,10 +610,6 @@ ca:
lists: Llistes lists: Llistes
mutes: Persones silenciades mutes: Persones silenciades
storage: Emmagatzematge storage: Emmagatzematge
featured_tags:
add_new: Afegir nova
errors:
limit: Ja has mostrat la quantitat màxima d'etiquetes
filters: filters:
contexts: contexts:
home: Línia de temps Inici home: Línia de temps Inici
@ -869,7 +865,6 @@ ca:
development: Desenvolupament development: Desenvolupament
edit_profile: Editar perfil edit_profile: Editar perfil
export: Exportar dades export: Exportar dades
featured_tags: Etiquetes destacades
identity_proofs: Proves d'identitat identity_proofs: Proves d'identitat
import: Importar import: Importar
import_and_export: Importar i exportar import_and_export: Importar i exportar

View File

@ -610,10 +610,6 @@ co:
lists: Liste lists: Liste
mutes: Piattate mutes: Piattate
storage: I vostri media storage: I vostri media
featured_tags:
add_new: Aghjustà novu
errors:
limit: Avete digià messu in mostra u numeru massimale di hashtag
filters: filters:
contexts: contexts:
home: Accolta home: Accolta
@ -869,7 +865,6 @@ co:
development: Sviluppu development: Sviluppu
edit_profile: Mudificà u prufile edit_profile: Mudificà u prufile
export: Spurtazione dinfurmazione export: Spurtazione dinfurmazione
featured_tags: Hashtag in vista
identity_proofs: Prove d'identità identity_proofs: Prove d'identità
import: Impurtazione import: Impurtazione
import_and_export: Impurtazione è spurtazione import_and_export: Impurtazione è spurtazione

View File

@ -617,10 +617,6 @@ cs:
lists: Seznamy lists: Seznamy
mutes: Skryl/a jste mutes: Skryl/a jste
storage: Paměť médií storage: Paměť médií
featured_tags:
add_new: Přidat nový
errors:
limit: Již jste zvýraznil/a maximální počet hashtagů
filters: filters:
contexts: contexts:
home: Domovská časová osa home: Domovská časová osa
@ -880,7 +876,6 @@ cs:
development: Vývoj development: Vývoj
edit_profile: Upravit profil edit_profile: Upravit profil
export: Export dat export: Export dat
featured_tags: Zvýrazněné hashtagy
identity_proofs: Důkazy identity identity_proofs: Důkazy identity
import: Import import: Import
import_and_export: Import a export import_and_export: Import a export

View File

@ -600,10 +600,6 @@ cy:
lists: Rhestrau lists: Rhestrau
mutes: Yr ydych yn tawelu mutes: Yr ydych yn tawelu
storage: Storio cyfryngau storage: Storio cyfryngau
featured_tags:
add_new: Ychwanegu
errors:
limit: Yr ydych yn barod wedi cynnwys yr uchafswm o hashnodau
filters: filters:
contexts: contexts:
home: Ffrwd gartref home: Ffrwd gartref

View File

@ -610,10 +610,6 @@ de:
lists: Listen lists: Listen
mutes: Du hast stummgeschaltet mutes: Du hast stummgeschaltet
storage: Medienspeicher storage: Medienspeicher
featured_tags:
add_new: Neu hinzufügen
errors:
limit: Du hast bereits die maximale Anzahl an empfohlenen Hashtags erreicht
filters: filters:
contexts: contexts:
home: Startseite home: Startseite
@ -869,7 +865,6 @@ de:
development: Entwicklung development: Entwicklung
edit_profile: Profil bearbeiten edit_profile: Profil bearbeiten
export: Datenexport export: Datenexport
featured_tags: Empfohlene Hashtags
identity_proofs: Identitätsnachweise identity_proofs: Identitätsnachweise
import: Datenimport import: Datenimport
import_and_export: Importieren und Exportieren import_and_export: Importieren und Exportieren

View File

@ -603,10 +603,6 @@ el:
lists: Λίστες lists: Λίστες
mutes: Αποσιωπάς mutes: Αποσιωπάς
storage: Αποθήκευση πολυμέσων storage: Αποθήκευση πολυμέσων
featured_tags:
add_new: Προσθήκη νέας
errors:
limit: Έχεις ήδη προσθέσει το μέγιστο αριθμό ταμπελών
filters: filters:
contexts: contexts:
home: Αρχική ροή home: Αρχική ροή
@ -852,7 +848,6 @@ el:
development: Ανάπτυξη development: Ανάπτυξη
edit_profile: Επεξεργασία προφίλ edit_profile: Επεξεργασία προφίλ
export: Εξαγωγή δεδομένων export: Εξαγωγή δεδομένων
featured_tags: Χαρακτηριστικές ταμπέλες
identity_proofs: Αποδείξεις ταυτοτήτων identity_proofs: Αποδείξεις ταυτοτήτων
import: Εισαγωγή import: Εισαγωγή
migrate: Μετακόμιση λογαριασμού migrate: Μετακόμιση λογαριασμού

View File

@ -633,10 +633,6 @@ en:
lists: Lists lists: Lists
mutes: You mute mutes: You mute
storage: Media storage storage: Media storage
featured_tags:
add_new: Add new
errors:
limit: You have already featured the maximum amount of hashtags
filters: filters:
contexts: contexts:
home: Home timeline home: Home timeline
@ -892,7 +888,6 @@ en:
development: Development development: Development
edit_profile: Edit profile edit_profile: Edit profile
export: Data export export: Data export
featured_tags: Featured hashtags
identity_proofs: Identity proofs identity_proofs: Identity proofs
billing: Billing billing: Billing
upgrade: Upgrade upgrade: Upgrade

View File

@ -600,10 +600,6 @@ en_GB:
lists: Lists lists: Lists
mutes: You mute mutes: You mute
storage: Media storage storage: Media storage
featured_tags:
add_new: Add new
errors:
limit: You have already featured the maximum amount of hashtags
filters: filters:
contexts: contexts:
home: Home timeline home: Home timeline
@ -847,7 +843,6 @@ en_GB:
development: Development development: Development
edit_profile: Edit profile edit_profile: Edit profile
export: Data export export: Data export
featured_tags: Featured hashtags
identity_proofs: Identity proofs identity_proofs: Identity proofs
import: Import import: Import
migrate: Account migration migrate: Account migration

View File

@ -606,10 +606,6 @@ eo:
lists: Listoj lists: Listoj
mutes: Vi silentigas mutes: Vi silentigas
storage: Aŭdovidaĵa konservado storage: Aŭdovidaĵa konservado
featured_tags:
add_new: Aldoni novan
errors:
limit: Vi jam elstarigis la maksimuman kvanton da kradvortoj
filters: filters:
contexts: contexts:
home: Hejma templinio home: Hejma templinio
@ -862,7 +858,6 @@ eo:
development: Evoluigado development: Evoluigado
edit_profile: Redakti profilon edit_profile: Redakti profilon
export: Eksporti datumojn export: Eksporti datumojn
featured_tags: Elstarigitaj kradvortoj
identity_proofs: Identity proofs identity_proofs: Identity proofs
import: Importi import: Importi
migrate: Konta migrado migrate: Konta migrado

View File

@ -571,10 +571,6 @@ eu:
lists: Zerrendak lists: Zerrendak
mutes: Zuk mututukoak mutes: Zuk mututukoak
storage: Multimedia biltegiratzea storage: Multimedia biltegiratzea
featured_tags:
add_new: Gehitu berria
errors:
limit: Gehienezko traola kopurua nabarmendu duzu jada
filters: filters:
contexts: contexts:
home: Hasierako denbora-lerroa home: Hasierako denbora-lerroa
@ -782,7 +778,6 @@ eu:
development: Garapena development: Garapena
edit_profile: Aldatu profila edit_profile: Aldatu profila
export: Datuen esportazioa export: Datuen esportazioa
featured_tags: Nabarmendutako traolak
import: Inportazioa import: Inportazioa
migrate: Kontuaren migrazioa migrate: Kontuaren migrazioa
notifications: Jakinarazpenak notifications: Jakinarazpenak

View File

@ -603,10 +603,6 @@ fa:
lists: فهرست‌ها lists: فهرست‌ها
mutes: حساب‌های بی‌صداشده mutes: حساب‌های بی‌صداشده
storage: تصویرهای ذخیره‌شده storage: تصویرهای ذخیره‌شده
featured_tags:
add_new: افزودن تازه
errors:
limit: شما بیشترین تعداد مجاز برچسب‌ها را دارید
filters: filters:
contexts: contexts:
home: خانه home: خانه
@ -853,7 +849,6 @@ fa:
development: فرابری development: فرابری
edit_profile: ویرایش نمایه edit_profile: ویرایش نمایه
export: برون‌سپاری داده‌ها export: برون‌سپاری داده‌ها
featured_tags: برچسب‌های منتخب
identity_proofs: مدرک شناسه‌ها identity_proofs: مدرک شناسه‌ها
import: درون‌ریزی import: درون‌ریزی
migrate: انتقال حساب migrate: انتقال حساب

View File

@ -572,10 +572,6 @@ fr:
lists: Listes lists: Listes
mutes: Vous masquez mutes: Vous masquez
storage: Médias stockés 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: filters:
contexts: contexts:
home: Accueil home: Accueil
@ -793,7 +789,6 @@ fr:
development: Développement development: Développement
edit_profile: Modifier le profil edit_profile: Modifier le profil
export: Export de données export: Export de données
featured_tags: Hashtags mis en avant
import: Import de données import: Import de données
migrate: Migration de compte migrate: Migration de compte
notifications: Notifications notifications: Notifications

View File

@ -600,10 +600,6 @@ gl:
lists: Listas lists: Listas
mutes: Acalou mutes: Acalou
storage: Almacenamento de medios storage: Almacenamento de medios
featured_tags:
add_new: Engadir novo
errors:
limit: Xa acadou o número máximo de etiquetas
filters: filters:
contexts: contexts:
home: Liña temporal inicial home: Liña temporal inicial
@ -848,7 +844,6 @@ gl:
development: Desenvolvemento development: Desenvolvemento
edit_profile: Editar perfil edit_profile: Editar perfil
export: Exportar datos export: Exportar datos
featured_tags: Etiquetas destacadas
identity_proofs: Probas de identidade identity_proofs: Probas de identidade
import: Importar import: Importar
migrate: Migrar conta migrate: Migrar conta

View File

@ -551,10 +551,6 @@ it:
lists: Liste lists: Liste
mutes: Stai silenziando mutes: Stai silenziando
storage: Archiviazione media storage: Archiviazione media
featured_tags:
add_new: Aggiungi nuovo
errors:
limit: Hai già messo in evidenza il numero massimo di hashtag
filters: filters:
contexts: contexts:
home: Timeline home home: Timeline home
@ -757,7 +753,6 @@ it:
development: Sviluppo development: Sviluppo
edit_profile: Modifica profilo edit_profile: Modifica profilo
export: Esporta impostazioni export: Esporta impostazioni
featured_tags: Hashtag in evidenza
import: Importa import: Importa
migrate: Migrazione dell'account migrate: Migrazione dell'account
notifications: Notifiche notifications: Notifiche

View File

@ -610,10 +610,6 @@ ja:
lists: リスト lists: リスト
mutes: ミュート mutes: ミュート
storage: メディア storage: メディア
featured_tags:
add_new: 追加
errors:
limit: 注目のハッシュタグの上限に達しました
filters: filters:
contexts: contexts:
home: ホームタイムライン home: ホームタイムライン
@ -868,7 +864,6 @@ ja:
development: 開発 development: 開発
edit_profile: プロフィールを編集 edit_profile: プロフィールを編集
export: データのエクスポート export: データのエクスポート
featured_tags: 注目のハッシュタグ
identity_proofs: Identity proofs identity_proofs: Identity proofs
import: データのインポート import: データのインポート
import_and_export: インポート・エクスポート import_and_export: インポート・エクスポート

View File

@ -572,10 +572,6 @@ kk:
lists: Тізімдер lists: Тізімдер
mutes: Үнсіздер mutes: Үнсіздер
storage: Медиа жинақ storage: Медиа жинақ
featured_tags:
add_new: Жаңасын қосу
errors:
limit: Хэштег лимитинен асып кеттіңіз
filters: filters:
contexts: contexts:
home: Ішкі желі home: Ішкі желі
@ -792,7 +788,6 @@ kk:
development: Жасаушы топ development: Жасаушы топ
edit_profile: Профиль өңдеу edit_profile: Профиль өңдеу
export: Экспорт уақыты export: Экспорт уақыты
featured_tags: Таңдаулы хэштегтер
import: Импорт import: Импорт
migrate: Аккаунт көшіру migrate: Аккаунт көшіру
notifications: Ескертпелер notifications: Ескертпелер

View File

@ -612,10 +612,6 @@ ko:
lists: 리스트 lists: 리스트
mutes: 뮤트 mutes: 뮤트
storage: 미디어 storage: 미디어
featured_tags:
add_new: 추가
errors:
limit: 이미 추천 해시태그의 개수가 최대입니다
filters: filters:
contexts: contexts:
home: 홈 타임라인 home: 홈 타임라인
@ -871,7 +867,6 @@ ko:
development: 개발 development: 개발
edit_profile: 프로필 편집 edit_profile: 프로필 편집
export: 데이터 내보내기 export: 데이터 내보내기
featured_tags: 추천 해시태그
identity_proofs: 신원 증명 identity_proofs: 신원 증명
import: 데이터 가져오기 import: 데이터 가져오기
import_and_export: 가져오기 / 내보내기 import_and_export: 가져오기 / 내보내기

View File

@ -581,10 +581,6 @@ lt:
lists: Sąrašai lists: Sąrašai
mutes: Jūs tildote mutes: Jūs tildote
storage: Medijos sandėlis storage: Medijos sandėlis
featured_tags:
add_new: Pridėti naują
errors:
limit: Jūs jau naudojate maksimalų galimą saitažodžių(#) kiekį
filters: filters:
contexts: contexts:
home: Namų laiko juosta home: Namų laiko juosta
@ -795,7 +791,6 @@ lt:
development: Plėtojimas development: Plėtojimas
edit_profile: Keisti profilį edit_profile: Keisti profilį
export: Informacijos eksportas export: Informacijos eksportas
featured_tags: Rodomi saitažodžiai(#)
import: Importuoti import: Importuoti
migrate: Paskyros migracija migrate: Paskyros migracija
notifications: Pranešimai notifications: Pranešimai

View File

@ -610,10 +610,6 @@ nl:
lists: Lijsten lists: Lijsten
mutes: Jij negeert mutes: Jij negeert
storage: Mediaopslag storage: Mediaopslag
featured_tags:
add_new: Nieuwe toevoegen
errors:
limit: Je hebt al het maximaal aantal hashtags uitgelicht
filters: filters:
contexts: contexts:
home: Starttijdlijn home: Starttijdlijn
@ -869,7 +865,6 @@ nl:
development: Ontwikkelaars development: Ontwikkelaars
edit_profile: Profiel bewerken edit_profile: Profiel bewerken
export: Exporteren export: Exporteren
featured_tags: Uitgelichte hashtags
identity_proofs: Identiteitsbewijzen identity_proofs: Identiteitsbewijzen
import: Importeren import: Importeren
import_and_export: Importeren en exporteren import_and_export: Importeren en exporteren

View File

@ -648,10 +648,6 @@ oc:
lists: Listas lists: Listas
mutes: Personas rescondudas mutes: Personas rescondudas
storage: Mèdias gardats storage: Mèdias gardats
featured_tags:
add_new: Ajustar una etiqueta nòva
errors:
limit: Avètz ja utilizat lo maximum detiquetas
filters: filters:
contexts: contexts:
home: Flux dacuèlh home: Flux dacuèlh
@ -884,7 +880,6 @@ oc:
development: Desvolopament development: Desvolopament
edit_profile: Modificar lo perfil edit_profile: Modificar lo perfil
export: Exportar de donadas export: Exportar de donadas
featured_tags: Etiquetas en avant
import: Importar de donadas import: Importar de donadas
migrate: Migracion de compte migrate: Migracion de compte
notifications: Notificacions notifications: Notificacions

View File

@ -618,10 +618,6 @@ pl:
lists: Listy lists: Listy
mutes: Wyciszeni mutes: Wyciszeni
storage: Urządzenie przechowujące dane 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: filters:
contexts: contexts:
home: Strona główna home: Strona główna
@ -882,7 +878,6 @@ pl:
development: Tworzenie aplikacji development: Tworzenie aplikacji
edit_profile: Edytuj profil edit_profile: Edytuj profil
export: Eksportowanie danych export: Eksportowanie danych
featured_tags: Wyróżnione hashtagi
identity_proofs: Dowody tożsamości identity_proofs: Dowody tożsamości
import: Importowanie danych import: Importowanie danych
migrate: Migracja konta migrate: Migracja konta

View File

@ -610,10 +610,6 @@ pt-BR:
lists: Listas lists: Listas
mutes: Você silenciou mutes: Você silenciou
storage: Armazenamento de mídia storage: Armazenamento de mídia
featured_tags:
add_new: Adicionar uma nova hashtag
errors:
limit: Você atingiu o limite de hashtags em destaque
filters: filters:
contexts: contexts:
home: Página inicial home: Página inicial
@ -869,7 +865,6 @@ pt-BR:
development: Desenvolvimento development: Desenvolvimento
edit_profile: Editar perfil edit_profile: Editar perfil
export: Exportar dados export: Exportar dados
featured_tags: Hashtags em destaque
identity_proofs: Provas de identidade identity_proofs: Provas de identidade
import: Importar import: Importar
import_and_export: Importar e exportar import_and_export: Importar e exportar

View File

@ -574,10 +574,6 @@ pt:
lists: Listas lists: Listas
mutes: Tens em silêncio mutes: Tens em silêncio
storage: Armazenamento de média storage: Armazenamento de média
featured_tags:
add_new: Adicionar nova
errors:
limit: Já atingiste o limite máximo de hashtags
filters: filters:
contexts: contexts:
home: Cronologia inicial home: Cronologia inicial
@ -795,7 +791,6 @@ pt:
development: Desenvolvimento development: Desenvolvimento
edit_profile: Editar perfil edit_profile: Editar perfil
export: Exportar dados export: Exportar dados
featured_tags: Hashtags destacadas
import: Importar import: Importar
migrate: Migração de conta migrate: Migração de conta
notifications: Notificações notifications: Notificações

View File

@ -624,10 +624,6 @@ ru:
lists: Списки lists: Списки
mutes: Список глушения mutes: Список глушения
storage: Ваш медиаконтент storage: Ваш медиаконтент
featured_tags:
add_new: Добавить
errors:
limit: Вы уже добавили максимальное число хэштегов
filters: filters:
contexts: contexts:
home: Домашняя лента home: Домашняя лента
@ -891,7 +887,6 @@ ru:
development: Разработка development: Разработка
edit_profile: Изменить профиль edit_profile: Изменить профиль
export: Экспорт данных export: Экспорт данных
featured_tags: Особенные хэштеги
identity_proofs: Подтверждения личности identity_proofs: Подтверждения личности
import: Импорт import: Импорт
import_and_export: Импорт и экспорт import_and_export: Импорт и экспорт

View File

@ -609,10 +609,6 @@ sk:
lists: Zoznamy lists: Zoznamy
mutes: Stíšil/a si mutes: Stíšil/a si
storage: Úložisko médií 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: filters:
contexts: contexts:
home: Domáca os home: Domáca os
@ -836,7 +832,6 @@ sk:
development: Vývoj development: Vývoj
edit_profile: Uprav profil edit_profile: Uprav profil
export: Exportuj dáta export: Exportuj dáta
featured_tags: Zvýraznené haštagy
import: Importuj import: Importuj
import_and_export: Import a export import_and_export: Import a export
migrate: Presuň účet migrate: Presuň účet

View File

@ -569,10 +569,6 @@ sq:
lists: Lista lists: Lista
mutes: Heshtoni mutes: Heshtoni
storage: Depozitim për media 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: filters:
contexts: contexts:
home: Rrjedhë kohore vetjake home: Rrjedhë kohore vetjake
@ -779,7 +775,6 @@ sq:
development: Zhvillim development: Zhvillim
edit_profile: Përpunoni profilin edit_profile: Përpunoni profilin
export: Eksportim të dhënash export: Eksportim të dhënash
featured_tags: Hashtagë të zgjedhur
import: Importo import: Importo
migrate: Migrim llogarie migrate: Migrim llogarie
notifications: Njoftime notifications: Njoftime

View File

@ -430,8 +430,6 @@ th:
lists: รายการ lists: รายการ
mutes: คุณปิดเสียง mutes: คุณปิดเสียง
storage: ที่เก็บข้อมูลสื่อ storage: ที่เก็บข้อมูลสื่อ
featured_tags:
add_new: เพิ่มใหม่
filters: filters:
contexts: contexts:
home: เส้นเวลาหน้าแรก home: เส้นเวลาหน้าแรก

View File

@ -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| 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 :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 end
n.item :preferences, safe_join([fa_icon('cog fw'), t('settings.preferences')]), settings_preferences_url, highlights_on: %r{/settings/preferences|/settings/notifications} n.item :preferences, safe_join([fa_icon('cog fw'), t('settings.preferences')]), settings_preferences_url, highlights_on: %r{/settings/preferences|/settings/notifications}

View File

@ -134,7 +134,6 @@ Rails.application.routes.draw do
resource :migration, only: [:show, :update] resource :migration, only: [:show, :update]
resources :sessions, only: [:destroy] resources :sessions, only: [:destroy]
resources :featured_tags, only: [:index, :create, :destroy]
resources :scheduled_statuses, only: [:index, :destroy] resources :scheduled_statuses, only: [:index, :destroy]
end end