From d50f960f520ef2177058fbb1394607cfadf2eb63 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Fri, 7 Apr 2006 16:01:20 +0000 Subject: [PATCH] Pimping lesson #2: Media comments --- deployment/serendipity_editor.js | 30 ++- docs/NEWS | 8 + include/admin/images.inc.php | 63 +++++- include/functions_images.inc.php | 203 +++++++++++++++++- include/functions_installer.inc.php | 4 + include/tpl/config_local.inc.php | 21 ++ include/tpl/config_personal.inc.php | 10 +- lang/UTF-8/serendipity_lang_bg.inc.php | 18 ++ lang/UTF-8/serendipity_lang_cn.inc.php | 20 +- lang/UTF-8/serendipity_lang_cs.inc.php | 20 +- lang/UTF-8/serendipity_lang_cz.inc.php | 20 +- lang/UTF-8/serendipity_lang_da.inc.php | 20 +- lang/UTF-8/serendipity_lang_de.inc.php | 20 +- lang/UTF-8/serendipity_lang_en.inc.php | 20 +- lang/UTF-8/serendipity_lang_es.inc.php | 20 +- lang/UTF-8/serendipity_lang_fa.inc.php | 20 +- lang/UTF-8/serendipity_lang_fi.inc.php | 20 +- lang/UTF-8/serendipity_lang_fr.inc.php | 20 +- lang/UTF-8/serendipity_lang_hu.inc.php | 18 ++ lang/UTF-8/serendipity_lang_is.inc.php | 20 +- lang/UTF-8/serendipity_lang_it.inc.php | 18 ++ lang/UTF-8/serendipity_lang_ja.inc.php | 20 +- lang/UTF-8/serendipity_lang_ko.inc.php | 20 +- lang/UTF-8/serendipity_lang_nl.inc.php | 20 +- lang/UTF-8/serendipity_lang_no.inc.php | 20 +- lang/UTF-8/serendipity_lang_pt.inc.php | 20 +- lang/UTF-8/serendipity_lang_pt_PT.inc.php | 18 ++ lang/UTF-8/serendipity_lang_ro.inc.php | 18 ++ lang/UTF-8/serendipity_lang_ru.inc.php | 20 +- lang/UTF-8/serendipity_lang_se.inc.php | 18 ++ lang/UTF-8/serendipity_lang_ta.inc.php | 18 ++ lang/UTF-8/serendipity_lang_tn.inc.php | 20 +- lang/UTF-8/serendipity_lang_tr.inc.php | 18 ++ lang/UTF-8/serendipity_lang_tw.inc.php | 20 +- lang/UTF-8/serendipity_lang_zh.inc.php | 20 +- lang/addlang.txt | 2 +- lang/plugin_lang.php | 18 ++ lang/serendipity_lang_bg.inc.php | 18 ++ lang/serendipity_lang_cn.inc.php | 18 ++ lang/serendipity_lang_cs.inc.php | 18 ++ lang/serendipity_lang_cz.inc.php | 18 ++ lang/serendipity_lang_da.inc.php | 18 ++ lang/serendipity_lang_de.inc.php | 18 ++ lang/serendipity_lang_en.inc.php | 18 ++ lang/serendipity_lang_es.inc.php | 18 ++ lang/serendipity_lang_fa.inc.php | 18 ++ lang/serendipity_lang_fi.inc.php | 18 ++ lang/serendipity_lang_fr.inc.php | 18 ++ lang/serendipity_lang_hu.inc.php | 18 ++ lang/serendipity_lang_is.inc.php | 18 ++ lang/serendipity_lang_it.inc.php | 18 ++ lang/serendipity_lang_ja.inc.php | 18 ++ lang/serendipity_lang_ko.inc.php | 18 ++ lang/serendipity_lang_nl.inc.php | 18 ++ lang/serendipity_lang_no.inc.php | 18 ++ lang/serendipity_lang_pt.inc.php | 18 ++ lang/serendipity_lang_pt_PT.inc.php | 18 ++ lang/serendipity_lang_ro.inc.php | 18 ++ lang/serendipity_lang_ru.inc.php | 18 ++ lang/serendipity_lang_se.inc.php | 18 ++ lang/serendipity_lang_ta.inc.php | 18 ++ lang/serendipity_lang_tn.inc.php | 18 ++ lang/serendipity_lang_tr.inc.php | 18 ++ lang/serendipity_lang_tw.inc.php | 18 ++ lang/serendipity_lang_zh.inc.php | 18 ++ serendipity_admin_image_selector.php | 84 +++++--- serendipity_config.inc.php | 6 +- serendipity_editor.js | 30 ++- sql/db.sql | 11 + sql/db_update_1.1-alpha2_1.1-alpha3_mysql.sql | 10 + 70 files changed, 1477 insertions(+), 71 deletions(-) create mode 100644 sql/db_update_1.1-alpha2_1.1-alpha3_mysql.sql diff --git a/deployment/serendipity_editor.js b/deployment/serendipity_editor.js index fa927da..67d50c6 100644 --- a/deployment/serendipity_editor.js +++ b/deployment/serendipity_editor.js @@ -183,7 +183,7 @@ function serendipity_imageSelector_done(textarea) var src = ''; var f = document.forms['serendipity[selForm]'].elements; - if (f['serendipity[linkThumbnail]'][0].checked == true) { + if (f['serendipity[linkThumbnail]'] && f['serendipity[linkThumbnail]'][0].checked == true) { img = f['thumbName'].value; imgWidth = f['imgThumbWidth'].value; imgHeight = f['imgThumbHeight'].value; @@ -193,10 +193,30 @@ function serendipity_imageSelector_done(textarea) imgHeight = f['imgHeight'].value; } - if (f['serendipity[filename_only]'] && f['serendipity[filename_only]'].value == 'true') { - parent.self.opener.serendipity_imageSelector_addToElement(img, f['serendipity[htmltarget]'].value); - parent.self.close(); - return true; + if (f['serendipity[filename_only]']) { + if (f['serendipity[htmltarget]']) { + starget = f['serendipity[htmltarget]'].value; + } else { + starget = 'serendipity[' + textarea + ']'; + } + + if (f['serendipity[filename_only]'].value == 'true') { + parent.self.opener.serendipity_imageSelector_addToElement(img, f['serendipity[htmltarget]'].value); + parent.self.close(); + return true; + } else if (f['serendipity[filename_only]'].value == 'id') { + parent.self.opener.serendipity_imageSelector_addToElement(f['imgID'].value, starget); + parent.self.close(); + return true; + } else if (f['serendipity[filename_only]'].value == 'thumb') { + parent.self.opener.serendipity_imageSelector_addToElement(f['thumbName'].value, starget); + parent.self.close(); + return true; + } else if (f['serendipity[filename_only]'].value == 'big') { + parent.self.opener.serendipity_imageSelector_addToElement(f['imgName'].value, starget); + parent.self.close(); + return true; + } } if (document.getElementById('serendipity_imagecomment').value != '') { diff --git a/docs/NEWS b/docs/NEWS index cb9add9..5ff9051 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,14 @@ Version 1.1-alpha1() ------------------------------------------------------------------------ + * Make media manager able to store media properties (garvinhicking) + TODO: + - Show more existing properties in edit interface [see TODO in file] + - Read/Parse EXIF metadata + - Search/Filter for specific properties/keywords + - Move images/directories + - Create Smarty functions to access media properties by ID/filename + * Added directory tree view widget (JS) to the Media Selector (garvinhicking) diff --git a/include/admin/images.inc.php b/include/admin/images.inc.php index 28c3287..2774939 100644 --- a/include/admin/images.inc.php +++ b/include/admin/images.inc.php @@ -125,19 +125,39 @@ switch ($serendipity['GET']['adminAction']) { // if we successfully rename ?> $serendipity['GET']['fid'])); + serendipity_showPropertyForm($new_media); + break; + case 'add': if (!serendipity_checkFormToken() || !serendipity_checkPermission('adminImagesAdd')) { return; } + if ($serendipity['POST']['adminSubAction'] == 'properties') { + $properties = serendipity_parsePropertyForm(); + $image_id = $properties['image_id']; + $created_thumbnail = true; +?> + + +


@@ -145,6 +165,7 @@ switch ($serendipity['GET']['adminAction']) { $authorid = (isset($serendipity['POST']['all_authors']) && $serendipity['POST']['all_authors'] == 'true') ? '0' : $serendipity['authorid']; + $new_media = array(); // First find out whether to fetch a file or accept an upload if ($serendipity['POST']['imageurl'] != '' && $serendipity['POST']['imageurl'] != 'http://') { if (!empty($serendipity['POST']['target_filename'][2])) { @@ -218,6 +239,11 @@ switch ($serendipity['GET']['adminAction']) { // Insert into database $image_id = serendipity_insertImageInDatabase($tfile, $serendipity['POST']['target_directory'][$tindex], $authorid); serendipity_plugin_api::hook_event('backend_image_add', $target); + $new_media[] = array( + 'image_id' => $image_id, + 'target' => $target, + 'created_thumbnail' => $created_thumbnail + ); } } serendipity_request_end(); @@ -276,12 +302,19 @@ switch ($serendipity['GET']['adminAction']) { // Insert into database $image_id = serendipity_insertImageInDatabase($tfile, $serendipity['POST']['target_directory'][$idx], $authorid); serendipity_plugin_api::hook_event('backend_image_add', $target); + $new_media[] = array( + 'image_id' => $image_id, + 'target' => $target, + 'created_thumbnail' => $created_thumbnail + ); } else { echo ERROR_UNKNOWN_NOUPLOAD . '
'; } } } } + + serendipity_showPropertyForm($new_media); break; @@ -783,7 +816,11 @@ switch ($serendipity['GET']['adminAction']) { - + +
+ + - - +
@@ -797,12 +834,16 @@ switch ($serendipity['GET']['adminAction']) { return; } + if (empty($serendipity['adminFile_redirect'])) { + $serendipity['adminFile_redirect'] = htmlspecialchars($_SERVER['HTTP_REFERER']); + } + if (serendipity_rotateImg($serendipity['GET']['fid'], -90)) { ?> - + - + - + " alt="" src="" border="0" onclick="F1 = window.open('','Zoom','height=,width=,top='+ (screen.height-)/2 +',left='+ (screen.width-)/2 +',toolbar=no,menubar=no,location=no,resize=1,resizable=1');" />
<?php echo MEDIA_RENAME; ?>
<?php echo IMAGE_RESIZE; ?>
- <?php echo IMAGE_ROTATE_LEFT; ?>
-
<?php echo IMAGE_ROTATE_RIGHT; ?>
-
<?php echo MEDIA_DELETE; ?>
+
<?php echo IMAGE_ROTATE_LEFT; ?>
+ <?php echo IMAGE_ROTATE_RIGHT; ?>
+ <?php echo MEDIA_PROP; ?>
+ <?php echo MEDIA_DELETE; ?>
- - + +
+
+ @@ -2001,3 +2006,191 @@ function serendipity_getImageData($sRelativePath) { return $array; } +/** + * Shows the HTML form to add/edit properties of uploaded media items + * + * @param array Associative array holding an array('image_id', 'target', 'created_thumbnail') that points to the uploaded media + * @param int How many keyword checkboxes to display next to each other? + * @param boolean Can existing data be modified? + * @return boolean + * + */ +function serendipity_showPropertyForm(&$new_media, $keywordsPerBlock = 3, $manage = true) { + global $serendipity; + + if (!is_array($new_media) || count($new_media) < 1) { + return true; + } + + $dprops = explode(';', $serendipity['mediaProperties']); + $keywords = explode(';', $serendipity['mediaKeywords']); + + if ($manage) { +?> +
+
+ + + + + + $imgsel_val) { + echo ' ' . "\n"; + } + } + } + + foreach($new_media AS $idx => $media) { + $props =& serendipity_fetchMediaProperties($media['image_id']); + echo '' . "\n"; + + echo '

' . MEDIA_PROP . '

'; + foreach($dprops AS $prop) { + $type = 'input'; + $parts = explode(':', trim($prop)); + + if ($parts[1] == 'MULTI') { + $type = 'textarea'; + } + if (!$manage) { + $type = 'readonly'; + } + $val =& $props['base_property'][$parts[0]]; + + echo '
'; + + switch($type) { + case 'textarea': + echo '' . "\n"; + break; + + case 'readonly': + echo '
' . htmlspecialchars($val) . '
'; + break; + + case 'input': + default: + echo '' . "\n"; + break; + } + echo '
'; + } + + echo '

' . MEDIA_KEYWORDS . '

'; + echo '
'; + $rows = ceil(count($keywords) / $keywordsPerBlock); + for($i = 0; $i < $rows; $i++) { + echo ''; + for ($j = 0; $j < $keywordsPerBlock; $j++) { + $kidx = ($i*$keywordsPerBlock) + $j; + echo ''; + } + echo ''; + } + echo '' . "\n"; + } + echo '
'; + if (isset($keywords[$kidx])) { + $kw = htmlspecialchars($keywords[$kidx]); + if (isset($props['base_keyword'][$keywords[$kidx]])) { + $selected = 'checked="checked"'; + } else { + $selected = ''; + } + echo ' 
' . "\n"; + + // TODO: EXIF! + // TODO: Upload date, Dimensions, Filename, Autor, Mime, ... + } +?> +
+
+
+ $media) { + serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}mediaproperties + WHERE mediaid = " . (int)$media['image_id'] . " + AND property_subgroup = '' + AND (property_group = 'base_property' + OR property_group = 'base_keyword')"); + foreach($media AS $key => $val) { + if ($key == 'image_id') continue; + $q = sprintf("INSERT INTO {$serendipity['dbPrefix']}mediaproperties + (mediaid, property_group, property_subgroup, property, value) + VALUES (%d, 'base_property', '', '%s', '%s')", + $media['image_id'], + serendipity_db_escape_string($key), + serendipity_db_escape_string($val)); + serendipity_db_query($q); + } + } + + foreach($serendipity['POST']['mediaKeywords'] AS $id => $keywords) { + foreach($keywords AS $keyword => $checked) { + $q = sprintf("INSERT INTO {$serendipity['dbPrefix']}mediaproperties + (mediaid, property_group, property_subgroup, property, value) + VALUES (%d, 'base_keyword', '', '%s', '1')", + $serendipity['POST']['mediaProperties'][$id]['image_id'], + serendipity_db_escape_string($keyword)); + serendipity_db_query($q); + } + } + + $array = array( + 'image_id' => $serendipity['POST']['mediaProperties'][0]['image_id'], + ); + + + return $array; +} + +/** + * Fetches existing Media Properties for images + * + * @param int The media item id + * @return array Array of image metadata + * + */ +function &serendipity_fetchMediaProperties($id) { + global $serendipity; + + $sql = "SELECT property, property_group, property_subgroup, value + FROM {$serendipity['dbPrefix']}mediaproperties + WHERE mediaid = " . (int)$id; + $rows = serendipity_db_query($sql, false, 'assoc'); + $props = array(); + if (is_array($rows)) { + foreach($rows AS $row) { + if (empty($row['property_subgroup'])) { + $props[$row['property_group']][$row['property']] = $row['value']; + } + } + } + return $props; +} \ No newline at end of file diff --git a/include/functions_installer.inc.php b/include/functions_installer.inc.php index cc91f4b..7b32f88 100644 --- a/include/functions_installer.inc.php +++ b/include/functions_installer.inc.php @@ -422,6 +422,10 @@ function serendipity_guessInput($type, $name, $value='', $default='') { echo ''; break; + case 'textarea': + echo ''; + break; + default: echo ''; break; diff --git a/include/tpl/config_local.inc.php b/include/tpl/config_local.inc.php index ecb41c7..8fe122a 100644 --- a/include/tpl/config_local.inc.php +++ b/include/tpl/config_local.inc.php @@ -506,6 +506,27 @@ 'type' => 'bool', 'permission' => 'siteConfiguration', 'default' => true), + + array('var' => 'mediaExif', + 'title' => MEDIA_EXIF, + 'description' => MEDIA_EXIF_DESC, + 'type' => 'bool', + 'permission' => 'siteConfiguration', + 'default' => true), + + array('var' => 'mediaProperties', + 'title' => MEDIA_PROP, + 'description' => MEDIA_PROP_DESC . MEDIA_PROP_MULTI_DESC, + 'type' => 'string', + 'permission' => 'blogConfiguration', + 'default' => 'DPI;COPYRIGHT;TITLE;COMMENT1:MULTI;COMMENT2:MULTI'), + + array('var' => 'mediaKeywords', + 'title' => MEDIA_KEYWORDS, + 'description' => MEDIA_KEYWORDS_DESC, + 'type' => 'textarea', + 'permission' => 'blogConfiguration', + 'default' => ''), )); return $res; diff --git a/include/tpl/config_personal.inc.php b/include/tpl/config_personal.inc.php index c63b599..5e24451 100644 --- a/include/tpl/config_personal.inc.php +++ b/include/tpl/config_personal.inc.php @@ -48,7 +48,7 @@ 'description' => USERCONF_GROUPS_DESC, 'type' => 'multilist', 'permission' => array('adminUsersMaintainOthers', 'adminUsersMaintainSame'), - 'perm_mode' => 'or', + 'perm_mode' => 'or', 'default' => serendipity_getAllGroups(), 'flags' => array('groups')), @@ -132,6 +132,14 @@ 'default' => array('publish' => PUBLISH, 'draft' => DRAFT), 'permission' => 'personalConfiguration', 'flags' => array('config')), + + array('var' => 'showMediaToolbar', + 'title' => SHOW_MEDIA_TOOLBAR, + 'description' => '', + 'type' => 'bool', + 'default' => false, + 'permission' => 'personalConfiguration', + 'flags' => array('config')), )); return $res; diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index 7eecad4..abac556 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -809,3 +809,21 @@ @define('CURRENT_AUTHOR', 'Текущ автор'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index 638e5f5..f4d95bd 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -1,4 +1,4 @@ - @@ -823,3 +823,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 9474f13..178252b 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -1,4 +1,4 @@ - @@ -823,3 +823,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index e41a7d8..654a956 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -1,4 +1,4 @@ - @@ -822,3 +822,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index dffd596..a4769a3 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -1,4 +1,4 @@ -, @@ -838,3 +838,21 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 8aec5e8..9dec6fd 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -1,4 +1,4 @@ - @@ -822,3 +822,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index 14831b8..a8b70f8 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -1,4 +1,4 @@ - @@ -820,3 +820,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index bafd6cf..133404d 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -1,4 +1,4 @@ - @@ -827,3 +827,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index 0eab42f..5078c62 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -821,3 +821,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index 91bb635..35fa184 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -1,4 +1,4 @@ - @@ -821,3 +821,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index 5be3561..b7897a8 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -824,3 +824,21 @@ @define('COMMENT_IS_DELETED', '(Comment removed)'); @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 95dac0c..b027959 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -1,4 +1,4 @@ -, 2004-2005. @@ -824,3 +824,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index 33bed24..8983481 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -1,4 +1,4 @@ - @@ -823,3 +823,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index b76b0fe..12affe9 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -823,3 +823,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 911b46d..efe91f5 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -823,3 +823,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 3be61bb..564ed26 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -1,4 +1,4 @@ - @@ -825,3 +825,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 8910e71..2b5a924 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -828,3 +828,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index 34c40ab..3828d08 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -821,3 +821,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index 45fd207..ddcc63e 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ - @@ -824,3 +824,21 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_se.inc.php b/lang/UTF-8/serendipity_lang_se.inc.php index a927b5b..4b114dd 100644 --- a/lang/UTF-8/serendipity_lang_se.inc.php +++ b/lang/UTF-8/serendipity_lang_se.inc.php @@ -820,3 +820,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_ta.inc.php b/lang/UTF-8/serendipity_lang_ta.inc.php index 0052103..eb40765 100644 --- a/lang/UTF-8/serendipity_lang_ta.inc.php +++ b/lang/UTF-8/serendipity_lang_ta.inc.php @@ -820,3 +820,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_tn.inc.php b/lang/UTF-8/serendipity_lang_tn.inc.php index 672ab3d..85c3875 100644 --- a/lang/UTF-8/serendipity_lang_tn.inc.php +++ b/lang/UTF-8/serendipity_lang_tn.inc.php @@ -1,4 +1,4 @@ - @@ -823,3 +823,21 @@ $i18n_unknown = 'tw'; @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_tr.inc.php b/lang/UTF-8/serendipity_lang_tr.inc.php index 1e82312..8e0ab03 100644 --- a/lang/UTF-8/serendipity_lang_tr.inc.php +++ b/lang/UTF-8/serendipity_lang_tr.inc.php @@ -824,3 +824,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 3228946..6eba486 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -823,3 +823,21 @@ $i18n_unknown = 'tw'; @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index 1e42413..169d2e9 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -1,4 +1,4 @@ - $constants) { @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index 95c363a..552c6cc 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -809,3 +809,21 @@ @define('CURRENT_AUTHOR', 'Òåêóù àâòîð'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index 66e7000..a2632fb 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -821,3 +821,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index 2e6087f..f707602 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -823,3 +823,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index 104f080..8c99ad7 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -823,3 +823,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index 86582b8..ad1d497 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -822,3 +822,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index 84fb449..6b9db38 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -821,3 +821,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index 9b9beeb..1fe67e6 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -820,3 +820,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index 74f3c37..92f3276 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -838,3 +838,21 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index e91155d..0c64482 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -822,3 +822,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index c134725..2b73176 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -820,3 +820,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index a37f003..c725ad7 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -827,3 +827,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index 298dcbf..0992966 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -821,3 +821,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index 6dc5bc0..1a8407b 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -821,3 +821,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index b1dfcbd..24f0fba 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -824,3 +824,21 @@ @define('COMMENT_IS_DELETED', '(Comment removed)'); @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index 8bbec37..ded04d1 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -824,3 +824,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index 9f6e301..7a40c45 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -823,3 +823,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index c7b1885..1a5c31f 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -823,3 +823,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index 99902a7..8540a13 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -823,3 +823,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index 8478de6..c14001a 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -825,3 +825,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index be45707..d9232ec 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -828,3 +828,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index 34c40ab..3828d08 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -821,3 +821,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index 2aad120..17c89fa 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -824,3 +824,21 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index 063b9c3..3060cde 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -820,3 +820,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_ta.inc.php b/lang/serendipity_lang_ta.inc.php index 0052103..eb40765 100644 --- a/lang/serendipity_lang_ta.inc.php +++ b/lang/serendipity_lang_ta.inc.php @@ -820,3 +820,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index 93e3805..51a1135 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -823,3 +823,21 @@ $i18n_unknown = 'tw'; @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_tr.inc.php b/lang/serendipity_lang_tr.inc.php index 1e82312..8e0ab03 100644 --- a/lang/serendipity_lang_tr.inc.php +++ b/lang/serendipity_lang_tr.inc.php @@ -824,3 +824,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index f3ba287..a1f6f79 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -823,3 +823,21 @@ $i18n_unknown = 'tw'; @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index cca9c5b..de184a4 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -821,3 +821,21 @@ @define('CURRENT_AUTHOR', 'Current author'); +@define('WORD_NEW', 'New'); +@define('SHOW_MEDIA_TOOLBAR', 'Show toolbar within media selector popup?'); +@define('MEDIA_KEYWORDS', 'Media keywords'); +@define('MEDIA_KEYWORDS_DESC', 'Enter a list of ";" separated words that you want to use as pre-defined keywords for media items.'); +@define('MEDIA_EXIF', 'Import EXIF/JPEG image data'); +@define('MEDIA_EXIF_DESC', 'If enabled, existing EXIF/JPEG metadata of images will be parsed and stored in the database for display in the media gallery.'); +@define('MEDIA_PROP', 'Media properties'); + + +@define('GO_ADD_PROPERTIES', 'Go & enter properties'); +@define('MEDIA_PROPERTY_DPI', 'DPI'); +@define('MEDIA_PROPERTY_COPYRIGHT', 'Copyright'); +@define('MEDIA_PROPERTY_COMMENT1', 'Short Comment'); +@define('MEDIA_PROPERTY_COMMENT2', 'Long Comment'); +@define('MEDIA_PROPERTY_TITLE', 'Title'); +@define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file'); +@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)'); + diff --git a/serendipity_admin_image_selector.php b/serendipity_admin_image_selector.php index 53676b8..1b16cd1 100644 --- a/serendipity_admin_image_selector.php +++ b/serendipity_admin_image_selector.php @@ -22,6 +22,10 @@ if (!isset($serendipity['GET']['step'])) { $serendipity['GET']['step'] = (isset($serendipity['POST']['step']) ? $serendipity['POST']['step'] : ''); } +if (empty($serendipity['GET']['step']) && isset($serendipity['GET']['adminAction'])) { + $serendipity['GET']['step'] = $serendipity['GET']['adminAction']; +} + function ifRemember($name, $value, $isDefault = false, $att = 'checked') { global $serendipity; @@ -122,33 +126,34 @@ if (!empty($serendipity['GET']['only_path'])) { switch ($serendipity['GET']['step']) { case '1': if (isset($serendipity['GET']['adminAction'])) { // Embedded upload form + if (!empty($serendipity['POST']['textarea'])) { + $serendipity['GET']['textarea'] = $serendipity['POST']['textarea']; + } + + if (!empty($serendipity['POST']['htmltarget'])) { + $serendipity['GET']['htmltarget'] = $serendipity['POST']['htmltarget']; + } + + if (!empty($serendipity['POST']['filename_only'])) { + $serendipity['GET']['filename_only'] = $serendipity['POST']['filename_only']; + } + + $image_selector_addvars = array( + 'step' => 1, + 'textarea' => (!empty($serendipity['GET']['textarea']) ? $serendipity['GET']['textarea'] : ''), + 'htmltarget' => (!empty($serendipity['GET']['htmltarget']) ? $serendipity['GET']['htmltarget'] : ''), + 'filename_only' => (!empty($serendipity['GET']['filename_only']) ? $serendipity['GET']['filename_only'] : '') + ); + switch ($serendipity['GET']['adminAction']) { case 'addSelect': - $image_selector_addvars = array( - 'step' => 1, - 'textarea' => (!empty($serendipity['GET']['textarea']) ? $serendipity['GET']['textarea'] : ''), - 'htmltarget' => (!empty($serendipity['GET']['htmltarget']) ? $serendipity['GET']['htmltarget'] : ''), - 'filename_only' => (!empty($serendipity['GET']['filename_only']) ? $serendipity['GET']['filename_only'] : '') - ); include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php'; break 2; case 'add': include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php'; - if (isset($created_thumbnail) && is_array($created_thumbnail)) { + if (isset($created_thumbnail) && isset($image_id)) { $serendipity['GET']['image'] = (int)$image_id; // $image_id is passed from images.inc.php - - if (!empty($serendipity['POST']['htmltarget'])) { - $serendipity['GET']['htmltarget'] = $serendipity['POST']['htmltarget']; - } - - if (!empty($serendipity['POST']['filename_only'])) { - $serendipity['GET']['filename_only'] = $serendipity['POST']['filename_only']; - } - - if (!empty($serendipity['POST']['textarea'])) { - $serendipity['GET']['textarea'] = $serendipity['POST']['textarea']; - } break; } else { break 2; @@ -224,6 +229,16 @@ switch ($serendipity['GET']['step']) { + + + :
/>
@@ -231,7 +246,7 @@ switch ($serendipity['GET']['step']) {
- + :
value="" />
@@ -267,6 +282,9 @@ switch ($serendipity['GET']['step']) { +

@@ -369,7 +387,7 @@ if (parent.frames['tree']) {
@@ -413,16 +431,34 @@ if (parent.frames['tree']) { case 'default': default: + if (!empty($serendipity['GET']['adminAction']) && $serendipity['GET']['adminModule'] == 'images' && $serendipity['GET']['adminAction'] != 'default') { + // Might need to set $serendipity['adminFile_redirect'] here. + $serendipity['adminFile'] = 'serendipity_admin_image_selector.php'; + include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php'; + break; + } + $add_url = ''; if (!empty($serendipity['GET']['htmltarget'])) { - $add_url .= '&serendipity[htmltarget]=' . $serendipity['GET']['htmltarget']; + $add_url .= '&serendipity[htmltarget]=' . htmlspecialchars($serendipity['GET']['htmltarget']); } if (!empty($serendipity['GET']['filename_only'])) { - $add_url .= '&serendipity[filename_only]=' . $serendipity['GET']['filename_only']; + $add_url .= '&serendipity[filename_only]=' . htmlspecialchars($serendipity['GET']['filename_only']); } ?> + +


@@ -435,7 +471,7 @@ if (parent.frames['tree']) { serendipity_displayImageList( isset($serendipity['GET']['page']) ? $serendipity['GET']['page'] : 1, $serendipity['thumbPerPage2'], - false, + ($serendipity['showMediaToolbar'] ? true : false), '?serendipity[step]=1' . $add_url . '&serendipity[textarea]='. $serendipity['GET']['textarea'], true ); diff --git a/serendipity_config.inc.php b/serendipity_config.inc.php index 1ad5354..2578e1b 100644 --- a/serendipity_config.inc.php +++ b/serendipity_config.inc.php @@ -27,7 +27,7 @@ if (IS_installed === true && !defined('IN_serendipity')) { include(S9Y_INCLUDE_PATH . 'include/compat.inc.php'); // The version string -$serendipity['version'] = '1.1-alpha2'; +$serendipity['version'] = '1.1-alpha3'; // Name of folder for the default theme $serendipity['defaultTemplate'] = 'carl_contest'; @@ -78,6 +78,10 @@ if (!isset($serendipity['use_PEAR'])) { $serendipity['use_PEAR'] = false; } +if (!isset($serendipity['mediaProperties'])) { + $serendipity['mediaProperties'] = 'DPI;COPYRIGHT;TITLE;COMMENT1:MULTI;COMMENT2:MULTI'; +} + // Should IFRAMEs be used for previewing entries and sending trackbacks? $serendipity['use_iframe'] = true; diff --git a/serendipity_editor.js b/serendipity_editor.js index fa927da..67d50c6 100644 --- a/serendipity_editor.js +++ b/serendipity_editor.js @@ -183,7 +183,7 @@ function serendipity_imageSelector_done(textarea) var src = ''; var f = document.forms['serendipity[selForm]'].elements; - if (f['serendipity[linkThumbnail]'][0].checked == true) { + if (f['serendipity[linkThumbnail]'] && f['serendipity[linkThumbnail]'][0].checked == true) { img = f['thumbName'].value; imgWidth = f['imgThumbWidth'].value; imgHeight = f['imgThumbHeight'].value; @@ -193,10 +193,30 @@ function serendipity_imageSelector_done(textarea) imgHeight = f['imgHeight'].value; } - if (f['serendipity[filename_only]'] && f['serendipity[filename_only]'].value == 'true') { - parent.self.opener.serendipity_imageSelector_addToElement(img, f['serendipity[htmltarget]'].value); - parent.self.close(); - return true; + if (f['serendipity[filename_only]']) { + if (f['serendipity[htmltarget]']) { + starget = f['serendipity[htmltarget]'].value; + } else { + starget = 'serendipity[' + textarea + ']'; + } + + if (f['serendipity[filename_only]'].value == 'true') { + parent.self.opener.serendipity_imageSelector_addToElement(img, f['serendipity[htmltarget]'].value); + parent.self.close(); + return true; + } else if (f['serendipity[filename_only]'].value == 'id') { + parent.self.opener.serendipity_imageSelector_addToElement(f['imgID'].value, starget); + parent.self.close(); + return true; + } else if (f['serendipity[filename_only]'].value == 'thumb') { + parent.self.opener.serendipity_imageSelector_addToElement(f['thumbName'].value, starget); + parent.self.close(); + return true; + } else if (f['serendipity[filename_only]'].value == 'big') { + parent.self.opener.serendipity_imageSelector_addToElement(f['imgName'].value, starget); + parent.self.close(); + return true; + } } if (document.getElementById('serendipity_imagecomment').value != '') { diff --git a/sql/db.sql b/sql/db.sql index a934044..5089808 100644 --- a/sql/db.sql +++ b/sql/db.sql @@ -248,6 +248,17 @@ create table {PREFIX}entryproperties ( CREATE INDEX entrypropid_idx ON {PREFIX}entryproperties (entryid); CREATE UNIQUE INDEX prop_idx ON {PREFIX}entryproperties (entryid, property); +create table {PREFIX}mediaproperties ( + mediaid int(11) not null, + property varchar(128) not null, + property_group varchar(50) not null default '', + property_subgroup varchar(50) not null default '', + value text +) {UTF_8}; + +CREATE INDEX mediapropid_idx ON {PREFIX}mediaproperties (mediaid); +CREATE UNIQUE INDEX media_idx ON {PREFIX}mediaproperties (mediaid, property, property_group, property_subgroup); + CREATE TABLE {PREFIX}permalinks ( permalink varchar(255) not null default '', entry_id int(10) {UNSIGNED} not null default '0', diff --git a/sql/db_update_1.1-alpha2_1.1-alpha3_mysql.sql b/sql/db_update_1.1-alpha2_1.1-alpha3_mysql.sql new file mode 100644 index 0000000..ad9fb32 --- /dev/null +++ b/sql/db_update_1.1-alpha2_1.1-alpha3_mysql.sql @@ -0,0 +1,10 @@ +create table {PREFIX}mediaproperties ( + mediaid int(11) not null, + property varchar(128) not null, + property_group varchar(50) not null default '', + property_subgroup varchar(50) not null default '', + value text +) {UTF_8}; + +CREATE INDEX mediapropid_idx ON {PREFIX}mediaproperties (mediaid); +CREATE UNIQUE INDEX media_idx ON {PREFIX}mediaproperties (mediaid, property, property_group, property_subgroup); -- 2.39.5