fix missing language-strings

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-11-21 12:52:33 +01:00
parent 777991e0e3
commit 4b7ae46fd7
5 changed files with 14 additions and 6 deletions

View File

@@ -394,13 +394,13 @@ return [
'visible' => Settings::Get('system.bind_enable') == '1' && $userinfo['change_serversettings'] == '1', 'visible' => Settings::Get('system.bind_enable') == '1' && $userinfo['change_serversettings'] == '1',
'fields' => [ 'fields' => [
'isbinddomain' => [ 'isbinddomain' => [
'label' => 'Nameserver', 'label' => lng('admin.createzonefile'),
'type' => 'checkbox', 'type' => 'checkbox',
'value' => '1', 'value' => '1',
'checked' => true 'checked' => true
], ],
'zonefile' => [ 'zonefile' => [
'label' => 'Zonefile', 'label' => lng('admin.custombindzone'),
'desc' => lng('admin.bindzonewarning'), 'desc' => lng('admin.bindzonewarning'),
'type' => 'text' 'type' => 'text'
] ]

View File

@@ -430,13 +430,13 @@ return [
'visible' => Settings::Get('system.bind_enable') == '1' && $userinfo['change_serversettings'] == '1', 'visible' => Settings::Get('system.bind_enable') == '1' && $userinfo['change_serversettings'] == '1',
'fields' => [ 'fields' => [
'isbinddomain' => [ 'isbinddomain' => [
'label' => 'Nameserver', 'label' => lng('admin.createzonefile'),
'type' => 'checkbox', 'type' => 'checkbox',
'value' => '1', 'value' => '1',
'checked' => $result['isbinddomain'] 'checked' => $result['isbinddomain']
], ],
'zonefile' => [ 'zonefile' => [
'label' => 'Zonefile', 'label' => lng('admin.custombindzone'),
'desc' => lng('admin.bindzonewarning'), 'desc' => lng('admin.bindzonewarning'),
'type' => 'text', 'type' => 'text',
'value' => $result['zonefile'] 'value' => $result['zonefile']

View File

@@ -43,7 +43,8 @@ return [
'type' => 'textarea', 'type' => 'textarea',
'cols' => 100, 'cols' => 100,
'rows' => 15, 'rows' => 15,
'value' => $result['ssl_cert_file'] 'value' => $result['ssl_cert_file'],
'placeholder' => lng('domain.ssl_certificate_placeholder')
], ],
'ssl_key_file' => [ 'ssl_key_file' => [
'label' => lng('admin.ipsandports.ssl_key_file_content'), 'label' => lng('admin.ipsandports.ssl_key_file_content'),
@@ -51,7 +52,8 @@ return [
'type' => 'textarea', 'type' => 'textarea',
'cols' => 100, 'cols' => 100,
'rows' => 15, 'rows' => 15,
'value' => $result['ssl_key_file'] 'value' => $result['ssl_key_file'],
'placeholder' => lng('domain.ssl_key_placeholder')
], ],
'ssl_cert_chainfile' => [ 'ssl_cert_chainfile' => [
'label' => lng('admin.ipsandports.ssl_cert_chainfile_content'), 'label' => lng('admin.ipsandports.ssl_cert_chainfile_content'),

View File

@@ -173,6 +173,8 @@ return [
'SERVER_PORT' => 'Wird mit dem Standard-Port ersetzt', 'SERVER_PORT' => 'Wird mit dem Standard-Port ersetzt',
'DOMAINNAME' => 'Wird mit der Standardsubdomain des Kunden ersetzt (kann leer sein, wenn keine erstellt werden soll)', 'DOMAINNAME' => 'Wird mit der Standardsubdomain des Kunden ersetzt (kann leer sein, wenn keine erstellt werden soll)',
], ],
'createzonefile' => 'DNS Zone für Domain erstellen',
'custombindzone' => 'Eigene / manuelle Zone',
'bindzonewarning' => 'Leer für Standardeinstellung.<br /><strong class="text-danger">WARNUNG:</strong> Bei der Verwendung einer Zonendatei müssen alle benötigten Records aller Subdomains ebenfalls manuell verwaltet werden.', 'bindzonewarning' => 'Leer für Standardeinstellung.<br /><strong class="text-danger">WARNUNG:</strong> Bei der Verwendung einer Zonendatei müssen alle benötigten Records aller Subdomains ebenfalls manuell verwaltet werden.',
'ipsandports' => [ 'ipsandports' => [
'ipsandports' => 'IPs und Ports', 'ipsandports' => 'IPs und Ports',

View File

@@ -176,6 +176,8 @@ return [
'DOMAINNAME' => 'Replaces the customers standard-subdomain (can be empty if none is generated)', 'DOMAINNAME' => 'Replaces the customers standard-subdomain (can be empty if none is generated)',
], ],
'webserver' => 'Webserver', 'webserver' => 'Webserver',
'createzonefile' => 'Create dns zone for domain',
'custombindzone' => 'Custom / unmanaged zone file',
'bindzonewarning' => 'empty for defaults<br /><strong class="text-danger">ATTENTION:</strong> If you use a zonefile you will have to manage all required records for all sub-zones manually as well.', 'bindzonewarning' => 'empty for defaults<br /><strong class="text-danger">ATTENTION:</strong> If you use a zonefile you will have to manage all required records for all sub-zones manually as well.',
'ipsandports' => [ 'ipsandports' => [
'ipsandports' => 'IPs and Ports', 'ipsandports' => 'IPs and Ports',
@@ -705,6 +707,8 @@ return [
'docroot' => 'Path from field above', 'docroot' => 'Path from field above',
'homedir' => 'Home directory', 'homedir' => 'Home directory',
'docparent' => 'Parent-directory of path from field above', 'docparent' => 'Parent-directory of path from field above',
'ssl_certificate_placeholder' => '---- BEGIN CERTIFICATE---' . PHP_EOL . '[...]' . PHP_EOL . '----END CERTIFICATE----',
'ssl_key_placeholder' => '---- BEGIN RSA PRIVATE KEY-----' . PHP_EOL . '[...]' . PHP_EOL . '-----END RSA PRIVATE KEY-----',
], ],
'domains' => [ 'domains' => [
'description' => 'Here you can create (sub-)domains and change their paths.<br />The system will need some time to apply the new settings after every change.', 'description' => 'Here you can create (sub-)domains and change their paths.<br />The system will need some time to apply the new settings after every change.',