Skip to content

Commit 6d0a4e4

Browse files
committed
1 parent 573f353 commit 6d0a4e4

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

interface/lib/app.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function lng($text)
144144
if($this->_language_inc != 1) {
145145
// loading global and module Wordbook
146146
@include_once($conf["rootpath"]."/lib/lang/".$_SESSION["s"]["language"].".lng");
147-
@include_once($conf["rootpath"]."/web/".$_SESSION["s"]["module"]["name"]."/lib/lang/".$_SESSION["s"]["language"].".lng");
147+
@include_once($conf["rootpath"]."/web/".$_SESSION["s"]["module"]["name"]."/lib/lang/".$_SESSION["s"]["language"].".lng");
148148
$this->_wb = $wb;
149149
$this->_language_inc = 1;
150150
}

interface/web/dns/lib/lang/en.lng

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
$wb["Yes"] = 'Yes';
4+
$wb["No"] = 'No';
5+
6+
?>

interface/web/dns/lib/lang/en_soa_list.lng

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $wb["page_next_txt"] = 'Next';
1717
$wb["page_back_txt"] = 'Back';
1818
$wb["delete_txt"] = 'Delete';
1919
$wb["filter_txt"] = 'Filter';
20-
$wb["Y"] = 'Yes';
21-
$wb["N"] = 'No';
20+
$wb["Yes"] = 'Yes';
21+
$wb["No"] = 'No';
2222
$wb["add_new_record_txt"] = 'Add New Zone';
2323
?>

interface/web/dns/list/soa.list.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
'prefix' => "",
137137
'suffix' => "",
138138
'width' => "",
139-
'value' => array('Y' => 'Yes', 'N' => 'No'));
139+
'value' => array('Y' => $app->lng('Yes'), 'N' => $app->lng('No')));
140140

141141
/*
142142
$liste["item"][] = array( 'field' => "xfer",

0 commit comments

Comments
 (0)