mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
feat: update all language keys to use - instead of _ (#12059)
* feat: update all language keys to use - instead of _ * refactor: update language keys
This commit is contained in:
committed by
GitHub
parent
fb5b8e49fe
commit
844cb91beb
@@ -103,12 +103,12 @@ usersController.renderUsersPage = async function (set, req, res) {
|
||||
|
||||
usersController.getUsers = async function (set, uid, query) {
|
||||
const setToData = {
|
||||
'users:postcount': { title: '[[pages:users/sort-posts]]', crumb: '[[users:top_posters]]' },
|
||||
'users:reputation': { title: '[[pages:users/sort-reputation]]', crumb: '[[users:most_reputation]]' },
|
||||
'users:postcount': { title: '[[pages:users/sort-posts]]', crumb: '[[users:top-posters]]' },
|
||||
'users:reputation': { title: '[[pages:users/sort-reputation]]', crumb: '[[users:most-reputation]]' },
|
||||
'users:joindate': { title: '[[pages:users/latest]]', crumb: '[[global:users]]' },
|
||||
'users:online': { title: '[[pages:users/online]]', crumb: '[[global:online]]' },
|
||||
'users:banned': { title: '[[pages:users/banned]]', crumb: '[[user:banned]]' },
|
||||
'users:flags': { title: '[[pages:users/most-flags]]', crumb: '[[users:most_flags]]' },
|
||||
'users:flags': { title: '[[pages:users/most-flags]]', crumb: '[[users:most-flags]]' },
|
||||
};
|
||||
|
||||
if (!setToData[set]) {
|
||||
|
Reference in New Issue
Block a user