Added form.swap.swap_with to translation files.
[timetracker.git] / WEB-INF / resources / no.lang.php
index de06b8f..dceff3d 100644 (file)
@@ -29,7 +29,7 @@
 // Note: escape apostrophes with THREE backslashes, like here:  choisir l\\\'option.
 // Other characters (such as double-quotes in http links, etc.) do not have to be escaped.
 
-$i18n_language = 'Norsk';
+$i18n_language = 'Norwegian (Norsk)';
 $i18n_months = array('Januar', 'Februar', 'Mars', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Desember');
 $i18n_weekdays = array('Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag');
 // TODO: check translation of $i18n_weekdays_short.
@@ -90,16 +90,18 @@ $i18n_key_words = array(
 // 'error.record' => 'Select record.',
 'error.auth' => 'Feil brukernavn eller passord.',
 'error.user_exists' => 'Bruker med et slikt brukernavn eksisterer allerede.',
+// TODO: translate the following.
+// 'error.object_exists' => 'Object with this name already exists.',
 'error.project_exists' => 'Et prosjekt med dette navnet er allerede opprettet.',
 // TODO: translate the following.
 // 'error.task_exists' => 'Task with this name already exists.',
 'error.client_exists' => 'En klient med dette navnet er allerede opprettet.',
 // TODO: translate the following.
 // 'error.invoice_exists' => 'Invoice with this number already exists.',
+// 'error.role_exists' => 'Role with this rank already exists.',
 // 'error.no_invoiceable_items' => 'There are no invoiceable items.',
 'error.no_login' => 'Det er ingen bruker med dette brukernavnet.',
-// TODO: translate the following.
-// 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.',
+'error.no_teams' => 'Databasen din er tom. Logg inn som admin og opprett et nytt team.',
 'error.upload' => 'Feil med lasting av fil.',
 // TODO: translate the following.
 // 'error.range_locked' => 'Date range is locked.',
@@ -120,15 +122,8 @@ $i18n_key_words = array(
 'button.cancel' => 'Avbryt',
 // TODO: translate the following.
 // 'button.submit' => 'Submit',
-'button.add_user' => 'Legg til bruker',
-'button.add_project' => 'Legg til prosjekt',
-// TODO: translate the following.
-// 'button.add_task' => 'Add task',
-'button.add_client' => 'Legg til klient',
-// TODO: translate the following.
-// 'button.add_invoice' => 'Add invoice',
-// 'button.add_option' => 'Add option',
 'button.add' => 'Legg til',
+'button.delete' => 'Slett',
 'button.generate' => 'Generer',
 'button.reset_password' => 'Resett passord',
 'button.send' => 'Send',
@@ -164,6 +159,8 @@ $i18n_key_words = array(
 // 'label.end_date' => 'End date',
 'label.user' => 'Bruker',
 'label.users' => 'Brukere',
+// TODO: translate the following.
+// 'label.roles' => 'Roles',
 'label.client' => 'Klient',
 'label.clients' => 'Klienter',
 'label.option' => 'Opsjon', // TODO: is this correct?
@@ -182,6 +179,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'label.item' => 'Item',
 // 'label.cost' => 'Cost',
+// 'label.ip' => 'IP',
 // 'label.day_total' => 'Day total',
 'label.week_total' => 'Uken totalt',
 // TODO: translate the following.
@@ -198,7 +196,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'label.day_view' => 'Day view',
 // 'label.week_view' => 'Week view',
-// 'label.id' => 'ID',
+'label.id' => 'ID',
 'label.language' => 'Språk',
 // TODO: translate the following.
 // 'label.decimal_mark' => 'Decimal mark',
@@ -237,7 +235,7 @@ $i18n_key_words = array(
 // 'label.required' => 'Required',
 'label.fav_report' => 'Favoritt rapport',
 // TODO: translate the following.
-// 'label.cron_schedule' => 'Cron schedule',
+// 'label.schedule' => 'Schedule',
 // 'label.what_is_it' => 'What is it?',
 // 'label.expense' => 'Expense',
 // 'label.quantity' => 'Quantity',
@@ -253,12 +251,14 @@ $i18n_key_words = array(
 // 'title.teams' => 'Teams',
 // 'title.create_team' => 'Creating Team',
 // 'title.edit_team' => 'Editing Team',
-// 'title.delete_team' => 'Deleting Team',
+'title.delete_team' => 'Slett team',
+// TODO: translate the following.
 // 'title.reset_password' => 'Resetting Password',
 // 'title.change_password' => 'Changing Password',
-// 'title.time' => 'Time',
-// 'title.edit_time_record' => 'Editing Time Record',
-// 'title.delete_time_record' => 'Deleting Time Record',
+'title.time' => 'Tid',
+'title.edit_time_record' => 'Endre tids oppføringen',
+'title.delete_time_record' => 'Slett tids oppføringen',
+// TODO: translate the following.
 // 'title.expenses' => 'Expenses',
 // 'title.edit_expense' => 'Editing Expense Item',
 // 'title.delete_expense' => 'Deleting Expense Item',
@@ -286,6 +286,11 @@ $i18n_key_words = array(
 'title.add_user' => 'Legg til bruker',
 'title.edit_user' => 'Endre bruker',
 'title.delete_user' => 'Slett bruker',
+// TODO: translate the following.
+// 'title.roles' => 'Roles',
+// 'title.add_role' => 'Adding Role',
+// 'title.edit_role' => 'Editing Role',
+// 'title.delete_role' => 'Deleting Role',
 'title.clients' => 'Klienter',
 'title.add_client' => 'Legg til klient',
 'title.edit_client' => 'Endre klient',
@@ -317,6 +322,7 @@ $i18n_key_words = array(
 // It is also a name for the Locking plugin on the Team profile page.
 // 'title.locking' => 'Locking',
 // 'title.week_view' => 'Week View',
+// 'title.swap_roles' => 'Swapping Roles',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
@@ -343,8 +349,9 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'dropdown.select' => '--- select ---',
 // 'dropdown.select_invoice' => '--- select invoice ---',
-// 'dropdown.status_active' => 'active',
-// 'dropdown.status_inactive' => 'inactive',
+'dropdown.status_active' => 'aktiv',
+'dropdown.status_inactive' => 'inaktiv',
+// TODO: translate the following.
 // 'dropdown.delete' => 'delete',
 // 'dropdown.do_not_delete' => 'do not delete',
 // 'dropdown.paid' => 'paid',
@@ -352,13 +359,16 @@ $i18n_key_words = array(
 
 // Login form. See example at https://timetracker.anuko.com/login.php.
 'form.login.forgot_password' => 'Glemt passordet?',
-'form.login.about' =>'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> er et enkelt, brukervennlig tidsregistreringssystem basert på åpen kildekode.',
+'form.login.about' => 'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> er et enkelt, brukervennlig tidsregistreringssystem basert på åpen kildekode.',
 
 // Resetting Password form. See example at https://timetracker.anuko.com/password_reset.php.
 // TODO: translate the following.
 // 'form.reset_password.message' => 'Password reset request sent by email.',
 // 'form.reset_password.email_subject' => 'Anuko Time Tracker password reset request',
-'form.reset_password.email_body' => "Kjære bruker,\n\nNoen, trolig deg, bad om å få ditt Anuko Time Tracker password resatt. Vær vennlig å besøk denne lenken dersom du ønsker at passordet ditt skal resettes.\n\n%s\n\nAnuko Time Tracker er et enkelt og brukervennlig system for tidsregistrering basert på åpen kildekode. Les mer på https://www.anuko.com.\n\n",
+// TODO: English string has changed. "from IP" added. Re-translate the beginning.
+// 'form.reset_password.email_body' => "Dear User,\n\nSomeone from IP %s requested your Anuko Time Tracker password reset. Please visit this link if you want to reset your password.\n\n%s\n\nAnuko Time Tracker is a simple, easy to use, open source time tracking system. Visit https://www.anuko.com for more information.\n\n",
+// "IP %s" probably sounds awkward.
+'form.reset_password.email_body' => "Kjære bruker,\n\nNoen, IP %s, bad om å få ditt Anuko Time Tracker password resatt. Vær vennlig å besøk denne lenken dersom du ønsker at passordet ditt skal resettes.\n\n%s\n\nAnuko Time Tracker er et enkelt og brukervennlig system for tidsregistrering basert på åpen kildekode. Les mer på https://www.anuko.com.\n\n",
 
 // Changing Password form. See example at https://timetracker.anuko.com/password_change.php?ref=1.
 // TODO: translate the following.
@@ -366,7 +376,7 @@ $i18n_key_words = array(
 
 // Time form. See example at https://timetracker.anuko.com/time.php.
 // TODO: translate the following.
-// 'form.time.duration_format' => '(hh:mm or 0.0h)',
+'form.time.duration_format' => '(tt:mm eller 0.0h)',
 'form.time.billable' => 'Fakturerbar',
 'form.time.uncompleted' => 'Uferdig',
 // TODO: translate the following.
@@ -374,8 +384,7 @@ $i18n_key_words = array(
 // 'form.time.over_quota' => 'Over quota',
 
 // Editing Time Record form. See example at https://timetracker.anuko.com/time_edit.php (get there by editing an uncompleted time record).
-// TODO: translate the following.
-// 'form.time_edit.uncompleted' => 'This record was saved with only start time. It is not an error.',
+'form.time_edit.uncompleted' => 'Denne oppføringen ble lagret kun med starttid. Det er ikke en feil.',
 
 // Week view form. See example at https://timetracker.anuko.com/week.php.
 // TODO: translate the following.
@@ -396,8 +405,7 @@ $i18n_key_words = array(
 // 'form.reports.group_by_no' => '--- no grouping ---',
 'form.reports.group_by_date' => 'dato',
 'form.reports.group_by_user' => 'bruker',
-// TODO: translate the following.
-// 'form.reports.group_by_client' => 'client',
+'form.reports.group_by_client' => 'klient',
 'form.reports.group_by_project' => 'prosjekt',
 // TODO: translate the following.
 // 'form.reports.group_by_task' => 'task',
@@ -446,6 +454,15 @@ $i18n_key_words = array(
 // 'form.users.rate' => 'Rate',
 // 'form.users.default_rate' => 'Default hourly rate',
 
+// Roles form. See example at https://timetracker.anuko.com/roles.php
+// TODO: translate the following.
+// 'form.roles.active_roles' => 'Active Roles',
+// 'form.roles.inactive_roles' => 'Inactive Roles',
+// 'form.roles.rank' => 'Rank',
+// 'form.roles.rights' => 'Rights',
+// 'form.roles.assigned' => 'Assigned',
+// 'form.roles.not_assigned' => 'Not assigned',
+
 // Clients form. See example at https://timetracker.anuko.com/clients.php
 // TODO: translate the following.
 // 'form.clients.active_clients' => 'Active Clients',
@@ -474,6 +491,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'form.profile.12_hours' => '12 hours',
 // 'form.profile.24_hours' => '24 hours',
+// 'form.profile.show_holidays' => 'Show holidays',
 // 'form.profile.tracking_mode' => 'Tracking mode',
 // 'form.profile.mode_time' => 'time',
 // 'form.profile.mode_projects' => 'projects',
@@ -482,9 +500,10 @@ $i18n_key_words = array(
 // 'form.profile.type_all' => 'all',
 // 'form.profile.type_start_finish' => 'start and finish',
 // 'form.profile.type_duration' => 'duration',
+// 'form.profile.punch_mode' => 'Punch mode',
+// 'form.profile.allow_overlap' => 'Allow overlap',
+// 'form.profile.future_entries' => 'Future entries',
 // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators',
-// 'form.profile.uncompleted_indicators_none' => 'do not show',
-// 'form.profile.uncompleted_indicators_show' => 'show',
 // 'form.profile.plugins' => 'Plugins',
 
 // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report.
@@ -504,33 +523,31 @@ $i18n_key_words = array(
 // 'form.quota.workday_hours' => 'Hours in work day',
 // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.',
 
-
-
-// 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)',
-// Note to translators: the strings below must be translated
-// "form.mytime.no_finished_rec" => 'Denne oppføringen ble lagret kun med starttid. Det er ikke en feil. Logg ut om nødvendig.',
-
-// 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',
+// Swap roles form.
+// TODO: translate the following.
+// 'form.swap.swap_with' => 'Swap roles with',
+
+// 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.',
 );