Merge pull request #3539 from AndyHee/20170617-admin_settings
Corrected names for counting/ listing account-types in admin panel
This commit is contained in:
commit
578cb0a55c
2 changed files with 3404 additions and 3401 deletions
|
@ -558,11 +558,11 @@ function admin_page_summary(App $a) {
|
||||||
$r = q("SELECT `page-flags`, COUNT(`uid`) AS `count` FROM `user` GROUP BY `page-flags`");
|
$r = q("SELECT `page-flags`, COUNT(`uid`) AS `count` FROM `user` GROUP BY `page-flags`");
|
||||||
$accounts = array(
|
$accounts = array(
|
||||||
array(t('Normal Account'), 0),
|
array(t('Normal Account'), 0),
|
||||||
array(t('Soapbox Account'), 0),
|
array(t('Automatic Follower Account'), 0),
|
||||||
array(t('Community/Celebrity Account'), 0),
|
array(t('Public Forum Account'), 0),
|
||||||
array(t('Automatic Friend Account'), 0),
|
array(t('Automatic Friend Account'), 0),
|
||||||
array(t('Blog Account'), 0),
|
array(t('Blog Account'), 0),
|
||||||
array(t('Private Forum'), 0)
|
array(t('Private Forum Account'), 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
$users=0;
|
$users=0;
|
||||||
|
@ -1451,8 +1451,8 @@ function admin_page_users(App $a) {
|
||||||
$_setup_users = function ($e) use ($adminlist) {
|
$_setup_users = function ($e) use ($adminlist) {
|
||||||
$accounts = array(
|
$accounts = array(
|
||||||
t('Normal Account'),
|
t('Normal Account'),
|
||||||
t('Soapbox Account'),
|
t('Automatic Follower Account'),
|
||||||
t('Community/Celebrity Account'),
|
t('Public Forum Account'),
|
||||||
t('Automatic Friend Account')
|
t('Automatic Friend Account')
|
||||||
);
|
);
|
||||||
$e['page-flags'] = $accounts[$e['page-flags']];
|
$e['page-flags'] = $accounts[$e['page-flags']];
|
||||||
|
|
6795
util/messages.po
6795
util/messages.po
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue