Add user content translations with configurable backends (#19218)
This commit is contained in:
@@ -25,6 +25,7 @@ ActiveSupport::Inflector.inflections(:en) do |inflect|
|
||||
inflect.acronym 'REST'
|
||||
inflect.acronym 'URL'
|
||||
inflect.acronym 'ASCII'
|
||||
inflect.acronym 'DeepL'
|
||||
|
||||
inflect.singular 'data', 'data'
|
||||
end
|
||||
|
@@ -393,6 +393,8 @@ Rails.application.routes.draw do
|
||||
|
||||
resource :history, only: :show
|
||||
resource :source, only: :show
|
||||
|
||||
post :translate, to: 'translations#create'
|
||||
end
|
||||
|
||||
member do
|
||||
|
Reference in New Issue
Block a user