Changeset 615967
- Timestamp:
- 10/23/2012 08:02:58 AM (13 years ago)
- Location:
- fuzzy-date-and-time-in-french/trunk
- Files:
-
- 2 edited
-
fuzzy-datetime-fr.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fuzzy-date-and-time-in-french/trunk/fuzzy-datetime-fr.php
r615915 r615967 1 <?php1 <?php 2 2 /* 3 3 Plugin Name: Fuzzy DateTime in french 4 Plugin URI: http ://mll2.free.fr/?p=154 Plugin URI: https://wordpress.org/extend/plugins/fuzzy-date-and-time-in-french/ 5 5 Description: Prints a fuzzy date and time, similar to the KDE clock, in french. Adapted from Splee's <a href="http://wordpress.org/extend/plugins/splees-fuzzy-datetime/">Fuzzy DateTime</a>. 6 6 Version: 0.8 7 7 Author: mll 8 8 Author URI: http://mll2.free.fr/ 9 */ 10 11 /* Copyright 2007 mll 12 13 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 14 15 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 9 License: GPL2 10 */ 11 12 /* Copyright 2007 mll 13 14 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. 15 16 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 19 */ 19 20 20 21 /* 21 This plugin is a french adaptation of Splee's cool <a href="http://www.splee.co.uk/category/fuzzydate-plugin/">Fuzzy DateTime</a> plugin.22 23 22 This plugin contains code from the Time of Day plugin 24 23 by Phu Ly & Dunstan Orchard & Michael Heilemann (http://www.ifelse.co.uk/code/timeofday.php) 25 24 */ 26 27 /*28 ChangeLog:29 30 0.831 fixed: working informative URLs32 fixed: GMT offset problem33 added: more complete (but not exhaustive yet) hooks to comments34 35 0.736 fixed: minor typos37 fixed: still some stripslashes problems38 no changes :( using hooks39 40 0.6.FR.241 fixed: one typo corrected ("journé")42 changed: now returns (and *does not print*) a string43 44 0.6.FR.145 added: French adaptation (more than a translation)46 fixed: added stripslashes to the admin form values47 fixed: maybe some other bugs, I don't remember48 49 **note: below is Splee's plugin changelog **50 51 0.6: (02/05/05) - Updated code with fixes for months being detected 'too literally'52 Fixed issue with day/days mode not being detected correctly53 Code tidy and optimisation54 55 0.5: Fixed issues with admin panel not saving options correctly56 57 0.4: Added admin panel functionality58 59 0.3: Fixed numerous issues with date calculations60 Tidied code and added some meaningful comments61 62 0.2: Too much to list!63 64 0.1: First implimentation.65 */66 67 25 68 26 // ini_set('display_errors', true); //for debugging … … 84 42 } 85 43 86 // add_filter('get_the_time', 'filter_fuzzyDateTime');44 //(Un)comment at your will. Todo : make this an option. 87 45 //add_filter('the_date', 'filter_post_fuzzy_datetime', 999, 4); 88 46 //add_filter('the_time', 'filter_post_fuzzy_datetime'); -
fuzzy-date-and-time-in-french/trunk/readme.txt
r615943 r615967 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 Prints a fuzzy date and time, similar to the KDE clock, in french. Adapted from Splee's <a href="http://wordpress.org/extend/plugins/splees-fuzzy-datetime/">Fuzzy DateTime</a>.10 Prints a fuzzy date and time, similar to the KDE clock, in french. 11 11 12 12 == Description == 13 13 14 Prints a fuzzy date and time, similar to the KDE clock, in french. Adapted from Splee's Fuzzy DateTime.14 This plugin adds a function that prints a fuzzy date and time, similar to the KDE clock, in french. Adapted from Splee's <a href="http://wordpress.org/extend/plugins/splees-fuzzy-datetime/">Fuzzy DateTime</a>. 15 15 16 Also provides hooks for the comments dates, but it's pretty rough at the moment. 16 It also provides hooks for the comments dates, but it's pretty rough at the moment. 17 18 19 Here's a link to [WordPress](http://wordpress.org/ "Your favorite software") and one to [Markdown's Syntax Documentation][markdown syntax]. 20 Titles are optional, naturally. 17 21 18 22 == Installation == … … 39 43 * fixed: GMT offset problem 40 44 * added: more complete (but not exhaustive yet) hooks to comments 45 * fixed: UTF-8 encoding 41 46 42 47 = 0.7 =
Note: See TracChangeset
for help on using the changeset viewer.