mirror of https://github.com/mastodon/mastodon
Add mention of the translation provider when translating a post (#19433)
parent
8046cf34d6
commit
30453fab80
@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class TranslationService::Translation < ActiveModelSerializers::Model
|
class TranslationService::Translation < ActiveModelSerializers::Model
|
||||||
attributes :text, :detected_source_language
|
attributes :text, :detected_source_language, :provider
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue