Value of key 'roles.role::student' is not a string!
snowdream opened this issue · comments
snowdream commented
Reporting a bug?
'roles.role::student' can not be translated.
roles: {
'role::admin': 'Admin',
'role::root': 'Root',
'role::faculty': 'Faculty',
'role::teacher': 'Teacher',
'role::student': 'Student',
'role::register': 'Register',
'role::dean': 'Dean',
'role::finance': 'Finance',
'role::chairman': 'Chairman',
'role::staff': 'Staff',
'role::editor': 'Editor'
}
{{ $t('roles.role::student') }}
Expected behavior
{{ $t('roles.role::student') }}
Student
Reproduction
See intro text
System Info
System:
OS: Windows 10 10.0.19045
CPU: (4) x64 Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
Memory: 267.66 MB / 11.45 GB
Binaries:
Node: 19.8.1 - C:\Program Files\nodejs\node.EXE
npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.43)
Internet Explorer: 11.0.19041.1566
Screenshot
Additional context
No response
Validations
- Read the Contributing Guidelines
- Read the Documentation
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion
- The provided reproduction is a minimal reproducible example of the bug.