From 94cbf3bb80371d5b4160db8bef1d70f28f8a0d97 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 21 Mar 2011 04:10:08 -0700 Subject: another template down --- mod/profile.php | 5 ++++- util/strings.php | 3 +++ view/de/profile_tabs.tpl | 7 ------- view/de/strings.php | 3 +++ view/en/profile_tabs.tpl | 7 ------- view/fr/profile_tabs.tpl | 7 ------- view/it/profile_tabs.tpl | 7 ------- view/it/strings.php | 3 +++ view/profile_tabs.tpl | 7 +++++++ view/sv/profile_tabs.tpl | 7 ------- 10 files changed, 20 insertions(+), 36 deletions(-) delete mode 100644 view/de/profile_tabs.tpl delete mode 100644 view/en/profile_tabs.tpl delete mode 100644 view/fr/profile_tabs.tpl delete mode 100644 view/it/profile_tabs.tpl create mode 100644 view/profile_tabs.tpl delete mode 100644 view/sv/profile_tabs.tpl diff --git a/mod/profile.php b/mod/profile.php index 82a84c39e..fad8bc79b 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -98,7 +98,10 @@ function profile_content(&$a, $update = 0) { $o .= replace_macros($tpl,array( '$url' => $a->get_baseurl() . '/' . $a->cmd, - '$phototab' => $a->get_baseurl() . '/photos/' . $a->profile['nickname'] + '$phototab' => $a->get_baseurl() . '/photos/' . $a->profile['nickname'], + '$status' => t('Status') + '$profile' => t('Profile'), + '$photos' => t('Photos') )); diff --git a/util/strings.php b/util/strings.php index 31dffd162..907bfb6df 100644 --- a/util/strings.php +++ b/util/strings.php @@ -350,6 +350,9 @@ $a->strings['Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #cam $a->strings['Recent Photos'] = 'Recent Photos'; $a->strings['Upload New Photos'] = 'Upload New Photos'; $a->strings['View Album'] = 'View Album'; +$a->strings['Status'] = 'Status'; +$a->strings['Profile'] = 'Profile'; +$a->strings['Photos'] = 'Photos'; $a->strings['Image uploaded but image cropping failed.'] = 'Image uploaded but image cropping failed.'; $a->strings['Unable to process image'] = 'Unable to process image'; $a->strings['Image uploaded successfully.'] = 'Image uploaded successfully.'; diff --git a/view/de/profile_tabs.tpl b/view/de/profile_tabs.tpl deleted file mode 100644 index 56e7d626f..000000000 --- a/view/de/profile_tabs.tpl +++ /dev/null @@ -1,7 +0,0 @@ - -
- Status - Profil - Fotos -
-
\ No newline at end of file diff --git a/view/de/strings.php b/view/de/strings.php index c18069f19..2d8fe7006 100644 --- a/view/de/strings.php +++ b/view/de/strings.php @@ -331,6 +331,9 @@ $a->strings['Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #cam $a->strings['Recent Photos'] = 'Neuste Fotos'; $a->strings['Upload New Photos'] = 'Weitere Fotos hochladen'; $a->strings['View Album'] = 'Album betrachten'; +$a->strings['Status'] = 'Status'; +$a->strings['Profile'] = 'Profil'; +$a->strings['Photos'] = 'Fotos'; $a->strings['Image uploaded but image cropping failed.'] = 'Bilder hochgeladen aber das Zuschneiden ist fehlgeschlagen.'; $a->strings['Image size reduction [175] failed.'] = 'Image size reduction [175] failed.'; $a->strings['Image size reduction [80] failed.'] = 'Image size reduction [80] failed.'; diff --git a/view/en/profile_tabs.tpl b/view/en/profile_tabs.tpl deleted file mode 100644 index 9c6c54a1c..000000000 --- a/view/en/profile_tabs.tpl +++ /dev/null @@ -1,7 +0,0 @@ - -
- Status - Profile - Photos -
-
\ No newline at end of file diff --git a/view/fr/profile_tabs.tpl b/view/fr/profile_tabs.tpl deleted file mode 100644 index 9c6c54a1c..000000000 --- a/view/fr/profile_tabs.tpl +++ /dev/null @@ -1,7 +0,0 @@ - -
- Status - Profile - Photos -
-
\ No newline at end of file diff --git a/view/it/profile_tabs.tpl b/view/it/profile_tabs.tpl deleted file mode 100644 index 9c0f27d62..000000000 --- a/view/it/profile_tabs.tpl +++ /dev/null @@ -1,7 +0,0 @@ - -
- Stato - Profilo - Foto -
-
diff --git a/view/it/strings.php b/view/it/strings.php index f27d8a1b0..a771f933d 100644 --- a/view/it/strings.php +++ b/view/it/strings.php @@ -165,6 +165,9 @@ $a->strings["Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #cam $a->strings["Recent Photos"] = "Foto recenti"; $a->strings["Upload New Photos"] = "Carica nuova foto"; $a->strings["View Album"] = "Vedi album"; +$a->strings['Status'] = 'Stato'; +$a->strings['Profile'] = 'Profilo'; +$a->strings['Photos'] = 'Foto'; $a->strings["Item not found."] = "Elemento non trovato."; $a->strings["View \$owner_name's profile"] = "Guarda il profilo di \$owner_name"; $a->strings["to"] = "a"; diff --git a/view/profile_tabs.tpl b/view/profile_tabs.tpl new file mode 100644 index 000000000..975d069a6 --- /dev/null +++ b/view/profile_tabs.tpl @@ -0,0 +1,7 @@ + +
+ $status + $profile + $photos +
+
\ No newline at end of file diff --git a/view/sv/profile_tabs.tpl b/view/sv/profile_tabs.tpl deleted file mode 100644 index 9c6c54a1c..000000000 --- a/view/sv/profile_tabs.tpl +++ /dev/null @@ -1,7 +0,0 @@ - -
- Status - Profile - Photos -
-
\ No newline at end of file -- cgit v1.2.3