A bit more refactoring on labels.
[timetracker.git] / WEB-INF / resources / no.lang.php
index 88306bb..ca58f99 100644 (file)
@@ -26,7 +26,7 @@
 // | https://www.anuko.com/time_tracker/credits.htm
 // +----------------------------------------------------------------------+
 
-// Note: escape apostrophes with THREE backslashes, like here:  choisir l\\\'option 
+// 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';
@@ -39,103 +39,156 @@ $i18n_holidays = array('01/01', '04/05', '04/09', '04/10', '04/12', '04/13', '05
 
 $i18n_key_words = array(
 
-// Menus.
+// Menus - short selection strings that are displayed on top of application web pages.
+// Example: https://timetracker.anuko.com (black menu on top).
 'menu.login' => 'Innlogging',
 'menu.logout' => 'Logg ut',
-// TODO: translate the following:
+// TODO: translate the following.
 // 'menu.forum' => 'Forum',
 'menu.help' => 'Hjelp',
-// Note to translators: menu.create_team needs an improved translation.
-'menu.create_team' => 'Lag ny adminkonto',
+// TODO: translate the following.
+// 'menu.create_team' => 'Create Team',
 'menu.profile' => 'Profil',
 'menu.time' => 'Tid',
-// TODO: translate the following:
+// TODO: translate the following.
 // 'menu.expenses' => 'Expenses',
 'menu.reports' => 'Rapporter',
 'menu.charts' => 'Diagrammer',
 'menu.projects' => 'Prosjekter',
-// TODO: translate the following:
+// TODO: translate the following.
 // 'menu.tasks' => 'Tasks',
 // 'menu.users' => 'Users',
-// Note to translators: check translation of menu.teams. This is for a list of teams in the time tracker for admin.
-// 'menu.teams' => 'team',
+// 'menu.teams' => 'Teams',
 'menu.export' => 'Eksport',
 'menu.clients' => 'Klienter',
 'menu.options' => 'Opsjoner',
 
 // Footer - strings on the bottom of most pages.
-// TODO: translate the following:
+// TODO: translate the following.
 // 'footer.contribute_msg' => 'You can contribute to Time Tracker in different ways.',
 // 'footer.credits' => 'Credits',
 // 'footer.license' => 'License',
 // 'footer.improve' => 'Contribute', // Translators: this could mean "Improve", if it makes better sense in your language.
-                                  // This is a link to a webpage that describes how to contribute to the project.
+                                     // This is a link to a webpage that describes how to contribute to the project.
 
 // Error messages.
-// TODO: translate the following:
+// TODO: translate the following.
 // 'error.access_denied' => 'Access denied.',
 // 'error.sys' => 'System error.',
 'error.db' => 'Databasefeil.',
 'error.field' => 'Feil "{0}" data.',
 'error.empty' => 'Feltet "{0}" er tomt.',
 'error.not_equal' => 'Feltet "{0}" stemmer ikke med "{1}".',
-'error.interval' => 'Feil intervall.',
+// TODO: translate the following.
+// 'error.interval' => 'Field "{0}" must be greater than "{1}".',
 'error.project' => 'Velg prosjekt.',
-'error.activity' => 'Velg aktivitet.',
+// TODO: translate the following.
+// 'error.task' => 'Select task.',
+// 'error.client' => 'Select client.',
+// 'error.report' => 'Select report.',
+// 'error.record' => 'Select record.',
 'error.auth' => 'Feil brukernavn eller passord.',
 'error.user_exists' => 'Bruker med et slikt brukernavn eksisterer allerede.',
 'error.project_exists' => 'Et prosjekt med dette navnet er allerede opprettet.',
-'error.activity_exists' => 'En aktivitet 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.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.upload' => 'Feil med lasting av fil.',
-// TODO: translate error.period_locked.
-// 'error.period_locked' => 'can\\\'t complete the operation. records older than a certain number of days cannot be created or modified. team manager defines this in the "Lock interval in days" value on the "Profile" page. set it to 0 to remove locking. <br><br>uncompleted records (with 0 or empty duration) can be deleted.',
+// TODO: translate the following.
+// 'error.range_locked' => 'Date range is locked.',
 'error.mail_send' => 'Feil ved sending av e-post.',
 'error.no_email' => 'Det er ingen e-post knyttet til dette brukernavnet.',
 'error.uncompleted_exists' => 'Ufullført registrering finnes allerede. Lukk eller slett den.',
 'error.goto_uncompleted' => 'Gå til ufullført registrering.',
+// TODO: translate the following.
+// 'error.overlap' => 'Time interval overlaps with existing records.',
+// 'error.future_date' => 'Date is in future.',
 
 // Labels for buttons.
 'button.login' => 'Innlogging',
 'button.now' => 'Nå',
-// 'button.set' => 'Sette',
 'button.save' => 'Lagre',
+// TODO: translate the following.
+// 'button.copy' => 'Copy',
 'button.cancel' => 'Avbryt',
-// TODO: check translation of button.submit. It is used on several pages, including https://timetracker.anuko.com/time.php.
-// 'button.submit' => 'Registrer',
+// TODO: translate the following.
+// 'button.submit' => 'Submit',
 'button.add_user' => 'Legg til bruker',
 'button.add_project' => 'Legg til prosjekt',
-'button.add_activity' => 'Legg til aktivitet',
+// 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.generate' => 'Generer',
 'button.reset_password' => 'Resett passord',
 'button.send' => 'Send',
 'button.send_by_email' => 'Send som e-post',
-'button.save_as_new' => 'Lagre som ny',
 'button.create_team' => 'Opprett team',
 'button.export' => 'Eksport team',
 'button.import' => 'Importer team',
-// 'button.apply' => 'bruk',
-// TODO: translate button.close.
+// TODO: translate the following.
 // 'button.close' => 'Close',
+// 'button.stop' => 'Stop',
 
 // Labels for controls on forms. Labels in this section are used on multiple forms.
-// TODO: translate label.team_name
+// TODO: translate the following.
 // 'label.team_name' => 'Team name',
+// 'label.address' => 'Address',
 'label.currency' => 'Valuta',
-// TODO: translate these strings.
-// 'label.manager_name' => 'manager name',
-// 'label.manager_login' => 'manager login',
+// TODO: translate the following.
+// 'label.manager_name' => 'Manager name',
+// 'label.manager_login' => 'Manager login',
 // 'label.person_name' => 'Name',
 // 'label.thing_name' => 'Name',
+// 'label.login' => 'Login',
 'label.password' => 'Passord',
 'label.confirm_password' => 'Bekreft passord',
-// 'label.email' => 'email',
+'label.email' => 'E-post',
+// TODO: translate the following.
+// 'label.cc' => 'Cc',
+// 'label.bcc' => 'Bcc',
+'label.subject' => 'Emne',
+// TODO: translate the following.
+// 'label.date' => 'Date',
+// 'label.start_date' => 'Start date',
+// 'label.end_date' => 'End date',
+// 'label.user' => 'User',
+// 'label.users' => 'Users',
+// 'label.client' => 'Client',
+// 'label.clients' => 'Clients',
+// 'label.option' => 'Option',
+// 'label.invoice' => 'Invoice',
+// 'label.project' => 'Project',
+// 'label.projects' => 'Projects',
+// 'label.task' => 'Task',
+// 'label.tasks' => 'Tasks',
+// 'label.description' => 'Description',
+// 'label.start' => 'Start',
+// 'label.finish' => 'Finish',
+// 'label.duration' => 'Duration',
+
+
+
+// TODO: refactoring ongoing down from here.
+
 'label.total' => 'totalt',
-// Translate the following string.
+// TODO: translate the following.
 // 'label.page' => 'Page',
+// 'label.condition' => 'Condition',
+// 'label.yes' => 'yes',
+// 'label.no' => 'no',
+
+// Form titles.
+// TODO: the entire title section is missing here. See the English file.
 
 // TODO: Please check the translation against the current English file as many things are being refactored. For example, many labels have been added after label.email.
 
@@ -171,9 +224,7 @@ $i18n_key_words = array(
 // "form.admin.profile.th.edit" => 'endre',
 // "form.admin.profile.th.del" => 'slett',
 // "form.admin.profile.th.active" => 'aktiv',
-// "form.admin.lock.period" => 'lås intervallet i antall dager',
 // "form.admin.options" => 'opsjoner',
-// "form.admin.lang_default" => 'sidens språk',
 // "form.admin.custom_date_format" => "datoformat",
 // "form.admin.custom_time_format" => "tidsformat",
 // "form.admin.start_week" => "første ukedag",
@@ -301,8 +352,6 @@ $i18n_key_words = array(
 // mail form attributes
 "form.mail.from" => 'fra',
 "form.mail.to" => 'til',
-"form.mail.cc" => 'cc',
-"form.mail.subject" => 'emne',
 "form.mail.comment" => 'kommentar',
 "form.mail.above" => 'send denne rapporten som e-post',
 // Note to translators: the strings below must be translated
@@ -319,10 +368,6 @@ $i18n_key_words = array(
 "form.invoice.date" => 'dato',
 "form.invoice.number" => 'fakturanummer',
 "form.invoice.tax" => 'MVA',
-// Note to translators: the strings below are missing and must be added and translated
-// "form.invoice.daily_subtotals" => 'daglige delbeløp',
-"form.invoice.yourcoo" => 'ditt navn<br> og adresse',
-"form.invoice.custcoo" => 'kundens navn<br> og adresse',
 "form.invoice.comment" => 'notat',
 "form.invoice.th.username" => 'person',
 "form.invoice.th.time" => 'timer',
@@ -355,9 +400,6 @@ $i18n_key_words = array(
 // "form.client.th.del" => 'slett',
 // "form.client.name" => 'navn',
 // "form.client.tax" => 'avgift',
-// "form.client.daily_subtotals" => 'daglige delbeløp',
-// "form.client.yourcoo" => 'ditt navn<br> og adresse i faktura',
-// "form.client.custcoo" => 'adresse',
 // "form.client.comment" => 'kommentar ',
 
 // miscellaneous strings