From 72dc0c7d01979d60e692020ef7f690d50bc4b33c Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 28 Aug 2020 16:45:02 +0200 Subject: [PATCH] update forms to handle translations --- templates/settings/admin-form.php | 16 +++++++++------- templates/settings/personal-form.php | 11 ++++++----- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/templates/settings/admin-form.php b/templates/settings/admin-form.php index b6de658..74f8b69 100644 --- a/templates/settings/admin-form.php +++ b/templates/settings/admin-form.php @@ -245,8 +245,9 @@ $choicesSizes = [ -

Use the shortcut Ctrl+o - to open and to hide the side menu. Use tab to navigate.

+

+ t('Use the shortcut Ctrl+o to open and to hide the side menu. Use tab to navigate.'); ?> +

@@ -284,7 +285,7 @@ $choicesSizes = [
-

This feature is not compatible with the big menu display.

+

t('This feature is not compatible with the big menu display.')); ?>

$value): ?> @@ -60,13 +61,13 @@ $choicesYesNo = [

- If there is no selection then the global configuration is applied. + t('If there is no selection then the global configuration is applied.')); ?>