diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-08-10 14:38:53 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-08-10 14:38:53 +0000 |
commit | f827677ba9494983dc5f5ee1d3c4ddd43881304c (patch) | |
tree | fd8604c60e104253678f3722678d7a2034978b8d | |
parent | 8011a2534f4e91ad125482b0c039b5d67cb92e74 (diff) | |
download | weechat-f827677ba9494983dc5f5ee1d3c4ddd43881304c.zip |
Upgraded script licence to GPLv3
-rw-r--r-- | scripts/perl/beep.pl | 14 | ||||
-rw-r--r-- | scripts/perl/bufsave.pl | 17 | ||||
-rw-r--r-- | scripts/perl/fete.pl | 162 | ||||
-rw-r--r-- | scripts/perl/layout.pl | 8 | ||||
-rw-r--r-- | scripts/perl/logsearch.pl | 15 | ||||
-rw-r--r-- | scripts/perl/oldtopic.pl | 11 | ||||
-rw-r--r-- | scripts/perl/sound.pl | 11 | ||||
-rw-r--r-- | scripts/perl/translate.pl | 15 |
8 files changed, 134 insertions, 119 deletions
diff --git a/scripts/perl/beep.pl b/scripts/perl/beep.pl index 57e618de4..0005082f0 100644 --- a/scripts/perl/beep.pl +++ b/scripts/perl/beep.pl @@ -1,9 +1,9 @@ # -# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org> +# Copyright (c) 2006-2007 by FlashCode <flashcode@flashtux.org> # # 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 +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, @@ -12,22 +12,22 @@ # GNU General Public License for more details. # # 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 +# along with this program. If not, see <http://www.gnu.org/licenses/>. # # # Speaker beep on highlight/private msg. # # History: -# +# 2007-08-10, FlashCode <flashcode@flashtux.org>: +# version 0.2: upgraded licence to GPL 3 # 2006-09-02, FlashCode <flashcode@flashtux.org>: -# initial release +# version 0.1: initial release # use strict; -my $version = "0.1"; +my $version = "0.2"; my $beep_command = "echo -n \a"; # default values in setup file (~/.weechat/plugins.rc) diff --git a/scripts/perl/bufsave.pl b/scripts/perl/bufsave.pl index 59cf4ff3e..b123cfa65 100644 --- a/scripts/perl/bufsave.pl +++ b/scripts/perl/bufsave.pl @@ -1,9 +1,9 @@ # -# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org> +# Copyright (c) 2006-2007 by FlashCode <flashcode@flashtux.org> # # 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 +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, @@ -12,8 +12,7 @@ # GNU General Public License for more details. # # 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 +# along with this program. If not, see <http://www.gnu.org/licenses/>. # # @@ -21,20 +20,24 @@ # # History: # +# 2007-08-10, FlashCode <flashcode@flashtux.org>: +# version 0.3: upgraded licence to GPL 3 +# 2007-06-12, FlashCode <flashcode@flashtux.org>: +# version 0.2: added filename completion # 2006-10-27, FlashCode <flashcode@flashtux.org>: -# initial release +# version 0.1: initial release # use strict; -my $version = "0.1"; +my $version = "0.3"; weechat::register("bufsave", $version, "", "Save buffer content to a file"); weechat::add_command_handler("bufsave", "bufsave_cmd", "save current buffer to a file", "filename", "filename: target file (must not exist)", - ""); + "%f"); sub bufsave_cmd { diff --git a/scripts/perl/fete.pl b/scripts/perl/fete.pl index 0cdd458f9..45de419b9 100644 --- a/scripts/perl/fete.pl +++ b/scripts/perl/fete.pl @@ -1,123 +1,123 @@ -# ============================================================================= -# Copyright (c) 2003-2005 by FlashCode <flashcode@flashtux.org> # -# 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. +# Copyright (c) 2003-2007 by FlashCode <flashcode@flashtux.org> # -# 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. +# 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 3 of the License, or +# (at your option) any later version. # -# 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 +# 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. # -# fete.pl (c) Décembre 2003 par FlashCode <flashcode@flashtux.org> -# Mis à jour le 04/06/2005, FlashCode <flashcode@flashtux.org> +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# fete.pl (c) December 2003 by FlashCode <flashcode@flashtux.org> +# Updated on 2007-08-10 by FlashCode <flashcode@flashtux.org> +# +# Manages french calendat feasts with "/fete" command +# Syntax: /fete - display today's and tomorrow's feast +# /fete firstname - search for name in calendar # -# Gestion des fêtes du calendrier français avec la commande "/fete" -# Syntaxe: /fete - affiche la fête du jour et du lendemain -# /fete prenom - cherche un prénom dans le calendrier -# ============================================================================= use locale; -my $version = "0.4"; -weechat::register ("Fete", $version, "", "Gestion des fêtes du calendrier français"); -weechat::print ("Script 'Fete' $version chargé"); +my $version = "0.7"; + +weechat::register ("Fete", $version, "", "Gestion des fêtes du calendrier français", "UTF-8"); +weechat::print ("Script 'Fete' $version chargé"); weechat::add_command_handler ("fete", fete); @noms_jours = qw(Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi); -@noms_mois = qw(Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre); +@noms_mois = qw(Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre); @fetes = ( # janvier - [ '!Marie - JOUR de l\'AN', '&Basile', '!Geneviève', '&Odilon', '&Edouard', - '&Mélaine', '&Raymond', '&Lucien', '!Alix', '&Guillaume', '&Paulin', - '!Tatiana', '!Yvette', '!Nina', '&Rémi', '&Marcel', '!Roseline', - '!Prisca', '&Marius', '&Sébastien', '!Agnès', '&Vincent', '&Barnard', - '&François de Sales', '-Conversion de St Paul', '!Paule', '!Angèle', + [ '!Marie - JOUR de l\'AN', '&Basile', '!Geneviève', '&Odilon', '&Edouard', + '&Mélaine', '&Raymond', '&Lucien', '!Alix', '&Guillaume', '&Paulin', + '!Tatiana', '!Yvette', '!Nina', '&Rémi', '&Marcel', '!Roseline', + '!Prisca', '&Marius', '&Sébastien', '!Agnès', '&Vincent', '&Barnard', + '&François de Sales', '-Conversion de St Paul', '!Paule', '!Angèle', '&Thomas d\'Aquin', '&Gildas', '!Martine', '!Marcelle' ], - # février - [ '!Ella', '-Présentation', '&Blaise', '!Véronique', '!Agathe', - '&Gaston', '!Eugénie', '!Jacqueline', '!Apolline', '&Arnaud', - '-Notre-Dame de Lourdes', '&Félix', '!Béatrice', '&Valentin', '&Claude', - '!Julienne', '&Alexis', '!Bernadette', '&Gabin', '!Aimée', - '&Pierre Damien', '!Isabelle', '&Lazare', '&Modeste', '&Roméo', '&Nestor', + # février + [ '!Ella', '-Présentation', '&Blaise', '!Véronique', '!Agathe', + '&Gaston', '!Eugénie', '!Jacqueline', '!Apolline', '&Arnaud', + '-Notre-Dame de Lourdes', '&Félix', '!Béatrice', '&Valentin', '&Claude', + '!Julienne', '&Alexis', '!Bernadette', '&Gabin', '!Aimée', + '&Pierre Damien', '!Isabelle', '&Lazare', '&Modeste', '&Roméo', '&Nestor', '!Honorine', '&Romain', '&Auguste' ], # mars - [ '&Aubin', '&Charles le Bon', '&Guénolé', '&Casimir', '&Olive', '&Colette', - '!Félicité', '&Jean de Dieu', '!Françoise', '&Vivien', '!Rosine', - '!Justine', '&Rodrigue', '!Mathilde', '!Louise de Marillac', '!Bénédicte', - '&Patrice', '&Cyrille', '&Joseph', '&Herbert', '!Clémence', '!Léa', - '&Victorien', '!Catherine de Suède', '-Annonciation', '!Larissa', - '&Habib', '&Gontran', '!Gwladys', '&Amédée', '&Benjamin' ], + [ '&Aubin', '&Charles le Bon', '&Guénolé', '&Casimir', '&Olive', '&Colette', + '!Félicité', '&Jean de Dieu', '!Françoise', '&Vivien', '!Rosine', + '!Justine', '&Rodrigue', '!Mathilde', '!Louise de Marillac', '!Bénédicte', + '&Patrice', '&Cyrille', '&Joseph', '&Herbert', '!Clémence', '!Léa', + '&Victorien', '!Catherine de Suède', '-Annonciation', '!Larissa', + '&Habib', '&Gontran', '!Gwladys', '&Amédée', '&Benjamin' ], # avril - [ '&Hugues', '!Sandrine', '&Richard', '&Isodore', '!Irène', '&Marcellin', + [ '&Hugues', '!Sandrine', '&Richard', '&Isodore', '!Irène', '&Marcellin', '&Jean-Baptiste de la Salle', '!Julie', '&Gautier', '&Fulbert', '&Stanislas', '&Jules', '!Ida', '&Maxime', '&Paterne', - '&Benoît-Joseph Labre', '&Anicet', '&Parfait', '!Emma', '!Odette', - '&Anselme', '&Alexandre', '&Georges', '&Fidèle', '&Marc', '!Alida', - '!Zita', '!Valérie', '!Catherine de Sienne', '&Robert' ], + '&Benoît-Joseph Labre', '&Anicet', '&Parfait', '!Emma', '!Odette', + '&Anselme', '&Alexandre', '&Georges', '&Fidèle', '&Marc', '!Alida', + '!Zita', '!Valérie', '!Catherine de Sienne', '&Robert' ], # mai - [ '&Jérémie - FETE du TRAVAIL', '&Boris', '&Philippe / Jacques', '&Sylvain', - '!Judith', '!Prudence', '!Gisèle', '&Désiré - ANNIVERSAIRE 1945', - '&Pacôme', '!Solange', '!Estelle', '&Achille', '!Rolande', '&Mathias', - '!Denise', '&Honoré', '&Pascal', '&Eric', '&Yves', '&Bernardin', - '&Constantin', '&Emile', '&Didier', '&Donatien', '!Sophie', '&Bérenger', + [ '&Jérémie - FETE du TRAVAIL', '&Boris', '&Philippe / Jacques', '&Sylvain', + '!Judith', '!Prudence', '!Gisèle', '&Désiré - ANNIVERSAIRE 1945', + '&Pacôme', '!Solange', '!Estelle', '&Achille', '!Rolande', '&Mathias', + '!Denise', '&Honoré', '&Pascal', '&Eric', '&Yves', '&Bernardin', + '&Constantin', '&Emile', '&Didier', '&Donatien', '!Sophie', '&Bérenger', '&Augustin', '&Germain', '&Aymar', '&Ferdinand', '-Visitation' ], # juin - [ '&Justin', '!Blandine', '&Kévin', '!Clotilde', '&Igor', '&Norbert', - '&Gilbert', '&Médard', '!Diane', '&Landry', '&Barnabé', '&Guy', - '&Antoine de Padoue', '&Elisée', '!Germaine', '&Jean-François Régis', - '&Hervé', '&Léonce', '&Romuald', '&Silvère', '&Rodolphe', '&Alban', + [ '&Justin', '!Blandine', '&Kévin', '!Clotilde', '&Igor', '&Norbert', + '&Gilbert', '&Médard', '!Diane', '&Landry', '&Barnabé', '&Guy', + '&Antoine de Padoue', '&Elisée', '!Germaine', '&Jean-François Régis', + '&Hervé', '&Léonce', '&Romuald', '&Silvère', '&Rodolphe', '&Alban', '!Audrey', '&Jean-Baptiste', '&Salomon', '&Anthelme', '&Fernand', - '&Irénée', '&Pierre / Paul', '&Martial' ], + '&Irénée', '&Pierre / Paul', '&Martial' ], # juillet [ '&Thierry', '&Martinien', '&Thomas', '&Florent', '&Antoine', '!Mariette', - '&Raoul', '&Thibaut', '!Amandine', '&Ulrich', '&Benoît', '&Olivier', - '&Henri / Joël', '!Camille - FETE NATIONALE', '&Donald', - '-N.D. du Mont Carmel', '!Charlotte', '&Frédéric', '&Arsène', '!Marina', + '&Raoul', '&Thibaut', '!Amandine', '&Ulrich', '&Benoît', '&Olivier', + '&Henri / Joël', '!Camille - FETE NATIONALE', '&Donald', + '-N.D. du Mont Carmel', '!Charlotte', '&Frédéric', '&Arsène', '!Marina', '&Victor', '!Marie-Madeleine', '!Brigitte', '!Christine', '&Jacques', '&Anne', '!Nathalie', '&Samson', '!Marthe', '!Juliette', '&Ignace de Loyola' ], - # août + # août [ '&Alphonse', '&Julien', '!Lydie', '&Jean-Marie Vianney', '&Abel', - '-Transfiguration', '&Gaëtan', '&Dominique', '&Amour', '&Laurent', + '-Transfiguration', '&Gaëtan', '&Dominique', '&Amour', '&Laurent', '!Claire', '!Clarisse', '&Hippolyte', '&Evrard', - '!Marie - ASSOMPTION', '&Armel', '&Hyacinthe', '!Hélène', '&Jean Eudes', - '&Bernard', '&Christophe', '&Fabrice', '!Rose de Lima', '&Barthélémy', + '!Marie - ASSOMPTION', '&Armel', '&Hyacinthe', '!Hélène', '&Jean Eudes', + '&Bernard', '&Christophe', '&Fabrice', '!Rose de Lima', '&Barthélémy', '&Louis', '!Natacha', '!Monique', '&Augustin', '!Sabine', '&Fiacre', '&Aristide' ], # septembre - [ '&Gilles', '!Ingrid', '&Grégoire', '!Rosalie', '!Raïssa', '&Bertrand', - '!Reine', '-Nativité de Marie', '&Alain', '!Inès', '&Adelphe', - '&Apollinaire', '&Aimé', '-La Ste Croix', '&Roland', '!Edith', '&Renaud', - '!Nadège', '!Emilie', '&Davy', '&Matthieu', '&Maurice', '&Constant', - '!Thècle', '&Hermann', '&Côme / Damien', '&Vincent de Paul', '&Venceslas', - '&Michel / Gabriel', '&Jérôme' ], + [ '&Gilles', '!Ingrid', '&Grégoire', '!Rosalie', '!Raïssa', '&Bertrand', + '!Reine', '-Nativité de Marie', '&Alain', '!Inès', '&Adelphe', + '&Apollinaire', '&Aimé', '-La Ste Croix', '&Roland', '!Edith', '&Renaud', + '!Nadège', '!Emilie', '&Davy', '&Matthieu', '&Maurice', '&Constant', + '!Thècle', '&Hermann', '&Côme / Damien', '&Vincent de Paul', '&Venceslas', + '&Michel / Gabriel', '&Jérôme' ], # octobre - [ '!Thérèse de l\'Enfant Jésus', '&Léger', '&Gérard', '&François d\'Assise', - '!Fleur', '&Bruno', '&Serge', '!Pélagie', '&Denis', '&Ghislain', '&Firmin', - '&Wilfried', '&Géraud', '&Juste', '!Thérèse d\'Avila', '!Edwige', - '&Baudouin', '&Luc', '&René', '!Adeline', '!Céline', '!Elodie', - '&Jean de Capistran', '&Florentin', '&Crépin', '&Dimitri', '!Emeline', + [ '!Thérèse de l\'Enfant Jésus', '&Léger', '&Gérard', '&François d\'Assise', + '!Fleur', '&Bruno', '&Serge', '!Pélagie', '&Denis', '&Ghislain', '&Firmin', + '&Wilfried', '&Géraud', '&Juste', '!Thérèse d\'Avila', '!Edwige', + '&Baudouin', '&Luc', '&René', '!Adeline', '!Céline', '!Elodie', + '&Jean de Capistran', '&Florentin', '&Crépin', '&Dimitri', '!Emeline', '&Simon / Jude', '&Narcisse', '!Bienvenue', '&Quentin' ], # novembre - [ '&Harold - TOUSSAINT', '-Défunts', '&Hubert', '&Charles', '!Sylvie', - '!Bertille', '!Carine', '&Geoffroy', '&Théodore', '&Léon', + [ '&Harold - TOUSSAINT', '-Défunts', '&Hubert', '&Charles', '!Sylvie', + '!Bertille', '!Carine', '&Geoffroy', '&Théodore', '&Léon', '&Martin - ARMISTICE 1918', '&Christian', '&Brice', '&Sidoine', '&Albert', '!Marguerite', '!Elisabeth', '!Aude', '&Tanguy', '&Edmond', - '-Présentation de Marie', '!Cécile', '&Clément', '!Flora', '!Catherine', - '!Delphine', '&Séverin', '&Jacques de la Marche', '&Saturnin', '&André' ], - # décembre - [ '!Florence', '!Viviane', '&Xavier', '!Barbara', '&Gérald', '&Nicolas', - '&Ambroise', '-Immaculée Conception', '&Pierre Fourier', '&Romaric', + '-Présentation de Marie', '!Cécile', '&Clément', '!Flora', '!Catherine', + '!Delphine', '&Séverin', '&Jacques de la Marche', '&Saturnin', '&André' ], + # décembre + [ '!Florence', '!Viviane', '&Xavier', '!Barbara', '&Gérald', '&Nicolas', + '&Ambroise', '-Immaculée Conception', '&Pierre Fourier', '&Romaric', '&Daniel', '!Jeanne de Chantal', '!Lucie', '!Odile', '!Ninon', '!Alice', - '&Gaël', '&Gatien', '&Urbain', '&Abraham', '&Pierre Canisius', - '!Françoise-Xavier', '&Armand', '!Adèle', '&Emmanuel - NOEL', '&Etienne', + '&Gaël', '&Gatien', '&Urbain', '&Abraham', '&Pierre Canisius', + '!Françoise-Xavier', '&Armand', '!Adèle', '&Emmanuel - NOEL', '&Etienne', '&Jean', '-Sts Innocents', '&David', '&Roger', '&Sylvestre' ], ); diff --git a/scripts/perl/layout.pl b/scripts/perl/layout.pl index a127c27ae..5afc0f1fc 100644 --- a/scripts/perl/layout.pl +++ b/scripts/perl/layout.pl @@ -21,19 +21,23 @@ # History: # # 2007-08-10, FlashCode <flashcode@flashtux.org>: +# version 0.2, minor changes in script description +# 2007-08-10, FlashCode <flashcode@flashtux.org>: # version 0.1, initial release # use strict; +my $version = "0.2"; + # default values in setup file (~/.weechat/plugins.rc) my $default_auto_save = "on"; -weechat::register("layout", "0.1", "unload_layout", "Save/restore windows/buffers layout"); +weechat::register("layout", $version, "unload_layout", "Save/restore buffers layout"); weechat::set_plugin_config("auto_save", $default_auto_save) if (weechat::get_plugin_config("auto_save") eq ""); weechat::add_command_handler("layout", "layout", - "save/restore windows/buffers layout", + "save/restore buffers layout", "[save]", "save: save buffers order", "save"); diff --git a/scripts/perl/logsearch.pl b/scripts/perl/logsearch.pl index 1708533c3..75001af96 100644 --- a/scripts/perl/logsearch.pl +++ b/scripts/perl/logsearch.pl @@ -1,9 +1,9 @@ # -# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org> +# Copyright (c) 2006-2007 by FlashCode <flashcode@flashtux.org> # # 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 +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, @@ -12,27 +12,30 @@ # GNU General Public License for more details. # # 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 +# along with this program. If not, see <http://www.gnu.org/licenses/>. # # # Search for text in WeeChat disk log files. # # History: +# 2007-08-10, FlashCode <flashcode@flashtux.org>: +# version 0.2: upgraded licence to GPL 3 # 2006-04-17, FlashCode <flashcode@flashtux.org>: -# initial release +# version 0.1: initial release # use strict; +my $version = "0.2"; + # default values in setup file (~/.weechat/plugins.rc) my $default_max = "8"; my $default_server = "off"; my $default_grep_options = "-i"; # init script -weechat::register("logsearch", "0.1", "", "Search for text in WeeChat disk log files"); +weechat::register("logsearch", $version, "", "Search for text in WeeChat disk log files"); weechat::set_plugin_config("max", $default_max) if (weechat::get_plugin_config("max") eq ""); weechat::set_plugin_config("server", $default_server) if (weechat::get_plugin_config("server") eq ""); weechat::set_plugin_config("grep_options", $default_grep_options) if (weechat::get_plugin_config("grep_options") eq ""); diff --git a/scripts/perl/oldtopic.pl b/scripts/perl/oldtopic.pl index 24d7af0f6..013b5e95c 100644 --- a/scripts/perl/oldtopic.pl +++ b/scripts/perl/oldtopic.pl @@ -3,7 +3,7 @@ # # 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 +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, @@ -12,21 +12,22 @@ # GNU General Public License for more details. # # 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 +# along with this program. If not, see <http://www.gnu.org/licenses/>. # # # Display old topics for a channel. # # History: +# 2007-08-10, FlashCode <flashcode@flashtux.org>: +# version 0.2: upgraded licence to GPL 3 # 2007-03-29, FlashCode <flashcode@flashtux.org>: -# initial release +# version 0.1: initial release # use strict; -my $version = "0.1"; +my $version = "0.2"; my $plugin_help_options = "Plugins options (set with /setp):\n" ." - perl.oldtopic.log_server: if on, displays all topic changes on server buffer\n" diff --git a/scripts/perl/sound.pl b/scripts/perl/sound.pl index f6d04d693..956d5b7df 100644 --- a/scripts/perl/sound.pl +++ b/scripts/perl/sound.pl @@ -1,9 +1,9 @@ # -# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org> +# Copyright (c) 2006-2007 by FlashCode <flashcode@flashtux.org> # # 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 +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, @@ -12,8 +12,7 @@ # GNU General Public License for more details. # # 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 +# along with this program. If not, see <http://www.gnu.org/licenses/>. # # @@ -21,6 +20,8 @@ # # History: # +# 2007-08-10, FlashCode <flashcode@flashtux.org>: +# version 0.4: upgraded licence to GPL 3 # 2006-05-30, FlashCode <flashcode@flashtux.org>: # added plugin options for commands # 2004-10-01, FlashCode <flashcode@flashtux.org>: @@ -29,7 +30,7 @@ use strict; -my $version = "0.3"; +my $version = "0.4"; my $command_suffix = " >/dev/null 2>&1 &"; # default values in setup file (~/.weechat/plugins.rc) diff --git a/scripts/perl/translate.pl b/scripts/perl/translate.pl index fa5723225..306d3816a 100644 --- a/scripts/perl/translate.pl +++ b/scripts/perl/translate.pl @@ -1,9 +1,9 @@ # -# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org> +# Copyright (c) 2006-2007 by FlashCode <flashcode@flashtux.org> # # 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 +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, @@ -12,20 +12,23 @@ # GNU General Public License for more details. # # 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 +# along with this program. If not, see <http://www.gnu.org/licenses/>. # # # Translate words and display result in infobar, local buffer or channel # # History: +# 2007-08-10, FlashCode <flashcode@flashtux.org>: +# version 0.2: upgraded licence to GPL 3 # 2006-07-03, FlashCode <flashcode@flashtux.org>: -# initial release +# version 0.1: initial release # use strict; +my $version = "0.2"; + # default values in setup file (~/.weechat/plugins.rc) my $default_output_infobar = "on"; my $default_timeout = "2"; @@ -34,7 +37,7 @@ my $default_timeout = "2"; my $languages = "de|el|en|es|fr|it|ja|ko|nl|pt|ru|zh|zt"; # init script -weechat::register("translate", "0.1", "", "Translation script"); +weechat::register("translate", $version, "", "Translation script"); weechat::set_plugin_config("output_infobar", $default_output_infobar) if (weechat::get_plugin_config("output_infobar") eq ""); weechat::set_plugin_config("timeout", $default_timeout) if (weechat::get_plugin_config("timeout") eq ""); |