Changeset 3051
- Timestamp:
- 06/03/11 16:28:36 (12 years ago)
- Location:
- plugins/enhancePostContent
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/enhancePostContent/_admin.php
r2312 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # -
plugins/enhancePostContent/_define.php
r2312 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # … … 17 17 /* Description*/ "Add features to words in post content", 18 18 /* Author */ "JC Denis", 19 /* Version */ ' 0.9',19 /* Version */ '2011.06.03', 20 20 /* Permissions */ 'content' 21 21 ); 22 /* date */ #2010060623 22 ?> -
plugins/enhancePostContent/_install.php
r2312 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # … … 21 21 { 22 22 # Check DC version 23 if (version_compare( DC_VERSION,'2.2-beta','<'))23 if (version_compare(str_replace("-r","-p",DC_VERSION),'2.2-alpha','<')) 24 24 { 25 throw new Exception(' translaterrequires Dotclear 2.2');25 throw new Exception('enhancePostContent requires Dotclear 2.2'); 26 26 } 27 27 -
plugins/enhancePostContent/_prepend.php
r2019 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # -
plugins/enhancePostContent/_public.php
r2312 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # -
plugins/enhancePostContent/_uninstall.php
r2019 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # -
plugins/enhancePostContent/_widgets.php
r2312 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # -
plugins/enhancePostContent/inc/lib.epc.php
r2312 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # … … 16 16 __('entry excerpt');__('entry content');__('comment content'); 17 17 __('home page');__('post page');__('category page');__('search results page'); 18 __('atom feeds');__('RSS feeds'); 18 19 19 20 class libEPC … … 71 72 'post page' => 'post.html', 72 73 'category page' => 'category.html', 73 'search results page' => 'search.html' 74 'search results page' => 'search.html', 75 'atom feeds' => 'atom.xml', 76 'RSS feeds' => 'rss2.xml' 74 77 ); 75 78 } … … 521 524 # 522 525 523 public static function publicContentFilterTag($core,$filter, &$tag,&$args)526 public static function publicContentFilterTag($core,$filter,$tag,$args) 524 527 { 525 528 if (!$core->plugins->moduleExists('tags')) return; -
plugins/enhancePostContent/inc/lib.epc.records.php
r2312 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # -
plugins/enhancePostContent/inc/lib.epc.update.php
r2312 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # -
plugins/enhancePostContent/index.php
r2312 r3051 3 3 # This file is part of enhancePostContent, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 200 9-2010JC Denis and contributors5 # Copyright (c) 2008-2011 JC Denis and contributors 6 6 # jcdenis@gdwd.com 7 7 # -
plugins/enhancePostContent/locales/fr/main.lang.php
r2152 r3051 1 1 <?php 2 // Language: français3 // Module: enhancePostContent - 0.8.14 // Date: 201 0-03-31 21:59:455 // Translated with dcTranslater - 1. 32 // Language: Français 3 // Module: enhancePostContent - 2011.06.03 4 // Date: 2011-06-03 09:04:16 5 // Translated with dcTranslater - 1.5 6 6 7 7 #_admin.php:19 8 8 #_widgets.php:23 9 #index.php:19 110 #index.php:20 29 #index.php:190 10 #index.php:201 11 11 $GLOBALS['__l10n']['Enhance post content'] = 'Amélioration du contenu'; 12 12 … … 65 65 $GLOBALS['__l10n']['search results page'] = 'la page des résultats de recherche'; 66 66 67 #inc/lib.epc.php:94 67 #inc/lib.epc.php:18 68 $GLOBALS['__l10n']['atom feeds'] = 'les flux Atom'; 69 70 #inc/lib.epc.php:18 71 $GLOBALS['__l10n']['RSS feeds'] = 'les flux RSS'; 72 73 #inc/lib.epc.php:99 68 74 $GLOBALS['__l10n']['Highlight tags of your blog.'] = 'Met en avant les Tags de votre blog'; 69 75 70 #inc/lib.epc.php:11 376 #inc/lib.epc.php:118 71 77 $GLOBALS['__l10n']['Highlight searched words.'] = 'Met en avant les mots recherchés'; 72 78 73 #inc/lib.epc.php:13 279 #inc/lib.epc.php:137 74 80 $GLOBALS['__l10n']['Explain some acronyms. First term of the list is the acornym and second term the explanation.'] = 'Explique des acronymes. Le premier terme de la liste est l\'acronyme et les second terme l\'explication.'; 75 81 76 #inc/lib.epc.php:15 282 #inc/lib.epc.php:157 77 83 $GLOBALS['__l10n']['Explain some abbreviation. First term of the list is the abbreviation and second term the explanation.'] = 'Explique des abréviations. Le premier terme de la liste est l\'abréviation et le second terme l\'explication.'; 78 84 79 #inc/lib.epc.php:17 285 #inc/lib.epc.php:177 80 86 $GLOBALS['__l10n']['Explain some definition. First term of the list is the sample to define and second term the explanation.'] = 'Explique des définitions. Le premier terme de la liste est la chaine à expliquer et le second terme est la définition.'; 81 87 82 #inc/lib.epc.php:19 283 $GLOBALS['__l10n']['Highlight citation of people. First term of the list is the citation and second term the author.'] = 'Met en avant les citation des gens. Le premier terme est la citation et le se ond terme est l\'auteur.';84 85 #inc/lib.epc.php:21 286 $GLOBALS['__l10n']['Link some words. First term of the list is the term to link and second term the link.'] = 'Ajouter des liens. Le premier terme de la liste est le texte à lier et le second eterme est l\'adresse de lien.';87 88 #inc/lib.epc.php:23 188 #inc/lib.epc.php:197 89 $GLOBALS['__l10n']['Highlight citation of people. First term of the list is the citation and second term the author.'] = 'Met en avant les citation des gens. Le premier terme est la citation et le second terme est l\'auteur.'; 90 91 #inc/lib.epc.php:217 92 $GLOBALS['__l10n']['Link some words. First term of the list is the term to link and second term the link.'] = 'Ajouter des liens. Le premier terme de la liste est le texte à lier et le second terme est l\'adresse de lien.'; 93 94 #inc/lib.epc.php:236 89 95 $GLOBALS['__l10n']['Replace some text. First term of the list is the text to replace and second term the replacement.'] = 'Remplace du texte. Le premier terme de la liste est le terme à remplacer et le second le nouveau terme.'; 90 96 91 #inc/lib.epc.php:2 4997 #inc/lib.epc.php:254 92 98 $GLOBALS['__l10n']['Update and show terms. First term of the list is the term to update and second term the new term.'] = 'Met à jour du contenu. Le premier terme de la liste est l\'ancien texte et le second le nouveau texte.'; 93 99 94 #inc/lib.epc.php:2 67100 #inc/lib.epc.php:272 95 101 $GLOBALS['__l10n']['Add link to twitter user page. Every word started with "@" will be considered as twitter user.'] = 'Ajouter un lien vers une page Twitter. Chaque mot commençant par "@" sera considéré comme un nom de compte Twitter'; 96 102 97 #inc/lib.epc.php:27 1103 #inc/lib.epc.php:276 98 104 $GLOBALS['__l10n']['View this user\'s twitter page'] = 'Voir la page Twitter de cet utilisateur'; 99 105 100 #index.php:4 4101 #index.php:3 64106 #index.php:48 107 #index.php:372 102 108 $GLOBALS['__l10n']['Key'] = 'Clé'; 103 109 104 #index.php:22 5105 #index.php:4 82110 #index.php:224 111 #index.php:491 106 112 $GLOBALS['__l10n']['Settings'] = 'Paramètres'; 107 113 … … 142 148 $GLOBALS['__l10n']['Tag "%s" always be ignored.'] = 'Les balises "%s" seront toujours ignorées.'; 143 149 144 #index.php:3 46150 #index.php:351 145 151 $GLOBALS['__l10n']['Records'] = 'Enregistrements'; 146 152 147 #index.php:3 49153 #index.php:355 148 154 $GLOBALS['__l10n']['Record successfully added'] = 'Enregistrement ajouté avec succès'; 149 155 150 #index.php:35 2156 #index.php:359 151 157 $GLOBALS['__l10n']['Records successfully updated'] = 'Enregistrements mis à jour avec succès'; 152 158 153 #index.php:3 56159 #index.php:363 154 160 $GLOBALS['__l10n']['No record'] = 'Pas d\'enregistrement'; 155 161 156 #index.php:3 88162 #index.php:396 157 163 $GLOBALS['__l10n']['In order to remove a record, leave empty its key or value.'] = 'Pour retirer un enregistrement, laisser vide sa clé ou sa valeur.'; 158 164 159 #index.php:4 07165 #index.php:414 160 166 $GLOBALS['__l10n']['New record'] = 'Nouvel enregistrement'; 161 167 162 #index.php:4 09168 #index.php:416 163 169 $GLOBALS['__l10n']['Key:'] = 'Clé :'; 164 170 165 #index.php:41 2171 #index.php:419 166 172 $GLOBALS['__l10n']['Value:'] = 'Valeur :'; 167 173 168 #index.php:43 0174 #index.php:438 169 175 $GLOBALS['__l10n']['Settings of enhancePostContent'] = 'Paramètres de enhancePostContent'; 170 176 171 #index.php:4 34177 #index.php:443 172 178 $GLOBALS['__l10n']['Configuration successfully saved'] = 'Configuration sauvegardée avec succès'; 173 179 174 #index.php:44 0180 #index.php:449 175 181 $GLOBALS['__l10n']['Enable extension'] = 'Activer l\'extension'; 176 182 177 #index.php:4 41183 #index.php:450 178 184 $GLOBALS['__l10n']['This also actives widget'] = 'Ceci active également le widget'; 179 185 180 #index.php:4 42186 #index.php:451 181 187 $GLOBALS['__l10n']['Records lists'] = 'Listes des enregistrements'; 182 188 183 #index.php:4 43189 #index.php:452 184 190 $GLOBALS['__l10n']['This is the default order of records lists.'] = 'Ceci est l\'ordre de trie par défaut des listes d\'enregistrements.'; 185 191 186 #index.php:4 48192 #index.php:457 187 193 $GLOBALS['__l10n']['Records per page:'] = 'Enregistrements par page :'; 188 194 189 #index.php:4 55195 #index.php:464 190 196 $GLOBALS['__l10n']['This is a special feature to edit list of allowed template values and public pages where this plugin works.'] = 'Ceci est une option spéciale pour modifier les listes des balises de template et des pages publiques ou le plugin sera actif.'; 191 197 192 #index.php:4 56198 #index.php:465 193 199 $GLOBALS['__l10n']['Allowed DC template values:'] = 'Autoriser les balises de template :'; 194 200 195 #index.php:4 59201 #index.php:468 196 202 $GLOBALS['__l10n']['Use "readable_name1:template_value1;readable_name2:template_value2;" like "entry content:EntryContent;entry excerpt:EntryExcerpt;".'] = 'Utiliser "titre1:valeur_de_template1;titre2:valeur_de_template2;" exemple "entry content:EntreyContent;entry excerpt:EntreyExcerpt;".'; 197 203 198 #index.php:46 0204 #index.php:469 199 205 $GLOBALS['__l10n']['Allowed public pages:'] = 'Autoriser les pages publiques :'; 200 206 201 #index.php:4 63207 #index.php:472 202 208 $GLOBALS['__l10n']['Use "readable_name1:template_page1;readable_name2:template_page2;" like "post page:post.html;home page:home.html;".'] = 'Utiliser "titre1:page_de_template1;titre2:page_de_template2;" comme "post page:post.html;home page:home.html;".'; 203 209 -
plugins/enhancePostContent/locales/fr/main.po
r2152 r3051 1 # Language: français2 # Module: enhancePostContent - 0.8.13 # Date: 201 0-03-31 21:59:454 # Translated with translater 1. 31 # Language: Français 2 # Module: enhancePostContent - 2011.06.03 3 # Date: 2011-06-03 09:04:16 4 # Translated with translater 1.5 5 5 6 6 msgid "" 7 7 msgstr "" 8 8 "Content-Type: text/plain; charset=UTF-8\n" 9 "Project-Id-Version: enhancePostContent 0.8.1\n"9 "Project-Id-Version: enhancePostContent 2011.06.03\n" 10 10 "POT-Creation-Date: \n" 11 "PO-Revision-Date: 201 0-03-31T21:59:45+00:00\n"11 "PO-Revision-Date: 2011-06-03T09:04:16+00:00\n" 12 12 "Last-Translator: JC Denis\n" 13 13 "Language-Team: \n" … … 17 17 #: _admin.php:19 18 18 #: _widgets.php:23 19 #: index.php:19 120 #: index.php:20 219 #: index.php:190 20 #: index.php:201 21 21 msgid "Enhance post content" 22 22 msgstr "Amélioration du contenu" … … 94 94 msgstr "la page des résultats de recherche" 95 95 96 #: inc/lib.epc.php:94 96 #: inc/lib.epc.php:18 97 msgid "atom feeds" 98 msgstr "les flux Atom" 99 100 #: inc/lib.epc.php:18 101 msgid "RSS feeds" 102 msgstr "les flux RSS" 103 104 #: inc/lib.epc.php:99 97 105 msgid "Highlight tags of your blog." 98 106 msgstr "Met en avant les Tags de votre blog" 99 107 100 #: inc/lib.epc.php:11 3108 #: inc/lib.epc.php:118 101 109 msgid "Highlight searched words." 102 110 msgstr "Met en avant les mots recherchés" 103 111 104 #: inc/lib.epc.php:13 2112 #: inc/lib.epc.php:137 105 113 msgid "Explain some acronyms. First term of the list is the acornym and second term the explanation." 106 114 msgstr "Explique des acronymes. Le premier terme de la liste est l'acronyme et les second terme l'explication." 107 115 108 #: inc/lib.epc.php:15 2116 #: inc/lib.epc.php:157 109 117 msgid "Explain some abbreviation. First term of the list is the abbreviation and second term the explanation." 110 118 msgstr "Explique des abréviations. Le premier terme de la liste est l'abréviation et le second terme l'explication." 111 119 112 #: inc/lib.epc.php:17 2120 #: inc/lib.epc.php:177 113 121 msgid "Explain some definition. First term of the list is the sample to define and second term the explanation." 114 122 msgstr "Explique des définitions. Le premier terme de la liste est la chaine à expliquer et le second terme est la définition." 115 123 116 #: inc/lib.epc.php:19 2124 #: inc/lib.epc.php:197 117 125 msgid "Highlight citation of people. First term of the list is the citation and second term the author." 118 msgstr "Met en avant les citation des gens. Le premier terme est la citation et le se ond terme est l'auteur."119 120 #: inc/lib.epc.php:21 2126 msgstr "Met en avant les citation des gens. Le premier terme est la citation et le second terme est l'auteur." 127 128 #: inc/lib.epc.php:217 121 129 msgid "Link some words. First term of the list is the term to link and second term the link." 122 msgstr "Ajouter des liens. Le premier terme de la liste est le texte à lier et le second eterme est l'adresse de lien."123 124 #: inc/lib.epc.php:23 1130 msgstr "Ajouter des liens. Le premier terme de la liste est le texte à lier et le second terme est l'adresse de lien." 131 132 #: inc/lib.epc.php:236 125 133 msgid "Replace some text. First term of the list is the text to replace and second term the replacement." 126 134 msgstr "Remplace du texte. Le premier terme de la liste est le terme à remplacer et le second le nouveau terme." 127 135 128 #: inc/lib.epc.php:2 49136 #: inc/lib.epc.php:254 129 137 msgid "Update and show terms. First term of the list is the term to update and second term the new term." 130 138 msgstr "Met à jour du contenu. Le premier terme de la liste est l'ancien texte et le second le nouveau texte." 131 139 132 #: inc/lib.epc.php:2 67140 #: inc/lib.epc.php:272 133 141 msgid "Add link to twitter user page. Every word started with \"@\" will be considered as twitter user." 134 142 msgstr "Ajouter un lien vers une page Twitter. Chaque mot commençant par \"@\" sera considéré comme un nom de compte Twitter" 135 143 136 #: inc/lib.epc.php:27 1144 #: inc/lib.epc.php:276 137 145 msgid "View this user's twitter page" 138 146 msgstr "Voir la page Twitter de cet utilisateur" 139 147 140 #: index.php:4 4141 #: index.php:3 64148 #: index.php:48 149 #: index.php:372 142 150 msgid "Key" 143 151 msgstr "Clé" 144 152 145 #: index.php:22 5146 #: index.php:4 82153 #: index.php:224 154 #: index.php:491 147 155 msgid "Settings" 148 156 msgstr "Paramètres" … … 196 204 msgstr "Les balises \"%s\" seront toujours ignorées." 197 205 198 #: index.php:3 46206 #: index.php:351 199 207 msgid "Records" 200 208 msgstr "Enregistrements" 201 209 202 #: index.php:3 49210 #: index.php:355 203 211 msgid "Record successfully added" 204 212 msgstr "Enregistrement ajouté avec succès" 205 213 206 #: index.php:35 2214 #: index.php:359 207 215 msgid "Records successfully updated" 208 216 msgstr "Enregistrements mis à jour avec succès" 209 217 210 #: index.php:3 56218 #: index.php:363 211 219 msgid "No record" 212 220 msgstr "Pas d'enregistrement" 213 221 214 #: index.php:3 88222 #: index.php:396 215 223 msgid "In order to remove a record, leave empty its key or value." 216 224 msgstr "Pour retirer un enregistrement, laisser vide sa clé ou sa valeur." 217 225 218 #: index.php:4 07226 #: index.php:414 219 227 msgid "New record" 220 228 msgstr "Nouvel enregistrement" 221 229 222 #: index.php:4 09230 #: index.php:416 223 231 msgid "Key:" 224 232 msgstr "Clé :" 225 233 226 #: index.php:41 2234 #: index.php:419 227 235 msgid "Value:" 228 236 msgstr "Valeur :" 229 237 230 #: index.php:43 0238 #: index.php:438 231 239 msgid "Settings of enhancePostContent" 232 240 msgstr "Paramètres de enhancePostContent" 233 241 234 #: index.php:4 34242 #: index.php:443 235 243 msgid "Configuration successfully saved" 236 244 msgstr "Configuration sauvegardée avec succès" 237 245 238 #: index.php:44 0246 #: index.php:449 239 247 msgid "Enable extension" 240 248 msgstr "Activer l'extension" 241 249 242 #: index.php:4 41250 #: index.php:450 243 251 msgid "This also actives widget" 244 252 msgstr "Ceci active également le widget" 245 253 246 #: index.php:4 42254 #: index.php:451 247 255 msgid "Records lists" 248 256 msgstr "Listes des enregistrements" 249 257 250 #: index.php:4 43258 #: index.php:452 251 259 msgid "This is the default order of records lists." 252 260 msgstr "Ceci est l'ordre de trie par défaut des listes d'enregistrements." 253 261 254 #: index.php:4 48262 #: index.php:457 255 263 msgid "Records per page:" 256 264 msgstr "Enregistrements par page :" 257 265 258 #: index.php:4 55266 #: index.php:464 259 267 msgid "This is a special feature to edit list of allowed template values and public pages where this plugin works." 260 268 msgstr "Ceci est une option spéciale pour modifier les listes des balises de template et des pages publiques ou le plugin sera actif." 261 269 262 #: index.php:4 56270 #: index.php:465 263 271 msgid "Allowed DC template values:" 264 272 msgstr "Autoriser les balises de template :" 265 273 266 #: index.php:4 59274 #: index.php:468 267 275 msgid "Use \"readable_name1:template_value1;readable_name2:template_value2;\" like \"entry content:EntryContent;entry excerpt:EntryExcerpt;\"." 268 276 msgstr "Utiliser \"titre1:valeur_de_template1;titre2:valeur_de_template2;\" exemple \"entry content:EntreyContent;entry excerpt:EntreyExcerpt;\"." 269 277 270 #: index.php:46 0278 #: index.php:469 271 279 msgid "Allowed public pages:" 272 280 msgstr "Autoriser les pages publiques :" 273 281 274 #: index.php:4 63282 #: index.php:472 275 283 msgid "Use \"readable_name1:template_page1;readable_name2:template_page2;\" like \"post page:post.html;home page:home.html;\"." 276 284 msgstr "Utiliser \"titre1:page_de_template1;titre2:page_de_template2;\" comme \"post page:post.html;home page:home.html;\"." -
plugins/enhancePostContent/release.txt
r2312 r3051 1 1 x.x xxxxxxxx 2 * Not added priority on filters 2 * Not added priority on filters for replacement order 3 * Not added priority on lists of filters for replacement order 3 4 * Not added auto-find post title in content 5 * Fixed records list (more Dotclear compliant) (checkbox and action) 6 7 2011.06.03 8 * Added 'feeds pages' 4 9 5 10 0.9 20100606
Note: See TracChangeset
for help on using the changeset viewer.