From 2cbea5d03027fdc17a29685d06d65169c15fcc93 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 31 Mar 2010 09:50:19 +0000 Subject: move admin_advices plugin from core to extensions git-svn-id: http://piwigo.org/svn/trunk@5491 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/admin_advices/admin_advices.php | 192 --------------------- plugins/admin_advices/admin_advices.tpl | 73 -------- plugins/admin_advices/adv_set.php | 181 ------------------- plugins/admin_advices/default-layout.css | 19 -- plugins/admin_advices/index.php | 30 ---- .../admin_advices/language/de_DE/description.txt | 1 - plugins/admin_advices/language/de_DE/index.php | 30 ---- .../admin_advices/language/de_DE/plugin.lang.php | 168 ------------------ .../admin_advices/language/en_UK/description.txt | 1 - plugins/admin_advices/language/en_UK/index.php | 30 ---- .../admin_advices/language/en_UK/plugin.lang.php | 168 ------------------ .../admin_advices/language/es_ES/description.txt | 1 - plugins/admin_advices/language/es_ES/index.php | 30 ---- .../admin_advices/language/es_ES/plugin.lang.php | 170 ------------------ .../admin_advices/language/fr_FR/description.txt | 1 - plugins/admin_advices/language/fr_FR/index.php | 30 ---- .../admin_advices/language/fr_FR/plugin.lang.php | 170 ------------------ plugins/admin_advices/language/index.php | 30 ---- .../admin_advices/language/it_IT/description.txt | 1 - plugins/admin_advices/language/it_IT/index.php | 30 ---- .../admin_advices/language/it_IT/plugin.lang.php | 170 ------------------ .../admin_advices/language/pl_PL/description.txt | 1 - plugins/admin_advices/language/pl_PL/index.php | 30 ---- plugins/admin_advices/main.inc.php | 36 ---- 24 files changed, 1593 deletions(-) delete mode 100644 plugins/admin_advices/admin_advices.php delete mode 100644 plugins/admin_advices/admin_advices.tpl delete mode 100644 plugins/admin_advices/adv_set.php delete mode 100644 plugins/admin_advices/default-layout.css delete mode 100644 plugins/admin_advices/index.php delete mode 100644 plugins/admin_advices/language/de_DE/description.txt delete mode 100644 plugins/admin_advices/language/de_DE/index.php delete mode 100644 plugins/admin_advices/language/de_DE/plugin.lang.php delete mode 100644 plugins/admin_advices/language/en_UK/description.txt delete mode 100644 plugins/admin_advices/language/en_UK/index.php delete mode 100644 plugins/admin_advices/language/en_UK/plugin.lang.php delete mode 100644 plugins/admin_advices/language/es_ES/description.txt delete mode 100644 plugins/admin_advices/language/es_ES/index.php delete mode 100644 plugins/admin_advices/language/es_ES/plugin.lang.php delete mode 100644 plugins/admin_advices/language/fr_FR/description.txt delete mode 100644 plugins/admin_advices/language/fr_FR/index.php delete mode 100644 plugins/admin_advices/language/fr_FR/plugin.lang.php delete mode 100644 plugins/admin_advices/language/index.php delete mode 100644 plugins/admin_advices/language/it_IT/description.txt delete mode 100644 plugins/admin_advices/language/it_IT/index.php delete mode 100644 plugins/admin_advices/language/it_IT/plugin.lang.php delete mode 100644 plugins/admin_advices/language/pl_PL/description.txt delete mode 100644 plugins/admin_advices/language/pl_PL/index.php delete mode 100644 plugins/admin_advices/main.inc.php (limited to 'plugins/admin_advices') diff --git a/plugins/admin_advices/admin_advices.php b/plugins/admin_advices/admin_advices.php deleted file mode 100644 index 16af2fee4..000000000 --- a/plugins/admin_advices/admin_advices.php +++ /dev/null @@ -1,192 +0,0 @@ -append( - 'head_elements', - '' - ); - add_event_handler('loc_begin_page_tail', 'set_admin_advice' ); - } -} - -// Build advice on the Admin Intro page -function set_admin_advice() -{ - global $page, $user, $template, $conf, $prefixeTable, $lang; - $my_path = dirname(__FILE__).'/'; - -// Include language advice - foreach ($conf as $key => $value) - { - if ( is_string($value) ) - { - $bool = ($value == 'false') ? false : $value; - $bool = ($value == 'true') ? true : $bool; - $conf[$key] = $bool; - } - } - $adv = array(); - - include_once( $my_path."adv_set.php" ); - - $cases = range(0,count($lang['Adv_case'])-1); - srand ((double) microtime() * 10000000); - shuffle($cases); - - - $cond = false; - foreach ($cases as $id) - { - if (!isset($adv['c'][$id])) $adv['c'][$id] = true; - if (!isset($adv['n'][$id])) $adv['c'][$id] = false; - if (!isset($lang['Adv_case'][$id])) $adv['c'][$id] = false; - $cond = $adv['c'][$id]; - if ($cond) break; - } - $confk = $adv['n'][$id]; - if (substr($confk,0,2) == '**') $confk = substr($confk,2); - else $confk = '$conf[' . "'$confk']"; - $advice_text = (isset($adv['v'][$id])) ? $adv['v'][$id] : ''; - $more = $lang['Adv_case'][$id]; - - $template->set_filenames(array( - 'admin_advice' => $my_path.'admin_advices.tpl') - ); - -// Mysql status - $result = pwg_query('SHOW TABLE STATUS ;'); - $pwgspacef = $spacef = $pwgsize = $size = 0; - $len = strlen($prefixeTable); - $check = array(); - while ($row = mysql_fetch_array($result)) - { - $size += ($row['Data_length'] + $row['Index_length']); - $spacef += $row['Data_free']; - if ( substr( $row['Name'], 0, $len ) == $prefixeTable ) { - $pwgsize += ($row['Data_length'] + $row['Index_length']); - $pwgspacef += $row['Data_free']; - $check[] = (string) $row['Check_time']; - } - } - $size .= ' bytes'; - $pwgsize .= ' bytes'; - $spacef .= ' bytes'; - $pwgspacef .= ' bytes'; - if ($size > 1024) $size = round($size / 1024, 1) . ' Kb'; - if ($size > 1024) $size = round($size / 1024, 1) . ' Mb'; - if ($pwgsize > 1024) $pwgsize = round($pwgsize / 1024, 1) . ' Kb'; - if ($pwgsize > 1024) $pwgsize = round($pwgsize / 1024, 1) . ' Mb'; - if ($spacef > 1024) $spacef = round($spacef / 1024, 1) . ' Kb'; - if ($spacef > 1024) $spacef = round($spacef / 1024, 1) . ' Mb'; - if ($pwgspacef > 1024) $pwgspacef = round($pwgspacef / 1024, 1) . ' Kb'; - if ($pwgspacef > 1024) $pwgspacef = round($pwgspacef / 1024, 1) . ' Mb'; - $check = array_flip(array_flip($check)); - rsort($check); - $end = end($check); - $prev = prev($check); - $first = $check[0]; - $checkon = ''; - if (empty($end)) $end = $prev; - if ($end == $first) $checkon .= 'Last table check on: %s'; - else $checkon .= 'Most recent table check on: %s - oldest: %s'; - $checkon = sprintf($checkon, $first, $end); - $template->assign( - array( - 'prefixTable' => $prefixeTable, - 'pwgsize' => $pwgsize, - 'size' => $size, - 'checked_tables' => $checkon, - 'pwgspacef' => $pwgspacef, - 'spacef' => $spacef, - 'U_maintenance' => get_root_url() - . 'admin.php?page=maintenance&action=database', - ) - ); - -// If there is advice - if ( $cond ) - { - -// Random Thumbnail - $query = ' -SELECT * -FROM '.IMAGES_TABLE.' -ORDER BY RAND(NOW()) -LIMIT 0, 1 -;'; - $result = pwg_query($query); - $row = mysql_fetch_assoc($result); - if ( is_array($row) ) - { - $url_modify = get_root_url().'admin.php?page=picture_modify' - .'&image_id='.$row['id']; - $query = ' -SELECT * FROM '.IMAGE_TAG_TABLE.' -WHERE image_id = ' . $row['id'] .' -;'; - $tag_count = mysql_num_rows(pwg_query($query)); - $template->assign('thumbnail', - array( - 'IMAGE' => get_thumbnail_url($row), - 'IMAGE_ALT' => $row['file'], - 'IMAGE_TITLE' => $row['name'], - 'METADATA' => (empty($row['date_metadata_update'])) ? - 'un' : '', - 'NAME' => (empty($row['name'])) ? - 'un' : '', - 'COMMENT' => (empty($row['comment'])) ? - 'un' : '', - 'AUTHOR' => (empty($row['author'])) ? - 'un' : '', - 'CREATE_DATE' => (empty($row['date_creation'])) ? - 'un' : '', - 'TAGS' => ($tag_count == 0) ? - 'un' : '', - 'NUM_TAGS' => $tag_count, - 'U_MODIFY' => $url_modify, - ) - ); - } - //$advice_text = array_shift($adv); - $template->assign( - array( - 'ADVICE_ABOUT' => $confk, - 'ADVICE_TEXT' => $advice_text, - ) - ); - $template->assign('More', $more ); - $template->pparse('admin_advice'); - } -} -?> diff --git a/plugins/admin_advices/admin_advices.tpl b/plugins/admin_advices/admin_advices.tpl deleted file mode 100644 index aed952217..000000000 --- a/plugins/admin_advices/admin_advices.tpl +++ /dev/null @@ -1,73 +0,0 @@ -
- -

{'An_advice_about'|@translate} {$ADVICE_ABOUT}

-

{$ADVICE_TEXT}

- - {if isset($More)} - - - - - {/if} -
- {foreach from=$More item=advice} - {$advice}
- {/foreach} -
-
- {if isset($thumbnail.IMAGE)} - - {$thumbnail.IMAGE_ALT} - - {$thumbnail.IMAGE_ALT} {'Name'|@translate}
- {$thumbnail.IMAGE_ALT} {'Description'|@translate}
- {$thumbnail.IMAGE_ALT} {'Author'|@translate}
- {$thumbnail.IMAGE_ALT} {'Creation date'|@translate}
- {$thumbnail.IMAGE_ALT} {'Metadata'|@translate}
- {$thumbnail.IMAGE_ALT} {'Tags'|@translate} ({$thumbnail.NUM_TAGS}) - {/if} -
-
-

External summary

-
    Database Analysis
    - {if ($pwgsize != $size)} - - Space used by {$prefixTable} tables: {$pwgsize}
    - {/if} - - Space used by all tables: {$size}
    - - {$checked_tables}
    - - Unused allocated space by {$prefixTable} tables: {$pwgspacef}
    - {if ($spacef > 0 and $pwgspacef != $spacef)} - - Unused allocated space: {$spacef}
    - {/if} - {if ($spacef > 0)} - Useful links: - {'repair and optimize database'|@translate} - - {else} - MySQL documentation: - {/if} - MySQL -

    - Templates generated on {$smarty.now|date_format:"%A, %B %e, %Y - %r"} by - Smarty - {$smarty.version} -
-
-
- \ No newline at end of file diff --git a/plugins/admin_advices/adv_set.php b/plugins/admin_advices/adv_set.php deleted file mode 100644 index 78b202563..000000000 --- a/plugins/admin_advices/adv_set.php +++ /dev/null @@ -1,181 +0,0 @@ - in all plugin.lang -// $adv['c'][xx] = Condition (default true) -// $adv['v'][xx] = Value (if there is one (facultative)) -// $adv['n'][xx] = Name of $conf (A new advice about blah-blah) -// -// prefix '**' . => Not a $conf['xxxxx'] - -load_language('plugin.lang', dirname(__FILE__).'/'); - -// No needed translation here below - -// Use l10n if your need a localization and update all plugin.lang - -$adv['n'][0] = '**' . $lang['contribute']; - -$adv['n'][1] = 'newcat_default_status'; -$adv['c'][1] = ($conf['newcat_default_status'] !== 'public'); -$adv['v'][1] = sprintf($lang['current'], 'public'); - -$adv['n'][2] = 'slideshow_period'; -$adv['c'][2] = ( $conf['slideshow_period'] < 4 ); -$adv['v'][2] = sprintf($lang['current'], $conf['slideshow_period']); - -$adv['n'][3] = 'file_ext'; -$adv['c'][3] = ( in_array('php',$conf['file_ext']) ); -$adv['v'][3] = sprintf($lang['current'], implode(', ', $conf['file_ext'])); - -$adv['n'][4] = 'show_iptc_mapping'; - -$adv['n'][5] = 'top_number'; -$adv['c'][5] = ( $conf['top_number'] > 50 ); -$adv['v'][5] = sprintf($lang['current'], $conf['top_number']); - -$adv['n'][6] = 'top_number'; -$adv['c'][6] = ( $conf['top_number'] < 2 ) ? true : false; -$adv['v'][6] = sprintf($lang['current'], $conf['top_number']); - -$adv['n'][7] = 'anti-flood_time'; -$adv['c'][7] = ( $conf['anti-flood_time'] > 100 ) ? true : false; -$adv['v'][7] = sprintf($lang['current'], $conf['anti-flood_time']); - -$adv['n'][8] = 'calendar_datefield'; -$adv['c'][8] = ( !in_array($conf['calendar_datefield'], - array('date_creation','date_available')) ); -$adv['v'][8] = sprintf($lang['current'], $conf['calendar_datefield']); - -/* Unavailable creation date and default calendar is creation date */ -$adv['n'][9] = 'calendar_datefield'; -$adv['c'][9] = ( (( $conf['use_exif'] and - isset($conf['use_exif_mapping']['date_creation']) ) - or ( $conf['use_iptc'] and - isset($conf['use_iptc_mapping']['date_creation']) )) - and ( $conf['calendar_datefield'] == 'date_creation' ) ) - ? false : true; -$adv['v'][9] = sprintf($lang['current'], $conf['calendar_datefield']); - -$adv['n'][10] = 'newcat_default_visible'; -$adv['c'][10] = !$conf['newcat_default_visible']; -$adv['v'][10] = sprintf($lang['current'], 'false'); - -$adv['n'][11] = 'level_separator'; -$adv['c'][11] = ( $conf['level_separator'] == ' / ' ); -$adv['v'][11] = sprintf($lang['current'], $conf['level_separator']); - -$adv['n'][12] = 'paginate_pages_around'; -$adv['c'][12] = (($conf['paginate_pages_around'] < 2) - or ($conf['paginate_pages_around'] > 12)); -$adv['v'][12] = sprintf($lang['current'], $conf['paginate_pages_around']); - -$adv['n'][13] = 'tn_width'; -$adv['c'][13] = (($conf['tn_width'] < 66) - or ($conf['tn_width'] > 180)); -$adv['v'][13] = sprintf($lang['current'], $conf['tn_width']); - -$adv['n'][14] = 'tn_height'; -$adv['c'][14] = (($conf['tn_height'] < 66) - or ($conf['tn_height'] > 180)); -$adv['v'][14] = sprintf($lang['current'], $conf['tn_height']); - -$adv['n'][15] = 'tn_height'; - -$adv['c'][15] = ( $conf['tn_height'] !== $conf['tn_width'] ); -$adv['v'][15] = l10n('TN-height&width'); - -$adv['n'][16] = 'show_version'; -$adv['c'][16] = $conf['show_version']; -$adv['v'][16] = sprintf($lang['current'], 'true'); - -$adv['n'][17] = 'show_thumbnail_caption'; -$adv['c'][17] = $conf['show_thumbnail_caption']; -$adv['v'][17] = sprintf($lang['current'], 'true'); - -$adv['n'][18] = 'show_picture_name_on_title'; -$adv['c'][18] = $conf['show_picture_name_on_title']; -$adv['v'][18] = sprintf($lang['current'], 'true'); - -$adv['n'][19] = 'tags_default_display_mode'; -$adv['c'][15] = ( $conf['tags_default_display_mode'] == 'cloud' ); -$adv['v'][19] = sprintf($lang['current'], "'".$conf['tags_default_display_mode']."'"); - -$adv['n'][20] = 'allow_random_representative'; -$adv['c'][20] = $conf['allow_random_representative']; -$adv['v'][20] = sprintf($lang['current'], 'true'); - -$adv['n'][21] = 'prefix_thumbnail'; -$adv['c'][21] = ( $conf['prefix_thumbnail'] !== 'TN-' ); -$adv['v'][21] = sprintf($lang['current'], $conf['prefix_thumbnail']); - -$adv['n'][22] = 'users_page'; -$adv['c'][22] = ( $conf['users_page'] < 21 ); -$adv['v'][22] = sprintf($lang['current'], $conf['users_page']); - -$adv['n'][23] = 'mail_options'; -$adv['c'][23] = $conf['mail_options']; -$adv['v'][23] = sprintf($lang['current'], 'true'); - -$adv['n'][24] = 'check_upgrade_feed'; -$adv['c'][24] = $conf['check_upgrade_feed']; -$adv['v'][24] = sprintf($lang['current'], 'true'); - -$adv['n'][25] = 'rate_items'; -$adv['c'][25] = ( count($conf['rate_items']) < 4 ); -$adv['v'][25] = sprintf($lang['current'], $conf['rate_items']); - -$adv['n'][26] = 'rate_items'; -$adv['c'][26] = ( count($conf['rate_items']) > 6 ); -$adv['v'][26] = sprintf($lang['current'], $conf['rate_items']); - -$adv['n'][27] = 'show_iptc'; -$adv['c'][27] = $conf['show_iptc']; -$adv['v'][27] = sprintf($lang['current'], 'true'); - -$adv['n'][28] = 'use_iptc'; -$adv['c'][28] = $conf['use_iptc']; -$adv['v'][28] = sprintf($lang['current'], 'true'); - -$adv['n'][29] = 'use_iptc'; - -$adv['n'][30] = 'use_iptc_mapping'; - -$adv['n'][31] = 'show_exif'; -$adv['v'][31] = sprintf($lang['current'], (($conf['show_exif'])? 'true':'false' )); - -$adv['n'][32] = 'use_exif'; -$adv['v'][32] = sprintf($lang['current'], (($conf['use_exif'])? 'true':'false' )); - -$adv['n'][33] = '**' . $lang['navigation']; - -$adv['n'][34] = 'compiled_template_cache_language'; -$adv['v'][34] = sprintf($lang['current'], (($conf['compiled_template_cache_language'])? 'true':'false' )); - -$adv['n'][35] = 'template_compile_check'; -$adv['v'][35] = sprintf($lang['current'], (($conf['template_compile_check'])? 'true':'false' )); - -?> \ No newline at end of file diff --git a/plugins/admin_advices/default-layout.css b/plugins/admin_advices/default-layout.css deleted file mode 100644 index bf110eb1b..000000000 --- a/plugins/admin_advices/default-layout.css +++ /dev/null @@ -1,19 +0,0 @@ -/*.content { - list-style-type:none; - margin: 0 1em 0 14.5em; - padding: 0 0 15px 0; -} */ -.content h2 { - font-weight: bold; - padding-left: 2em; -} -/*.content h3 { - text-align: left; - padding-left: 3em; - font-size: 120%; -}*/ -.content table tr td { - text-align: left; - padding-left: 2em; -} - diff --git a/plugins/admin_advices/index.php b/plugins/admin_advices/index.php deleted file mode 100644 index 17747c927..000000000 --- a/plugins/admin_advices/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/admin_advices/language/de_DE/description.txt b/plugins/admin_advices/language/de_DE/description.txt deleted file mode 100644 index d42f15835..000000000 --- a/plugins/admin_advices/language/de_DE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Ausgabe von Empfehlungen für die Administratorseite. \ No newline at end of file diff --git a/plugins/admin_advices/language/de_DE/index.php b/plugins/admin_advices/language/de_DE/index.php deleted file mode 100644 index 17747c927..000000000 --- a/plugins/admin_advices/language/de_DE/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/admin_advices/language/de_DE/plugin.lang.php b/plugins/admin_advices/language/de_DE/plugin.lang.php deleted file mode 100644 index 1029a36d6..000000000 --- a/plugins/admin_advices/language/de_DE/plugin.lang.php +++ /dev/null @@ -1,168 +0,0 @@ -oder ändern Sie $conf[\'calendar_datefield\']=\'date_available\'', - 'Aktivieren Sie Metadaten-Nutzung wenn Sie wollen: ', - '1 - $conf[\'use_iptc\'] = true, oder $conf[\'use_exif\'] = true, alle beiden Möglichkeiten werden unterstützt.', - '2 - Jeweils zu den einzelnen Änderungen:', - '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...', - 'oder/und:', - '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...', - '3 - Schließlich liegt eine neue Aufgabe vor Ihnen: Metadata-Synchronisierung.', ); -$lang['Adv_case'][10] = array( /* newcat_default_visible */ - 'Nicht sinnvoll, Voreinstellung auf privaten Status ist besser, ändern Sie den Code $conf[\'newcat_default_visible\'] = true,', ); -$lang['Adv_case'][11] = array( /* level_separator */ - 'Probieren Sie etwas anderes wie z.B. $conf[\'level_separator\'] = \'+ \',', ); -$lang['Adv_case'][12] = array( /* paginate_pages_around */ - 'Der übliche Bereich liegt zwischen 2 und 5. Mehr ist leichter, wählen Sie $conf[\'paginate_pages_around\'] = 2, ', - 'So bieten Sie große Sprünge an, ändern Sie $conf[\'paginate_pages_around\'] = 7,', ); -$lang['Adv_case'][13] = array( /* tn_width */ - 'Stellt die Breite ihrer zu erstellenden Thumbnails ein. Der üblichen Bereich liegt zwischen 96 und 150 und wird so eingestellt: $conf[\'tn_width\'] = 128,', ); -$lang['Adv_case'][14] = array( /* tn_height */ - 'Stellt die Höhe ihrer zu erstellenden Thumbnails ein. Der üblichen Bereich liegt zwischen 96 und 150 und wird so eingestellt: $conf[\'tn_height\'] = 128,', ); -$lang['Adv_case'][15] = array( /* tn_height */ - 'Thumbnail Höhe und Breite müssen gleich sein.', - 'Wählen $conf[\'tn_height\'] = $conf[\'tn_width\'],', - 'oder $conf[\'tn_width\'] = $conf[\'tn_height\'],', ); -$lang['Adv_case'][16] = array( /* show_version */ - 'Aus Sicherheitsgründen, setzen Sie bitte $conf[\'show_version\'] = false,', ); -$lang['Adv_case'][17] = array( /* show_thumbnail_caption */ - 'Für eine leichtere Galerie werfen Sie einen Blick auf $conf[\'show_thumbnail_caption\'] = false,', ); -$lang['Adv_case'][18] = array( /* show_picture_name_on_title */ - 'Für eine leichtere Galerie werfen Sie einen Blick auf $conf[\'show_picture_name_on_title\'] = false,', ); -$lang['Adv_case'][19] = array( /* tags_default_display_mode */ - '\'cloud\' standartmäßig wird die Bedeutung der Tags über die Schriftgröße angezeigt.', - 'Sie können die Tag-Seite so ändern, $conf[\'tags_default_display_mode\'] = \'letters\'', ); - $lang['Adv_case'][20] = array( /* allow_random_representative */ - 'Lassen Sie den Wert stehen $conf[\'allow_random_representative\'] = true, ', - 'aber analysieren sie die Performance.' , ); -$lang['Adv_case'][21] = array( /* prefix_thumbnail */ - 'Seien Sie vorsichtig, Ihr Wert $conf[\'prefix_thumbnail\'] ist NICHT Standard.', - 'Ändern Sie ihn NICHT, es sei denn, Ihr Thumbnails sind NICHT sichtbar.', - 'Wenn auf entfernten Standorten ein anderes Präfix werwendet wird, ändern Sie es in der jeweiligen Datei create_listing_file.php.', - 'Sie erhalten eine Warnmeldung während der Synchronisierung in diesem Fall.', - 'Versuchen Sie den gleichen Präfix in all ihren lokalen wie entfernten Websites zu verwenden.', - 'Halten Sie diesen Parameter in Ihrer ./include/config_ local.inc.php', - 'Auf unserer Wiki Seite zur Konfiguration finden Sie weitere Informationen zum Thema ./include/config_local.inc.php.', ); -$lang['Adv_case'][22] = array( /* users_page */ - 'Es sei denn, Sie haben einen Schmalbandanschluss, können Sie den Wert in $conf[\'users_page\'] auf einen höheren Werteinstellen. Zeigt aber nur Auswirkungen, wenn Sie mehr als 20 Mitglieder in der Galerie haben.', ); -$lang['Adv_case'][23] = array( /* mail_options */ - 'Sollte false sein, nur wenige Webmaster haben einen Grund diese Option auf $conf[\'mail_options\'] = true zu ändern, ', - 'Für eine spezifische Beratung in diesem Fall besuchen Sie unser Forum. Ein fortgeschrittener User wird ihnen helfen', ); -$lang['Adv_case'][24] = array( /* check_upgrade_feed */ - 'Sollte false bleiben, ist nur für Entwickler interessant diesen Wert auf $conf[\'check_upgrade_feed\'] = true, für Test-Zwecke zu ändern.' , ); -$lang['Adv_case'][25] = array( /* rate_items */ - 'Ihr $conf[\'rate_items\'] sollte 4 oder 5 Posten haben, nicht weniger', ); -$lang['Adv_case'][26] = array( /* rate_items */ - 'Ihr $conf[\'rate_items\'] sollte 5 oder 6 Posten haben, nicht mehr.', - 'Überprüfen Sie Ihre am besten bewerteten Bilder bevor Sie Änderungen vornehmen.', - 'Reduzieren Sie übermäßige Bewertungen und ändern Sie Ihre $conf[\'rate_items\'].', ); -$lang['Adv_case'][27] = array( /* show_iptc */ - 'Kann auf true gesetzt werden, denken Sie über eine Änderung in $conf[\'show_iptc\'] = false nach,', - 'Einige professionelle Fotografen wählen false, ihre Gründe dafür sind nicht wirklich professionell.' , - 'Bitte NICHT show_iptc und use_iptc verwechseln (werfen Sie einen Blick auf Metadaten-Seite auf unserem Wiki).', ); -$lang['Adv_case'][28] = array( /* use_iptc */ - 'Dokumentare und professionellen Fotografen würde es auf true setzen, aber Anfänger sollten es auf $conf[\'use_iptc\'] = false belassen,', - 'Achten Sie auf die Felder die in der Metadaten-Synchronisierung erwähnt werden.', - 'Genannte Bereichen werden neu beschrieben mit den IPTC-Werten selbst diejenigen, die NICHT leer sind.', - 'NICHT zu verwechseln mit show_iptc und use_iptc (werfen Sie einen Blick auf Metadaten-Seite auf unserem Wiki).', ); -$lang['Adv_case'][29] = array( /* use_iptc */ - 'Der Umgang mit IPTC:', - '1 - Kopieren Sie eines Ihrer jpg Bilder (ein öffentliches) in ./tools/', - '2 - Benennen Sie es um in sample.jpg.', - '3 - Starten Sie ./tools/metadata.php', - '4 - Ergebnisse analysieren, um festzustellen welche IPTC-Felder genutzt werden können um sie in der Datenbank zu überschreiben.', - 'Anfängern empfehlen wir $conf[\'show_iptc\'] = false zu setzen,', - 'Fortgeschrittene Benutzer analysieren die Bildinformationen vor dem Upload.', - 'IPTC-Felder werden beschrieben in $conf[\'use_iptc_mapping\']', - 'Auf jedem Fall, show_iptc_mapping und use_iptc_mapping müssen völlig verschieden sein.', ); - $lang['Adv_case'][30] = array( /* use_iptc_mapping */ - 'Der Umgang mit IPTC:', - 'Achten Sie auf Hinweise in den Berichten der Metadaten-Synchronisierung.', - 'Genannte Bereichen werden neu beschrieben mit den IPTC-Werten selbst diejenigen, die NICHT leer sind.', - 'Auf jedem Fall, show_iptc_mapping und use_iptc_mapping müssen völlig verschieden sein.', ); -$lang['Adv_case'][31] = array( /* show_exif */ - 'Sollte wahr sein, einige Informationen von Ihrer Kamera angezeigt werden kann.', - 'Denken Sie über EXIF-Informationen könnten werden verschiedene nach Kamera-Modelle.', - 'Wenn Sie ändern Ihre Kamera diesen Bereichen könnte zum Teil anders.', - 'Viele professionelle Fotografen wählen Sie falsch, ihre Gründe dafür sind zum Schutz ihres Wissens.' , - 'NICHT zu verwechseln zwischen show_exif und use_exif (werfen Sie einen Blick auf Metadaten-Seite auf unserem Wiki).', ); -$lang['Adv_case'][32] = array( /* use_exif */ - 'Dokumentare und professionellen Fotografen würde es auf true setzen, aber Anfänger sollten es auf dem Standartwert belassen.', - 'Achten Sie auf Hinweise nach der Metadaten-Synchronisierung.', - 'Genannte Bereichen werden neu beschrieben mit den EXIF-Werten selbst diejenigen, die NICHT leer sind.', - 'Verwechseln Sie bitte nicht show_exif mit use_exif (werfen Sie einen Blick auf Metadaten-Seite auf unserem Wiki).', ); -$lang['Adv_case'][33] = array( /* **navigation */ - 'Sie können mit den Pfeil-Tasten ihrer Tastatur zwischen den Bildern navigieren.', ); -$lang['Adv_case'][34] = array( /* compiled_template_cache_language */ - 'Sollte auf true belassen werden.', - 'Wenn Sie selbst eine Übersetzung ändern können Sie den Wert auf false ändern.', - 'Wenn der Wert false eingetragen ist, wird template @translate Function wird so lang aufgerufen.' ); -$lang['Adv_case'][35] = array( /* template_compile_check */ - 'Standart ist true, Änderungen am Template werden erkannt und das Template compiliert.', - 'Wenn sie das Template mehrere Tage nicht bearbeiten, ', - 'setzen Sie den Wert bitte auf false.', - 'Wenn der Wert auf false steht, wird nicht nach Änderungen an den Templates gesucht. Dies verbessert die Antwortzeiten.', - 'Erweiterte Verwaltung > Erweiterte EinstellungenMaintenance > Löschen der kompilierten Templates, wird empfohlen nach einer Änderung von $conf change.' ); -?> \ No newline at end of file diff --git a/plugins/admin_advices/language/en_UK/description.txt b/plugins/admin_advices/language/en_UK/description.txt deleted file mode 100644 index 89d0e7ed1..000000000 --- a/plugins/admin_advices/language/en_UK/description.txt +++ /dev/null @@ -1 +0,0 @@ -Give you an advice on the administration page. \ No newline at end of file diff --git a/plugins/admin_advices/language/en_UK/index.php b/plugins/admin_advices/language/en_UK/index.php deleted file mode 100644 index 17747c927..000000000 --- a/plugins/admin_advices/language/en_UK/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/admin_advices/language/en_UK/plugin.lang.php b/plugins/admin_advices/language/en_UK/plugin.lang.php deleted file mode 100644 index ee4e2e12b..000000000 --- a/plugins/admin_advices/language/en_UK/plugin.lang.php +++ /dev/null @@ -1,168 +0,0 @@ -or change to $conf[\'calendar_datefield\'] = \'date_available\'', - 'Activate metadata usage as you want: ', - '1 - $conf[\'use_iptc\'] = true, or $conf[\'use_exif\'] = true, each way will be correct.', - '2 - And respectively map:', - '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...', - 'or/and:', - '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...', - '3 - Finally, a new task is up to you: Metadata synchronization.', ); -$lang['Adv_case'][10] = array( /* newcat_default_visible */ - 'Not useful, private status is better, so code $conf[\'newcat_default_visible\'] = true,', ); -$lang['Adv_case'][11] = array( /* level_separator */ - 'Try something else like $conf[\'level_separator\'] = \'+ \',', ); -$lang['Adv_case'][12] = array( /* paginate_pages_around */ - 'Usual range is between 2 and 5. To be light, choose $conf[\'paginate_pages_around\'] = 2, ', - 'To offer large jump, choose $conf[\'paginate_pages_around\'] = 7,', ); -$lang['Adv_case'][13] = array( /* tn_width */ - 'Should be a close value to your thumbnail width. Usual range is between 96 and 150, about $conf[\'tn_width\'] = 128,', ); -$lang['Adv_case'][14] = array( /* tn_height */ - 'Should be a close value to your thumbnail height. Usual range is between 96 and 150, about $conf[\'tn_height\'] = 128,', ); -$lang['Adv_case'][15] = array( /* tn_height */ - 'Thumbnail height and width have to be equal.', - 'Choose $conf[\'tn_height\'] = $conf[\'tn_width\'],', - 'or $conf[\'tn_width\'] = $conf[\'tn_height\'],', ); -$lang['Adv_case'][16] = array( /* show_version */ - 'For security reason, please set $conf[\'show_version\'] = false,', ); -$lang['Adv_case'][17] = array( /* show_thumbnail_caption */ - 'For a lighter gallery just have a look to $conf[\'show_thumbnail_caption\'] = false,', ); -$lang['Adv_case'][18] = array( /* show_picture_name_on_title */ - 'For a lighter gallery just have a look to $conf[\'show_picture_name_on_title\'] = false,', ); -$lang['Adv_case'][19] = array( /* tags_default_display_mode */ - '\'cloud\' by default, importance of tags is shown with font size.', - 'You can change the tags page, $conf[\'tags_default_display_mode\'] = \'letters\'', ); -$lang['Adv_case'][20] = array( /* allow_random_representative */ - 'Leave $conf[\'allow_random_representative\'] = true, ', - 'but analyze if you can avoid for performance reasons.' , ); -$lang['Adv_case'][21] = array( /* prefix_thumbnail */ - 'Be careful your $conf[\'prefix_thumbnail\'] is NOT standard.', - 'Do NOT change it except if your thumbnails are NOT visible.', - 'Distant site may use a different prefix but create_listing_file.php must be modified.', - 'You will get a warning message during synchronization in that case.', - 'Try to keep the same prefix thru all your sites either local or distants.', - 'Keep this parameter in your ./include/config_ local.inc.php', - 'See our wiki configuration page for more information about ./include/config_local.inc.php.', ); -$lang['Adv_case'][22] = array( /* users_page */ - '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.', ); -$lang['Adv_case'][23] = array( /* mail_options */ - 'Should be false, only few webmasters have to set $conf[\'mail_options\'] = true, ', - 'A specific advice you can get from an advanced user on our forum in some mailing issues.', ); -$lang['Adv_case'][24] = array( /* check_upgrade_feed */ - 'Should be false, only PWG dev Team have to set $conf[\'check_upgrade_feed\'] = true, for test purpose.' , ); -$lang['Adv_case'][25] = array( /* rate_items */ - 'Your $conf[\'rate_items\'] would have 4 or 5 items not less.', ); -$lang['Adv_case'][26] = array( /* rate_items */ - 'Your $conf[\'rate_items\'] would have 5 or 6 items not more.', - 'Check your best rated pictures prior to remove some values.', - 'Reduce excessive rating and change your $conf[\'rate_items\'].', ); -$lang['Adv_case'][27] = array( /* show_iptc */ - 'Could be true, think about $conf[\'show_iptc\'] = false,', - 'Some Professional photographers choose false their reasons are not really professional.' , - 'Do NOT confuse between show_iptc and use_iptc (have a look on metadata page on our wiki).', ); -$lang['Adv_case'][28] = array( /* use_iptc */ - 'Documentalists and professionnal photographers would set it true, but beginners should leave it as $conf[\'use_iptc\'] = false,', - 'Take care of mentionned fields in metadata synchronization.', - 'Mentionned fields would be rewrited with IPTC values even those ones are NOT empty.', - 'Do NOT confuse between show_iptc and use_iptc (have a look on metadata page on our wiki).', ); -$lang['Adv_case'][29] = array( /* use_iptc */ - 'How to deal with IPTC:', - '1 - Copy one of your jpg pictures (a public one) in ./tools/', - '2 - Rename it as sample.jpg.', - '3 - Run ./tools/metadata.php', - '4 - Analyse results to determine which IPTC fields could be used to override database fields.', - 'Beginners would prefer to keep $conf[\'use_iptc\'] = false,', - 'Advanced users make documentation efforts prior to upload their pictures.', - 'IPTC fields have to be described in $conf[\'use_iptc_mapping\']', - 'In any case, show_iptc_mapping and use_iptc_mapping must be totally different.', ); -$lang['Adv_case'][30] = array( /* use_iptc_mapping */ - 'How to deal with IPTC:', - 'Take care of mentionned fields in metadata synchronization.', - 'Mentionned fields would be rewrited with IPTC values even those ones are NOT empty.', - 'In any case, show_iptc_mapping and use_iptc_mapping must be totally different.', ); -$lang['Adv_case'][31] = array( /* show_exif */ - 'Should be true, some information from your camera can be displayed.', - 'Think about EXIF information could be different depending on camera models.', - 'If you change your camera these fields could be partly different.', - 'Many professional photographers choose false, their reasons are to protect their knowledge.' , - 'Do NOT confuse between show_exif and use_exif (have a look on metadata page on our wiki).', ); -$lang['Adv_case'][32] = array( /* use_exif */ - 'Documentalists and professionnal photographers would set it true, but beginners should leave the default value.', - 'Take care of mentionned fields in metadata synchronization.', - 'Mentionned fields would be rewrited with EXIF values even those ones are NOT empty.', - 'Do NOT confuse between show_exif and use_exif (have a look on metadata page on our wiki).', ); -$lang['Adv_case'][33] = array( /* **navigation */ - 'You can use keyboard arrows to navigate between pictures.', ); -$lang['Adv_case'][34] = array( /* compiled_template_cache_language */ - 'Should be true, translation will be done at compilation time.', - 'If you are modifying a language (translators), you should consider to set it false.', - 'Setting it false, template @translate function are called at usage time.' ); -$lang['Adv_case'][35] = array( /* template_compile_check */ - 'Default is true, template changes are detected and the template is compiled.', - 'If you are not updating template any more for several days, ', - 'you should consider to set it false.', - 'Choosing false, template changes are not detected, this improves response time.', - 'Anyway Specials > Maintenance > Purge compiled templates, is recommended after this $conf change.' ); -?> \ No newline at end of file diff --git a/plugins/admin_advices/language/es_ES/description.txt b/plugins/admin_advices/language/es_ES/description.txt deleted file mode 100644 index 1b10eedf4..000000000 --- a/plugins/admin_advices/language/es_ES/description.txt +++ /dev/null @@ -1 +0,0 @@ -Muestra una punta en la página web de la Administración. \ No newline at end of file diff --git a/plugins/admin_advices/language/es_ES/index.php b/plugins/admin_advices/language/es_ES/index.php deleted file mode 100644 index 17747c927..000000000 --- a/plugins/admin_advices/language/es_ES/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/admin_advices/language/es_ES/plugin.lang.php b/plugins/admin_advices/language/es_ES/plugin.lang.php deleted file mode 100644 index 3e3b55daa..000000000 --- a/plugins/admin_advices/language/es_ES/plugin.lang.php +++ /dev/null @@ -1,170 +0,0 @@ -o cambie para $conf[\'calendar_datefield\'] = \'date_available\'', - 'Activate the usage of the méta-data simply by: ', - '1 - $conf[\'use_iptc\'] = true; ou $conf[\'use_exif\'] = true; A la elección, los 2 son válidos.', - '2 - Respectivamente a cada una hacer el modif:', - '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...', - 'y/o:', - '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...', - '3 - Por fin una nueva mancha le está destinada: la sincronización de los méta-datos.', ); -$lang['Adv_case'][10] = array( /* newcat_default_visible */ - 'Es un error, un estatuto " private " es más simple, entonces escoja $conf[\'newcat_default_visible\'] = true;', ); -$lang['Adv_case'][11] = array( /* level_separator */ - 'Usted puede siempre probar otro separador como : $conf[\'level_separator\'] = \'+ \';', ); -$lang['Adv_case'][12] = array( /* paginate_pages_around */ - 'Los valores acostumbrados se sitúan entre 2 y 5. Para un sitio con una interfaz ligera, escogeramos : ', - '$conf[\'paginate_pages_around\'] = 2;', - 'Con el fin de proponer más accesos directos, escogeramos: $conf[\'paginate_pages_around\'] = 7;', ); -$lang['Adv_case'][13] = array( /* tn_width */ - 'Debe ser un valor próximo de la anchura de sus miniaturas. Los valores acostumbrados se sitúan entre 96 y 150, como $conf[\'tn_width\'] = 128;', ); -$lang['Adv_case'][14] = array( /* tn_height */ - 'Debe ser un valor próximo de la altura de sus miniaturas. Los valores acostumbrados se sitúan entre 96 y 150, como $conf[\'tn_height\'] = 128;', ); -$lang['Adv_case'][15] = array( /* tn_height */ - 'Anchura y altura de miniatura deberían ser planas.', - 'Pruebe $conf[\'tn_height\'] = $conf[\'tn_width\'],', - 'o $conf[\'tn_width\'] = $conf[\'tn_height\'],', ); -$lang['Adv_case'][16] = array( /* show_version */ - 'Por razones de seguridad de su galería, prefiera $conf[\'show_version\'] = false;', ); -$lang['Adv_case'][17] = array( /* show_thumbnail_caption */ - 'Para una galería menos cargada, haga la prueba de $conf[\'show_thumbnail_caption\'] = false,', ); -$lang['Adv_case'][18] = array( /* show_picture_name_on_title */ - 'Para una galería menos cargada, haga la prueba de $conf[\'show_picture_name_on_title\'] = false,', ); -$lang['Adv_case'][19] = array( /* tags_default_display_mode */ - 'Por defecto a \'cloud\' (nube), más un "Tag" es utilizada más será escrito de allí grande.', - 'Usted puede cambiar la fijación de "tags", $conf[\'tags_default_display_mode\'] = \'letters\'', ); -$lang['Adv_case'][20] = array( /* allow_random_representative */ - 'Deje $conf[\'allow_random_representative\'] = true, ', - 'Pero estudie cómo usted podría evitarlo por razones de realización.' , ); -$lang['Adv_case'][21] = array( /* prefix_thumbnail */ - 'Atención, su $conf[\'prefix_thumbnail\'] no es estándar.', - 'No cambiar su prefijo excepto si sus miniaturas tienen un problema de fijación.', - 'Un sitio distante puede tener un prefijo diferente, le create_listing_file.php deberá ser modificado.', - 'Usted debería tener un mensaje de advertencia durante la sincronización en este caso.', - 'Trate de guardar el mismo prefijo de miniaturas para los sitios locales o distantes.', - 'Conserve este parámetro en vuestro ./include/config_local.inc.php.', - 'Ver la página sobre la configuración en Wiki para más informaciones a propósito de ./include/config_local.inc.php.', ); -$lang['Adv_case'][22] = array( /* users_page */ - 'A menos que tener una conexión baja velocidad, usted ampliamente puede aumentar $conf[\'users_page\'] sobre todo si usted tiene más de 20 miembros.', ); -$lang['Adv_case'][23] = array( /* mail_options */ - 'Debería estar a false, solamente algún webmasters deberán indicar $conf[\'mail_options\'] = true;', - 'Un usuario avanzado de nuestro foro les habrá aconsejado en un solo caso de problema de e-mail.', ); -$lang['Adv_case'][24] = array( /* check_upgrade_feed */ - 'Debería estar a false, sólo los miembros del equipo Piwigo codifican $conf[\'check_upgrade_feed\'] = true; para sus pruebas.', ); -$lang['Adv_case'][25] = array( /* rate_items */ - 'Su $conf[\'rate_items\'] debería tener 4 o 5 elementos pero no menos.', ); -$lang['Adv_case'][26] = array( /* rate_items */ - 'Su $conf[\'rate_items\'] debería tener 4 o 5 elementos pero no más.', - 'Controle sus imágenes las mejor anotadas antes de retirar ciertos valores.', - 'Reducir los valores excesivos y modifique vuestro $conf[\'rate_items\'].', ); -$lang['Adv_case'][27] = array( /* show_iptc */ - 'Efectivamente puede a ser true, eventualmente escoja $conf[\'show_iptc\'] = false,', - 'Así como algunos fotógrafos profesionales escoja false aunque sus razones sean apenas profesionales.', - 'No confunda show_iptc y use_iptc (consulte las páginas con metadatos de nuestro wiki).', ); -$lang['Adv_case'][28] = array( /* use_iptc */ - 'Los documentalistas y los fotógrafos profesionales preferirán el valor true, pero los principiantes deberían dejar $conf[\'use_iptc\'] = false,', - 'Hacer atención en los campos mencionados en la sincronización del metadatos.', - 'Los campos indicados podrán ser aplastados por valores de campo IPTC aun cuando estos campos no estarían vacíos.', - 'No confunda show_iptc et use_iptc (consulte las páginas con metadatos de nuestro wiki).', ); -$lang['Adv_case'][29] = array( /* use_iptc */ - 'Cómo administrar IPTC:', - '1 - Copie una imagen jpg (pública) en ./tools/', - '2 - Renombre éste sample.jpg.', - '3 - Lance ./tools/metadata.php', - '4 - Analice los resultados para determinar cual campo IPTC podría completar su base de datos.', - 'Los principiantes dejarán $conf[\'use_iptc\'] = false,', - 'Los usuarios avanzados harán esfuerzos de documentación antes de trasladar sus imágenes.', - 'El campo IPTC debe ser descrito por $conf[\'use_iptc_mapping\']', - 'En todos los casos, show_iptc_mapping y use_iptc_mapping serán totalmente diferentes.', ); -$lang['Adv_case'][30] = array( /* use_iptc_mapping */ - 'Cómo administrar IPTC:', - 'Haga atención en los campos mencionados en la sincronización del metadatos.', - 'Los campos indicados podrán ser aplastados por valores de campo IPTC aun cuando estos campos no estarían vacíos.', - 'En todos los casos, show_iptc_mapping y use_iptc_mapping serán totalmente diferentes.', ); -$lang['Adv_case'][31] = array( /* show_exif */ - 'Debería estar a true, ciertas informaciones limpias de su aparato podrán ser fijadas.', - 'Piense en el hecho que las informaciones EXIF pueden ser diferentes según los modelos de aparato.', - 'Si usted cambia su aparato estos campos podrían en parte diferentes.', - 'Muchos fotógrafos profesionales escogen false, esto con el fin de proteger su destreza.' , - 'No confunda show_exif y use_exif (Consulte las páginas con metadatos de nuestro wiki).', ); -$lang['Adv_case'][32] = array( /* use_exif */ - 'Los documentalistas y los fotógrafos profesionales preferirán el valor true, pero los principiantes dejarán el valor por defecto.', - 'Ocúpese de campos mencionados en la sincronización del metadatos.', - 'Los campos indicados podrán ser aplastados por valores de campos EXIF aun cuando estos campos no estarían vacíos.', - 'No confunda show_exif y use_exif (Consulte las páginas con metadatos de nuestro wiki).', ); -$lang['Adv_case'][33] = array( /* **navigation */ - 'Usted puede utilizar las flechas del teclado para navegar entre las imágenes.', ); -$lang['Adv_case'][34] = array( /* compiled_template_cache_language */ - 'Debería estar a true, la traducción será efectuada en el momento de la compilación.', - 'Si usted modifica los ficheros lenguas (traductores), usted debería contemplar el valor false.', - 'Situado en false, @translate templates serán tratados a cada utilización.' ); -$lang['Adv_case'][35] = array( /* template_compile_check */ - 'Por defecto en true, toda modificación de template es detectada y el template modificado es recompilado.', - 'Si usted no modifica más su templates durante varios días, ', - 'Usted debería contemplar el valor false.', - 'Escogiendo false, las modificaciones de template no son detectadas más, esto mejora tiempo de respuesta.', - 'En todos los casos Especiales > Mantenimiento > Purgar el templates compilado, es recomendado después de una modificación de este $conf.' ); -?> \ No newline at end of file diff --git a/plugins/admin_advices/language/fr_FR/description.txt b/plugins/admin_advices/language/fr_FR/description.txt deleted file mode 100644 index ddcf89bcb..000000000 --- a/plugins/admin_advices/language/fr_FR/description.txt +++ /dev/null @@ -1 +0,0 @@ -Affiche une astuce sur la page d'accueil de l'administration. \ No newline at end of file diff --git a/plugins/admin_advices/language/fr_FR/index.php b/plugins/admin_advices/language/fr_FR/index.php deleted file mode 100644 index 17747c927..000000000 --- a/plugins/admin_advices/language/fr_FR/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/admin_advices/language/fr_FR/plugin.lang.php b/plugins/admin_advices/language/fr_FR/plugin.lang.php deleted file mode 100644 index 4070ca9fc..000000000 --- a/plugins/admin_advices/language/fr_FR/plugin.lang.php +++ /dev/null @@ -1,170 +0,0 @@ -ou changez pour $conf[\'calendar_datefield\'] = \'date_available\'', - 'Activez l\'usage des méta-données simplement par: ', - '1 - $conf[\'use_iptc\'] = true; ou $conf[\'use_exif\'] = true; au choix, les 2 sont valables.', - '2 - Respectivement à chacune faire la modif:', - '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...', - 'et/ou:', - '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...', - '3 - Enfin une nouvelle tache vous est destinée: la synchronisation des méta-données.', ); -$lang['Adv_case'][10] = array( /* newcat_default_visible */ - 'C\'est une erreur, un statut "private" est plus simple, alors choisissez $conf[\'newcat_default_visible\'] = true;', ); -$lang['Adv_case'][11] = array( /* level_separator */ - 'Vous pouvez toujours essayer un autre séparateur comme : $conf[\'level_separator\'] = \'+ \';', ); -$lang['Adv_case'][12] = array( /* paginate_pages_around */ - 'Les valeurs habituelles se situent entre 2 et 5. Pour un site avec une interface légère, on choisira : ', - '$conf[\'paginate_pages_around\'] = 2;', - 'Afin de proposer plus d\'accès directs, on choisira : $conf[\'paginate_pages_around\'] = 7;', ); -$lang['Adv_case'][13] = array( /* tn_width */ - 'Doit être une valeur proche de la largeur de vos miniatures. Les valeurs habituelles se situent entre 96 et 150, comme $conf[\'tn_width\'] = 128;', ); -$lang['Adv_case'][14] = array( /* tn_height */ - 'Doit être une valeur proche de la hauteur de vos miniatures. Les valeurs habituelles se situent entre 96 et 150, comme $conf[\'tn_height\'] = 128;', ); -$lang['Adv_case'][15] = array( /* tn_height */ - 'Largeur et hauteur de miniature devraient être égales.', - 'Essayez $conf[\'tn_height\'] = $conf[\'tn_width\'],', - 'ou $conf[\'tn_width\'] = $conf[\'tn_height\'],', ); -$lang['Adv_case'][16] = array( /* show_version */ - 'Pour des raisons de sécurité de votre galerie, préférez $conf[\'show_version\'] = false;', ); -$lang['Adv_case'][17] = array( /* show_thumbnail_caption */ - 'Pour une galerie moins chargée, faites le test de $conf[\'show_thumbnail_caption\'] = false,', ); -$lang['Adv_case'][18] = array( /* show_picture_name_on_title */ - 'Pour une galerie moins chargée, faites le test de $conf[\'show_picture_name_on_title\'] = false,', ); -$lang['Adv_case'][19] = array( /* tags_default_display_mode */ - 'Par défaut à \'cloud\' (nuage), plus un "tag" est utilisé plus il sera écrit en grand.', - 'Vous pouvez changer l\'affichage des "tags", $conf[\'tags_default_display_mode\'] = \'letters\'', ); -$lang['Adv_case'][20] = array( /* allow_random_representative */ - 'Laissez $conf[\'allow_random_representative\'] = true, ', - 'mais étudiez comment vous pourriez l\'éviter pour des raisons de performance.' , ); -$lang['Adv_case'][21] = array( /* prefix_thumbnail */ - 'Attention, votre $conf[\'prefix_thumbnail\'] n\'est pas standard.', - 'Ne pas changer votre préfixe sauf si vos miniatures ont un problème d\'affichage.', - 'Un site distant peut avoir un préfixe différent, le create_listing_file.php devra être modifié.', - 'Vous devriez avoir un message d\'avertissement pendant la synchronisation dans ce cas.', - 'Essayez de garder le même préfixe de miniatures pour les sites locaux ou distants.', - 'Conservez ce paramètre dans votre ./include/config_local.inc.php.', - 'Voir la page sur la configuration dans le Wiki pour plus d\'informations à propos de ./include/config_local.inc.php.', ); -$lang['Adv_case'][22] = array( /* users_page */ - 'A moins d\'avoir une connexion bas débit, vous pouvez augmenter largement $conf[\'users_page\'] surtout si vous avez plus de 20 membres.', ); -$lang['Adv_case'][23] = array( /* mail_options */ - 'Devrait être à false, seulement quelques webmasters devront indiquer $conf[\'mail_options\'] = true;', - 'Un utilisateur avancé de notre forum les aura conseillé dans un seul cas de problème d\'email.', ); -$lang['Adv_case'][24] = array( /* check_upgrade_feed */ - 'Devrait être à false, seuls les membres de l\'équipe Piwigo codent $conf[\'check_upgrade_feed\'] = true; pour leurs tests.', ); -$lang['Adv_case'][25] = array( /* rate_items */ - 'Votre $conf[\'rate_items\'] devrait avoir 4 ou 5 éléments mais pas moins.', ); -$lang['Adv_case'][26] = array( /* rate_items */ - 'Votre $conf[\'rate_items\'] devrait avoir 4 ou 5 éléments mais pas plus.', - 'Contrôlez vos images les mieux notées avant de retirer certaines valeurs.', - 'Réduire les valeurs excessives et modifiez votre $conf[\'rate_items\'].', ); -$lang['Adv_case'][27] = array( /* show_iptc */ - 'Peut être effectivement à true, éventuellement choisissez $conf[\'show_iptc\'] = false,', - 'Comme quelques photographes professionnels choisissez false bien que leurs raisons ne soient guère professionnelles.', - 'Ne confondez pas show_iptc et use_iptc (consultez les pages sur les métadonnées de notre wiki).', ); -$lang['Adv_case'][28] = array( /* use_iptc */ - 'Les documentalistes et photographes professionnels préfèreront la valeur true, mais les débutants devraient laisser $conf[\'use_iptc\'] = false,', - 'Faire attention aux champs mentionnés dans la synchronisation des métadonnées.', - 'Les champs indiqués pourront être écrasés par des valeurs de champs IPTC quand bien même ces champs ne seraient pas vides.', - 'Ne confondez pas show_iptc et use_iptc (consultez les pages sur les métadonnées de notre wiki).', ); -$lang['Adv_case'][29] = array( /* use_iptc */ - 'Comment gérer les IPTC:', - '1 - Copiez une image jpg (publique) dans ./tools/', - '2 - Renommez celle-ci en sample.jpg.', - '3 - Lancez ./tools/metadata.php', - '4 - Analysez les résultats pour déterminer quels champs IPTC pourraient compléter votre base de données.', - 'Les débutants laisseront $conf[\'use_iptc\'] = false,', - 'Les utilisateurs avancés feront des efforts de documentation avant de transférer leurs images.', - 'Les champs IPTC doivent être décrits par $conf[\'use_iptc_mapping\']', - 'Dans tous les cas, show_iptc_mapping et use_iptc_mapping seront totalement différents.', ); -$lang['Adv_case'][30] = array( /* use_iptc_mapping */ - 'Comment gérer les IPTC:', - 'Faites attention aux champs mentionnés dans la synchronisation des métadonnées.', - 'Les champs indiqués pourront être écrasés par des valeurs de champs IPTC quand bien même ces champs ne seraient pas vides.', - 'Dans tous les cas, show_iptc_mapping et use_iptc_mapping seront totalement différents.', ); -$lang['Adv_case'][31] = array( /* show_exif */ - 'Devrait être à true, certaines informations propres à votre appareil pourront être affichées.', - 'Pensez au fait que les informations EXIF peuvent être différentes suivant les modèles d\'appareil.', - 'Si vous changez votre appareil ces champs pourraient en partie différents.', - 'Beaucoup de photographes professionnels choisissent false, ceci afin de protéger leur savoir-faire.' , - 'Ne confondez pas show_exif et use_exif (consultez les pages sur les métadonnées de notre wiki).', ); -$lang['Adv_case'][32] = array( /* use_exif */ - 'Les documentalistes et photographes professionnels préfèreront la valeur true, mais les débutants laisseront la valeur par défaut.', - 'Occupez-vous des champs mentionnés dans la synchronisation des métadonnées.', - 'Les champs indiqués pourront être écrasés par des valeurs de champs EXIF quand bien même ces champs ne seraient pas vides.', - 'Ne confondez pas show_exif et use_exif (consultez les pages sur les métadonnées de notre wiki).', ); -$lang['Adv_case'][33] = array( /* **navigation */ - 'Vous pouvez utiliser les flèches du clavier pour naviguer entre les images.', ); -$lang['Adv_case'][34] = array( /* compiled_template_cache_language */ - 'Devrait être à true, la traduction sera effectuée au moment de la compilation.', - 'Si vous modifiez les fichiers langues (traducteurs), vous devriez envisager la valeur false.', - 'Positionné à false, les @translate des templates seront traités à chaque utilisation.' ); -$lang['Adv_case'][35] = array( /* template_compile_check */ - 'Par défaut à true, toute modification de template est détectée et le template modifié est recompilé.', - 'Si vous ne modifiez plus vos templates pendant plusieurs jours, ', - 'vous devriez envisager la valeur false.', - 'En choisissant false, les modifications de template ne sont plus détectées, ceci améliore les temps de réponse.', - 'Dans tous les cas Spéciales > Maintenance > Purger les templates compilés, est recommandé après une modification de cette $conf.' ); -?> \ No newline at end of file diff --git a/plugins/admin_advices/language/index.php b/plugins/admin_advices/language/index.php deleted file mode 100644 index 17747c927..000000000 --- a/plugins/admin_advices/language/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/admin_advices/language/it_IT/description.txt b/plugins/admin_advices/language/it_IT/description.txt deleted file mode 100644 index a37a6c6f2..000000000 --- a/plugins/admin_advices/language/it_IT/description.txt +++ /dev/null @@ -1 +0,0 @@ -Visualizza un'astuzia/consiglio sulla pagina di amministrazione. \ No newline at end of file diff --git a/plugins/admin_advices/language/it_IT/index.php b/plugins/admin_advices/language/it_IT/index.php deleted file mode 100644 index 17747c927..000000000 --- a/plugins/admin_advices/language/it_IT/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/admin_advices/language/it_IT/plugin.lang.php b/plugins/admin_advices/language/it_IT/plugin.lang.php deleted file mode 100644 index 45df98552..000000000 --- a/plugins/admin_advices/language/it_IT/plugin.lang.php +++ /dev/null @@ -1,170 +0,0 @@ -o cambiate a $conf[\'calendar_datefield\'] = \'date_available\'', - 'Attivate l\'uso dei metadati semplicemente con :', - '1 - $conf[\'use_iptc\'] = true, o $conf[\'use_exif\'] = true; le due sonuzioni possono essere usate.', - '2 - Respettivamente eseguire le modifiche:', - '$conf[\'use_iptc_mapping\'] = array( ..., \'date_creation\' => \'2#055\', ...', - 'o/e:', - '$conf[\'use_exif_mapping\'] = array(\'date_creation\' => \'DateTimeOriginal\', ...', - '3 - In fine una nuova operazione è da eseguire : la sincronizzazione dei metadati synchronization.', ); -$lang['Adv_case'][10] = array( /* newcat_default_visible */ - 'E un errore, lo stato "private" è più semplice, allora scegliete $conf[\'newcat_default_visible\'] = true,', ); -$lang['Adv_case'][11] = array( /* level_separator */ - 'Potete sempre provare un altro separatore come : $conf[\'level_separator\'] = \'+ \',', ); -$lang['Adv_case'][12] = array( /* paginate_pages_around */ - 'I valore di default si trovano tra 2 e 5. Per un sito con un interfacia "leggera" scegliere : ', - '$conf[\'paginate_pages_around\'] = 2;', - 'Al fine d\'offrire più accessi diretti, scegliere : $conf[\'paginate_pages_around\'] = 7,', ); -$lang['Adv_case'][13] = array( /* tn_width */ - 'Deve essere un valore vicino alla larghezza delle vostre miniature. I valori di default sono tra 96 e 150, come $conf[\'tn_width\'] = 128,', ); -$lang['Adv_case'][14] = array( /* tn_height */ - 'Deve essere un valore vicino al altezza delle vostre miniature. I valori di default sono tra 96 e 150, come $conf[\'tn_height\'] = 128,', ); -$lang['Adv_case'][15] = array( /* tn_height */ - 'L\'altezza e la lunghezza delle miniature dovrebbero essere uguali.', - 'Provate $conf[\'tn_height\'] = $conf[\'tn_width\'],', - 'o $conf[\'tn_width\'] = $conf[\'tn_height\'],', ); -$lang['Adv_case'][16] = array( /* show_version */ - 'Per raggioni di sicurezza scegliete piuttosto $conf[\'show_version\'] = false,', ); -$lang['Adv_case'][17] = array( /* show_thumbnail_caption */ - 'Per una galleria meno "carica", provate con $conf[\'show_thumbnail_caption\'] = false,', ); -$lang['Adv_case'][18] = array( /* show_picture_name_on_title */ - 'Per una galleria meno "carica", provate con $conf[\'show_picture_name_on_title\'] = false,', ); -$lang['Adv_case'][19] = array( /* tags_default_display_mode */ - 'Di default impostato a \'cloud\' (nuvola), più un "tag" è utilizzato più sarà scritto in grande.', - 'Potete modificare la visualizzazione dei tags, $conf[\'tags_default_display_mode\'] = \'letters\'', ); -$lang['Adv_case'][20] = array( /* allow_random_representative */ - 'Lasciate pure $conf[\'allow_random_representative\'] = true, ', - 'ma provate a vedere come evitarlo per raggioni di performance.' , ); -$lang['Adv_case'][21] = array( /* prefix_thumbnail */ - 'Attenzione, il vostro $conf[\'prefix_thumbnail\'] non è di default.', - 'Non dovete cambiarlo eccetto se le vostre miniature non sono visibili', - 'Il sito distante potrebbe usare un prefisso diverso, il create_listing_file.php dovrà essere modificato', - 'In questo caso, dovreste avere un messaggio d\'avvertimento durante la sincronizzazione', - 'Provate a mantenere lo stesso prefisso per tutti i siti sia locali che distanti', - 'Tenere questo parametro nel vostro ./include/config_locale.inc.php', - 'Vedere la pagina di configurazione nel WIKI per maggiore informazioni su ./include/config_locale.inc.php. ',); -$lang['Adv_case'][22] = array( /* users_page */ - 'Se avete una conessione a banda larga potete aumentare $conf[\'users_page\'] sopra tutto se avete più di 20 utenti registrati.', ); -$lang['Adv_case'][23] = array( /* mail_options */ - 'Dovrebbe essere a "false", solo qualche webmaster dovranno impostare $conf[\'mail_options\'] = true, ', - 'Un utente esperto del nostro forum ha consigliato questo valore per coloro che hanno avuto problemi con l\'Email.', ); -$lang['Adv_case'][24] = array( /* check_upgrade_feed */ - 'Dovrebbe essere a "false". Solo i sviluppatori della Team di PWG impostono $conf[\'check_upgrade_feed\'] = true, per i loro test.' , ); -$lang['Adv_case'][25] = array( /* rate_items */ - 'Il vostro $conf[\'rate_items\'] dovrebbe avere 4 o 5 elementi ma non meno.', ); -$lang['Adv_case'][26] = array( /* rate_items */ - 'Il vostro $conf[\'rate_items\'] dovrebbe avere 4 o 5 elementi ma non di più.', - 'Verificate le foto le più votate prima di togliere certi valori.', - 'Ridurre certi valori eccessivi e modificate il vostro $conf[\'rate_items\'].', ); -$lang['Adv_case'][27] = array( /* show_iptc */ - 'Puo essere a "true", scegliete piuttosto $conf[\'show_iptc\'] = false,', - 'Come certi fotografi professioali scegliete false anche se le loro raggioni non sono per forsa professionali.' , - 'Non confondere show_iptc e use_iptc (consultate le pagine sui metadati nel WIKI).', ); -$lang['Adv_case'][28] = array( /* use_iptc */ - 'I documentaristi e fotografi professionnali lo regolerebbero a "true", ma i principianti dovrebbero lasciarlo a $conf[\'use_iptc\'] = false,', - 'Attenti ai campi mensionati durante la sincronizzazione dei metadati.', - 'I campi menzionati potrebbero essere sovrascritti con i valori dei campi IPTC anche se non sono vuoti', - 'Non confondere show_iptc e use_iptc (consultate le pagine sui metadati nel WIKI).', ); -$lang['Adv_case'][29] = array( /* use_iptc */ - 'Come gestire i IPTC:', - '1 - Copiate un\'immagine jpg (pubblica) in ./tools/', - '2 - Rinominatela in sample.jpg.', - '3 - Eseguite ./tools/metadata.php', - '4 - Analizzate il risultato per identificare quali campi IPTC potrebbero completale la vostra base dati', - 'I principianti lasceranno $conf[\'show_iptc\'] = false,', - 'Gli utenti più sperimentati documenteranno le loro foto prima di trasferirle sul sito.', - 'I campi IPTC devono essere elencati in $conf[\'use_iptc_mapping\']', - 'In tutti i casi, show_iptc_mapping e use_iptc_mapping saranno totalmente diversi.', ); -$lang['Adv_case'][30] = array( /* use_iptc_mapping */ - 'Come gestire i IPTC:', - 'Attenti ai campi mensionati durante la sincronizzazione dei metadati.', - 'I campi menzionati potrebbero essere sovrascritti con i valori dei campi IPTC anche se non sono vuoti', - 'In tutti i casi, show_iptc_mapping e use_iptc_mapping saranno totalmente diversi.', ); -$lang['Adv_case'][31] = array( /* show_exif */ - 'Dovrebbe essere a "true", certe informazioni della vostra macchina fotografica potrebbero essere visualizzate.', - 'Le informazioni EXIF possono essere diverse a seconda del modello della macchina fotografica.', - 'Se cambiate macchina fotografica, le informazioni visualizzate potrebbero cambiare.', - 'Parecchi fotografi professionali sceglieranno "false", per proteggere il loro lavoro.' , - 'Non confondere show_iptc e use_iptc (consultate le pagine sui metadati nel WIKI).', ); -$lang['Adv_case'][32] = array( /* use_exif */ - 'I documentaristi e fotografi professionnali lo regolerebbero a "true", ma i principianti dovrebbero lasciare il valore di default.', - 'Take care of mentionned fields in metadata synchronization.', - 'I campi menzionati potrebbero essere sovrascritti con i valori dei campi EXIF anche se non sono vuoti', - 'Non confondere show_exif e use_exif (consultate le pagine sui metadati nel WIKI).', ); -$lang['Adv_case'][33] = array( /* **navigation */ - 'Potrete usare le frecce della tastiera per navigare tra le foto.', ); -$lang['Adv_case'][34] = array( /* compiled_template_cache_language */ - 'Doverbbe essere a "true", la traduzione sarà eseguta al momento della compilazione.', - 'Se modificate i files lingua (traduzioni), dovreste impostare il parametro a "false".', - 'Impostato a "false", i "@translate" dei templates saranno trattati ad ogni uso.' ); -$lang['Adv_case'][35] = array( /* template_compile_check */ - 'Di default a "true", ogni modifica sui templates è rilevata e il template modificato è compilato.', - 'Se non modificate i vostri templates per qualche giorno, ', - 'dovreste penasre ad impostarlo a "false".', - 'Scelgliendo "false", le modifiche dei templates non saranno più rilevate, ciò amegliora i tempi di risposta.', - 'Comunque Speciale > Manutezione > Spurgare i templates compilati, è consigliato dopo una modifica di $conf.' ); -?> \ No newline at end of file diff --git a/plugins/admin_advices/language/pl_PL/description.txt b/plugins/admin_advices/language/pl_PL/description.txt deleted file mode 100644 index 1b7933242..000000000 --- a/plugins/admin_advices/language/pl_PL/description.txt +++ /dev/null @@ -1 +0,0 @@ -Wyświetla poradę (w języku angielskim) na stronie administracyjnej. \ No newline at end of file diff --git a/plugins/admin_advices/language/pl_PL/index.php b/plugins/admin_advices/language/pl_PL/index.php deleted file mode 100644 index 17747c927..000000000 --- a/plugins/admin_advices/language/pl_PL/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/admin_advices/main.inc.php b/plugins/admin_advices/main.inc.php deleted file mode 100644 index faa8a91b0..000000000 --- a/plugins/admin_advices/main.inc.php +++ /dev/null @@ -1,36 +0,0 @@ - -- cgit v1.2.3