| 1 | <?php |
|---|
| 2 | // +-----------------------------------------------------------------------+ |
|---|
| 3 | // | Piwigo - a PHP based picture gallery | |
|---|
| 4 | // +-----------------------------------------------------------------------+ |
|---|
| 5 | // | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | |
|---|
| 6 | // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | |
|---|
| 7 | // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | |
|---|
| 8 | // +-----------------------------------------------------------------------+ |
|---|
| 9 | // | This program is free software, you can redistribute it and/or modify | |
|---|
| 10 | // | it under the terms of the GNU General Public License as published by | |
|---|
| 11 | // | the Free Software Foundation | |
|---|
| 12 | // | | |
|---|
| 13 | // | This program is distributed in the hope that it will be useful, but | |
|---|
| 14 | // | WITHOUT ANY WARRANTY, without even the implied warranty of | |
|---|
| 15 | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
|---|
| 16 | // | General Public License for more details. | |
|---|
| 17 | // | | |
|---|
| 18 | // | You should have received a copy of the GNU General Public License | |
|---|
| 19 | // | along with this program, if not, write to the Free Software | |
|---|
| 20 | // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | |
|---|
| 21 | // | USA. | |
|---|
| 22 | // +-----------------------------------------------------------------------+ |
|---|
| 23 | |
|---|
| 24 | // --------- Starting below: New or revised $lang ---- from Butterfly (1.8) |
|---|
| 25 | $lang['An_advice_about'] = 'New advice about'; |
|---|
| 26 | $lang['contribute'] = 'how you can contribute'; |
|---|
| 27 | $lang['navigation'] = 'navigation'; |
|---|
| 28 | $lang['Metadata'] = 'Metadata'; |
|---|
| 29 | $lang['current'] = 'Current value: %s.'; |
|---|
| 30 | $lang['TN-height&width'] = 'Thumbnail height and width have to be equal.'; |
|---|
| 31 | $lang['Adv_case'][0] = array( /* **contribute */ |
|---|
| 32 | 'If you want to contribute with your own "tip", please publish it', |
|---|
| 33 | 'on Piwigo Forums (or mail it to the one of the developers),', |
|---|
| 34 | 'and we would be happy to add it within next release.', ); |
|---|
| 35 | $lang['Adv_case'][1] = array( /* newcat_default_status */ |
|---|
| 36 | 'Try $conf[\'newcat_default_status\'] = \'private\',', |
|---|
| 37 | 'You will have more time to describe and check your pictures.', |
|---|
| 38 | 'Time to decide between private and public status.', |
|---|
| 39 | 'If you choose private, time to distribute authorization.', |
|---|
| 40 | 'Your new category will be well prepared.', ); |
|---|
| 41 | $lang['Adv_case'][2] = array( /* slideshow_period */ |
|---|
| 42 | 'This value could be too small for low band connections.', |
|---|
| 43 | 'Think about higher value like 4.', ); |
|---|
| 44 | $lang['Adv_case'][3] = array( /* file_ext */ |
|---|
| 45 | 'Should never contains extensions which can be executed', |
|---|
| 46 | 'on the server side like *.php, *.PHP, *.asp, ...', ); |
|---|
| 47 | $lang['Adv_case'][4] = array( /* show_iptc_mapping */ |
|---|
| 48 | 'Show IPTC Data from your picture:', |
|---|
| 49 | ' 1 - Copy one of your jpg pictures (a public one) in ./tools/', |
|---|
| 50 | ' 2 - Rename it as sample.jpg.', |
|---|
| 51 | ' 3 - Run ./tools/metadata.php', |
|---|
| 52 | ' 4 - Analyse results to determine which IPTC fields could be useful for your visitors.', |
|---|
| 53 | 'Beginners would prefer to keep $conf[\'show_iptc\'] = false,', |
|---|
| 54 | 'Advanced users would take care of $lang values and impacts on templates.', ); |
|---|
| 55 | $lang['Adv_case'][5] = array( /* top_number */ |
|---|
| 56 | 'This value is maybe too high for low connections, think about 25-50 depending on your thumbnail sizes.', ); |
|---|
| 57 | $lang['Adv_case'][6] = array( /* top_number */ |
|---|
| 58 | 'One? It could be too low for random pictures, think about 5-10 depending on your thumbnail sizes.', ); |
|---|
| 59 | $lang['Adv_case'][7] = array( /* anti-flood_time */ |
|---|
| 60 | 'For normal flow processing, your value is probably too high. Reasonable value is 60 (default).' , ); |
|---|
| 61 | $lang['Adv_case'][8] = array( /* calendar_datefield */ |
|---|
| 62 | 'Authorized values are ' . "'date_creation' or 'date_available'" . ', otherwise you can get unpredictable results.' , ); |
|---|
| 63 | $lang['Adv_case'][9] = array( /* calendar_datefield */ |
|---|
| 64 | "'date_creation'" . ' is NOT filled by any activated use metadata mapping fields.', |
|---|
| 65 | 'So activate metadata usage <strong>or</strong> change to $conf[\'calendar_datefield\'] = \'date_available\'', |
|---|
| 66 | 'Activate metadata usage as you want: ', |
|---|
| 67 | '1 - $conf[\'use_iptc\'] = true, or $conf[\'use_exif\'] = true, each way will be correct.', |
|---|
| 68 | '2 - And respectively map:', |
|---|
| 69 | '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...', |
|---|
| 70 | 'or/and:', |
|---|
| 71 | '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...', |
|---|
| 72 | '3 - Finally, a new task is up to you: Metadata synchronization.', ); |
|---|
| 73 | $lang['Adv_case'][10] = array( /* newcat_default_visible */ |
|---|
| 74 | 'Not useful, private status is better, so code $conf[\'newcat_default_visible\'] = true,', ); |
|---|
| 75 | $lang['Adv_case'][11] = array( /* level_separator */ |
|---|
| 76 | 'Try something else like $conf[\'level_separator\'] = \'+ \',', ); |
|---|
| 77 | $lang['Adv_case'][12] = array( /* paginate_pages_around */ |
|---|
| 78 | 'Usual range is between 2 and 5. To be light, choose $conf[\'paginate_pages_around\'] = 2, ', |
|---|
| 79 | 'To offer large jump, choose $conf[\'paginate_pages_around\'] = 7,', ); |
|---|
| 80 | $lang['Adv_case'][13] = array( /* tn_width */ |
|---|
| 81 | 'Should be a close value to your thumbnail width. Usual range is between 96 and 150, about $conf[\'tn_width\'] = 128,', ); |
|---|
| 82 | $lang['Adv_case'][14] = array( /* tn_height */ |
|---|
| 83 | 'Should be a close value to your thumbnail height. Usual range is between 96 and 150, about $conf[\'tn_height\'] = 128,', ); |
|---|
| 84 | $lang['Adv_case'][15] = array( /* tn_height */ |
|---|
| 85 | 'Thumbnail height and width have to be equal.', |
|---|
| 86 | 'Choose $conf[\'tn_height\'] = $conf[\'tn_width\'],', |
|---|
| 87 | 'or $conf[\'tn_width\'] = $conf[\'tn_height\'],', ); |
|---|
| 88 | $lang['Adv_case'][16] = array( /* show_version */ |
|---|
| 89 | 'For security reason, please set $conf[\'show_version\'] = false,', ); |
|---|
| 90 | $lang['Adv_case'][17] = array( /* show_thumbnail_caption */ |
|---|
| 91 | 'For a lighter gallery just have a look to $conf[\'show_thumbnail_caption\'] = false,', ); |
|---|
| 92 | $lang['Adv_case'][18] = array( /* show_picture_name_on_title */ |
|---|
| 93 | 'For a lighter gallery just have a look to $conf[\'show_picture_name_on_title\'] = false,', ); |
|---|
| 94 | $lang['Adv_case'][19] = array( /* tags_default_display_mode */ |
|---|
| 95 | '\'cloud\' by default, importance of tags is shown with font size.', |
|---|
| 96 | 'You can change the tags page, $conf[\'tags_default_display_mode\'] = \'letters\'', ); |
|---|
| 97 | $lang['Adv_case'][20] = array( /* allow_random_representative */ |
|---|
| 98 | 'Leave $conf[\'allow_random_representative\'] = true, ', |
|---|
| 99 | 'but analyze if you can avoid for performance reasons.' , ); |
|---|
| 100 | $lang['Adv_case'][21] = array( /* prefix_thumbnail */ |
|---|
| 101 | 'Be careful your $conf[\'prefix_thumbnail\'] is NOT standard.', |
|---|
| 102 | 'Do NOT change it except if your thumbnails are NOT visible.', |
|---|
| 103 | 'Distant site may use a different prefix but create_listing_file.php must be modified.', |
|---|
| 104 | 'You will get a warning message during synchronization in that case.', |
|---|
| 105 | 'Try to keep the same prefix thru all your sites either local or distants.', |
|---|
| 106 | 'Keep this parameter in your ./include/config_ <strong>local.inc.php</strong>', |
|---|
| 107 | 'See our wiki configuration page for more information about ./include/config_<strong>local.inc.php</strong>.', ); |
|---|
| 108 | $lang['Adv_case'][22] = array( /* users_page */ |
|---|
| 109 | '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.', ); |
|---|
| 110 | $lang['Adv_case'][23] = array( /* mail_options */ |
|---|
| 111 | 'Should be false, only few webmasters have to set $conf[\'mail_options\'] = true, ', |
|---|
| 112 | 'A specific advice you can get from an advanced user on our forum in some mailing issues.', ); |
|---|
| 113 | $lang['Adv_case'][24] = array( /* check_upgrade_feed */ |
|---|
| 114 | 'Should be false, only PWG dev Team have to set $conf[\'check_upgrade_feed\'] = true, for test purpose.' , ); |
|---|
| 115 | $lang['Adv_case'][25] = array( /* rate_items */ |
|---|
| 116 | 'Your $conf[\'rate_items\'] would have 4 or 5 items not less.', ); |
|---|
| 117 | $lang['Adv_case'][26] = array( /* rate_items */ |
|---|
| 118 | 'Your $conf[\'rate_items\'] would have 5 or 6 items not more.', |
|---|
| 119 | 'Check your best rated pictures prior to remove some values.', |
|---|
| 120 | 'Reduce excessive rating and change your $conf[\'rate_items\'].', ); |
|---|
| 121 | $lang['Adv_case'][27] = array( /* show_iptc */ |
|---|
| 122 | 'Could be true, think about $conf[\'show_iptc\'] = false,', |
|---|
| 123 | 'Some Professional photographers choose false their reasons are not really professional.' , |
|---|
| 124 | 'Do NOT confuse between <strong>show</strong>_iptc and <strong>use</strong>_iptc (have a look on metadata page on our wiki).', ); |
|---|
| 125 | $lang['Adv_case'][28] = array( /* use_iptc */ |
|---|
| 126 | 'Documentalists and professionnal photographers would set it true, but beginners should leave it as $conf[\'use_iptc\'] = false,', |
|---|
| 127 | 'Take care of mentionned fields in metadata synchronization.', |
|---|
| 128 | 'Mentionned fields would be rewrited with IPTC values even those ones are NOT empty.', |
|---|
| 129 | 'Do NOT confuse between <strong>show</strong>_iptc and <strong>use</strong>_iptc (have a look on metadata page on our wiki).', ); |
|---|
| 130 | $lang['Adv_case'][29] = array( /* use_iptc */ |
|---|
| 131 | 'How to deal with IPTC:', |
|---|
| 132 | '1 - Copy one of your jpg pictures (a public one) in ./tools/', |
|---|
| 133 | '2 - Rename it as sample.jpg.', |
|---|
| 134 | '3 - Run ./tools/metadata.php', |
|---|
| 135 | '4 - Analyse results to determine which IPTC fields could be used to override database fields.', |
|---|
| 136 | 'Beginners would prefer to keep $conf[\'use_iptc\'] = false,', |
|---|
| 137 | 'Advanced users make documentation efforts prior to upload their pictures.', |
|---|
| 138 | 'IPTC fields have to be described in $conf[\'use_iptc_mapping\']', |
|---|
| 139 | 'In any case, <strong>show</strong>_iptc_mapping and <strong>use</strong>_iptc_mapping must be totally different.', ); |
|---|
| 140 | $lang['Adv_case'][30] = array( /* use_iptc_mapping */ |
|---|
| 141 | 'How to deal with IPTC:', |
|---|
| 142 | 'Take care of mentionned fields in metadata synchronization.', |
|---|
| 143 | 'Mentionned fields would be rewrited with IPTC values even those ones are NOT empty.', |
|---|
| 144 | 'In any case, <strong>show</strong>_iptc_mapping and <strong>use</strong>_iptc_mapping must be totally different.', ); |
|---|
| 145 | $lang['Adv_case'][31] = array( /* show_exif */ |
|---|
| 146 | 'Should be true, some information from your camera can be displayed.', |
|---|
| 147 | 'Think about EXIF information could be different depending on camera models.', |
|---|
| 148 | 'If you change your camera these fields could be partly different.', |
|---|
| 149 | 'Many professional photographers choose false, their reasons are to protect their knowledge.' , |
|---|
| 150 | 'Do NOT confuse between <strong>show</strong>_exif and <strong>use</strong>_exif (have a look on metadata page on our wiki).', ); |
|---|
| 151 | $lang['Adv_case'][32] = array( /* use_exif */ |
|---|
| 152 | 'Documentalists and professionnal photographers would set it true, but beginners should leave the default value.', |
|---|
| 153 | 'Take care of mentionned fields in metadata synchronization.', |
|---|
| 154 | 'Mentionned fields would be rewrited with EXIF values even those ones are NOT empty.', |
|---|
| 155 | 'Do NOT confuse between <strong>show</strong>_exif and <strong>use</strong>_exif (have a look on metadata page on our wiki).', ); |
|---|
| 156 | $lang['Adv_case'][33] = array( /* **navigation */ |
|---|
| 157 | 'You can use keyboard arrows to navigate between pictures.', ); |
|---|
| 158 | $lang['Adv_case'][34] = array( /* compiled_template_cache_language */ |
|---|
| 159 | 'Should be true, translation will be done at compilation time.', |
|---|
| 160 | 'If you are modifying a language (translators), you should consider to set it false.', |
|---|
| 161 | 'Setting it false, template @translate function are called at usage time.' ); |
|---|
| 162 | $lang['Adv_case'][35] = array( /* template_compile_check */ |
|---|
| 163 | 'Default is true, template changes are detected and the template is compiled.', |
|---|
| 164 | 'If you are not updating template any more for several days, ', |
|---|
| 165 | 'you should consider to set it false.', |
|---|
| 166 | 'Choosing false, template changes are not detected, this improves response time.', |
|---|
| 167 | 'Anyway Specials > Maintenance > Purge compiled templates, is recommended after this $conf change.' ); |
|---|
| 168 | ?> |
|---|