From baa78326d68ec26bcce073f6a907579da01fa2f5 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Tue, 14 Jul 2009 09:40:11 +0000 Subject: [PATCH] Also 'title' attribute is nice. --- deployment/serendipity_editor.js | 15 +++++++++------ docs/NEWS | 4 ++-- lang/UTF-8/plugin_lang.php | 2 ++ lang/UTF-8/serendipity_lang_bg.inc.php | 4 +++- lang/UTF-8/serendipity_lang_cn.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_cs.inc.php | 4 +++- lang/UTF-8/serendipity_lang_cz.inc.php | 4 +++- lang/UTF-8/serendipity_lang_da.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_de.inc.php | 5 +++-- lang/UTF-8/serendipity_lang_en.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_es.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_fa.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_fi.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_fr.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_hu.inc.php | 4 +++- lang/UTF-8/serendipity_lang_is.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_it.inc.php | 4 +++- lang/UTF-8/serendipity_lang_ja.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_ko.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_nl.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_no.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_pl.inc.php | 4 +++- lang/UTF-8/serendipity_lang_pt.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_pt_PT.inc.php | 4 +++- lang/UTF-8/serendipity_lang_ro.inc.php | 4 +++- lang/UTF-8/serendipity_lang_ru.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_sa.inc.php | 4 +++- lang/UTF-8/serendipity_lang_se.inc.php | 4 +++- lang/UTF-8/serendipity_lang_ta.inc.php | 4 +++- lang/UTF-8/serendipity_lang_tn.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_tr.inc.php | 4 +++- lang/UTF-8/serendipity_lang_tw.inc.php | 6 ++++-- lang/UTF-8/serendipity_lang_zh.inc.php | 6 ++++-- lang/addlang.txt | 3 +-- lang/plugin_lang.php | 2 ++ lang/serendipity_lang_bg.inc.php | 4 +++- lang/serendipity_lang_cn.inc.php | 4 +++- lang/serendipity_lang_cs.inc.php | 4 +++- lang/serendipity_lang_cz.inc.php | 4 +++- lang/serendipity_lang_da.inc.php | 4 +++- lang/serendipity_lang_de.inc.php | 3 ++- lang/serendipity_lang_en.inc.php | 4 +++- lang/serendipity_lang_es.inc.php | 4 +++- lang/serendipity_lang_fa.inc.php | 4 +++- lang/serendipity_lang_fi.inc.php | 4 +++- lang/serendipity_lang_fr.inc.php | 4 +++- lang/serendipity_lang_hu.inc.php | 4 +++- lang/serendipity_lang_is.inc.php | 4 +++- lang/serendipity_lang_it.inc.php | 4 +++- lang/serendipity_lang_ja.inc.php | 4 +++- lang/serendipity_lang_ko.inc.php | 4 +++- lang/serendipity_lang_nl.inc.php | 4 +++- lang/serendipity_lang_no.inc.php | 4 +++- lang/serendipity_lang_pl.inc.php | 4 +++- lang/serendipity_lang_pt.inc.php | 4 +++- lang/serendipity_lang_pt_PT.inc.php | 4 +++- lang/serendipity_lang_ro.inc.php | 4 +++- lang/serendipity_lang_ru.inc.php | 4 +++- lang/serendipity_lang_sa.inc.php | 4 +++- lang/serendipity_lang_se.inc.php | 4 +++- lang/serendipity_lang_ta.inc.php | 4 +++- lang/serendipity_lang_tn.inc.php | 4 +++- lang/serendipity_lang_tr.inc.php | 4 +++- lang/serendipity_lang_tw.inc.php | 4 +++- lang/serendipity_lang_zh.inc.php | 4 +++- serendipity_editor.js | 15 +++++++++------ templates/default/admin/media_choose.tpl | 6 ++++++ 67 files changed, 227 insertions(+), 94 deletions(-) diff --git a/deployment/serendipity_editor.js b/deployment/serendipity_editor.js index e4a46d29..af096f4c 100644 --- a/deployment/serendipity_editor.js +++ b/deployment/serendipity_editor.js @@ -280,6 +280,8 @@ function serendipity_imageSelector_done(textarea) var img = ''; var src = ''; var alt = ''; + var title = ''; + var f = document.forms['serendipity[selForm]'].elements; if (f['serendipity[linkThumbnail]'] && f['serendipity[linkThumbnail]'][0].checked == true) { @@ -318,8 +320,9 @@ function serendipity_imageSelector_done(textarea) } } - alt = f['serendipity[alt]'].value; - + alt = f['serendipity[alt]'].value.replace(/"/g, """); + title = f['serendipity[title]'].value.replace(/"/g, """); + styled = false; // Templates now do this. imgID = 0; @@ -333,12 +336,12 @@ function serendipity_imageSelector_done(textarea) floating = 'center'; if (f['serendipity[align]'][0].checked == true) { - img = "\"""; + img = "\"""; } else if (f['serendipity[align]'][1].checked == true) { - img = "\"""; + img = "\"""; floating = 'left'; } else if (f['serendipity[align]'][2].checked == true) { - img = "\"""; + img = "\"""; floating = 'right'; } @@ -368,7 +371,7 @@ function serendipity_imageSelector_done(textarea) ilink = baseURL + 'serendipity_admin_image_selector.php?serendipity[step]=showItem&serendipity[image]=' + imgID; } - insert = prepend + "" + img + ""; + insert = prepend + "" + img + ""; } else { insert = img; } diff --git a/docs/NEWS b/docs/NEWS index 89501579..f71eb2b1 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -5,9 +5,9 @@ Version 1.5 () * Removed inline styles of the s9y media insertion, they will now properly utilize CSS classes (defined in the new file - style_fallback.css). Also added support for entering "ALT" + style_fallback.css). Also added support for entering "ALT/TITLE" attributes to an tag, can be used as a media property if - you add "ALT" to the list of "Media properties" in the + you add "ALT" and "TITLE" to the list of "Media properties" in the main configuration. (garvinhicking) * Filter entries only by authors that have written at least diff --git a/lang/UTF-8/plugin_lang.php b/lang/UTF-8/plugin_lang.php index ed4605df..3840a9d4 100644 --- a/lang/UTF-8/plugin_lang.php +++ b/lang/UTF-8/plugin_lang.php @@ -137,3 +137,5 @@ foreach($const['missing'] AS $file => $constants) { @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); @define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); + diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index 687b842d..3411f8db 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -940,5 +940,7 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('COMMENTS_FILTER_NEED_CONFIRM', 'Коментарът очаква одобрение от потребителя'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index f6f809b6..3707825a 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -1,4 +1,4 @@ - @@ -946,5 +946,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 9fc6c4d3..b855cf6e 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -1,4 +1,4 @@ -, @@ -965,5 +965,7 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 9497a55a..b10e1cbc 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -1,4 +1,4 @@ - @@ -949,5 +949,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index 7a3ad49f..a4d46e9f 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -1,4 +1,4 @@ - @@ -947,5 +947,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index beb3ea3b..d641702a 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -1,4 +1,4 @@ - @@ -954,5 +954,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index ffaa65c8..1257e434 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -945,5 +945,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index e3132fb1..56119449 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -1,4 +1,4 @@ - @@ -948,5 +948,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index c1b85072..7185fe1b 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -951,5 +951,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 1abee4e9..a1d00024 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. @@ -951,5 +951,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'ユーザーの確認を保留しています'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index 0e290923..f4440fe8 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -1,4 +1,4 @@ - @@ -950,5 +950,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 080d51c3..50a11ca6 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -949,5 +949,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 3570cba9..bf46244e 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -950,5 +950,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_pl.inc.php b/lang/UTF-8/serendipity_lang_pl.inc.php index a0e146a4..bb2c1a16 100644 --- a/lang/UTF-8/serendipity_lang_pl.inc.php +++ b/lang/UTF-8/serendipity_lang_pl.inc.php @@ -946,5 +946,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 552fbb94..fd1a8966 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -1,4 +1,4 @@ - @@ -952,5 +952,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 578e41b6..1a36f861 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -959,5 +959,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index 4c448d12..5bf867d2 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -948,5 +948,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index 5e342dbe..7593d9d3 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ - @@ -951,5 +951,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_sa.inc.php b/lang/UTF-8/serendipity_lang_sa.inc.php index f1457604..fd653542 100644 --- a/lang/UTF-8/serendipity_lang_sa.inc.php +++ b/lang/UTF-8/serendipity_lang_sa.inc.php @@ -866,5 +866,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_se.inc.php b/lang/UTF-8/serendipity_lang_se.inc.php index 6f73856a..8f8f8efe 100644 --- a/lang/UTF-8/serendipity_lang_se.inc.php +++ b/lang/UTF-8/serendipity_lang_se.inc.php @@ -947,5 +947,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_ta.inc.php b/lang/UTF-8/serendipity_lang_ta.inc.php index 12ad1e7f..e1fdcf46 100644 --- a/lang/UTF-8/serendipity_lang_ta.inc.php +++ b/lang/UTF-8/serendipity_lang_ta.inc.php @@ -947,5 +947,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_tn.inc.php b/lang/UTF-8/serendipity_lang_tn.inc.php index 956f9e84..39e930ee 100644 --- a/lang/UTF-8/serendipity_lang_tn.inc.php +++ b/lang/UTF-8/serendipity_lang_tn.inc.php @@ -1,4 +1,4 @@ - @@ -951,5 +951,7 @@ $i18n_unknown = 'tw'; @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_tr.inc.php b/lang/UTF-8/serendipity_lang_tr.inc.php index d957dfb3..94290950 100644 --- a/lang/UTF-8/serendipity_lang_tr.inc.php +++ b/lang/UTF-8/serendipity_lang_tr.inc.php @@ -951,5 +951,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 9e9c2483..2b81e11a 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -952,5 +952,7 @@ $i18n_unknown = 'tw'; @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index d973378b..5c089c2b 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('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); @define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); + diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index 9aa9593a..27a15c1e 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -940,5 +940,7 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('COMMENTS_FILTER_NEED_CONFIRM', ' '); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index 40ef9cac..7defe7e9 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -949,5 +949,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index ce46bd97..f3902a75 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -957,5 +957,7 @@ $i18n_filename_to = array ( @define('COMMENTS_FILTER_NEED_CONFIRM', 'ek na potvrzen uivatelem'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index 5d05198f..31b977de 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -957,5 +957,7 @@ $i18n_filename_to = array ( @define('COMMENTS_FILTER_NEED_CONFIRM', 'ek na potvrzen uivatelem'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index e0329a1a..30ee0ddb 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -946,5 +946,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index 9aa7fa10..738c1eaf 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -950,5 +950,6 @@ @define('INSTALL_OFFSET_ON_SERVER_TIME_DESC', 'Eintragszeiten nach Server-Zeitzone eintragen oder nicht. YES whlt die Server-Zeitzone als Basis, NO whlt GMT.'); @define('NOT_WRITABLE_SPARTACUS', ' (Nur notwendig wenn Spartacus zur Plugin-Installation ber das Internet genutzt werden soll)'); @define('MEDIA_ALT', 'ALT-Attribut (Bildinhalt oder Kurzbeschreibung)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Bildinhalt (Zusammenfassung fr das ALT-Attribut)'); +@define('MEDIA_PROPERTY_ALT', 'Bildinhalt (Zusammenfassung fr das ALT-Attribut)'); +@define('MEDIA_TITLE', 'TITLE-Attribut (wird beim berfahren mit der Maus angezeigt)'); diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index b80f2f35..8941cf5e 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -947,5 +947,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index 37d46082..4694477f 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -965,5 +965,7 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index ba925e9a..42e39ad5 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -949,5 +949,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index 8f39b6f1..06fec7ec 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -947,5 +947,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index 3dc53271..cead377a 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -954,5 +954,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index d601f21f..69a2426c 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -945,5 +945,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index 62333c6c..f87f25ac 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -948,5 +948,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index bd4c1fa4..2ca985e2 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -951,5 +951,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index 4240dd02..4212fd27 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -951,5 +951,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'ユーザーの確認を保留しています'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index e4eef43f..9e0a8f40 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -950,5 +950,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index c1207110..0aaf3f7c 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -949,5 +949,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index 9dba95cc..26e77077 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -950,5 +950,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_pl.inc.php b/lang/serendipity_lang_pl.inc.php index ffc31648..9a15a81c 100644 --- a/lang/serendipity_lang_pl.inc.php +++ b/lang/serendipity_lang_pl.inc.php @@ -946,5 +946,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index ee8adde7..8e1226f8 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -952,5 +952,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index 914e1688..0ba79559 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -959,5 +959,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index 4c448d12..5bf867d2 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -948,5 +948,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index c1023d09..4058e156 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -951,5 +951,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_sa.inc.php b/lang/serendipity_lang_sa.inc.php index 813547e3..fc1b0dd2 100644 --- a/lang/serendipity_lang_sa.inc.php +++ b/lang/serendipity_lang_sa.inc.php @@ -866,5 +866,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index f8386791..601591ff 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -947,5 +947,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_ta.inc.php b/lang/serendipity_lang_ta.inc.php index 12ad1e7f..e1fdcf46 100644 --- a/lang/serendipity_lang_ta.inc.php +++ b/lang/serendipity_lang_ta.inc.php @@ -947,5 +947,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index 021a59ab..b9d59209 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -951,5 +951,7 @@ $i18n_unknown = 'tw'; @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_tr.inc.php b/lang/serendipity_lang_tr.inc.php index d957dfb3..94290950 100644 --- a/lang/serendipity_lang_tr.inc.php +++ b/lang/serendipity_lang_tr.inc.php @@ -951,5 +951,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index 518fb56c..1227a33c 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -952,5 +952,7 @@ $i18n_unknown = 'tw'; @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index 8cb2aaa5..5b0d820e 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -948,5 +948,7 @@ @define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation'); @define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)'); @define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)'); -@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)'); +@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)'); + +@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)'); diff --git a/serendipity_editor.js b/serendipity_editor.js index e4a46d29..af096f4c 100644 --- a/serendipity_editor.js +++ b/serendipity_editor.js @@ -280,6 +280,8 @@ function serendipity_imageSelector_done(textarea) var img = ''; var src = ''; var alt = ''; + var title = ''; + var f = document.forms['serendipity[selForm]'].elements; if (f['serendipity[linkThumbnail]'] && f['serendipity[linkThumbnail]'][0].checked == true) { @@ -318,8 +320,9 @@ function serendipity_imageSelector_done(textarea) } } - alt = f['serendipity[alt]'].value; - + alt = f['serendipity[alt]'].value.replace(/"/g, """); + title = f['serendipity[title]'].value.replace(/"/g, """); + styled = false; // Templates now do this. imgID = 0; @@ -333,12 +336,12 @@ function serendipity_imageSelector_done(textarea) floating = 'center'; if (f['serendipity[align]'][0].checked == true) { - img = "\"""; + img = "\"""; } else if (f['serendipity[align]'][1].checked == true) { - img = "\"""; + img = "\"""; floating = 'left'; } else if (f['serendipity[align]'][2].checked == true) { - img = "\"""; + img = "\"""; floating = 'right'; } @@ -368,7 +371,7 @@ function serendipity_imageSelector_done(textarea) ilink = baseURL + 'serendipity_admin_image_selector.php?serendipity[step]=showItem&serendipity[image]=' + imgID; } - insert = prepend + "" + img + ""; + insert = prepend + "" + img + ""; } else { insert = img; } diff --git a/templates/default/admin/media_choose.tpl b/templates/default/admin/media_choose.tpl index 3316a569..055e4a2a 100644 --- a/templates/default/admin/media_choose.tpl +++ b/templates/default/admin/media_choose.tpl @@ -257,6 +257,12 @@ {serendipity_hookPlugin hookAll=true hook='frontend_image_selector_alt' eventData=$media.file}
+ + {$CONST.MEDIA_TITLE}: +
+ + {serendipity_hookPlugin hookAll=true hook='frontend_image_selector_title' eventData=$media.file} +
{/if} {serendipity_hookPlugin hookAll=true hook='frontend_image_selector_more' eventData=$media.file}