From 798c83b6aa3887622299ec4071c0d817953f3db9 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 21 Mar 2011 00:21:35 -0700 Subject: [PATCH] localise some more templates --- mod/message.php | 3 +- mod/network.php | 7 +- mod/profile.php | 7 +- util/strings.php | 117 ++++++++++++++---------- util/typo.php | 3 + view/de/jot-header.tpl | 166 --------------------------------- view/de/msg-header.tpl | 104 --------------------- view/de/strings.php | 5 + view/en/msg-header.tpl | 104 --------------------- view/fr/jot-header.tpl | 164 --------------------------------- view/fr/msg-header.tpl | 104 --------------------- view/it/jot-header.tpl | 165 --------------------------------- view/it/msg-header.tpl | 104 --------------------- view/it/strings.php | 5 + view/{en => }/jot-header.tpl | 12 +-- view/{sv => }/msg-header.tpl | 2 +- view/sv/jot-header.tpl | 172 ----------------------------------- 17 files changed, 105 insertions(+), 1139 deletions(-) delete mode 100644 view/de/jot-header.tpl delete mode 100644 view/de/msg-header.tpl delete mode 100644 view/en/msg-header.tpl delete mode 100644 view/fr/jot-header.tpl delete mode 100644 view/fr/msg-header.tpl delete mode 100644 view/it/jot-header.tpl delete mode 100644 view/it/msg-header.tpl rename view/{en => }/jot-header.tpl (94%) rename view/{sv => }/msg-header.tpl (98%) delete mode 100644 view/sv/jot-header.tpl diff --git a/mod/message.php b/mod/message.php index 4821a45d26..9d30abd668 100644 --- a/mod/message.php +++ b/mod/message.php @@ -168,7 +168,8 @@ function message_content(&$a) { $a->page['htmlhead'] .= replace_macros($tpl, array( '$baseurl' => $a->get_baseurl(), - '$nickname' => $a->user['nickname'] + '$nickname' => $a->user['nickname'], + '$linkurl' => t('Please enter a link URL:') )); $select = contact_select('messageto','message-to-select', false, 4, true); diff --git a/mod/network.php b/mod/network.php index 81c85f0ff7..97bc0713d1 100644 --- a/mod/network.php +++ b/mod/network.php @@ -65,7 +65,12 @@ function network_content(&$a, $update = 0) { $a->page['htmlhead'] .= replace_macros($tpl, array( '$baseurl' => $a->get_baseurl(), '$geotag' => $geotag, - '$nickname' => $a->user['nickname'] + '$nickname' => $a->user['nickname'], + '$linkurl' => t('Please enter a link URL:'), + '$utubeurl' => t('Please enter a YouTube link:'), + '$vidurl' => t("Please enter a video\x28.ogg\x29 link/URL:"), + '$audurl' => t("Please enter an audio\x28.ogg\x29 link/URL:"), + '$whereareu' => t('Where are you right now?') )); diff --git a/mod/profile.php b/mod/profile.php index 1053e4a1e6..82a84c39ed 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -130,7 +130,12 @@ function profile_content(&$a, $update = 0) { $a->page['htmlhead'] .= replace_macros($tpl, array( '$baseurl' => $a->get_baseurl(), '$geotag' => $geotag, - '$nickname' => $a->profile['nickname'] + '$nickname' => $a->profile['nickname'], + '$linkurl' => t('Please enter a link URL:'), + '$utubeurl' => t('Please enter a YouTube link:'), + '$vidurl' => t("Please enter a video\x28.ogg\x29 link/URL:"), + '$audurl' => t("Please enter an audio\x28.ogg\x29 link/URL:"), + '$whereareu' => t('Where are you right now?') )); require_once('include/acl_selectors.php'); diff --git a/util/strings.php b/util/strings.php index 395901b061..042a33569b 100644 --- a/util/strings.php +++ b/util/strings.php @@ -22,16 +22,14 @@ $a->strings['prev'] = 'prev'; $a->strings['first'] = 'first'; $a->strings['last'] = 'last'; $a->strings['next'] = 'next'; -$a->strings[' likes this.'] = ' likes this.'; -$a->strings[' doesn\'t like this.'] = ' doesn\'t like this.'; -$a->strings['people'] = 'people'; -$a->strings['like this.'] = 'like this.'; -$a->strings['don\'t like this.'] = 'don\'t like this.'; +$a->strings['%s likes this.'] = '%s likes this.'; +$a->strings['%s doesn\'t like this.'] = '%s doesn\'t like this.'; +$a->strings['%2$d people like this.'] = '%2$d people like this.'; +$a->strings['%2$d people don\'t like this.'] = '%2$d people don\'t like this.'; $a->strings['and'] = 'and'; -$a->strings[', and '] = ', and '; -$a->strings[' other people'] = ' other people'; -$a->strings[' like this.'] = ' like this.'; -$a->strings[' don\'t like this.'] = ' don\'t like this.'; +$a->strings[', and %d other people'] = ', and %d other people'; +$a->strings['%s like this.'] = '%s like this.'; +$a->strings['%s don\'t like this.'] = '%s don\'t like this.'; $a->strings['No contacts'] = 'No contacts'; $a->strings['Contacts'] = 'Contacts'; $a->strings['View Contacts'] = 'View Contacts'; @@ -62,10 +60,35 @@ $a->strings['September'] = 'September'; $a->strings['October'] = 'October'; $a->strings['November'] = 'November'; $a->strings['December'] = 'December'; +$a->strings['Birthday Reminders'] = 'Birthday Reminders'; $a->strings['Birthdays this week:'] = 'Birthdays this week:'; $a->strings["\x28Adjusted for local time\x29"] = "\x28Adjusted for local time\x29"; $a->strings['[today]'] = '[today]'; $a->strings['link to source'] = 'link to source'; +$a->strings['No recipient selected.'] = 'No recipient selected.'; +$a->strings['[no subject]'] = '[no subject]'; +$a->strings['Unable to locate contact information.'] = 'Unable to locate contact information.'; +$a->strings['Wall Photos'] = 'Wall Photos'; +$a->strings['Message sent.'] = 'Message sent.'; +$a->strings['Message could not be sent.'] = 'Message could not be sent.'; +$a->strings['Messages'] = 'Messages'; +$a->strings['Inbox'] = 'Inbox'; +$a->strings['Outbox'] = 'Outbox'; +$a->strings['New Message'] = 'New Message'; +$a->strings['Message deleted.'] = 'Message deleted.'; +$a->strings['Conversation removed.'] = 'Conversation removed.'; +$a->strings['Send Private Message'] = 'Send Private Message'; +$a->strings['To:'] = 'To:'; +$a->strings['Subject:'] = 'Subject:'; +$a->strings['Your message:'] = 'Your message:'; +$a->strings['Upload photo'] = 'Upload photo'; +$a->strings['Insert web link'] = 'Insert web link'; +$a->strings['Please wait'] = 'Please wait'; +$a->strings['No messages.'] = 'No messages.'; +$a->strings['Delete conversation'] = 'Delete conversation'; +$a->strings['Message not available.'] = 'Message not available.'; +$a->strings['Delete message'] = 'Delete message'; +$a->strings['Send Reply'] = 'Send Reply'; $a->strings['Applications'] = 'Applications'; $a->strings["Invite Friends"] = "Invite Friends"; $a->strings['Connect/Follow'] = 'Connect/Follow'; @@ -88,6 +111,8 @@ $a->strings['Contact not found.'] = 'Contact not found.'; $a->strings['Mutual Friendship'] = 'Mutual Friendship'; $a->strings['is a fan of yours'] = 'is a fan of yours'; $a->strings['you are a fan of'] = 'you are a fan of'; +$a->strings['Privacy Unavailable'] = 'Privacy Unavailable'; +$a->strings['Private communications are not available for this contact.'] = 'Private communications are not available for this contact.'; $a->strings['Never'] = 'Never'; $a->strings["\x28Update was successful\x29"] = "\x28Update was successful\x29"; $a->strings["\x28Update was not successful\x29"] = "\x28Update was not successful\x29"; @@ -126,11 +151,10 @@ $a->strings['Contact record was not found for you on our site.'] = 'Contact reco $a->strings['The ID provided by your system is a duplicate on our system. It should work if you try again.'] = 'The ID provided by your system is a duplicate on our system. It should work if you try again.'; $a->strings['Unable to set your contact credentials on our system.'] = 'Unable to set your contact credentials on our system.'; $a->strings['Unable to update your contact profile details on our system'] = 'Unable to update your contact profile details on our system'; +$a->strings["Connection accepted at %s"] = "Connection accepted at %s"; $a->strings['Administrator'] = 'Administrator'; $a->strings['noreply'] = 'noreply'; $a->strings["%s commented on an item at %s"] = "%s commented on an item at %s"; -$a->strings["From: Administrator@"] = "From: Administrator@"; -$a->strings['%s welcomes %s'] = '%s welcomes %s'; $a->strings["This introduction has already been accepted."] = "This introduction has already been accepted."; $a->strings['Profile location is not valid or does not contain profile information.'] = 'Profile location is not valid or does not contain profile information.'; $a->strings['Warning: profile location has no identifiable owner name.'] = 'Warning: profile location has no identifiable owner name.'; @@ -175,8 +199,9 @@ $a->strings['Item not found.'] = 'Item not found.'; $a->strings['Private Message'] = 'Private Message'; $a->strings["I like this \x28toggle\x29"] = "I like this \x28toggle\x29"; $a->strings["I don't like this \x28toggle\x29"] = "I don't like this \x28toggle\x29"; -$a->strings['Please wait'] = 'Please wait'; +$a->strings['Share'] = 'Share'; $a->strings['This is you'] = 'This is you'; +$a->strings['Edit'] = 'Edit'; $a->strings['Delete'] = 'Delete'; $a->strings['View $name\'s profile'] = 'View $name\'s profile'; $a->strings['View $owner_name\'s profile'] = 'View $owner_name\'s profile'; @@ -185,6 +210,16 @@ $a->strings['Wall-to-Wall'] = 'Wall-to-Wall'; $a->strings['via Wall-To-Wall:'] = 'via Wall-To-Wall:'; $a->strings['Item has been removed.'] = 'Item has been removed.'; $a->strings['Shared content is covered by the Creative Commons Attribution 3.0 license.'] = 'Shared content is covered by the Creative Commons Attribution 3.0 license.'; +$a->strings['Item not found'] = 'Item not found'; +$a->strings['Edit post'] = 'Edit post'; +$a->strings['Insert YouTube video'] = 'Insert YouTube video'; +$a->strings['Insert Vorbis [.ogg] video'] = 'Insert Vorbis [.ogg] video'; +$a->strings['Insert Vorbis [.ogg] audio'] = 'Insert Vorbis [.ogg] audio'; +$a->strings['Set your location'] = 'Set your location'; +$a->strings['Clear browser location'] = 'Clear browser location'; +$a->strings['Permission settings'] = 'Permission settings'; +$a->strings['CC: email addresses'] = 'CC: email addresses'; +$a->strings['Example: bob@example.com, mary@example.com'] = 'Example: bob@example.com, mary@example.com'; $a->strings['The profile address specified does not provide adequate information.'] = 'The profile address specified does not provide adequate information.'; $a->strings['Limited profile. This person will be unable to receive direct/personal notifications from you.'] = 'Limited profile. This person will be unable to receive direct/personal notifications from you.'; $a->strings['Unable to retrieve contact information.'] = 'Unable to retrieve contact information.'; @@ -227,7 +262,6 @@ $a->strings['%s : Not a valid email address.'] = '%s : Not a valid email address $a->strings['%s : Message delivery failed.'] = '%s : Message delivery failed.'; $a->strings['Send invitations'] = 'Send invitations'; $a->strings['Enter email addresses, one per line:'] = 'Enter email addresses, one per line:'; -$a->strings['Your message:'] = 'Your message:'; $a->strings['To accept this invitation, please visit:'] = 'To accept this invitation, please visit:'; $a->strings['Once you have registered, please connect with me via my profile page at:'] = 'Once you have registered, please connect with me via my profile page at:'; $a->strings["%d message sent."] = array( @@ -236,56 +270,30 @@ $a->strings["%d message sent."] = array( ); $a->strings['Unable to locate original post.'] = 'Unable to locate original post.'; $a->strings['Empty post discarded.'] = 'Empty post discarded.'; -$a->strings['Wall Photos'] = 'Wall Photos'; $a->strings["%s commented on your item at %s"] = "%s commented on your item at %s"; $a->strings["Administrator"] = "Administrator"; $a->strings["%s posted on your profile wall at %s"] = "%s posted on your profile wall at %s"; -$a->strings["Administrator@"] = "Administrator@"; $a->strings['System error. Post not saved.'] = 'System error. Post not saved.'; $a->strings['You may visit them online at'] = 'You may visit them online at'; $a->strings['Please contact the sender by replying to this post if you do not wish to receive these messages.'] = 'Please contact the sender by replying to this post if you do not wish to receive these messages.'; $a->strings['%s posted an update.'] = '%s posted an update.'; $a->strings['photo'] = 'photo'; $a->strings['status'] = 'status'; -$a->strings['likes'] = 'likes'; -$a->strings['doesn\'t like'] = 'doesn\'t like'; -$a->strings["%s's"] = "%s's"; +$a->strings['%1$s likes %2$s\'s %3$s'] = '%1$s likes %2$s\'s %3$s'; +$a->strings['%1$s doesn\'t like %2$s\'s %3$s'] = '%1$s doesn\'t like %2$s\'s %3$s'; $a->strings['Remote privacy information not available.'] = 'Remote privacy information not available.'; $a->strings['Visible to:'] = 'Visible to:'; $a->strings["Welcome back %s"] = "Welcome back %s"; $a->strings['Manage Identities and/or Pages'] = 'Manage Identities and/or Pages'; $a->strings["\x28Toggle between different identities or community/group pages which share your account details.\x29"] = "\x28Toggle between different identities or community/group pages which share your account details.\x29"; $a->strings['Select an identity to manage: '] = 'Select an identity to manage: '; -$a->strings['No recipient selected.'] = 'No recipient selected.'; -$a->strings['[no subject]'] = '[no subject]'; -$a->strings['Unable to locate contact information.'] = 'Unable to locate contact information.'; -$a->strings['Message sent.'] = 'Message sent.'; -$a->strings['Message could not be sent.'] = 'Message could not be sent.'; -$a->strings['Messages'] = 'Messages'; -$a->strings['Inbox'] = 'Inbox'; -$a->strings['Outbox'] = 'Outbox'; -$a->strings['New Message'] = 'New Message'; -$a->strings['Message deleted.'] = 'Message deleted.'; -$a->strings['Conversation removed.'] = 'Conversation removed.'; -$a->strings['Send Private Message'] = 'Send Private Message'; -$a->strings['To:'] = 'To:'; -$a->strings['Subject:'] = 'Subject:'; -$a->strings['Upload photo'] = 'Upload photo'; -$a->strings['Insert web link'] = 'Insert web link'; -$a->strings['No messages.'] = 'No messages.'; -$a->strings['Delete conversation'] = 'Delete conversation'; -$a->strings['Message not available.'] = 'Message not available.'; -$a->strings['Delete message'] = 'Delete message'; -$a->strings['Send Reply'] = 'Send Reply'; $a->strings['Normal View'] = 'Normal View'; $a->strings['New Item View'] = 'New Item View'; -$a->strings['Share'] = 'Share'; -$a->strings['Insert YouTube video'] = 'Insert YouTube video'; -$a->strings['Set your location'] = 'Set your location'; -$a->strings['Clear browser location'] = 'Clear browser location'; -$a->strings['Permission settings'] = 'Permission settings'; -$a->strings['CC: email addresses'] = 'CC: email addresses'; -$a->strings['Example: bob@example.com, mary@example.com'] = 'Example: bob@example.com, mary@example.com'; +$a->strings['Please enter a link URL:'] = 'Please enter a link URL:'; +$a->strings['Please enter a YouTube link:'] = 'Please enter a YouTube link:'; +$a->strings["Please enter a video\x28.ogg\x29 link/URL:"] = "Please enter a video\x28.ogg\x29 link/URL:"; +$a->strings["Please enter an audio\x28.ogg\x29 link/URL:"] = "Please enter an audio\x28.ogg\x29 link/URL:"; +$a->strings['Where are you right now?'] = 'Where are you right now?'; $a->strings['No such group'] = 'No such group'; $a->strings['Group is empty'] = 'Group is empty'; $a->strings['Group: '] = 'Group: '; @@ -330,7 +338,9 @@ $a->strings['Edit Album'] = 'Edit Album'; $a->strings['View Photo'] = 'View Photo'; $a->strings['Photo not available'] = 'Photo not available'; $a->strings['Edit photo'] = 'Edit photo'; +$a->strings['<< Prev'] = '<< Prev'; $a->strings['View Full Size'] = 'View Full Size'; +$a->strings['Next >>'] = 'Next >>'; $a->strings['Tags: '] = 'Tags: '; $a->strings['[Remove any tag]'] = '[Remove any tag]'; $a->strings['New album name'] = 'New album name'; @@ -384,6 +394,7 @@ $a->strings['Account approved.'] = 'Account approved.'; $a->strings['Remove My Account'] = 'Remove My Account'; $a->strings['This will completely remove your account. Once this has been done it is not recoverable.'] = 'This will completely remove your account. Once this has been done it is not recoverable.'; $a->strings['Please enter your password for verification:'] = 'Please enter your password for verification:'; +$a->strings['No results.'] = 'No results.'; $a->strings['Passwords do not match. Password unchanged.'] = 'Passwords do not match. Password unchanged.'; $a->strings['Empty passwords are not allowed. Password unchanged.'] = 'Empty passwords are not allowed. Password unchanged.'; $a->strings['Password changed.'] = 'Password changed.'; @@ -438,6 +449,7 @@ $a->strings['minutes'] = 'minutes'; $a->strings['second'] = 'second'; $a->strings['seconds'] = 'seconds'; $a->strings[' ago'] = ' ago'; +$a->strings['Cannot locate DNS info for database server \'%s\'',$server] = 'Cannot locate DNS info for database server \'%s\'',$server; $a->strings['Create a new group'] = 'Create a new group'; $a->strings['Everybody'] = 'Everybody'; $a->strings['Birthday:'] = 'Birthday:'; @@ -623,7 +635,9 @@ $a->strings['America/Argentina/Jujuy'] = 'America/Argentina/Jujuy'; $a->strings['America/Argentina/La_Rioja'] = 'America/Argentina/La_Rioja'; $a->strings['America/Argentina/Mendoza'] = 'America/Argentina/Mendoza'; $a->strings['America/Argentina/Rio_Gallegos'] = 'America/Argentina/Rio_Gallegos'; +$a->strings['America/Argentina/Salta'] = 'America/Argentina/Salta'; $a->strings['America/Argentina/San_Juan'] = 'America/Argentina/San_Juan'; +$a->strings['America/Argentina/San_Luis'] = 'America/Argentina/San_Luis'; $a->strings['America/Argentina/Tucuman'] = 'America/Argentina/Tucuman'; $a->strings['America/Argentina/Ushuaia'] = 'America/Argentina/Ushuaia'; $a->strings['America/Aruba'] = 'America/Aruba'; @@ -701,7 +715,9 @@ $a->strings['America/Louisville'] = 'America/Louisville'; $a->strings['America/Maceio'] = 'America/Maceio'; $a->strings['America/Managua'] = 'America/Managua'; $a->strings['America/Manaus'] = 'America/Manaus'; +$a->strings['America/Marigot'] = 'America/Marigot'; $a->strings['America/Martinique'] = 'America/Martinique'; +$a->strings['America/Matamoros'] = 'America/Matamoros'; $a->strings['America/Mazatlan'] = 'America/Mazatlan'; $a->strings['America/Mendoza'] = 'America/Mendoza'; $a->strings['America/Menominee'] = 'America/Menominee'; @@ -720,6 +736,7 @@ $a->strings['America/Nome'] = 'America/Nome'; $a->strings['America/Noronha'] = 'America/Noronha'; $a->strings['America/North_Dakota/Center'] = 'America/North_Dakota/Center'; $a->strings['America/North_Dakota/New_Salem'] = 'America/North_Dakota/New_Salem'; +$a->strings['America/Ojinaga'] = 'America/Ojinaga'; $a->strings['America/Panama'] = 'America/Panama'; $a->strings['America/Pangnirtung'] = 'America/Pangnirtung'; $a->strings['America/Paramaribo'] = 'America/Paramaribo'; @@ -736,11 +753,14 @@ $a->strings['America/Regina'] = 'America/Regina'; $a->strings['America/Resolute'] = 'America/Resolute'; $a->strings['America/Rio_Branco'] = 'America/Rio_Branco'; $a->strings['America/Rosario'] = 'America/Rosario'; +$a->strings['America/Santa_Isabel'] = 'America/Santa_Isabel'; +$a->strings['America/Santarem'] = 'America/Santarem'; $a->strings['America/Santiago'] = 'America/Santiago'; $a->strings['America/Santo_Domingo'] = 'America/Santo_Domingo'; $a->strings['America/Sao_Paulo'] = 'America/Sao_Paulo'; $a->strings['America/Scoresbysund'] = 'America/Scoresbysund'; $a->strings['America/Shiprock'] = 'America/Shiprock'; +$a->strings['America/St_Barthelemy'] = 'America/St_Barthelemy'; $a->strings['America/St_Johns'] = 'America/St_Johns'; $a->strings['America/St_Kitts'] = 'America/St_Kitts'; $a->strings['America/St_Lucia'] = 'America/St_Lucia'; @@ -762,6 +782,7 @@ $a->strings['America/Yellowknife'] = 'America/Yellowknife'; $a->strings['Antarctica/Casey'] = 'Antarctica/Casey'; $a->strings['Antarctica/Davis'] = 'Antarctica/Davis'; $a->strings['Antarctica/DumontDUrville'] = 'Antarctica/DumontDUrville'; +$a->strings['Antarctica/Macquarie'] = 'Antarctica/Macquarie'; $a->strings['Antarctica/Mawson'] = 'Antarctica/Mawson'; $a->strings['Antarctica/McMurdo'] = 'Antarctica/McMurdo'; $a->strings['Antarctica/Palmer'] = 'Antarctica/Palmer'; @@ -798,6 +819,7 @@ $a->strings['Asia/Dubai'] = 'Asia/Dubai'; $a->strings['Asia/Dushanbe'] = 'Asia/Dushanbe'; $a->strings['Asia/Gaza'] = 'Asia/Gaza'; $a->strings['Asia/Harbin'] = 'Asia/Harbin'; +$a->strings['Asia/Ho_Chi_Minh'] = 'Asia/Ho_Chi_Minh'; $a->strings['Asia/Hong_Kong'] = 'Asia/Hong_Kong'; $a->strings['Asia/Hovd'] = 'Asia/Hovd'; $a->strings['Asia/Irkutsk'] = 'Asia/Irkutsk'; @@ -809,7 +831,9 @@ $a->strings['Asia/Kabul'] = 'Asia/Kabul'; $a->strings['Asia/Kamchatka'] = 'Asia/Kamchatka'; $a->strings['Asia/Karachi'] = 'Asia/Karachi'; $a->strings['Asia/Kashgar'] = 'Asia/Kashgar'; +$a->strings['Asia/Kathmandu'] = 'Asia/Kathmandu'; $a->strings['Asia/Katmandu'] = 'Asia/Katmandu'; +$a->strings['Asia/Kolkata'] = 'Asia/Kolkata'; $a->strings['Asia/Krasnoyarsk'] = 'Asia/Krasnoyarsk'; $a->strings['Asia/Kuala_Lumpur'] = 'Asia/Kuala_Lumpur'; $a->strings['Asia/Kuching'] = 'Asia/Kuching'; @@ -821,6 +845,7 @@ $a->strings['Asia/Makassar'] = 'Asia/Makassar'; $a->strings['Asia/Manila'] = 'Asia/Manila'; $a->strings['Asia/Muscat'] = 'Asia/Muscat'; $a->strings['Asia/Nicosia'] = 'Asia/Nicosia'; +$a->strings['Asia/Novokuznetsk'] = 'Asia/Novokuznetsk'; $a->strings['Asia/Novosibirsk'] = 'Asia/Novosibirsk'; $a->strings['Asia/Omsk'] = 'Asia/Omsk'; $a->strings['Asia/Oral'] = 'Asia/Oral'; diff --git a/util/typo.php b/util/typo.php index ac61ef6d35..84a50e15e2 100644 --- a/util/typo.php +++ b/util/typo.php @@ -41,7 +41,10 @@ echo 'util/strings.php' . "\n"; include_once('util/strings.php'); + echo count($a->strings) . ' strings' . "\n"; + $files = glob('view/*/strings.php'); + foreach($files as $file) { echo $file . "\n"; include_once($file); diff --git a/view/de/jot-header.tpl b/view/de/jot-header.tpl deleted file mode 100644 index 62fbe84e48..0000000000 --- a/view/de/jot-header.tpl +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - diff --git a/view/de/msg-header.tpl b/view/de/msg-header.tpl deleted file mode 100644 index 174e6c985f..0000000000 --- a/view/de/msg-header.tpl +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - diff --git a/view/de/strings.php b/view/de/strings.php index b45ddee696..c18069f195 100644 --- a/view/de/strings.php +++ b/view/de/strings.php @@ -272,6 +272,11 @@ $a->strings['Clear browser location'] = 'Browser Standort leeren'; $a->strings['Permission settings'] = 'Berechtigungseinstellungen'; $a->strings['CC: email addresses'] = 'CC: EMail Addresse'; $a->strings['Example: bob@example.com, mary@example.com'] = 'Z.B.: bob@example.com, mary@example.com'; +$a->strings['Please enter a link URL:'] = 'Bitte URL des Links angeben:'; +$a->strings['Please enter a YouTube link:'] = 'Bitte den YouTube Link angeben:'; +$a->strings["Please enter a video\x28.ogg\x29 link/URL:"] = "Please enter a video\x28.ogg\x29 link/URL:"; +$a->strings["Please enter an audio\x28.ogg\x29 link/URL:"] = "Please enter an audio\x28.ogg\x29 link/URL:"; +$a->strings['Where are you right now?'] = 'Wo bist du im Moment?'; $a->strings['No such group'] = 'Es gibt keine solche Gruppe'; $a->strings['Group is empty'] = 'Gruppe ist leer'; $a->strings['Group: '] = 'Gruppe: '; diff --git a/view/en/msg-header.tpl b/view/en/msg-header.tpl deleted file mode 100644 index 174e6c985f..0000000000 --- a/view/en/msg-header.tpl +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - diff --git a/view/fr/jot-header.tpl b/view/fr/jot-header.tpl deleted file mode 100644 index b1b6dacf01..0000000000 --- a/view/fr/jot-header.tpl +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - diff --git a/view/fr/msg-header.tpl b/view/fr/msg-header.tpl deleted file mode 100644 index 174e6c985f..0000000000 --- a/view/fr/msg-header.tpl +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - diff --git a/view/it/jot-header.tpl b/view/it/jot-header.tpl deleted file mode 100644 index 8ca5a07174..0000000000 --- a/view/it/jot-header.tpl +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - diff --git a/view/it/msg-header.tpl b/view/it/msg-header.tpl deleted file mode 100644 index 69e813ae26..0000000000 --- a/view/it/msg-header.tpl +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - diff --git a/view/it/strings.php b/view/it/strings.php index 68cf11793a..f27d8a1b05 100644 --- a/view/it/strings.php +++ b/view/it/strings.php @@ -284,6 +284,11 @@ $a->strings["The database configuration file \".htconfig.php\" could not be writ $a->strings["Errors encountered creating database tables."] = "Errori creando le tabelle nel database."; $a->strings["Normal View"] = "Vista normale"; $a->strings["New Item View"] = "Vista Nuovi Elementi"; +$a->strings['Please enter a link URL:'] = 'Inserisci l\'indirizzo del collegamento:'; +$a->strings['Please enter a YouTube link:'] = 'Inserisci un collegamento a YouTube:'; +$a->strings["Please enter a video\x28.ogg\x29 link/URL:"] = "Please enter a video\x28.ogg\x29 link/URL:"; +$a->strings["Please enter an audio\x28.ogg\x29 link/URL:"] = "Please enter an audio\x28.ogg\x29 link/URL:"; +$a->strings['Where are you right now?'] = 'Dove ti trovi ora?'; $a->strings["No such group"] = "Nessun gruppo"; $a->strings["Group is empty"] = "Il gruppo รจ vuoto"; $a->strings["Group: "] = "Gruppo: "; diff --git a/view/en/jot-header.tpl b/view/jot-header.tpl similarity index 94% rename from view/en/jot-header.tpl rename to view/jot-header.tpl index d73fe7d629..774b37c860 100644 --- a/view/en/jot-header.tpl +++ b/view/jot-header.tpl @@ -24,9 +24,9 @@ tinyMCE.init({ forced_root_block : '', convert_urls: false, content_css: "$baseurl/view/custom_tinymce.css", - //Character count theme_advanced_path : false, setup : function(ed) { + //Character count ed.onKeyUp.add(function(ed, e) { var txt = tinyMCE.activeEditor.getContent(); var text = txt.length; @@ -87,7 +87,7 @@ tinyMCE.init({ }); function jotGetLink() { - reply = prompt("Please enter a link URL:"); + reply = prompt("$linkurl"); if(reply && reply.length) { $('#profile-rotator').show(); $.get('parse_url?url=' + reply, function(data) { @@ -98,21 +98,21 @@ tinyMCE.init({ } function jotGetVideo() { - reply = prompt("Please enter a YouTube link:"); + reply = prompt("$utubeurl"); if(reply && reply.length) { tinyMCE.execCommand('mceInsertRawHTML',false,'[youtube]' + reply + '[/youtube]'); } } function jotVideoURL() { - reply = prompt("Please enter a video(.ogg) link/URL:"); + reply = prompt("$vidurl"); if(reply && reply.length) { tinyMCE.execCommand('mceInsertRawHTML',false,'[video]' + reply + '[/video]'); } } function jotAudioURL() { - reply = prompt("Please enter an audio(.ogg) link/URL:"); + reply = prompt("$audurl"); if(reply && reply.length) { tinyMCE.execCommand('mceInsertRawHTML',false,'[audio]' + reply + '[/audio]'); } @@ -120,7 +120,7 @@ tinyMCE.init({ function jotGetLocation() { - reply = prompt("Where are you right now?", $('#jot-location').val()); + reply = prompt("$whereareu", $('#jot-location').val()); if(reply && reply.length) { $('#jot-location').val(reply); } diff --git a/view/sv/msg-header.tpl b/view/msg-header.tpl similarity index 98% rename from view/sv/msg-header.tpl rename to view/msg-header.tpl index 174e6c985f..77e58bc098 100644 --- a/view/sv/msg-header.tpl +++ b/view/msg-header.tpl @@ -71,7 +71,7 @@ tinyMCE.init({ }); function jotGetLink() { - reply = prompt("Please enter a link URL:"); + reply = prompt("$linkurl"); if(reply && reply.length) { $('#profile-rotator').show(); $.get('parse_url?url=' + reply, function(data) { diff --git a/view/sv/jot-header.tpl b/view/sv/jot-header.tpl deleted file mode 100644 index b6e156324e..0000000000 --- a/view/sv/jot-header.tpl +++ /dev/null @@ -1,172 +0,0 @@ - - - - - -