Merge commit 'ce23342d72a7f2ca6f8c35727c86ba54c9c365ca' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2025-03-07 13:15:10 +01:00
35 changed files with 553 additions and 517 deletions

View File

@@ -16,7 +16,7 @@ class HashtagNormalizer
end
def lowercase(str)
str.mb_chars.downcase.to_s
str.downcase.to_s
end
def cjk_width(str)

View File

@@ -12,7 +12,7 @@ class VideoMetadataExtractor
rescue Terrapin::ExitStatusError, Oj::ParseError
@invalid = true
rescue Terrapin::CommandNotFoundError
raise Paperclip::Errors::CommandNotFoundError, 'Could not run the `ffprobe` command. Please install ffmpeg.'
raise Paperclip::Errors::CommandNotFoundError, 'Could not run the `ffprobe` command. Please install ffmpeg.' # rubocop:disable I18n/RailsI18n/DecorateString -- This error is not user-facing
end
def valid?