diff options
author | Friendika <info@friendika.com> | 2011-04-06 22:42:08 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-06 22:42:08 -0700 |
commit | c32ed16303fed6e421917156d66a0605038430db (patch) | |
tree | 11e15b60a78e1f0f432e256cae142211bf86eba5 /mod | |
parent | cc45ac14b5ec2e37ef9d021642a4916877c8bacf (diff) | |
download | volse-hubzilla-c32ed16303fed6e421917156d66a0605038430db.tar.gz volse-hubzilla-c32ed16303fed6e421917156d66a0605038430db.tar.bz2 volse-hubzilla-c32ed16303fed6e421917156d66a0605038430db.zip |
more templates converted to string files
Diffstat (limited to 'mod')
-rw-r--r-- | mod/directory.php | 4 | ||||
-rw-r--r-- | mod/group.php | 12 | ||||
-rw-r--r-- | mod/settings.php | 10 |
3 files changed, 22 insertions, 4 deletions
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) ? '<h4>' . t('Finding: ') . "'" . $search . "'" . '</h4>' : "") + '$finding' => (strlen($search) ? '<h4>' . t('Finding: ') . "'" . $search . "'" . '</h4>' : ""), + '$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'); |