Justin Du 9 years ago committed by Florianschmidtwelzow
parent 98ffdbe6c2
commit 7cb2629aa0

@ -427,10 +427,10 @@ class TimelessTemplate extends BaseTemplate {
<?php
foreach ( $this->getPersonalTools() as $key => $item ) {
if ( $key == 'userpage' ) {
$item['links'][0]['text'] = wfMessage( 'timeless-userpage' )->text();
$item['links'][0]['text'] = wfMessage( 'timeless-userpage', $user->getName() )->text();
}
if ( $key == 'mytalk' ) {
$item['links'][0]['text'] = wfMessage( 'timeless-talkpage' )->text();
$item['links'][0]['text'] = wfMessage( 'timeless-talkpage', $user->getName() )->text();
}
echo $this->makeListItem( $key, $item );
}

@ -3,19 +3,19 @@
"authors": [ "Isarra" ]
},
"skinname-timeless": "Timeless",
"timeless-desc": "A timeless skin designed after the Winter prototype by Brandon Harris, and various WMFy styles.",
"timeless-search-placeholder": "Search approximately {{NUMBEROFPAGES}} pages",
"timeless-desc": "A timeless skin designed after the Winter prototype by Brandon Harris, and various styles by the Wikimedia Foundation.",
"timeless-search-placeholder": "Search the text of approximately {{NUMBEROFPAGES}} pages",
"timeless-loggedin": "Your account",
"timeless-anonymous": "Anonymous",
"timeless-loggedinas": "Logged in as $1",
"timeless-notloggedin": "Not logged in",
"timeless-userpage": "User page",
"timeless-talkpage": "User talk",
"timeless-userpage": "{{GENDER:$1|User}} page",
"timeless-talkpage": "{{GENDER:$1|User}} talk",
"timeless-pagelog": "Page logs",
"timeless-more": "More",
"timeless-sitetools": "Wiki tools",
"timeless-pageactions": "Page tools",
"timeless-userpagetools": "User tools",
"timeless-userpagetools": "Userpage tools",
"timeless-pagemisc": "More",
"timeless-namespaces": "Namespaces",
"timeless-pagetools": "Page actions",

@ -13,8 +13,8 @@
"timeless-anonymous": "Label for anonymous (not logged in) user menu\n{{Identical|Anonymous}}",
"timeless-loggedinas": "Note for personal menu for logged in users noting their current username\n\nParameters:\n* $1 - username",
"timeless-notloggedin": "Note for personal menu for anonymous users clarifying that they are not logged in\n{{Identical|Not logged in}}",
"timeless-userpage": "User page/profile link label in the personal menu\n{{Identical|User page}}",
"timeless-talkpage": "Talk page link label in the personal menu",
"timeless-userpage": "User page/profile link label in the personal menu\n{{Identical|User page}}\nParameters:\n* $1 - username, used for GENDER",
"timeless-talkpage": "Talk page link label in the personal menu.\nParameters:\n* $1 - username, used for GENDER",
"timeless-pagelog": "Label for special:log link for the page",
"timeless-more": "Label for the more tools dropdown menu in the page actions toolbar\n{{Identical|More}}",
"timeless-sitetools": "Label for general site tools menu in sidebar",

Loading…
Cancel
Save