Rename config tab roles to security
This commit is contained in:
parent
4c567fece1
commit
f221a081dd
5 changed files with 15 additions and 15 deletions
|
@ -30,7 +30,7 @@ class Admin::ConfigsController < Admin::BaseController
|
|||
|
||||
# Set configuration tab names as `@tabs`
|
||||
def get_tabs
|
||||
@tabs = %w(foodcoop payment tasks messages layout language roles others)
|
||||
@tabs = %w(foodcoop payment tasks messages layout language security others)
|
||||
# allow engines to modify this list
|
||||
engines = Rails::Engine.subclasses.map(&:instance).select { |e| e.respond_to?(:configuration) }
|
||||
engines.each { |e| e.configuration(@tabs, self) }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
%h4= t '.access_to_title'
|
||||
= t '.access_to_paragraph'
|
||||
%h4= t '.default_role_title'
|
||||
= t '.default_role_paragraph'
|
||||
= config_input form, :default_role_suppliers, as: :boolean
|
||||
= config_input form, :default_role_article_meta, as: :boolean
|
||||
= config_input form, :default_role_orders, as: :boolean
|
|
@ -280,9 +280,9 @@ de:
|
|||
emails_title: E-Mails versenden
|
||||
tab_payment:
|
||||
schedule_title: Bestellschema
|
||||
tab_roles:
|
||||
access_to_title: Zugriff auf
|
||||
access_to_paragraph: Jedes Mitglied der Foodcoop hat automatisch Zugriff auf folgende Bereiche.
|
||||
tab_security:
|
||||
default_roles_title: Zugriff auf
|
||||
default_roles_paragraph: Jedes Mitglied der Foodcoop hat automatisch Zugriff auf folgende Bereiche.
|
||||
tab_tasks:
|
||||
periodic_title: Wiederkehrende Aufgaben
|
||||
tabs:
|
||||
|
@ -641,7 +641,7 @@ de:
|
|||
messages: Nachrichten
|
||||
others: Sonstiges
|
||||
payment: Finanzen
|
||||
roles: Rollen
|
||||
security: Sicherheit
|
||||
tasks: Aufgaben
|
||||
deliveries:
|
||||
add_stock_change:
|
||||
|
|
|
@ -295,9 +295,9 @@ en:
|
|||
emails_title: Sending email
|
||||
tab_payment:
|
||||
schedule_title: Ordering schedule
|
||||
tab_roles:
|
||||
access_to_title: Access to
|
||||
access_to_paragraph: By default every member of the foodcoop has access to the following areas.
|
||||
tab_security:
|
||||
default_roles_title: Access to
|
||||
default_roles_paragraph: By default every member of the foodcoop has access to the following areas.
|
||||
tab_tasks:
|
||||
periodic_title: Periodic tasks
|
||||
tabs:
|
||||
|
@ -664,7 +664,7 @@ en:
|
|||
messages: Messages
|
||||
others: Other
|
||||
payment: Finances
|
||||
roles: Roles
|
||||
security: Security
|
||||
tasks: Tasks
|
||||
deliveries:
|
||||
add_stock_change:
|
||||
|
|
|
@ -287,9 +287,9 @@ nl:
|
|||
emails_title: Emailinstellingen
|
||||
tab_payment:
|
||||
schedule_title: Bestelrooster
|
||||
tab_roles:
|
||||
access_to_title: Toegang tot
|
||||
access_to_paragraph: Ieder lid van de foodcoop heeft standaard toegang tot de volgende onderdelen.
|
||||
tab_security:
|
||||
default_roles_title: Toegang tot
|
||||
default_roles_paragraph: Ieder lid van de foodcoop heeft standaard toegang tot de volgende onderdelen.
|
||||
tab_tasks:
|
||||
periodic_title: Periodieke taken
|
||||
tabs:
|
||||
|
@ -653,7 +653,7 @@ nl:
|
|||
messages: Berichten
|
||||
others: Overig
|
||||
payment: Financiën
|
||||
roles: Rollen
|
||||
security: Beveiliging
|
||||
tasks: Taken
|
||||
deliveries:
|
||||
add_stock_change:
|
||||
|
|
Loading…
Reference in a new issue