From f3207445016a13d5c1ef0f53818a05a0b283afc4 Mon Sep 17 00:00:00 2001
From: MSS <124117691+MSS970@users.noreply.github.com>
Date: Mon, 31 Mar 2025 14:12:19 +0400
Subject: [PATCH 1/2] typos
Signed-off-by: MSS <124117691+MSS970@users.noreply.github.com>
---
setup.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/setup.php b/setup.php
index ee65a0c..bf94e9e 100644
--- a/setup.php
+++ b/setup.php
@@ -231,7 +231,7 @@ function weathermap_config_settings() {
),
'weathermap_width' => array(
'friendly_name' => __('Hover Graph Default Width', 'weathermap'),
- 'description' => __('The default width of the RRDtool Graphs that appear when you over on a Link.', 'weathermap'),
+ 'description' => __('The default width of the RRDtool Graphs that appear when you hover on a Link.', 'weathermap'),
'method' => 'textbox',
'default' => 400,
'size' => 3,
@@ -239,7 +239,7 @@ function weathermap_config_settings() {
),
'weathermap_height' => array(
'friendly_name' => __('Hover Graph Default Height', 'weathermap'),
- 'description' => __('The default height of the RRDtool Graphs that appear when you over on a Link.', 'weathermap'),
+ 'description' => __('The default height of the RRDtool Graphs that appear when you hover on a Link.', 'weathermap'),
'method' => 'textbox',
'default' => 125,
'size' => 3,
@@ -247,7 +247,7 @@ function weathermap_config_settings() {
),
'weathermap_nolegend' => array(
'friendly_name' => __('Hover Graph Style', 'weathermap'),
- 'description' => __('When hovering over the Links or Nodes, what style of Graph would you like displayed?', 'weathermap'),
+ 'description' => __('When hovering over the Links or Nodes, what style of Graph is to be displayed displayed?', 'weathermap'),
'method' => 'drop_array',
'array' => array(
'thumb' => __('Thumbnail Graphs', 'weathermap'),
From b5238b59b609edeb008d4de66ebb651c7895f4b6 Mon Sep 17 00:00:00 2001
From: MSS <124117691+MSS970@users.noreply.github.com>
Date: Mon, 31 Mar 2025 14:15:09 +0400
Subject: [PATCH 2/2] replace | with ||*---*||
Signed-off-by: MSS <124117691+MSS970@users.noreply.github.com>
---
weathermap-cacti-plugin.php | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/weathermap-cacti-plugin.php b/weathermap-cacti-plugin.php
index 908fd45..257b4b2 100644
--- a/weathermap-cacti-plugin.php
+++ b/weathermap-cacti-plugin.php
@@ -390,9 +390,9 @@ function weathermap_singleview($mapid) {
if ($is_wm_admin) {
$maptitle .= ' [ ';
- $maptitle .= '' . __esc('Return to Main Page', 'weathermap') . ' | ';
- $maptitle .= '' . __esc('Map Settings', 'weathermap') . ' | ';
- $maptitle .= '' . __esc('Map Permissions', 'weathermap') . ' | ';
+ $maptitle .= '' . __esc('Return to Main Page', 'weathermap') . ' ||*---*|| ';
+ $maptitle .= '' . __esc('Map Settings', 'weathermap') . ' ||*---*|| ';
+ $maptitle .= '' . __esc('Map Permissions', 'weathermap') . ' ||*---*|| ';
$maptitle .= "" . __esc('Edit Map', 'weathermaps') . "";
$maptitle .= ' ] ';
} else {
@@ -716,9 +716,9 @@ function weathermap_versionbox() {
$pagefoot = __('Powered by %s PHP Weathermap Version %s %s', '', $weathermap_version, '', 'weathermap');
if (api_plugin_user_realm_auth('weathermap-cacti-plugin-mgmt.php')) {
- $pagefoot .= ' --- ' . __('Weathermap Management', 'weathermap') . '';
- $pagefoot .= ' | ' . __('Local Documentation', 'weathermap') . '';
- $pagefoot .= ' | ' . __('New Map', 'weathermap') . '';
+ $pagefoot .= ' ||*---*|| ' . __('Weathermap Management', 'weathermap') . '';
+ $pagefoot .= ' ||*---*|| ' . __('Local Documentation', 'weathermap') . '';
+ $pagefoot .= ' ||*---*|| ' . __('New Map', 'weathermap') . '';
}
print '