Skip to content

Commit

Permalink
Item12864: don't use DEBUG to toggle debug
Browse files Browse the repository at this point in the history
... messages as it conflicts with Assert.pm
  • Loading branch information
MichaelDaum committed Aug 29, 2014
1 parent 61a23a9 commit 34aa9d4
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .gitignore
@@ -0,0 +1,8 @@
*.swp
MultiLingualPlugin.md5
MultiLingualPlugin.sha1
MultiLingualPlugin.tgz
MultiLingualPlugin.txt
MultiLingualPlugin.zip
MultiLingualPlugin_installer
MultiLingualPlugin_installer.pl
2 changes: 1 addition & 1 deletion data/System/MultiLingualPlugin.txt
Expand Up @@ -181,7 +181,7 @@ Render a full table of all known languages:
-->

| Author(s): | Michael Daum|
| Copyright: | © 2013 Michael Daum http://michaeldaumconsulting.com |
| Copyright: | © 2013-2014 Michael Daum http://michaeldaumconsulting.com |
| License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]] |
| Release: | %$RELEASE% |
| Version: | %$VERSION% |
Expand Down
6 changes: 3 additions & 3 deletions lib/Foswiki/Plugins/MultiLingualPlugin.pm
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
# MultiLingualPlugin is Copyright (C) 2013 Michael Daum http://michaeldaumconsulting.com
# MultiLingualPlugin is Copyright (C) 2013-2014 Michael Daum http://michaeldaumconsulting.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand All @@ -21,8 +21,8 @@ use warnings;
use Foswiki::Func ();
use Foswiki::Plugins ();

our $VERSION = '1.00';
our $RELEASE = '1.00';
our $VERSION = '1.01';
our $RELEASE = '1.01';
our $SHORTDESCRIPTION = 'Support for a multi lingual Foswiki';
our $NO_PREFS_IN_TOPIC = 1;
our $core;
Expand Down
6 changes: 3 additions & 3 deletions lib/Foswiki/Plugins/MultiLingualPlugin/Core.pm
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
# MultiLingualPlugin is Copyright (C) 2013 Michael Daum http://michaeldaumconsulting.com
# MultiLingualPlugin is Copyright (C) 2013-2014 Michael Daum http://michaeldaumconsulting.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand All @@ -24,10 +24,10 @@ use Locale::Country;
use Error qw(:try);

our $doneAliases = 0;
use constant DEBUG => 0;
use constant TRACE => 0;

sub writeDebug {
print STDERR "MultiLingualPlugin::Core - $_[0]\n" if DEBUG;
print STDERR "MultiLingualPlugin::Core - $_[0]\n" if TRACE;
}

sub new {
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/MultiLingualPlugin/MANIFEST
@@ -1,5 +1,5 @@
data/System/MultiLingualPlugin.txt 0644
data/System/LexiconForm.txt 0644
data/System/MultiLingualPlugin.txt 0644
lib/Foswiki/Plugins/MultiLingualPlugin/Config.spec 0644
lib/Foswiki/Plugins/MultiLingualPlugin/Core.pm 0644
lib/Foswiki/Plugins/MultiLingualPlugin.pm 0644
Expand Down

0 comments on commit 34aa9d4

Please sign in to comment.