diff options
author | rub <rub@piwigo.org> | 2007-03-28 19:57:00 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-03-28 19:57:00 +0000 |
commit | 7c43a3c62d28162ee70e960f51e048727725cb31 (patch) | |
tree | 1b967195f4edf6db91bf25a6facda55ad08a8935 /plugins/admin_advices/en_UK.iso-8859-1/lang.adv.php | |
parent | b86d4ac0b89e167bedbd03805e7c7024da5cef03 (diff) |
Issue 578
User guest must be real user
Step 1: guest is a real user
On next commit, I finish installation and use of guest of user list and group
git-svn-id: http://piwigo.org/svn/trunk@1926 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | plugins/admin_advices/en_UK.iso-8859-1/lang.adv.php | 195 |
1 files changed, 93 insertions, 102 deletions
diff --git a/plugins/admin_advices/en_UK.iso-8859-1/lang.adv.php b/plugins/admin_advices/en_UK.iso-8859-1/lang.adv.php index 768323c61..c5e0c0850 100644 --- a/plugins/admin_advices/en_UK.iso-8859-1/lang.adv.php +++ b/plugins/admin_advices/en_UK.iso-8859-1/lang.adv.php @@ -26,7 +26,7 @@ foreach ($conf as $key => $value) // // Don't forget to update range for new advices // -$cases = range(1,35); +$cases = range(1,34); srand ((double) microtime() * 10000000); shuffle($cases); @@ -97,7 +97,7 @@ foreach ($cases as $id_adv) Case 7 : $adv[] = 'Current value: ' . (string) $conf['anti-flood_time'] . '.'; $adv[] = 'For normal flow processing, your value is probably too high. ' . - 'Reasonable value is 60 (default).' ; + 'Reasonable value is 60 (default).' ; $cond = ( $conf['anti-flood_time'] > 100 ) ? true : false; $confk = 'anti-flood_time'; break; @@ -105,7 +105,7 @@ foreach ($cases as $id_adv) Case 8 : $adv[] = 'Current value: ' . (string) $conf['calendar_datefield'] . '.'; $adv[] = 'Authorized values are ' . - "'date_creation' or 'date_available'" . + "'date_creation' or 'date_available'" . ', otherwise you can get unpredictable results.' ; $cond = ( !in_array($conf['calendar_datefield'], array('date_creation','date_available')) ); @@ -116,7 +116,7 @@ foreach ($cases as $id_adv) // If (iptc or exif) are used and date_creation is updated // Then it's Ok, you can use date_creation by default for calendar // else ... Advice - $adv[] = 'Current value: ' . (string) $conf['calendar_datefield'] . '.'; + $adv[] = 'Current value: ' . (string) $conf['calendar_datefield'] . '.'; $adv[] = "'date_creation'" . ' is NOT filled by ' . 'any activated use metadata mapping fields.'; $adv[] = 'So activate metadata usage <strong>or</strong> change to ' . @@ -132,11 +132,11 @@ foreach ($cases as $id_adv) '=> \'DateTimeOriginal\', ...<br />' . '3 - Finally, a new task is up to you: Metadata synchronization.' ; $cond2 = ( $conf['use_exif'] and - isset($conf['use_exif_mapping']['date_creation']) ); + isset($conf['use_exif_mapping']['date_creation']) ); $cond3 = ( $conf['use_iptc'] and - isset($conf['use_iptc_mapping']['date_creation']) ); + isset($conf['use_iptc_mapping']['date_creation']) ); $cond = ( $conf['calendar_datefield'] == 'date_creation' ); - $cond = ( ($cond2 or $cond3) and $cond ) ? false : true; + $cond = ( ($cond2 or $cond3) and $cond ) ? false : true; $confk = 'calendar_datefield'; break; @@ -149,69 +149,60 @@ foreach ($cases as $id_adv) break; Case 11 : - $adv[] = 'Current value: true.'; - $adv[] = 'Any new subscriber has access to High Resolution pictures. ' . - 'Is it what you want? No, so try ' . - '$conf[\'newuser_default_enabled_high\'] = false;' ; - $cond = $conf['newuser_default_enabled_high']; - $confk = 'newuser_default_enabled_high'; - break; - - Case 12 : $adv[] = 'Current value: ' . (string) $conf['level_separator'] . '.'; $adv[] = 'Try something else like $conf[\'level_separator\'] = \'+ \';'; $cond = ( $conf['level_separator'] == ' / ' ); $confk = 'level_separator'; break; - Case 13 : + Case 12 : $adv[] = 'Current value: ' . (string) $conf['paginate_pages_around'] . '.'; $adv[] = 'Usual range is between 2 and 5. To be light, choose ' . '$conf[\'paginate_pages_around\'] = 2; <br />' . 'To offer large jump, choose $conf[\'paginate_pages_around\'] = 7;'; $cond = (($conf['paginate_pages_around'] < 2) - or ($conf['paginate_pages_around'] > 12)); + or ($conf['paginate_pages_around'] > 12)); $confk = 'paginate_pages_around'; break; - Case 14 : + Case 13 : $adv[] = 'Current value: ' . (string) $conf['tn_width'] . '.'; $adv[] = 'Should be a close value to your thumbnail width.' . $adv[] = 'Usual range is between 96 and 150, ' . - 'about $conf[\'tn_width\'] = 128;'; + 'about $conf[\'tn_width\'] = 128;'; $cond = (($conf['tn_width'] < 66) - or ($conf['tn_width'] > 180)); + or ($conf['tn_width'] > 180)); $confk = 'tn_width'; break; - Case 15 : + Case 14 : $adv[] = 'Current value: ' . (string) $conf['tn_height'] . '.'; $adv[] = 'Should be a close value to your thumbnail height.' . $adv[] = 'Usual range is between 96 and 150, ' . - 'about $conf[\'tn_height\'] = 128;'; + 'about $conf[\'tn_height\'] = 128;'; $cond = (($conf['tn_height'] < 66) - or ($conf['tn_height'] > 180)); + or ($conf['tn_height'] > 180)); $confk = 'tn_height'; break; - Case 16 : + Case 15 : $adv[] = 'Thumbnail height and width have to be equal.'; $adv[] = 'Choose $conf[\'tn_height\'] = ' . (string) $conf['tn_width'] . - ';<br />' . - 'or $conf[\'tn_width\'] = ' . (string) $conf['tn_height'] . ';'; + ';<br />' . + 'or $conf[\'tn_width\'] = ' . (string) $conf['tn_height'] . ';'; $cond = ( $conf['tn_height'] !== $conf['tn_width'] ); $confk = 'tn_height'; break; - Case 17 : + Case 16 : $adv[] = 'Current value: true.'; $adv[] = 'For security reason, please set ' . - '$conf[\'show_version\'] = false;'; + '$conf[\'show_version\'] = false;'; $cond = $conf['show_version']; $confk = 'show_version'; break; - Case 18 : + Case 17 : $adv[] = 'Current value: true.'; $adv[] = 'For a lighter gallery just have a look to ' . '$conf[\'show_thumbnail_caption\'] = false;'; @@ -219,7 +210,7 @@ foreach ($cases as $id_adv) $confk = 'show_thumbnail_caption'; break; - Case 19 : + Case 18 : $adv[] = 'Current value: true.'; $adv[] = 'For a lighter gallery just have a look to ' . '$conf[\'show_picture_name_on_title\'] = false;'; @@ -227,7 +218,7 @@ foreach ($cases as $id_adv) $confk = 'show_picture_name_on_title'; break; - Case 20 : + Case 19 : $adv[] = 'Current value: true.'; $adv[] = 'If you do NOT have any category descriptions just have ' . 'a look to $conf[\'subcatify\'] = false;'; @@ -235,7 +226,7 @@ foreach ($cases as $id_adv) $confk = 'subcatify'; break; - Case 21 : + Case 20 : $adv[] = 'Current value: true.'; $adv[] = 'Leave $conf[\'allow_random_representative\'] = true; <br />' . 'but analyze if you can avoid for performance reasons.' ; @@ -243,44 +234,44 @@ foreach ($cases as $id_adv) $confk = 'allow_random_representative'; break; - Case 22 : + Case 21 : $adv[] = 'Current value: ' . (string) $conf['prefix_thumbnail'] . '.'; $adv[] = 'Be careful your $conf[\'prefix_thumbnail\'] is NOT standard.'; $adv[] = 'Do NOT change it except if your thumbnails are NOT visible.'; $adv[] = 'Distant site may use a different prefix but ' . - 'create_listing_file.php must be modified.<br />' . - 'You will get a warning message during synchronization in ' . - 'that case.'; + 'create_listing_file.php must be modified.<br />' . + 'You will get a warning message during synchronization in ' . + 'that case.'; $adv[] = 'Try to keep the same prefix thru all your sites either ' . - 'local or distants.'; + 'local or distants.'; $adv[] = 'Keep this parameter in your ./include/config_'. - '<strong>local.inc.php</strong>. <br />'. - 'See our wiki configuration page for more information about ' . - './include/config_<strong>local.inc.php</strong>.'; + '<strong>local.inc.php</strong>. <br />'. + 'See our wiki configuration page for more information about ' . + './include/config_<strong>local.inc.php</strong>.'; $cond = ( $conf['prefix_thumbnail'] !== 'TN-' ); $confk = 'prefix_thumbnail'; break; - Case 23 : + Case 22 : $adv[] = 'Current value: ' . (string) $conf['users_page'] . '.'; $adv[] = 'Unless you have a low band connection, you can draw up ' . '$conf[\'users_page\'] to a higher value ' . - 'if you have more than 20 members.'; + 'if you have more than 20 members.'; $cond = ( $conf['users_page'] < 21 ); $confk = 'users_page'; break; - Case 24 : + Case 23 : $adv[] = 'Current value: true.'; $adv[] = 'Should be false, only few webmasters have to set ' . '$conf[\'mail_options\'] = true; <br />' . - 'A specific advice you can get from an advanced ' . - 'user on our forum in some mailing issues.' ; + 'A specific advice you can get from an advanced ' . + 'user on our forum in some mailing issues.' ; $cond = $conf['mail_options']; $confk = 'mail_options'; break; - Case 25 : + Case 24 : $adv[] = 'Current value: true.'; $adv[] = 'Should be false, only PWG dev Team have to set ' . '$conf[\'check_upgrade_feed\'] = true; for test purpose.' ; @@ -288,7 +279,7 @@ foreach ($cases as $id_adv) $confk = 'check_upgrade_feed'; break; - Case 26 : + Case 25 : $adv[] = '$conf[\'rate_items\'] has ' . count($conf['rate_items']) . 'items.'; $adv[] = 'Your $conf[\'rate_items\'] would have 4 or 5 items not less.'; @@ -296,144 +287,144 @@ foreach ($cases as $id_adv) $confk = 'rate_items'; break; - Case 27 : + Case 26 : $adv[] = '$conf[\'rate_items\'] has ' . count($conf['rate_items']) . 'items.'; $adv[] = 'Your $conf[\'rate_items\'] would have 5 or 6 items not more.'; $adv[] = 'Check your best rated pictures prior to remove some values.' . - '<br />Reduce excessive rating and change your ' . + '<br />Reduce excessive rating and change your ' . '$conf[\'rate_items\'].'; $cond = ( count($conf['rate_items']) > 6 ); $confk = 'rate_items'; break; - - Case 28 : + + Case 27 : $adv[] = 'Current value: true.'; $adv[] = 'Could be true, think about $conf[\'show_iptc\'] = false;' - . '<br />Some Professional photographers choose false ' . - 'their reasons are not really professional.' ; - $adv[] = 'Do NOT confuse between <strong>show</strong>_iptc and ' . + . '<br />Some Professional photographers choose false ' . + 'their reasons are not really professional.' ; + $adv[] = 'Do NOT confuse between <strong>show</strong>_iptc and ' . '<strong>use</strong>_iptc (have a look on metadata page ' . - 'on our wiki).'; + 'on our wiki).'; $cond = $conf['show_iptc']; $confk = 'show_iptc'; break; - - Case 29 : + + Case 28 : $adv[] = 'Current value: true.'; $adv[] = 'Documentalists and professionnal photographers would ' . - 'set it true, but beginners should leave it ' . - 'as $conf[\'use_iptc\'] = false;'; + 'set it true, but beginners should leave it ' . + 'as $conf[\'use_iptc\'] = false;'; $adv[] = 'Take care of mentionned fields in metadata synchronization.' . '<br />Mentionned fields would be rewrited with IPTC values ' . - ' even those ones are NOT empty.'; - $adv[] = 'Do NOT confuse between <strong>show</strong>_iptc and ' . + ' even those ones are NOT empty.'; + $adv[] = 'Do NOT confuse between <strong>show</strong>_iptc and ' . '<strong>use</strong>_iptc (have a look on metadata page ' . - 'on our wiki).'; + 'on our wiki).'; $cond = $conf['use_iptc']; $confk = 'use_iptc'; break; - - Case 30 : + + Case 29 : $adv[] = 'How to deal with IPTC:'; $adv[] = '1 - Copy one of your jpg pictures (a public one) in ./tools/' . '<br />2 - Rename it as sample.jpg.' . '<br />3 - Run ./tools/metadata.php' . '<br />4 - Analyse results to determine which IPTC fields ' . - 'could be used to override database fields.'; + 'could be used to override database fields.'; $adv[] = 'Beginners would prefer to keep $conf[\'use_iptc\'] = false;'; $adv[] = 'Advanced users make documentation efforts prior ' . - 'to upload their pictures.<br />' . - 'IPTC fields have to be described in ' . - '$conf[\'use_iptc_mapping\']'; - $adv[] = 'In any case, <strong>show</strong>_iptc_mapping and ' . + 'to upload their pictures.<br />' . + 'IPTC fields have to be described in ' . + '$conf[\'use_iptc_mapping\']'; + $adv[] = 'In any case, <strong>show</strong>_iptc_mapping and ' . '<strong>use</strong>_iptc_mapping must be totally different.'; $cond = true; $confk = 'use_iptc'; break; - - Case 31 : + + Case 30 : $adv[] = 'How to deal with IPTC:'; $adv[] = '1 - Copy one of your jpg pictures (a public one) in ./tools/' . '<br />2 - Rename it as sample.jpg.' . '<br />3 - Run ./tools/metadata.php' . '<br />4 - Analyse results to determine which IPTC fields ' . - 'could be used to override database fields.'; + 'could be used to override database fields.'; $adv[] = 'Beginners would prefer to keep $conf[\'use_iptc\'] = false;'; $adv[] = 'Advanced users make documentation efforts prior ' . - 'to upload their pictures.'; + 'to upload their pictures.'; $adv[] = 'Take care of mentionned fields in metadata synchronization.' . '<br />Mentionned fields would be rewrited with IPTC values ' . - ' even those ones are NOT empty.'; - $adv[] = 'In any case, <strong>show</strong>_iptc_mapping and ' . + ' even those ones are NOT empty.'; + $adv[] = 'In any case, <strong>show</strong>_iptc_mapping and ' . '<strong>use</strong>_iptc_mapping must be totally different.'; $cond = true; $confk = 'use_iptc_mapping'; break; - - Case 32 : + + Case 31 : $adv[] = 'Current value: ' . ( ( $conf['show_exif'] ) ? 'true':'false' ) . '.'; $adv[] = 'Should be true, some information from your camera ' . - 'can be displayed.'; + 'can be displayed.'; $adv[] = 'Think about EXIF information could be different depending ' . - 'on camera models.<br />' . + 'on camera models.<br />' . 'If you change your camera these fields could be ' . - 'partly different.'; - $adv[] = 'Many professional photographers choose false, ' . - 'their reasons are to protect their knowledge.' ; - $adv[] = 'Do NOT confuse between <strong>show</strong>_exif and ' . + 'partly different.'; + $adv[] = 'Many professional photographers choose false, ' . + 'their reasons are to protect their knowledge.' ; + $adv[] = 'Do NOT confuse between <strong>show</strong>_exif and ' . '<strong>use</strong>_exif (have a look on metadata page ' . - 'on our wiki).'; + 'on our wiki).'; $cond = true; $confk = 'show_exif'; break; - - Case 33 : + + Case 32 : $adv[] = 'How to deal with EXIF:'; $adv[] = '1 - Copy one of your jpg pictures (a public one) in ./tools/' . '<br />2 - Rename it as sample.jpg.' . '<br />3 - Run ./tools/metadata.php' . '<br />4 - Analyse results to determine which EXIF fields ' . - 'could be used to override database fields.'; + 'could be used to override database fields.'; $adv[] = 'Beginners would prefer to let default values.'; $adv[] = 'Advanced users would take care of $lang values and ' . - 'impacts on templates.'; - $adv[] = 'In any case, <strong>show</strong>_exif_fields and ' . + 'impacts on templates.'; + $adv[] = 'In any case, <strong>show</strong>_exif_fields and ' . '<strong>use</strong>_exif_mapping must be totally different.'; $cond = true; $confk = 'show_exif_fields'; break; - - Case 34 : + + Case 33 : $adv[] = 'Current value: ' . ( ( $conf['use_exif'] ) ? 'true':'false' ) . '.'; $adv[] = 'Documentalists and professionnal photographers would ' . - 'set it true, but beginners should leave the default value.'; + 'set it true, but beginners should leave the default value.'; $adv[] = 'Take care of mentionned fields in metadata synchronization.' . '<br />Mentionned fields would be rewrited with EXIF values ' . - ' even those ones are NOT empty.'; - $adv[] = 'Do NOT confuse between <strong>show</strong>_exif and ' . + ' even those ones are NOT empty.'; + $adv[] = 'Do NOT confuse between <strong>show</strong>_exif and ' . '<strong>use</strong>_exif (have a look on metadata page ' . - 'on our wiki).'; + 'on our wiki).'; $cond = true; $confk = 'use_exif'; break; - - Case 35 : + + Case 34 : $adv[] = 'How to deal with EXIF:'; $adv[] = '1 - Copy one of your jpg pictures (a public one) in ./tools/' . '<br />2 - Rename it as sample.jpg.' . '<br />3 - Run ./tools/metadata.php' . '<br />4 - Analyse results to determine which EXIF fields ' . - 'could be used to override database fields.'; + 'could be used to override database fields.'; $adv[] = 'Beginners would prefer to let default values.'; $adv[] = 'Advanced users would carefully chose overrided fields ' . - 'prior to synchronize.'; + 'prior to synchronize.'; $adv[] = 'Take care of mentionned fields in metadata synchronization.' . '<br />Mentionned fields would be rewrited with EXIF values ' . - ' even those ones are NOT empty.'; - $adv[] = 'In any case, <strong>show</strong>_exif_fields and ' . + ' even those ones are NOT empty.'; + $adv[] = 'In any case, <strong>show</strong>_exif_fields and ' . '<strong>use</strong>_exif_mapping must be totally different.'; $cond = true; $confk = 'use_exif_mapping'; |