Translate space member role (#7190)

This commit is contained in:
Yuriy Bakhtin 2024-08-28 12:35:17 +03:00 committed by GitHub
parent f426f94a3b
commit 9aa79bc386
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,10 @@ use humhub\widgets\PanelMenu;
<div class="panel-heading"><?= Yii::t('SpaceModule.base', '<strong>About</strong> your membership'); ?></div> <div class="panel-heading"><?= Yii::t('SpaceModule.base', '<strong>About</strong> your membership'); ?></div>
<div class="panel-body"> <div class="panel-body">
<p><b><?= Yii::t('SpaceModule.base', 'Role') ?>: </b><?= ucfirst($role) ?></p> <p>
<b><?= Yii::t('SpaceModule.base', 'Role') ?>: </b>
<?= Yii::t('SpaceModule.base', ucfirst($role)) ?>
</p>
<?php if (!empty($memberSince)): ?> <?php if (!empty($memberSince)): ?>
<p><b><?= Yii::t('SpaceModule.base', 'Member since') ?>: </b><?= $memberSince ?></p> <p><b><?= Yii::t('SpaceModule.base', 'Member since') ?>: </b><?= $memberSince ?></p>
<?php endif; ?> <?php endif; ?>