Merge remote-tracking branch 'parent/main' into kb_migration
This commit is contained in:
commit
7a4dc84202
286 changed files with 7203 additions and 2880 deletions
|
@ -236,16 +236,6 @@ class Status < ApplicationRecord
|
|||
public_visibility? || unlisted_visibility? || public_unlisted_visibility?
|
||||
end
|
||||
|
||||
def translatable?
|
||||
translate_target_locale = I18n.locale.to_s.split(/[_-]/).first
|
||||
|
||||
distributable? &&
|
||||
content.present? &&
|
||||
language != translate_target_locale &&
|
||||
TranslationService.configured? &&
|
||||
TranslationService.configured.supported?(language, translate_target_locale)
|
||||
end
|
||||
|
||||
alias sign? distributable?
|
||||
|
||||
def with_media?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue