diff --git a/lam/templates/config/mainlogin.php b/lam/templates/config/mainlogin.php index 813cea8a..5b4c2f15 100644 --- a/lam/templates/config/mainlogin.php +++ b/lam/templates/config/mainlogin.php @@ -2,7 +2,7 @@ /* This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) - Copyright (C) 2003 - 2019 Roland Gruber + Copyright (C) 2003 - 2020 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -96,7 +96,7 @@ printHeaderContents(_("Login"), '../..'); isWritable()) { - StatusMessage('WARN', 'The config file is not writable.', 'Your changes cannot be saved until you make the file writable for the webserver user.'); + StatusMessage('WARN', _('The config file is not writable.'), _('Your changes cannot be saved until you make the file writable for the webserver user.')); } if (!empty($_GET['invalidLicense']) && ($_GET['invalidLicense'] == '1')) { StatusMessage('WARN', _('Invalid licence'), _('Please setup your licence data.')); diff --git a/lam/templates/config/mainmanage.php b/lam/templates/config/mainmanage.php index 6d444a01..ea85bceb 100644 --- a/lam/templates/config/mainmanage.php +++ b/lam/templates/config/mainmanage.php @@ -295,7 +295,7 @@ printHeaderContents(_("Edit general settings"), '../..'); // check if config file is writable if (!$cfg->isWritable()) { - $row->add(new htmlStatusMessage('WARN', 'The config file is not writable.', 'Your changes cannot be saved until you make the file writable for the webserver user.'), 12); + $row->add(new htmlStatusMessage('WARN', _('The config file is not writable.'), _('Your changes cannot be saved until you make the file writable for the webserver user.')), 12); } // license