/[smecontribs]/rpms/smeserver-rsync/contribs9/smeserver-rsync-spelling-update.patch
ViewVC logotype

Contents of /rpms/smeserver-rsync/contribs9/smeserver-rsync-spelling-update.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Apr 17 14:42:01 2018 UTC (6 years, 7 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-rsync-1_3-2, HEAD
* Thu Apr 17 2018 John Crisp <jcrisp@safeandsoundit.co.uk>
- Set default Options to test
- Fix spelling 'recieve'
- Set default status to Test
- Modify wording [SME:9684]
- [1.3-2]

1 diff -ruN smeserver-rsync-1.3.old/root/etc/e-smith/web/functions/dungog-rsync smeserver-rsync-1.3/root/etc/e-smith/web/functions/dungog-rsync
2 --- smeserver-rsync-1.3.old/root/etc/e-smith/web/functions/dungog-rsync 2016-04-24 12:41:37.000000000 +0200
3 +++ smeserver-rsync-1.3/root/etc/e-smith/web/functions/dungog-rsync 2018-04-17 16:40:06.726086330 +0200
4 @@ -80,8 +80,8 @@
5 my %Labels2 = ('senddirs' => 'send one or more directories to another server',
6 'senddirs2self' => 'save directories to self. eg 2nd hardrive',
7 'sendservers' => 'send one directory to many servers',
8 - 'recievedirs' => 'recieve one or more directories from one server',
9 - 'recieveservers' => 'recieve one directory from many servers');
10 + 'receivedirs' => 'receive one or more directories from one server',
11 + 'receiveservers' => 'receive one directory from many servers');
12
13 my %Labels5 = ('test' => 'Test. Only displays what rsync would do and does no actual copying',
14 'verbose' => 'Copies but still gives a verbose display of what it is doing',
15 @@ -339,7 +339,7 @@
16 print '<br />';
17
18 #configure and select set
19 - print $q->h4 ('Transfer Sets Summary - Anonymous rsync retrieve from remote [untested]');
20 + print $q->h4 ('Transfer Sets Summary - Anonymous rsync retrieve from remote');
21
22 print $q->p ($q->a ({href => $q->url (-absolute => 1) . "?state=showAnon&&rsync=new"},
23 'Click here'),
24 @@ -416,7 +416,7 @@
25 print '<br />';
26
27 #configure and select set
28 - print $q->h4 ('Configure your server as an Anonymous Rsync server - Not tested');
29 + print $q->h4 ('Configure your server as an Anonymous Rsync server');
30
31 # check to see if e-smith-rsyncd is installed
32 # old code - unless ( -e "/etc/e-smith/events/actions/conf-rsyncd" )
33 @@ -426,7 +426,7 @@
34
35 unless ($rsyncd_status ne '')
36 {
37 - print $q->p (esmith::cgi::genSmallCell ($q, 'NOTE: Not currently working. To make files available for download by
38 + print $q->p (esmith::cgi::genSmallCell ($q, 'To make files available for download by
39 Anonymous Rsync to you need to install
40 smeserver-shared-folders, see help below'));
41 }
42 @@ -512,14 +512,14 @@
43
44 esmith::cgi::genWidgetRow ($q, "Method",
45 $q->popup_menu (-name => "method",
46 - -values => ['senddirs','sendservers','recievedirs','recieveservers','senddirs2self'],
47 + -values => ['senddirs','sendservers','receivedirs','receiveservers','senddirs2self'],
48 -default => db_get_prop(\%dungog, $rsync, "method") || '',
49 -labels => \%Labels2)),
50
51 esmith::cgi::genWidgetRow ($q, "Options",
52 $q->popup_menu (-name => "options",
53 -values => ['test','verbose','stats','quiet'],
54 - -default => db_get_prop(\%dungog, $rsync, "options") || 'stats',
55 + -default => db_get_prop(\%dungog, $rsync, "options") || 'test',
56 -labels => \%Labels5)));
57
58 my $delete = db_get_prop(\%dungog, $rsync, "delete") || 'no';

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed