From e11d527ca80a0bf7079ce8bc78bcc027b0096f7a Mon Sep 17 00:00:00 2001 From: anuko Date: Sun, 23 Oct 2016 14:48:39 +0000 Subject: [PATCH] Work in progress renaming things. --- WEB-INF/resources/en.lang.php | 6 +++--- WEB-INF/resources/sv.lang.php | 6 +++--- WEB-INF/templates/profile_edit.tpl | 2 +- mobile/users.php | 2 +- profile_edit.php | 4 ++-- users.php | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/WEB-INF/resources/en.lang.php b/WEB-INF/resources/en.lang.php index f3d92dcb..58302770 100644 --- a/WEB-INF/resources/en.lang.php +++ b/WEB-INF/resources/en.lang.php @@ -389,9 +389,9 @@ $i18n_key_words = array( 'form.profile.mode_projects' => 'projects', 'form.profile.mode_projects_and_tasks' => 'projects and tasks', 'form.profile.record_type' => 'Record type', -'form.profile.uncompleted_entries' => 'Uncompleted indicators', -'form.profile.entries_none' => 'do not show', -'form.profile.entries_users_page' => 'show', +'form.profile.uncompleted_indicators' => 'Uncompleted indicators', +'form.profile.uncompleted_indicators_none' => 'do not show', +'form.profile.uncompleted_indicators_show' => 'show', 'form.profile.type_all' => 'all', 'form.profile.type_start_finish' => 'start and finish', 'form.profile.type_duration' => 'duration', diff --git a/WEB-INF/resources/sv.lang.php b/WEB-INF/resources/sv.lang.php index 7c1ca4a7..9f141360 100644 --- a/WEB-INF/resources/sv.lang.php +++ b/WEB-INF/resources/sv.lang.php @@ -389,9 +389,9 @@ $i18n_key_words = array( 'form.profile.mode_projects_and_tasks' => 'Projekt och arbetsuppgifter', 'form.profile.record_type' => 'Typ av tidsregistrering', // TODO: improve translation (English strings changed). -//'form.profile.uncompleted_entries' => 'Oavslutade tidsregistreringar', -//'form.profile.entries_none' => 'Visa inte', -//'form.profile.entries_users_page' => 'Visa på sidan Användare', +//'form.profile.uncompleted_indicators' => 'Oavslutade tidsregistreringar', +//'form.profile.uncompleted_indicators_none' => 'Visa inte', +//'form.profile.uncompleted_indicators_show' => 'Visa på sidan Användare', 'form.profile.type_all' => 'Alla', 'form.profile.type_start_finish' => 'Starttid och sluttid', 'form.profile.type_duration' => 'Varaktighet', diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index d13e0871..7f8cd281 100644 --- a/WEB-INF/templates/profile_edit.tpl +++ b/WEB-INF/templates/profile_edit.tpl @@ -140,7 +140,7 @@ function handlePluginCheckboxes() { {$forms.profileForm.record_type.control} - {$i18n.form.profile.uncompleted_entries}: + {$i18n.form.profile.uncompleted_indicators}: {$forms.profileForm.uncompleted_entries.control} diff --git a/mobile/users.php b/mobile/users.php index 02184588..00231540 100644 --- a/mobile/users.php +++ b/mobile/users.php @@ -44,7 +44,7 @@ if($user->canManageTeam()) { $inactive_users = ttTeamHelper::getInactiveUsers($user->team_id, true); } -// Check if the user wants to show uncompleted time entries. +// Check if the team is set to show indicators for uncompleted time entries. if (UNCOMPLETED_INDICATORS == $user->uncompleted_entries) { // Check each active user if they have an uncompleted time entry. foreach ($active_users as $key => $user) { diff --git a/profile_edit.php b/profile_edit.php index f49e70ae..09e91107 100644 --- a/profile_edit.php +++ b/profile_edit.php @@ -172,8 +172,8 @@ if ($user->canManageTeam()) { // Prepare uncompleted entries choices. $uncompleted_entries_options = array(); - $uncompleted_entries_options[UNCOMPLETED_INDICATORS_NONE] = $i18n->getKey('form.profile.entries_none'); - $uncompleted_entries_options[UNCOMPLETED_INDICATORS] = $i18n->getKey('form.profile.entries_users_page'); + $uncompleted_entries_options[UNCOMPLETED_INDICATORS_NONE] = $i18n->getKey('form.profile.uncompleted_indicators_none'); + $uncompleted_entries_options[UNCOMPLETED_INDICATORS] = $i18n->getKey('form.profile.uncompleted_indicators_show'); $form->addInput(array('type'=>'combobox','name'=>'uncompleted_entries','style'=>'width: 150px;','data'=>$uncompleted_entries_options,'value'=>$cl_uncompleted_entries)); $form->addInput(array('type'=>'checkbox','name'=>'charts','data'=>1,'value'=>$cl_charts)); diff --git a/users.php b/users.php index b1fe52a0..ce291327 100644 --- a/users.php +++ b/users.php @@ -44,7 +44,7 @@ if($user->canManageTeam()) { $inactive_users = ttTeamHelper::getInactiveUsers($user->team_id, true); } -// Check if the user wants to show uncompleted time entries. +// Check if the team is set to show indicators for uncompleted time entries. if (UNCOMPLETED_INDICATORS == $user->uncompleted_entries) { // Check each active user if they have an uncompleted time entry. foreach ($active_users as $key => $user) { -- 2.20.1