diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 65a2c771ed..9c8064db52 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -535,6 +535,20 @@ function dfrn_request_content(&$a) { else $tpl = load_view_file('view/auto_request.tpl'); $o .= replace_macros($tpl,array( + '$header' => t('Friend/Connection Request'), + '$pls_answer' => t('Please answer the following:'), + '$does_know' => t('Does $name know you?'), + '$yes' => t('Yes'), + '$no' => t('No'), + '$add_note' => t('Add a personal note:'), + '$page_desc' => t('Please enter your profile address from one of the following supported social networks:'), + '$friendika' => t('Friendika'), + '$statusnet' => t('StatusNet/Federated Social Web'), + '$private_net' => t("Private \x28secure\x29 network"), + '$public_net' => t("Public \x28insecure\x29 network"), + '$your_address' => t('Your profile address:'), + '$submit' => t('Submit Request'), + '$cancel' => t('Cancel'), '$nickname' => $a->argv[1], '$name' => $a->profile['name'], '$myaddr' => $myaddr diff --git a/view/auto_request.tpl b/view/auto_request.tpl new file mode 100644 index 0000000000..b8d2d1a729 --- /dev/null +++ b/view/auto_request.tpl @@ -0,0 +1,29 @@ + +
+$page_desc
+
-You may request a connection with this member if you have a valid profile address
-on one of the following social networks:
+$page_desc
-Please answer the following: +$pls_answer
-Does $name know you? +$does_know
-Add a personal note: +$add_note
-Please enter your profile address from one of the following supported social networks:
-