Skip to content

Commit fee7086

Browse files
committed
Make wording easier to understand
1 parent 91f29f9 commit fee7086

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

Diff for: edit_website.cgi

+2-4
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ if (!$d->{'alias'} && &can_edit_redirect() &&
4545
print &ui_table_row(
4646
&hlink($text{'phpmode_wwwredir'}, "wwwredir"),
4747
&ui_radio("wwwredir", $r,
48-
[ [ 0, $text{'phpmode_wwwredir0'} ],
49-
[ 1, $text{'phpmode_wwwredir1'} ],
50-
[ 3, $text{'phpmode_wwwredir3'} ],
51-
[ 2, $text{'phpmode_wwwredir2'} ] ]));
48+
[ map { [ $_, &text('phpmode_wwwredir'.$_,
49+
$d->{'dom'})."<br>" ] } (0.. 3) ]));
5250
}
5351

5452
# Match all sub-domains

Diff for: lang/en

+7-7
Original file line numberDiff line numberDiff line change
@@ -5786,13 +5786,13 @@ phpmode_phpinfo_dir_ecannot_dir=This virtual server doesn't have requested $1 di
57865786
phpmode_fixport=Fixing PHP-FPM endpoint configuration ..
57875787
phpmode_wwwredir=Redirect to canonical domain
57885788
phpmode_wwwredir0=Disabled
5789-
phpmode_wwwredir1=www to non-www
5790-
phpmode_wwwredir2=non-www to www
5791-
phpmode_wwwredir3=All subdomains to non-www
5792-
phpmode_wwwrediroff=Disabling redirect to canonical domain ..
5793-
phpmode_wwwredirnon=Adding redirect to non-www domain ..
5794-
phpmode_wwwredirwww=Adding redirect to www domain ..
5795-
phpmode_wwwredirsub=Adding redirect from all sub-domains to domain ..
5789+
phpmode_wwwredir1=Redirect <tt>www.$1</tt> to <tt>$1</tt>
5790+
phpmode_wwwredir2=Redirect <tt>$1</tt> to <tt>www.$1</tt>
5791+
phpmode_wwwredir3=Subdomains of <tt>$1</tt> to <tt>$1</tt>
5792+
phpmode_wwwredirdo0=Disabling redirect to canonical domain ..
5793+
phpmode_wwwredirdo1=Adding redirect from <tt>www.$1</tt> to <tt>$1</tt> ..
5794+
phpmode_wwwredirdo2=Adding redirect from <tt>$1</tt> to <tt>www.$1</tt> ..
5795+
phpmode_wwwredirdo3=Adding redirect from sub-domains of <tt>$1</tt> to <tt>$1</tt> ..
57965796
phpmode_esendmode=Sending email cannot be changed in this PHP mode
57975797
phpmode_ephpinis=No php.ini files to update found
57985798
phpmode_mail=PHP scripts can send email?

0 commit comments

Comments
 (0)