forked from shibao/cannery
add translation properly
This commit is contained in:
@ -133,7 +133,7 @@ defmodule CanneryWeb.HomeLive do
|
||||
to: "https://gitea.bubbletea.dev/shibao/cannery/src/branch/stable/CHANGELOG.md",
|
||||
target: "_blank",
|
||||
rel: "noopener noreferrer" do %>
|
||||
<p>0.4.1</p>
|
||||
<p>0.5.0</p>
|
||||
<i class="fas fa-md fa-info-circle"></i>
|
||||
<% end %>
|
||||
</li>
|
||||
|
@ -11,6 +11,8 @@ defmodule CanneryWeb.Router do
|
||||
plug :protect_from_forgery
|
||||
plug :put_secure_browser_headers
|
||||
plug :fetch_current_user
|
||||
|
||||
Gettext.put_locale(Application.get_env(:gettext, :default_locale, "en_US"))
|
||||
end
|
||||
|
||||
pipeline :require_admin do
|
||||
|
Reference in New Issue
Block a user