-
-
-// TODO: refactoring ongoing down from here.
-
-// "form.admin.profile.title" => 'team',
-// "form.admin.profile.noprofiles" => 'databasen din er tom. logg inn som admin og opprett et nytt team.',
-// "form.admin.profile.comment" => 'slett team',
-// "form.admin.profile.th.id" => 'id',
-// "form.admin.profile.th.active" => 'aktiv',
-
-// my time form attributes
-// Note to translators: the 2 strings below must be translated
-// "form.mytime.title" => 'min tid',
-// "form.mytime.edit_title" => 'endre tidsoppføringen',
-"form.mytime.del_str" => 'slett tids oppføringen',
-"form.mytime.time_form" => ' (tt:mm)',
-"form.mytime.total" => 'totalt antall timer: ',
-// Note to translators: the strings below must be translated
-// "form.mytime.del_yes" => 'tidsoppføringen er slettet',
-// "form.mytime.no_finished_rec" => 'Denne oppføringen ble lagret kun med starttid. Det er ikke en feil. Logg ut om nødvendig.',
-// "form.mytime.warn_tozero_rec" => 'Denne oppføringen må slettes fordi tidsperioden er låst',
-// "form.mytime.uncompleted" => 'uferdig',
-
-// profile form attributes
-// Note to translators: we need a more accurate translation of form.profile.create_title
-"form.profile.create_title" => 'lag ny adminkonto',
-"form.profile.edit_title" => 'endre profil',
-
-// Note to translators: the strings below are missing and must be added and translated
-// "form.profile.showchart" => 'vis kakediagram',
-
-// people form attributes
-"form.people.rate" => 'timesats',
+// Roles and rights. These strings are used in multiple places. Grouped here to provide consistent translations.
+// TODO: translate the following.
+// 'role.user.label' => 'User',
+// 'role.user.low_case_label' => 'user',
+// 'role.user.description' => 'A regular member without management rights.',
+// 'role.client.label' => 'Client',
+// 'role.client.low_case_label' => 'client',
+// 'role.client.description' => 'A client can view its own reports, charts, and invoices.',
+// 'role.supervisor.label' => 'Supervisor',
+// 'role.supervisor.low_case_label' => 'supervisor',
+// 'role.supervisor.description' => 'A person with a small set of management rights.',
+// 'role.comanager.label' => 'Co-manager',
+// 'role.comanager.low_case_label' => 'co-manager',
+// 'role.comanager.description' => 'A person with a big set of management functions.',
+// 'role.manager.label' => 'Manager',
+// 'role.manager.low_case_label' => 'manager',
+// 'role.manager.description' => 'Group manager. Can do most of things for a group.',
+// 'role.top_manager.label' => 'Top manager',
+// 'role.top_manager.low_case_label' => 'top manager',
+// 'role.top_manager.description' => 'Top group manager. Can do everything in a tree of groups.',
+// 'role.admin.label' => 'Administrator',
+// 'role.admin.low_case_label' => 'administrator',
+// 'role.admin.description' => 'Site adminsitrator.',