mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-30 11:19:54 +01:00
page titles for user pages #3481
This commit is contained in:
@@ -3,7 +3,12 @@
|
||||
"unread": "Unread Topics",
|
||||
"popular": "Popular Topics",
|
||||
"recent": "Recent Topics",
|
||||
"users": "Registered Users",
|
||||
"users/online": "Online Users",
|
||||
"users/latest": "Latest Users",
|
||||
"users/sort-posts": "Users with the most posts",
|
||||
"users/sort-reputation": "Users with the most reputation",
|
||||
"users/map": "User Map",
|
||||
"users/search": "User Search",
|
||||
"notifications": "Notifications",
|
||||
"tags": "Tags",
|
||||
"tag": "Topics tagged under \"%1\"",
|
||||
|
||||
@@ -41,8 +41,12 @@ module.exports = function(Meta) {
|
||||
};
|
||||
|
||||
Meta.title.parseFragment = function (urlFragment, language, callback) {
|
||||
var translated = ['', 'recent', 'unread', 'users', 'notifications', 'popular', 'tags'],
|
||||
onParsed = function(err, translated) {
|
||||
var translated = [
|
||||
'', 'recent', 'unread', 'notifications', 'popular', 'tags',
|
||||
'users/online', 'users/latest', 'users/sort-posts', 'users/sort-reputation', 'users/map', 'users/search'
|
||||
];
|
||||
|
||||
var onParsed = function(err, translated) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user