Skip to content

Commit c68df50

Browse files
committed
scope dropdown name
1 parent 7afd50b commit c68df50

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

config/locales/cs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,6 @@ cs:
8989
sign_in: "Přihlásit se"
9090
forgot_your_password: "Zapomněli jste heslo?"
9191
sign_in_with_omniauth_provider: "Přihlásit se %{provider}"
92-
92+
scopes:
93+
dropdown:
94+
name: "Připravené filtry"

lib/active_admin/views/components/scopes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def build(scopes, options = {})
2929
if current_scope && current_scope.name
3030
current_scope_name = current_scope.name
3131
else
32-
current_scope_name = 'Vyberte kategorii'
32+
current_scope_name = I18n.t("active_admin.scopes.dropdown.name"
3333
end
3434

3535
dropdown_menu current_scope_name,

0 commit comments

Comments
 (0)