Skip to content

Commit 29b95dd

Browse files
author
William Bargent
authored
Merge pull request #624 from nextcloud/users-capitalization
fix capitalization of text in users management
2 parents 5e07f9e + d705b93 commit 29b95dd

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

settings/js/users/users.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ var UserList = {
9191
*/
9292
// make them look like the multiselect buttons
9393
// until they get time to really get initialized
94-
groupsSelect = $('<select multiple="multiple" class="groupsselect multiselect button" data-placehoder="Groups" title="' + t('settings', 'no group') + '"></select>')
94+
groupsSelect = $('<select multiple="multiple" class="groupsselect multiselect button" data-placehoder="Groups" title="' + t('settings', 'No group') + '"></select>')
9595
.data('username', user.name)
9696
.data('user-groups', user.groups);
9797
if ($tr.find('td.subadmins').length > 0) {
98-
subAdminSelect = $('<select multiple="multiple" class="subadminsselect multiselect button" data-placehoder="subadmins" title="' + t('settings', 'no group') + '">')
98+
subAdminSelect = $('<select multiple="multiple" class="subadminsselect multiselect button" data-placehoder="subadmins" title="' + t('settings', 'No group') + '">')
9999
.data('username', user.name)
100100
.data('user-groups', user.groups)
101101
.data('subadmin', user.subadmin);
@@ -501,7 +501,7 @@ var UserList = {
501501
};
502502
var label;
503503
if (oc_isadmin) {
504-
label = t('settings', 'add group');
504+
label = t('settings', 'Add group');
505505
}
506506
else {
507507
label = null;

settings/templates/users/part.grouplist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- Add new group -->
33
<li id="newgroup-init">
44
<a href="#">
5-
<span><?php p($l->t('Add Group'))?></span>
5+
<span><?php p($l->t('Add group'))?></span>
66
</a>
77
</li>
88
<li id="newgroup-form" style="display: none">

settings/templates/users/part.setquota.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="quota">
22
<!-- Default storage -->
3-
<span><?php p($l->t('Default Quota'));?></span>
3+
<span><?php p($l->t('Default quota'));?></span>
44
<?php if((bool) $_['isAdmin']): ?>
55
<select id='default_quota' data-inputtitle="<?php p($l->t('Please enter storage quota (ex: "512 MB" or "12 GB")')) ?>" data-tipsy-gravity="s">
66
<option <?php if($_['default_quota'] === 'none') print_unescaped('selected="selected"');?> value='none'>
@@ -25,7 +25,7 @@
2525
</select>
2626
<?php endif; ?>
2727
<?php if((bool) !$_['isAdmin']): ?>
28-
:
28+
:
2929
<?php if( $_['default_quota'] === 'none'): ?>
3030
<?php p($l->t('Unlimited'));?>
3131
<?php else: ?>

settings/templates/users/part.userlist.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
<th id="headerAvatar" scope="col"></th>
66
<?php endif; ?>
77
<th id="headerName" scope="col"><?php p($l->t('Username'))?></th>
8-
<th id="headerDisplayName" scope="col"><?php p($l->t( 'Full Name' )); ?></th>
8+
<th id="headerDisplayName" scope="col"><?php p($l->t( 'Full name' )); ?></th>
99
<th id="headerPassword" scope="col"><?php p($l->t( 'Password' )); ?></th>
1010
<th class="mailAddress" scope="col"><?php p($l->t( 'Email' )); ?></th>
1111
<th id="headerGroups" scope="col"><?php p($l->t( 'Groups' )); ?></th>
1212
<?php if(is_array($_['subadmins']) || $_['subadmins']): ?>
13-
<th id="headerSubAdmins" scope="col"><?php p($l->t('Group Admin for')); ?></th>
13+
<th id="headerSubAdmins" scope="col"><?php p($l->t('Group admin for')); ?></th>
1414
<?php endif;?>
1515
<th id="headerQuota" scope="col"><?php p($l->t('Quota')); ?></th>
16-
<th class="storageLocation" scope="col"><?php p($l->t('Storage Location')); ?></th>
17-
<th class="userBackend" scope="col"><?php p($l->t('User Backend')); ?></th>
18-
<th class="lastLogin" scope="col"><?php p($l->t('Last Login')); ?></th>
16+
<th class="storageLocation" scope="col"><?php p($l->t('Storage location')); ?></th>
17+
<th class="userBackend" scope="col"><?php p($l->t('User backend')); ?></th>
18+
<th class="lastLogin" scope="col"><?php p($l->t('Last login')); ?></th>
1919
<th id="headerRemove">&nbsp;</th>
2020
</tr>
2121
</thead>

0 commit comments

Comments
 (0)