From c32ed16303fed6e421917156d66a0605038430db Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 6 Apr 2011 22:42:08 -0700 Subject: more templates converted to string files --- mod/directory.php | 4 +++- mod/group.php | 12 ++++++++++-- mod/settings.php | 10 +++++++++- 3 files changed, 22 insertions(+), 4 deletions(-) (limited to 'mod') diff --git a/mod/directory.php b/mod/directory.php index 72c30fb31..a02a4a4a5 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -35,7 +35,9 @@ function directory_content(&$a) { $o .= replace_macros($tpl, array( '$search' => $search, '$globaldir' => $globaldir, - '$finding' => (strlen($search) ? '

' . t('Finding: ') . "'" . $search . "'" . '

' : "") + '$finding' => (strlen($search) ? '

' . t('Finding: ') . "'" . $search . "'" . '

' : ""), + '$sitedir' => t('Site Directory'), + '$submit' => t('Find') )); if($search) diff --git a/mod/group.php b/mod/group.php index fcdc6a758..3ee14dd85 100644 --- a/mod/group.php +++ b/mod/group.php @@ -91,7 +91,11 @@ function group_content(&$a) { if(($a->argc == 2) && ($a->argv[1] === 'new')) { $tpl = load_view_file('view/group_new.tpl'); - $o .= replace_macros($tpl,array()); + $o .= replace_macros($tpl,array( + '$desc' => t('Create a group of contacts/friends.'), + '$name' => t('Group Name: '), + '$submit' => t('Submit') + )); return $o; } @@ -144,7 +148,11 @@ function group_content(&$a) { '$gid' => $group['id'], '$name' => $group['name'], '$drop' => $drop_txt, - '$selector' => contact_select('group_members_select','group_members_select',$preselected,25,false,$celeb) + '$selector' => contact_select('group_members_select','group_members_select',$preselected,25,false,$celeb), + '$title' => t('Group Editor'), + '$gname' => t('Group Name: '), + '$members' => t('Members:'), + '$submit' => t('Submit') )); } diff --git a/mod/settings.php b/mod/settings.php index b20f4d11b..72b627d41 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -258,7 +258,15 @@ function settings_content(&$a) { '$page_normal' => PAGE_NORMAL, '$page_soapbox' => PAGE_SOAPBOX, '$page_community' => PAGE_COMMUNITY, - '$page_freelove' => PAGE_FREELOVE + '$page_freelove' => PAGE_FREELOVE, + '$n_l' => t('Normal Account'), + '$n_d' => t('This account is a normal personal profile'), + '$s_l' => t('Soapbox Account'), + '$s_d' => t('Automatically approve all connection/friend requests as read-only fans'), + '$c_l' => t('Community/Celebrity Account'), + '$c_d' => t('Automatically approve all connection/friend requests as read-write fans'), + '$f_l' => t('Automatic Friend Account'), + '$f_d' => t('Automatically approve all connection/friend requests as friends') )); $noid = get_config('system','no_openid'); -- cgit v1.2.3