mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Translated access forbidden page.
This commit is contained in:
		@@ -141,4 +141,12 @@ ComunicWeb.common.langs.en = {
 | 
				
			|||||||
    user_page_posts_err_get_posts: "Couldn't get user posts!",
 | 
					    user_page_posts_err_get_posts: "Couldn't get user posts!",
 | 
				
			||||||
    user_page_posts_notice_no_posts_title: "No post yet",
 | 
					    user_page_posts_notice_no_posts_title: "No post yet",
 | 
				
			||||||
    user_page_posts_notice_no_posts_message: "Nobody has posted a message on this page yet.",
 | 
					    user_page_posts_notice_no_posts_message: "Nobody has posted a message on this page yet.",
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    //User page - access forbidden page
 | 
				
			||||||
 | 
					    user_page_forbidden_err_sign_in_title: "Sign in required",
 | 
				
			||||||
 | 
					    user_page_forbidden_err_sign_in_message: "Please sign in to get access to this page.",
 | 
				
			||||||
 | 
					    user_page_forbidden_err_access_denied_title: "Access denied",
 | 
				
			||||||
 | 
					    user_page_forbidden_access_denied_message: "You don't have the right to access this page.",
 | 
				
			||||||
 | 
					    user_page_forbidden_private_account_notice: "This account is private.",
 | 
				
			||||||
 | 
					    user_page_forbidden_loading: "Loading...",
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -22,8 +22,8 @@ ComunicWeb.pages.userPage.accessForbidden = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
			//Inform user that he must sign in to continue
 | 
								//Inform user that he must sign in to continue
 | 
				
			||||||
			elem = ComunicWeb.common.messages.createCalloutElem(
 | 
								elem = ComunicWeb.common.messages.createCalloutElem(
 | 
				
			||||||
				"Sign in required",
 | 
									lang("user_page_forbidden_err_sign_in_title"),
 | 
				
			||||||
				"Please sign in to get access to this page.",
 | 
									lang("user_page_forbidden_err_sign_in_message"),
 | 
				
			||||||
				"danger"
 | 
									"danger"
 | 
				
			||||||
			);
 | 
								);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -43,8 +43,8 @@ ComunicWeb.pages.userPage.accessForbidden = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
				//Inform user it is impossible for him to access this page
 | 
									//Inform user it is impossible for him to access this page
 | 
				
			||||||
				elem = ComunicWeb.common.messages.createCalloutElem(
 | 
									elem = ComunicWeb.common.messages.createCalloutElem(
 | 
				
			||||||
					"Access denied",
 | 
										lang("user_page_forbidden_err_access_denied_title"),
 | 
				
			||||||
					"You don't have the right to access this page.",
 | 
										lang("user_page_forbidden_access_denied_message"),
 | 
				
			||||||
					"danger"
 | 
										"danger"
 | 
				
			||||||
				);
 | 
									);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -109,7 +109,7 @@ ComunicWeb.pages.userPage.accessForbidden = {
 | 
				
			|||||||
			appendTo: boxBody,
 | 
								appendTo: boxBody,
 | 
				
			||||||
			type: "p",
 | 
								type: "p",
 | 
				
			||||||
			class: "text-center",
 | 
								class: "text-center",
 | 
				
			||||||
			innerHTML: "This account is private."
 | 
								innerHTML: lang("user_page_forbidden_private_account_notice")
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		//Add friendship request message
 | 
							//Add friendship request message
 | 
				
			||||||
@@ -117,7 +117,7 @@ ComunicWeb.pages.userPage.accessForbidden = {
 | 
				
			|||||||
			appendTo: boxBody,
 | 
								appendTo: boxBody,
 | 
				
			||||||
			type: "div",
 | 
								type: "div",
 | 
				
			||||||
			class: "text-center",
 | 
								class: "text-center",
 | 
				
			||||||
			innerHTML: "Loading..."
 | 
								innerHTML: lang("user_page_forbidden_loading")
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		//Load friendship infos
 | 
							//Load friendship infos
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user