diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-31 15:55:43 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-31 15:55:43 +0200 |
| commit | 464dd4266bdc433805010b5dca428f4cb75c2a81 (patch) | |
| tree | 47fdf4f065960d49da015eafdf56cb817dcf9ea4 /config/locales/de.yml | |
| parent | 5f17f421b176d48ef556fb379f59bbb7d284b48e (diff) | |
Group user accounts by role
Replaces the two-way admin/user split with four groups ordered by
capability: administration, Redaktion, editors, alumni. alumni takes
precedence over capability in role_group, so a retired admin appears at the
bottom rather than the top.
Forms now offer the three roles as checkboxes rather than a single admin
checkbox, with a trailing hidden blank so an empty set can be posted, and
user_params permits roles only for admins. Three create buttons prefill the
common combinations.
Diffstat (limited to 'config/locales/de.yml')
| -rw-r--r-- | config/locales/de.yml | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/config/locales/de.yml b/config/locales/de.yml index cf93e05b..e15a08d2 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml | |||
| @@ -145,6 +145,10 @@ de: | |||
| 145 | restore_target_invalid: "Das Wiederherstellungsziel muss ein lebender Node sein" | 145 | restore_target_invalid: "Das Wiederherstellungsziel muss ein lebender Node sein" |
| 146 | destroy_outside_trash: "Nodes können nur aus dem Papierkorb gelöscht werden" | 146 | destroy_outside_trash: "Nodes können nur aus dem Papierkorb gelöscht werden" |
| 147 | attach_in_trash: "An einen Node im Papierkorb können keine Assets angehängt werden" | 147 | attach_in_trash: "An einen Node im Papierkorb können keine Assets angehängt werden" |
| 148 | user: | ||
| 149 | attributes: | ||
| 150 | roles: | ||
| 151 | unknown: "enthält unbekannte Rollen: %{list}" | ||
| 148 | related_asset: | 152 | related_asset: |
| 149 | attributes: | 153 | attributes: |
| 150 | headline: | 154 | headline: |
| @@ -276,11 +280,28 @@ de: | |||
| 276 | admin: "Admin?" | 280 | admin: "Admin?" |
| 277 | user: | 281 | user: |
| 278 | confirm_destroy: "Benutzer %{login} wirklich löschen?" | 282 | confirm_destroy: "Benutzer %{login} wirklich löschen?" |
| 283 | no_roles: "—" | ||
| 279 | index: | 284 | index: |
| 280 | admins: "Admins" | 285 | title: "Benutzerkonten" |
| 281 | create_admin: "Admin-Benutzer anlegen" | 286 | create_editor: "Editor-Konto anlegen" |
| 282 | users: "Benutzer" | 287 | create_redaktion: "Redaktions-Konto anlegen" |
| 283 | create_user: "Benutzer anlegen" | 288 | create_admin: "Admin-Konto anlegen" |
| 289 | group_admin: "Administration" | ||
| 290 | group_redaktion: "Redaktion" | ||
| 291 | group_editor: "Editors" | ||
| 292 | group_alumni: "Ehemalige" | ||
| 293 | group_empty: "— keine —" | ||
| 294 | labels: | ||
| 295 | roles: "Rollen" | ||
| 296 | roles: | ||
| 297 | admin: "Administration" | ||
| 298 | redaktion: "Redaktion" | ||
| 299 | alumni: "Ehemalig" | ||
| 300 | role_hints: | ||
| 301 | admin: "Benutzerverwaltung und Navigation, jeweils nach erneuter Bestätigung." | ||
| 302 | redaktion: "Darf in den geschützten Bereichen veröffentlichen." | ||
| 303 | alumni: "Kein Login mehr möglich; Zuschreibungen bleiben erhalten." | ||
| 304 | no_roles: "keine besonderen Rollen" | ||
| 284 | new: | 305 | new: |
| 285 | title: "Neuen Benutzer anlegen" | 306 | title: "Neuen Benutzer anlegen" |
| 286 | 307 | ||
