Changeset 2126 for trunk/plugins/admin_advices/en_UK.iso-8859-1
- Timestamp:
- Oct 9, 2007, 1:46:09 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/admin_advices/en_UK.iso-8859-1/lang.adv.php
r1926 r2126 20 20 $bool = ($value == 'false') ? false : $value; 21 21 $bool = ($value == 'true') ? true : $bool; 22 $conf[$key] = $bool; 22 $conf[$key] = $bool; 23 23 } 24 24 } … … 46 46 $cond = ($conf['newcat_default_status'] !== 'public'); 47 47 $confk = 'newcat_default_status'; 48 break; 49 48 break; 49 50 50 Case 2 : 51 51 $adv[] = 'Current value: ' . (string) $conf['slideshow_period'] . '.'; … … 54 54 $cond = ( $conf['slideshow_period'] < 4 ); 55 55 $confk = 'slideshow_period'; 56 break; 57 56 break; 57 58 58 Case 3 : 59 59 $adv[] = 'Current value: ' . implode(', ', $conf['file_ext']) . '. '; … … 62 62 $cond = ( in_array('php',$conf['file_ext']) ); 63 63 $confk = 'file_ext'; 64 break; 65 64 break; 65 66 66 Case 4 : 67 67 $adv[] = 'Show IPTC Data from your picture:'; 68 $adv[] = ' 1 - Copy one of your jpg pictures (a public one)' . 69 ' in ./tools/<br />' . 70 ' 2 - Rename it as sample.jpg.<br />' . 68 $adv[] = ' 1 - Copy one of your jpg pictures (a public one)' . 69 ' in ./tools/<br />' . 70 ' 2 - Rename it as sample.jpg.<br />' . 71 71 ' 3 - Run ./tools/metadata.php<br />' . 72 ' 4 - Analyse results to determine which IPTC fields could be' . 72 ' 4 - Analyse results to determine which IPTC fields could be' . 73 73 ' useful for your visitors.'; 74 74 $adv[] = 'Beginners would prefer to keep $conf[\'show_iptc\'] = false;'; 75 $adv[] = 'Advanced users would take care of $lang values and impacts' . 75 $adv[] = 'Advanced users would take care of $lang values and impacts' . 76 76 ' on templates.'; 77 77 $cond = true; 78 78 $confk = 'show_iptc_mapping'; 79 break; 80 79 break; 80 81 81 Case 5 : 82 82 $adv[] = 'Current value: ' . (string) $conf['top_number'] . '.'; 83 $adv[] = 'This value is maybe too high for low connections, ' . 83 $adv[] = 'This value is maybe too high for low connections, ' . 84 84 'think about 25-50 depending on your thumbnail sizes.'; 85 85 $cond = ( $conf['top_number'] > 50 ); 86 86 $confk = 'top_number'; 87 break; 88 87 break; 88 89 89 Case 6 : 90 90 $adv[] = 'Current value: ' . (string) $conf['top_number'] . '.'; 91 $adv[] = 'One? It could be too low for random pictures, ' . 91 $adv[] = 'One? It could be too low for random pictures, ' . 92 92 'think about 5-10 depending on your thumbnail sizes.'; 93 93 $cond = ( $conf['top_number'] < 2 ) ? true : false; 94 94 $confk = 'top_number'; 95 break; 96 95 break; 96 97 97 Case 7 : 98 98 $adv[] = 'Current value: ' . (string) $conf['anti-flood_time'] . '.'; … … 101 101 $cond = ( $conf['anti-flood_time'] > 100 ) ? true : false; 102 102 $confk = 'anti-flood_time'; 103 break; 104 103 break; 104 105 105 Case 8 : 106 106 $adv[] = 'Current value: ' . (string) $conf['calendar_datefield'] . '.'; … … 108 108 "'date_creation' or 'date_available'" . 109 109 ', otherwise you can get unpredictable results.' ; 110 $cond = ( !in_array($conf['calendar_datefield'], 110 $cond = ( !in_array($conf['calendar_datefield'], 111 111 array('date_creation','date_available')) ); 112 112 $confk = 'calendar_datefield'; 113 break; 114 113 break; 114 115 115 Case 9 : 116 116 // If (iptc or exif) are used and date_creation is updated … … 118 118 // else ... Advice 119 119 $adv[] = 'Current value: ' . (string) $conf['calendar_datefield'] . '.'; 120 $adv[] = "'date_creation'" . ' is NOT filled by ' . 120 $adv[] = "'date_creation'" . ' is NOT filled by ' . 121 121 'any activated use metadata mapping fields.'; 122 $adv[] = 'So activate metadata usage <strong>or</strong> change to ' . 122 $adv[] = 'So activate metadata usage <strong>or</strong> change to ' . 123 123 '$conf[\'calendar_datefield\'] = \'date_available\''; 124 124 $adv[] = 'Activate metadata usage as you want: <br />' . 125 '1 - $conf[\'use_iptc\'] = true; or $conf[\'use_exif\'] = true; ' . 125 '1 - $conf[\'use_iptc\'] = true; or $conf[\'use_exif\'] = true; ' . 126 126 'each way will be correct.<br />' . 127 127 '2 - And respectively map:<br />' . … … 132 132 '=> \'DateTimeOriginal\', ...<br />' . 133 133 '3 - Finally, a new task is up to you: Metadata synchronization.' ; 134 $cond2 = ( $conf['use_exif'] and 134 $cond2 = ( $conf['use_exif'] and 135 135 isset($conf['use_exif_mapping']['date_creation']) ); 136 136 $cond3 = ( $conf['use_iptc'] and … … 139 139 $cond = ( ($cond2 or $cond3) and $cond ) ? false : true; 140 140 $confk = 'calendar_datefield'; 141 break; 142 141 break; 142 143 143 Case 10 : 144 144 $adv[] = 'Current value: false.'; … … 147 147 $cond = !$conf['newcat_default_visible']; 148 148 $confk = 'newcat_default_visible'; 149 break; 150 149 break; 150 151 151 Case 11 : 152 152 $adv[] = 'Current value: ' . (string) $conf['level_separator'] . '.'; … … 154 154 $cond = ( $conf['level_separator'] == ' / ' ); 155 155 $confk = 'level_separator'; 156 break; 157 156 break; 157 158 158 Case 12 : 159 159 $adv[] = 'Current value: ' . (string) $conf['paginate_pages_around'] . '.'; … … 161 161 '$conf[\'paginate_pages_around\'] = 2; <br />' . 162 162 'To offer large jump, choose $conf[\'paginate_pages_around\'] = 7;'; 163 $cond = (($conf['paginate_pages_around'] < 2) 163 $cond = (($conf['paginate_pages_around'] < 2) 164 164 or ($conf['paginate_pages_around'] > 12)); 165 165 $confk = 'paginate_pages_around'; 166 break; 166 break; 167 167 168 168 Case 13 : 169 169 $adv[] = 'Current value: ' . (string) $conf['tn_width'] . '.'; 170 170 $adv[] = 'Should be a close value to your thumbnail width.' . 171 $adv[] = 'Usual range is between 96 and 150, ' . 171 $adv[] = 'Usual range is between 96 and 150, ' . 172 172 'about $conf[\'tn_width\'] = 128;'; 173 $cond = (($conf['tn_width'] < 66) 173 $cond = (($conf['tn_width'] < 66) 174 174 or ($conf['tn_width'] > 180)); 175 175 $confk = 'tn_width'; 176 break; 176 break; 177 177 178 178 Case 14 : 179 179 $adv[] = 'Current value: ' . (string) $conf['tn_height'] . '.'; 180 180 $adv[] = 'Should be a close value to your thumbnail height.' . 181 $adv[] = 'Usual range is between 96 and 150, ' . 181 $adv[] = 'Usual range is between 96 and 150, ' . 182 182 'about $conf[\'tn_height\'] = 128;'; 183 $cond = (($conf['tn_height'] < 66) 183 $cond = (($conf['tn_height'] < 66) 184 184 or ($conf['tn_height'] > 180)); 185 185 $confk = 'tn_height'; 186 break; 186 break; 187 187 188 188 Case 15 : 189 189 $adv[] = 'Thumbnail height and width have to be equal.'; 190 $adv[] = 'Choose $conf[\'tn_height\'] = ' . (string) $conf['tn_width'] . 190 $adv[] = 'Choose $conf[\'tn_height\'] = ' . (string) $conf['tn_width'] . 191 191 ';<br />' . 192 192 'or $conf[\'tn_width\'] = ' . (string) $conf['tn_height'] . ';'; 193 193 $cond = ( $conf['tn_height'] !== $conf['tn_width'] ); 194 194 $confk = 'tn_height'; 195 break; 195 break; 196 196 197 197 Case 16 : … … 201 201 $cond = $conf['show_version']; 202 202 $confk = 'show_version'; 203 break; 203 break; 204 204 205 205 Case 17 : … … 209 209 $cond = $conf['show_thumbnail_caption']; 210 210 $confk = 'show_thumbnail_caption'; 211 break; 211 break; 212 212 213 213 Case 18 : … … 217 217 $cond = $conf['show_picture_name_on_title']; 218 218 $confk = 'show_picture_name_on_title'; 219 break; 219 break; 220 220 221 221 Case 19 : … … 225 225 $cond = $conf['subcatify']; 226 226 $confk = 'subcatify'; 227 break; 227 break; 228 228 229 229 Case 20 : … … 233 233 $cond = $conf['allow_random_representative']; 234 234 $confk = 'allow_random_representative'; 235 break; 235 break; 236 236 237 237 Case 21 : … … 239 239 $adv[] = 'Be careful your $conf[\'prefix_thumbnail\'] is NOT standard.'; 240 240 $adv[] = 'Do NOT change it except if your thumbnails are NOT visible.'; 241 $adv[] = 'Distant site may use a different prefix but ' . 241 $adv[] = 'Distant site may use a different prefix but ' . 242 242 'create_listing_file.php must be modified.<br />' . 243 243 'You will get a warning message during synchronization in ' . … … 251 251 $cond = ( $conf['prefix_thumbnail'] !== 'TN-' ); 252 252 $confk = 'prefix_thumbnail'; 253 break; 253 break; 254 254 255 255 Case 22 : 256 256 $adv[] = 'Current value: ' . (string) $conf['users_page'] . '.'; 257 257 $adv[] = 'Unless you have a low band connection, you can draw up ' . 258 '$conf[\'users_page\'] to a higher value ' . 258 '$conf[\'users_page\'] to a higher value ' . 259 259 'if you have more than 20 members.'; 260 260 $cond = ( $conf['users_page'] < 21 ); 261 261 $confk = 'users_page'; 262 break; 262 break; 263 263 264 264 Case 23 : … … 266 266 $adv[] = 'Should be false, only few webmasters have to set ' . 267 267 '$conf[\'mail_options\'] = true; <br />' . 268 'A specific advice you can get from an advanced ' . 268 'A specific advice you can get from an advanced ' . 269 269 'user on our forum in some mailing issues.' ; 270 270 $cond = $conf['mail_options']; 271 271 $confk = 'mail_options'; 272 break; 272 break; 273 273 274 274 Case 24 : … … 278 278 $cond = $conf['check_upgrade_feed']; 279 279 $confk = 'check_upgrade_feed'; 280 break; 280 break; 281 281 282 282 Case 25 : 283 $adv[] = '$conf[\'rate_items\'] has ' . count($conf['rate_items']) 283 $adv[] = '$conf[\'rate_items\'] has ' . count($conf['rate_items']) 284 284 . 'items.'; 285 285 $adv[] = 'Your $conf[\'rate_items\'] would have 4 or 5 items not less.'; 286 286 $cond = ( count($conf['rate_items']) < 4 ); 287 287 $confk = 'rate_items'; 288 break; 288 break; 289 289 290 290 Case 26 : 291 $adv[] = '$conf[\'rate_items\'] has ' . count($conf['rate_items']) 291 $adv[] = '$conf[\'rate_items\'] has ' . count($conf['rate_items']) 292 292 . 'items.'; 293 293 $adv[] = 'Your $conf[\'rate_items\'] would have 5 or 6 items not more.'; … … 297 297 $cond = ( count($conf['rate_items']) > 6 ); 298 298 $confk = 'rate_items'; 299 break; 300 299 break; 300 301 301 Case 27 : 302 302 $adv[] = 'Current value: true.'; … … 309 309 $cond = $conf['show_iptc']; 310 310 $confk = 'show_iptc'; 311 break; 312 311 break; 312 313 313 Case 28 : 314 314 $adv[] = 'Current value: true.'; 315 315 $adv[] = 'Documentalists and professionnal photographers would ' . 316 'set it true, but beginners should leave it ' . 316 'set it true, but beginners should leave it ' . 317 317 'as $conf[\'use_iptc\'] = false;'; 318 318 $adv[] = 'Take care of mentionned fields in metadata synchronization.' . … … 324 324 $cond = $conf['use_iptc']; 325 325 $confk = 'use_iptc'; 326 break; 327 326 break; 327 328 328 Case 29 : 329 329 $adv[] = 'How to deal with IPTC:'; … … 331 331 '<br />2 - Rename it as sample.jpg.' . 332 332 '<br />3 - Run ./tools/metadata.php' . 333 '<br />4 - Analyse results to determine which IPTC fields ' . 333 '<br />4 - Analyse results to determine which IPTC fields ' . 334 334 'could be used to override database fields.'; 335 335 $adv[] = 'Beginners would prefer to keep $conf[\'use_iptc\'] = false;'; … … 342 342 $cond = true; 343 343 $confk = 'use_iptc'; 344 break; 345 344 break; 345 346 346 Case 30 : 347 347 $adv[] = 'How to deal with IPTC:'; … … 349 349 '<br />2 - Rename it as sample.jpg.' . 350 350 '<br />3 - Run ./tools/metadata.php' . 351 '<br />4 - Analyse results to determine which IPTC fields ' . 351 '<br />4 - Analyse results to determine which IPTC fields ' . 352 352 'could be used to override database fields.'; 353 353 $adv[] = 'Beginners would prefer to keep $conf[\'use_iptc\'] = false;'; … … 361 361 $cond = true; 362 362 $confk = 'use_iptc_mapping'; 363 break; 364 363 break; 364 365 365 Case 31 : 366 366 $adv[] = 'Current value: ' . ( ( $conf['show_exif'] ) ? 'true':'false' ) … … 368 368 $adv[] = 'Should be true, some information from your camera ' . 369 369 'can be displayed.'; 370 $adv[] = 'Think about EXIF information could be different depending ' . 370 $adv[] = 'Think about EXIF information could be different depending ' . 371 371 'on camera models.<br />' . 372 372 'If you change your camera these fields could be ' . … … 379 379 $cond = true; 380 380 $confk = 'show_exif'; 381 break; 382 381 break; 382 383 383 Case 32 : 384 384 $adv[] = 'How to deal with EXIF:'; … … 386 386 '<br />2 - Rename it as sample.jpg.' . 387 387 '<br />3 - Run ./tools/metadata.php' . 388 '<br />4 - Analyse results to determine which EXIF fields ' . 388 '<br />4 - Analyse results to determine which EXIF fields ' . 389 389 'could be used to override database fields.'; 390 390 $adv[] = 'Beginners would prefer to let default values.'; … … 395 395 $cond = true; 396 396 $confk = 'show_exif_fields'; 397 break; 398 397 break; 398 399 399 Case 33 : 400 400 $adv[] = 'Current value: ' . ( ( $conf['use_exif'] ) ? 'true':'false' ) … … 410 410 $cond = true; 411 411 $confk = 'use_exif'; 412 break; 413 412 break; 413 414 414 Case 34 : 415 415 $adv[] = 'How to deal with EXIF:'; … … 417 417 '<br />2 - Rename it as sample.jpg.' . 418 418 '<br />3 - Run ./tools/metadata.php' . 419 '<br />4 - Analyse results to determine which EXIF fields ' . 419 '<br />4 - Analyse results to determine which EXIF fields ' . 420 420 'could be used to override database fields.'; 421 421 $adv[] = 'Beginners would prefer to let default values.'; … … 429 429 $cond = true; 430 430 $confk = 'use_exif_mapping'; 431 break; 431 break; 432 432 } 433 433 } 434 434 435 435 ?>
Note: See TracChangeset
for help on using the changeset viewer.