mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-27 03:08:51 +00:00
Translated friends bar.
This commit is contained in:
parent
6e08208fed
commit
f859abcb2f
@ -125,7 +125,7 @@ ComunicWeb.components.friends.bar = {
|
||||
noFriendMessage.style.color = "#3c8dbc";
|
||||
noFriendMessage.style.fontSize = "150%";
|
||||
noFriendMessage.style.textAlign = "justify";
|
||||
noFriendMessage.innerHTML = "You have no friends yet! We can't display anything here for you for now... :("
|
||||
noFriendMessage.innerHTML = lang("friends_bar_no_friends_notice")
|
||||
}
|
||||
|
||||
//Enable slimscroll
|
||||
@ -276,9 +276,9 @@ ComunicWeb.components.friends.bar = {
|
||||
|
||||
//Change statusRow style
|
||||
if(accepted)
|
||||
statusRow.innerHTML = "Accepted";
|
||||
statusRow.innerHTML = lang("friends_bar_accepted");
|
||||
else
|
||||
statusRow.innerHTML = "Refused";
|
||||
statusRow.innerHTML = lang("friends_bar_rejected");
|
||||
|
||||
//Perform an API request
|
||||
ComunicWeb.components.friends.list.respondRequest(friendID, accepted);
|
||||
|
@ -67,6 +67,11 @@ ComunicWeb.common.langs.en = {
|
||||
form_post_err_send_new_post: "An error occured while trying to send a new post !",
|
||||
form_post_success_create_post: "The post has been successfully created !",
|
||||
|
||||
//Friends - bar
|
||||
friends_bar_no_friends_notice: "You have no friends yet! We can't display anything here for you for now... :(",
|
||||
friends_bar_accepted: "Accepted",
|
||||
friends_bar_rejected: "Refused",
|
||||
|
||||
//Like - Button
|
||||
like_btn_one_like: "1 like",
|
||||
like_btn_x_likes: "%p likes",
|
||||
|
Loading…
Reference in New Issue
Block a user