Skip to content

Commit 71ff335

Browse files
committed
Language: Use 'E-mail' rather than 'e-mail' everywhere to try and avoid confusion
1 parent bf9907c commit 71ff335

File tree

97 files changed

+44
-230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+44
-230
lines changed

assets/vue/views/assignments/AssignmentMissing.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
</template>
4747
</Column>
4848

49-
<Column :header="t('e-mail')">
49+
<Column :header="t('E-mail')">
5050
<template #body="slotProps">
5151
<a
5252
class="text-blue-600 hover:underline"

assets/vue/views/sessionadmin/RegisterStudent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<thead class="bg-gray-20 text-gray-90 font-medium">
8585
<tr>
8686
<th class="px-4 py-2 text-left">{{ t("Full name") }}</th>
87-
<th class="px-4 py-2 text-left">{{ t("e-mail") }}</th>
87+
<th class="px-4 py-2 text-left">{{ t("E-mail") }}</th>
8888
<th class="px-4 py-2 text-left">{{ t("Active") }}</th>
8989
<th class="px-4 py-2 text-left">{{ t("Local user") }}</th>
9090
<th class="px-4 py-2 text-right"></th>
@@ -156,7 +156,7 @@
156156
<InputText
157157
v-model="createForm.email"
158158
type="email"
159-
:placeholder="t('Email')"
159+
:placeholder="t('E-mail')"
160160
class="w-full"
161161
/>
162162
<InputText

public/main/admin/add_users_to_usergroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function change_select(val) {
191191
['type' => 'text', 'name' => 'firstname', 'label' => get_lang('First name')],
192192
['type' => 'text', 'name' => 'lastname', 'label' => get_lang('Last name')],
193193
['type' => 'text', 'name' => 'official_code', 'label' => get_lang('Code')],
194-
['type' => 'text', 'name' => 'email', 'label' => get_lang('e-mail')],
194+
['type' => 'text', 'name' => 'email', 'label' => get_lang('E-mail')],
195195
];
196196

197197
$searchForm = new FormValidator('search', 'get', api_get_self().'?id='.$id);

public/main/admin/course_information.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function get_course_usage($course, $session_id = 0)
180180
$table->set_header(1, get_lang('Last name'), true);
181181
$table->set_header(2, get_lang('First name'), true);
182182
}
183-
$table->set_header(3, get_lang('e-mail'), true);
183+
$table->set_header(3, get_lang('E-mail'), true);
184184
$table->set_header(4, get_lang('Status'), true);
185185
$table->set_header(5, '', false);
186186
$table->display();

public/main/admin/dashboard_add_users_to_user.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ function remove_item(origin) {
260260
['type' => 'text', 'name' => 'firstname', 'label' => get_lang('First name')],
261261
['type' => 'text', 'name' => 'lastname', 'label' => get_lang('Last name')],
262262
['type' => 'text', 'name' => 'official_code', 'label' => get_lang('Code')],
263-
['type' => 'text', 'name' => 'email', 'label' => get_lang('e-mail')],
263+
['type' => 'text', 'name' => 'email', 'label' => get_lang('E-mail')],
264264
];
265265

266266
$searchForm = new FormValidator('search', 'get', api_get_self().'?user='.$user_id);

public/main/admin/ldap_form_add_users_group.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
echo '<table border="0" cellspacing="0" width="100%">';
2929
echo '<tr align="center" id="header3">'.
3030
'<td width="15%"><input type="button" value="'.get_lang('All/None').'" onClick="checkAll();"></td>'.
31-
'<td width="40%"><b>'.get_lang('e-mail').'</b></td>'.
31+
'<td width="40%"><b>'.get_lang('E-mail').'</b></td>'.
3232
($is_western_name_order
3333
? '<td width="15%"><b>'.get_lang('First name').'</b></td>'.
3434
'<td width="15%"><b>'.get_lang('Name').'</b></td>'

public/main/admin/ldap_users_list.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
$table->set_header(2, get_lang('Last name'));
189189
$table->set_header(3, get_lang('First name'));
190190
}
191-
$table->set_header(4, get_lang('e-mail'));
191+
$table->set_header(4, get_lang('E-mail'));
192192
$table->set_header(5, get_lang('Detail'));
193193
//$table->set_column_filter(5, 'email_filter');
194194
//$table->set_column_filter(5, 'active_filter');

public/main/admin/user_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function confirmation(name) {
143143
$form->applyFilter('official_code', 'trim');
144144

145145
// e-mail
146-
$form->addElement('text', 'email', get_lang('e-mail'));
146+
$form->addElement('text', 'email', get_lang('E-mail'));
147147
$form->addEmailRule('email');
148148
if ('true' == api_get_setting('registration', 'email')) {
149149
$form->addRule('email', get_lang('Required field'), 'required');

public/main/admin/user_information.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
$csvContent[] = [get_lang('Information')];
154154
$data = [
155155
get_lang('Name') => $completeName,
156-
get_lang('e-mail') => $user->getEmail(),
156+
get_lang('E-mail') => $user->getEmail(),
157157
get_lang('Phone') => $user->getPhone(),
158158
get_lang('Course code') => $user->getOfficialCode(),
159159
//get_lang('Online') => !empty($user['user_is_online']) ? Display::return_icon('online.png') : Display::return_icon('offline.png'),

public/main/admin/user_list.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ class="btn btn--plain advanced_options" onclick="display_advanced_search_form();
12111211
$form->addText('keyword_firstname', get_lang('First name'), false);
12121212
$form->addText('keyword_lastname', get_lang('Last name'), false);
12131213
$form->addText('keyword_username', get_lang('Login'), false);
1214-
$form->addText('keyword_email', get_lang('e-mail'), false);
1214+
$form->addText('keyword_email', get_lang('E-mail'), false);
12151215
$form->addText('keyword_officialcode', get_lang('Code'), false);
12161216

12171217
$classId = isset($_REQUEST['class_id']) && !empty($_REQUEST['class_id']) ? (int) $_REQUEST['class_id'] : 0;
@@ -1290,7 +1290,7 @@ function($from, $number_of_items, $column, $direction) use ($showDeletedUsers) {
12901290
$table->set_header(4, get_lang('First name'));
12911291
}
12921292
$table->set_header(5, get_lang('Username'));
1293-
$table->set_header(6, get_lang('e-mail'));
1293+
$table->set_header(6, get_lang('E-mail'));
12941294
$table->set_header(7, get_lang('Profile'));
12951295
$table->set_header(8, get_lang('active'), true, 'width="15px"');
12961296
$table->set_header(9, get_lang('Registration date'), true, 'width="90px"');

0 commit comments

Comments
 (0)