Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value of key 'roles.role::student' is not a string! #1673

Open
5 tasks done
snowdream opened this issue Jun 15, 2023 · 0 comments
Open
5 tasks done

Value of key 'roles.role::student' is not a string! #1673

snowdream opened this issue Jun 15, 2023 · 0 comments
Labels
Status: Review Needed Request for review comments

Comments

@snowdream
Copy link

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

image

Additional context

No response

Validations

@snowdream snowdream added the Status: Review Needed Request for review comments label Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

1 participant