From 94cbf3bb80371d5b4160db8bef1d70f28f8a0d97 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 21 Mar 2011 04:10:08 -0700 Subject: [PATCH] another template down --- mod/profile.php | 5 ++++- util/strings.php | 3 +++ 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/{de => }/profile_tabs.tpl | 6 +++--- view/sv/profile_tabs.tpl | 7 ------- 9 files changed, 16 insertions(+), 32 deletions(-) delete mode 100644 view/en/profile_tabs.tpl delete mode 100644 view/fr/profile_tabs.tpl delete mode 100644 view/it/profile_tabs.tpl rename view/{de => }/profile_tabs.tpl (78%) delete mode 100644 view/sv/profile_tabs.tpl diff --git a/mod/profile.php b/mod/profile.php index 82a84c39..fad8bc79 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 31dffd16..907bfb6d 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/strings.php b/view/de/strings.php index c18069f1..2d8fe700 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 9c6c54a1..00000000 --- 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 9c6c54a1..00000000 --- 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 9c0f27d6..00000000 --- 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 f27d8a1b..a771f933 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/de/profile_tabs.tpl b/view/profile_tabs.tpl similarity index 78% rename from view/de/profile_tabs.tpl rename to view/profile_tabs.tpl index 56e7d626..975d069a 100644 --- a/view/de/profile_tabs.tpl +++ b/view/profile_tabs.tpl @@ -1,7 +1,7 @@
- Status - Profil - Fotos + $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 9c6c54a1..00000000 --- a/view/sv/profile_tabs.tpl +++ /dev/null @@ -1,7 +0,0 @@ - -
- Status - Profile - Photos -
-
\ No newline at end of file