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:
Barış Soner Uşaklı
2023-10-05 12:48:50 -04:00
committed by GitHub
parent fb5b8e49fe
commit 844cb91beb
1053 changed files with 19937 additions and 19937 deletions

View File

@@ -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]) {