From 50a6bf7b20a02807adb4bdba2e57515b25abe9d5 Mon Sep 17 00:00:00 2001 From: Barijaona Ramaholimihaso Date: Sun, 16 Sep 2007 18:26:23 +0000 Subject: [PATCH 1/1] Remove date_translate (redundant with date_fullname) --- general/date_translate | 95 ------------------------------------------ 1 file changed, 95 deletions(-) delete mode 100644 general/date_translate diff --git a/general/date_translate b/general/date_translate deleted file mode 100644 index fdfdc7e..0000000 --- a/general/date_translate +++ /dev/null @@ -1,95 +0,0 @@ -# Blosxom Plugin: date_translate -# Author(s): Rael Dornfest -# Version: 2.0b2 -# Documentation: See the bottom of this file or type: perldoc date_translate - -package date_translate; - -# --- Configurable variables ----- - -# A list of properly encoded month names in the language of your choice -my @months = qw! 00 Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre !; - -# A list of properly encoded day names in the language of your choice -my %daysoftheweek = ( Mon=>'Lundi', Tue=>'Mardi', Wed=>'Mercredi', Thu=>'Jeudi', Fri=>'Vendredi', Sat=>'Samedi', Sun=>'Dimanche' ); - -# -------------------------------- - -$dw; # use $date_translate::dw for translated week day in flavour templates -$mo; # use $date_translate::mo for translated month name in flavour templates - -sub start { - 1; -} - -sub date { - my ($pkg, $path, $date_ref, $mtime, @date_bits) = @_; - - $dw = $daysoftheweek{$date_bits[0]}; - $mo = $months[$date_bits[2]]; - - 1; -} - -1; - -__END__ - -=head1 NAME - -Blosxom Plug-in: date_translate - -=head1 SYNOPSIS - -Purpose: Populates $date_translate::dw (day of the week) and -$date_translate::mo (month name) with translated versions of the -default English $dw and $mo. Default is French; alter in the -Configurable variables section below. - -=head1 VERSION - -2.0b2 - -Version number coincides with the version of Blosxom with which the -current version was first bundled. - -=head1 AUTHOR - -Rael Dornfest , http://www.raelity.org/ - -This plugin is now maintained by the Blosxom Sourceforge Team, -. - -=head1 SEE ALSO - -Blosxom Home/Docs/Licensing: http://blosxom.sourceforge.net/ - -Blosxom Plugin Docs: http://blosxom.sourceforge.net/documentation/users/plugins.html - -=head1 BUGS - -None known; please send bug reports and feedback to the Blosxom -development mailing list . - -=head1 LICENSE - -Blosxom and this Blosxom Plug-in -Copyright 2003, Rael Dornfest - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the "Software"), -to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR -OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. -- 2.30.2