mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 02:44:39 +08:00
FEATURE: add language picker for theme translations in admin UI (#26150)
Allows editing translations of a theme in locales other than the current localy.
This commit is contained in:
@ -233,6 +233,7 @@ Discourse::Application.routes.draw do
|
||||
constraints: AdminConstraint.new do
|
||||
member do
|
||||
get "preview" => "themes#preview"
|
||||
get "translations/:locale" => "themes#get_translations"
|
||||
put "setting" => "themes#update_single_setting"
|
||||
end
|
||||
collection do
|
||||
|
Reference in New Issue
Block a user