Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix(wizard): remove localization for strings which should not localized
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry authored and ajsb85 committed Jul 9, 2018
1 parent c8530cd commit 95045c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion inc/entityconfig.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function prepareInputForUpdate($input) {
if (!Session::haveRight(static::$rightname,
PluginFlyvemdmEntityConfig::RIGHT_FLYVEMDM_APP_DOWNLOAD_URL)) {
unset($input['download_url']);
Session::addMessageAfterRedirect(__('You are not allowed to download URL of the MDM agent', 'flyvemdm'), false, WARNING);
Session::addMessageAfterRedirect(__('You are not allowed to change the download URL of the MDM agent', 'flyvemdm'), false, WARNING);
$failure = true;
}

Expand Down
8 changes: 4 additions & 4 deletions tpl/config-wizard.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<td>
<p>{{ __('Flyve MDM requires cron job to run automatic actions.', 'flyvemdm') }}</p>
<p>{{ __('As root in a terminal, execute the following command. Adapt www-data to the user running your HTTP server.', 'flyvemdm') }}</p>
<p>{{ __('crontab -e -u www-data', 'flyvemdm') }}</p>
<p>crontab -e -u www-data</p>
<p>{{ __('Add, if missing, the following line. Adapt path to php CLI binary and path to GLPI:', 'flyvemdm') }}</p>
<p>*/1 * * * * /usr/bin/php /var/www/html/glpi/front/cron.php &amp;>/dev/null</p>
<p>{{ __('Automatic actions registered in the scheduler of GLPI will run every minute.', 'flyvemdm') }}</p>
Expand Down Expand Up @@ -131,9 +131,9 @@ upload_max_filesize = 8M
<td>
<p>{{ __('For FusionInventory greater than 9.1 + 1.1:', 'flyvemdm') }}</p>
<p>{{ __('It is required to deactivate the following rules in the Equipment import and link rules menu: ', 'flyvemdm') }}</p>
<p>{{ __('- Computer constraint (name)', 'flyvemdm') }}</p>
<p>{{ __('- Computer update (by name)', 'flyvemdm') }}</p>
<p>{{ __('- Computer import (by name)', 'flyvemdm') }}</p>
<p>- Computer constraint (name)</p>
<p>- Computer update (by name)</p>
<p>- Computer import (by name)</p>
<p>{{ __('The following link will open a new tab to the Rules > Equipment import and link rules section of FusionInventory ', 'flyvemdm') }}</p>
<p><a href="../../../plugins/fusioninventory/front/inventoryruleimport.php" target="_blank">{{ __('Rules', 'flyvemdm' )}}</a></p>
<p>{{ __('Not disabling this rule will make FusionInventory reject inventories from devices.', 'flyvemdm') }}</p>
Expand Down

0 comments on commit 95045c3

Please sign in to comment.