rev update, fix autoname test "random" failure

This commit is contained in:
friendica 2012-04-26 01:33:41 -07:00
parent c9e5609cbf
commit 78579627ce
3 changed files with 40 additions and 37 deletions

View file

@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php'); require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '2.3.1322' ); define ( 'FRIENDICA_VERSION', '2.3.1323' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1138 ); define ( 'DB_UPDATE_VERSION', 1138 );

View file

@ -67,7 +67,10 @@ class AutonameTest extends PHPUnit_Framework_TestCase {
$autoname2=autoname(1); $autoname2=autoname(1);
$this->assertEquals(1, count($autoname2)); $this->assertEquals(1, count($autoname2));
$this->assertFalse($autoname1==$autoname2); // The following test is problematic, with only 26 possibilities
// generating the same thing twice happens often aka
// birthday paradox
// $this->assertFalse($autoname1==$autoname2);
} }
} }

View file

@ -6,9 +6,9 @@
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2.3.1322\n" "Project-Id-Version: 2.3.1323\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-04-24 10:00-0700\n" "POT-Creation-Date: 2012-04-25 10:00-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -218,7 +218,7 @@ msgid "link to source"
msgstr "" msgstr ""
#: ../../mod/events.php:296 ../../view/theme/diabook/theme.php:250 #: ../../mod/events.php:296 ../../view/theme/diabook/theme.php:250
#: ../../include/nav.php:52 ../../boot.php:1471 #: ../../include/nav.php:52 ../../boot.php:1481
msgid "Events" msgid "Events"
msgstr "" msgstr ""
@ -531,7 +531,7 @@ msgstr ""
#: ../../mod/photos.php:1214 ../../mod/editpost.php:104 #: ../../mod/photos.php:1214 ../../mod/editpost.php:104
#: ../../mod/wallmessage.php:145 ../../mod/message.php:188 #: ../../mod/wallmessage.php:145 ../../mod/message.php:188
#: ../../mod/message.php:357 ../../include/conversation.php:361 #: ../../mod/message.php:380 ../../include/conversation.php:361
#: ../../include/conversation.php:698 ../../include/conversation.php:975 #: ../../include/conversation.php:698 ../../include/conversation.php:975
msgid "Please wait" msgid "Please wait"
msgstr "" msgstr ""
@ -629,7 +629,7 @@ msgid "Edit"
msgstr "" msgstr ""
#: ../../mod/editpost.php:96 ../../mod/wallmessage.php:143 #: ../../mod/editpost.php:96 ../../mod/wallmessage.php:143
#: ../../mod/message.php:186 ../../mod/message.php:355 #: ../../mod/message.php:186 ../../mod/message.php:378
#: ../../include/conversation.php:957 #: ../../include/conversation.php:957
msgid "Upload photo" msgid "Upload photo"
msgstr "" msgstr ""
@ -639,7 +639,7 @@ msgid "Attach file"
msgstr "" msgstr ""
#: ../../mod/editpost.php:98 ../../mod/wallmessage.php:144 #: ../../mod/editpost.php:98 ../../mod/wallmessage.php:144
#: ../../mod/message.php:187 ../../mod/message.php:356 #: ../../mod/message.php:187 ../../mod/message.php:379
#: ../../include/conversation.php:961 #: ../../include/conversation.php:961
msgid "Insert web link" msgid "Insert web link"
msgstr "" msgstr ""
@ -2249,7 +2249,7 @@ msgstr ""
msgid "Invalid contact." msgid "Invalid contact."
msgstr "" msgstr ""
#: ../../mod/notes.php:44 ../../boot.php:1476 #: ../../mod/notes.php:44 ../../boot.php:1486
msgid "Personal Notes" msgid "Personal Notes"
msgstr "" msgstr ""
@ -2306,17 +2306,17 @@ msgid ""
msgstr "" msgstr ""
#: ../../mod/wallmessage.php:133 ../../mod/message.php:178 #: ../../mod/wallmessage.php:133 ../../mod/message.php:178
#: ../../mod/message.php:347 #: ../../mod/message.php:370
msgid "To:" msgid "To:"
msgstr "" msgstr ""
#: ../../mod/wallmessage.php:134 ../../mod/message.php:179 #: ../../mod/wallmessage.php:134 ../../mod/message.php:179
#: ../../mod/message.php:348 #: ../../mod/message.php:371
msgid "Subject:" msgid "Subject:"
msgstr "" msgstr ""
#: ../../mod/wallmessage.php:140 ../../mod/message.php:183 #: ../../mod/wallmessage.php:140 ../../mod/message.php:183
#: ../../mod/message.php:351 ../../mod/invite.php:113 #: ../../mod/message.php:374 ../../mod/invite.php:113
msgid "Your message:" msgid "Your message:"
msgstr "" msgstr ""
@ -2500,7 +2500,7 @@ msgstr ""
#: ../../mod/profperm.php:103 ../../view/theme/diabook/theme.php:247 #: ../../mod/profperm.php:103 ../../view/theme/diabook/theme.php:247
#: ../../include/profile_advanced.php:7 ../../include/profile_advanced.php:74 #: ../../include/profile_advanced.php:7 ../../include/profile_advanced.php:74
#: ../../include/nav.php:50 ../../boot.php:1458 #: ../../include/nav.php:50 ../../boot.php:1468
msgid "Profile" msgid "Profile"
msgstr "" msgstr ""
@ -2715,7 +2715,7 @@ msgid "Access denied."
msgstr "" msgstr ""
#: ../../mod/fbrowser.php:23 ../../view/theme/diabook/theme.php:249 #: ../../mod/fbrowser.php:23 ../../view/theme/diabook/theme.php:249
#: ../../include/nav.php:51 ../../boot.php:1463 #: ../../include/nav.php:51 ../../boot.php:1473
msgid "Photos" msgid "Photos"
msgstr "" msgstr ""
@ -2890,7 +2890,7 @@ msgstr ""
msgid "%s and You" msgid "%s and You"
msgstr "" msgstr ""
#: ../../mod/message.php:242 ../../mod/message.php:340 #: ../../mod/message.php:242 ../../mod/message.php:363
msgid "Delete conversation" msgid "Delete conversation"
msgstr "" msgstr ""
@ -2909,17 +2909,17 @@ msgstr[1] ""
msgid "Message not available." msgid "Message not available."
msgstr "" msgstr ""
#: ../../mod/message.php:324 #: ../../mod/message.php:347
msgid "Delete message" msgid "Delete message"
msgstr "" msgstr ""
#: ../../mod/message.php:342 #: ../../mod/message.php:365
msgid "" msgid ""
"No secure communications available. You <strong>may</strong> be able to " "No secure communications available. You <strong>may</strong> be able to "
"respond from the sender's profile page." "respond from the sender's profile page."
msgstr "" msgstr ""
#: ../../mod/message.php:346 #: ../../mod/message.php:369
msgid "Send Reply" msgid "Send Reply"
msgstr "" msgstr ""
@ -6064,7 +6064,7 @@ msgstr ""
msgid "End this session" msgid "End this session"
msgstr "" msgstr ""
#: ../../include/nav.php:49 ../../boot.php:1453 #: ../../include/nav.php:49 ../../boot.php:1463
msgid "Status" msgid "Status"
msgstr "" msgstr ""
@ -6827,34 +6827,34 @@ msgstr ""
msgid "Message" msgid "Message"
msgstr "" msgstr ""
#: ../../boot.php:1151 ../../boot.php:1223 #: ../../boot.php:1151 ../../boot.php:1227
msgid "g A l F d" msgid "g A l F d"
msgstr "" msgstr ""
#: ../../boot.php:1152 ../../boot.php:1224 #: ../../boot.php:1152 ../../boot.php:1228
msgid "F d" msgid "F d"
msgstr "" msgstr ""
#: ../../boot.php:1177 #: ../../boot.php:1197 ../../boot.php:1268
msgid "Birthday Reminders"
msgstr ""
#: ../../boot.php:1178
msgid "Birthdays this week:"
msgstr ""
#: ../../boot.php:1201 ../../boot.php:1266
msgid "[today]" msgid "[today]"
msgstr "" msgstr ""
#: ../../boot.php:1247 #: ../../boot.php:1209
msgid "Birthday Reminders"
msgstr ""
#: ../../boot.php:1210
msgid "Birthdays this week:"
msgstr ""
#: ../../boot.php:1261
msgid "[No description]"
msgstr ""
#: ../../boot.php:1279
msgid "Event Reminders" msgid "Event Reminders"
msgstr "" msgstr ""
#: ../../boot.php:1248 #: ../../boot.php:1280
msgid "Events this week:" msgid "Events this week:"
msgstr "" msgstr ""
#: ../../boot.php:1260
msgid "[No description]"
msgstr ""