aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_advices
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2010-02-08 11:49:34 +0000
committervdigital <vdigital@piwigo.org>2010-02-08 11:49:34 +0000
commitb2adc2ac540a535c202d475f8939efb1e3919b41 (patch)
tree149c3610b54db339729bc8e17f04ee65101543fa /plugins/admin_advices
parentd3209d2b5f4f8fa5b1102c1e211fce1e99fc873f (diff)
"s" removed in name, comments and translation
Not done on keys, and directory git-svn-id: http://piwigo.org/svn/branches/2.0@4851 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/admin_advices')
-rw-r--r--plugins/admin_advices/admin_advices.php6
-rw-r--r--plugins/admin_advices/adv_set.php2
-rw-r--r--plugins/admin_advices/language/en_UK/plugin.lang.php2
-rw-r--r--plugins/admin_advices/main.inc.php4
4 files changed, 7 insertions, 7 deletions
diff --git a/plugins/admin_advices/admin_advices.php b/plugins/admin_advices/admin_advices.php
index 42781cdd3..e3e542b95 100644
--- a/plugins/admin_advices/admin_advices.php
+++ b/plugins/admin_advices/admin_advices.php
@@ -40,13 +40,13 @@ function set_admin_advice_add_css()
}
}
-// Build an advice on the Admin Intro page
+// Build advice on the Admin Intro page
function set_admin_advice()
{
global $page, $user, $template, $conf, $prefixeTable, $lang;
$my_path = dirname(__FILE__).'/';
-// Include language advices
+// Include language advice
foreach ($conf as $key => $value)
{
if ( is_string($value) )
@@ -134,7 +134,7 @@ function set_admin_advice()
)
);
-// If there is an advice
+// If there is advice
if ( $cond )
{
diff --git a/plugins/admin_advices/adv_set.php b/plugins/admin_advices/adv_set.php
index 8d9532d3b..881f75e4d 100644
--- a/plugins/admin_advices/adv_set.php
+++ b/plugins/admin_advices/adv_set.php
@@ -23,7 +23,7 @@
//
-// A new advices needs:
+// New advice needs:
// $lang['Adv_case'][xx] = 'Text' ==> in all plugin.lang
// $adv['c'][xx] = Condition (default true)
// $adv['v'][xx] = Value (if there is one (facultative))
diff --git a/plugins/admin_advices/language/en_UK/plugin.lang.php b/plugins/admin_advices/language/en_UK/plugin.lang.php
index 98a790f37..1ff47c178 100644
--- a/plugins/admin_advices/language/en_UK/plugin.lang.php
+++ b/plugins/admin_advices/language/en_UK/plugin.lang.php
@@ -22,7 +22,7 @@
// +-----------------------------------------------------------------------+
// --------- Starting below: New or revised $lang ---- from Butterfly (1.8)
-$lang['An_advice_about'] = 'A new advice about';
+$lang['An_advice_about'] = 'New advice about';
$lang['contribute'] = 'how you can contribute';
$lang['navigation'] = 'navigation';
$lang['Metadata'] = 'Metadata';
diff --git a/plugins/admin_advices/main.inc.php b/plugins/admin_advices/main.inc.php
index 36674121b..86eccb37f 100644
--- a/plugins/admin_advices/main.inc.php
+++ b/plugins/admin_advices/main.inc.php
@@ -22,8 +22,8 @@
// +-----------------------------------------------------------------------+
/*
-Plugin Name: Admin Advices
-Version: 2.0.2
+Plugin Name: Admin Advice
+Version: Auto
Description: Give you an advice on the administration page.
Plugin URI: http://piwigo.org/ext/extension_view.php?eid=285
Author: Piwigo team