Project

General

Profile

Revision 945f4815

ID945f4815d3a6d6b74830b5bf8873b5ece75bb843
Parent 7edf6638
Child a68b0db7

Added by Francois POIROTTE over 6 years ago

Ajout support de l'i18n

Change-Id: Ia013cc72ffd1f93a9eecc2b94609284d58cc8e12

View differences:

src/plugins/vigilo/inc/menu.class.php
122 122
                $DB->query($query);
123 123
            }
124 124
        } elseif ($needs_deploy) {
125
            echo "Cliquez sur « Déployer la configuration » pour appliquer les modifications en attente.";
125
            echo __('Click on "Deploy the configuration" to apply changes.', "vigilo");
126 126
        } else {
127
            echo "La configuration est à jour.";
127
            echo __("The configuration is already up-to-date.", "vigilo");
128 128
        }
129 129

  
130 130
        $force = empty($_POST['force']) ? '' : 'checked';
131 131
        $debug = empty($_POST['debug']) ? '' : 'checked';
132
        $debug_title = htmlspecialchars(__("Display debug and progress information for Vigilo", "vigilo"), ENT_XML1 | ENT_QUOTES, "utf-8");
133
        $debug_label = htmlspecialchars(__("Display debug information", "vigilo"), ENT_XML1 | ENT_QUOTES, "utf-8");
134
        $force_title = htmlspecialchars(__("Force a full deployment rather than an incremental one", "vigilo"), ENT_XML1 | ENT_QUOTES, "utf-8");
135
        $force_label = htmlspecialchars(__("Regenerate all files", "vigilo"), ENT_XML1 | ENT_QUOTES, "utf-8");
136
        $deploy_title = htmlspecialchars(__("Deploy the configuration", "vigilo"), ENT_XML1 | ENT_QUOTES, "utf-8");
132 137
        echo <<<HTML
133 138
</textarea>
134 139

  
135
<button type="submit" name="deploy" value="1">Déployer la configuration</button>
140
<button type="submit" name="deploy" value="1">$deploy_title</button>
136 141

  
137
<label for="debug"><input name="debug" id="debug" value="1" type="checkbox" $debug
138
 title="Affiche les informations de diagnostic et de progression de Vigilo"
139
/> Afficher les informations de débogage</label>
142
<label for="debug"><input name="debug" id="debug" value="1" type="checkbox" $debug title="$debug_title"/> $debug_label</label>
140 143

  
141
<label for="force"><input name="force" id="force" value="1" type="checkbox" $force
142
 title="Force un déploiement complet plutôt qu'un déploiement en mode incrémental"
143
/> Regénérer tous les fichiers</label>
144
<label for="force"><input name="force" id="force" value="1" type="checkbox" $force title="$force_title"/> $force_label</label>
144 145
HTML;
145 146
        Html::closeForm();
146 147
    }

Also available in: Unified diff