diff options
-rw-r--r-- | inc/languages/fr/LC_MESSAGES/shaarli.po | 115 | ||||
-rw-r--r-- | tpl/default/pluginsadmin.html | 18 |
2 files changed, 70 insertions, 63 deletions
diff --git a/inc/languages/fr/LC_MESSAGES/shaarli.po b/inc/languages/fr/LC_MESSAGES/shaarli.po index 6b2de950..323c6111 100644 --- a/inc/languages/fr/LC_MESSAGES/shaarli.po +++ b/inc/languages/fr/LC_MESSAGES/shaarli.po | |||
@@ -1,8 +1,8 @@ | |||
1 | msgid "" | 1 | msgid "" |
2 | msgstr "" | 2 | msgstr "" |
3 | "Project-Id-Version: Shaarli\n" | 3 | "Project-Id-Version: Shaarli\n" |
4 | "POT-Creation-Date: 2017-10-22 13:13+0200\n" | 4 | "POT-Creation-Date: 2017-11-11 10:59+0100\n" |
5 | "PO-Revision-Date: 2017-10-22 13:14+0200\n" | 5 | "PO-Revision-Date: 2017-11-11 11:00+0100\n" |
6 | "Last-Translator: \n" | 6 | "Last-Translator: \n" |
7 | "Language-Team: Shaarli\n" | 7 | "Language-Team: Shaarli\n" |
8 | "Language: fr_FR\n" | 8 | "Language: fr_FR\n" |
@@ -161,11 +161,11 @@ msgstr "" | |||
161 | "a été importé avec succès en %d secondes : %d liens importés, %d liens " | 161 | "a été importé avec succès en %d secondes : %d liens importés, %d liens " |
162 | "écrasés, %d liens ignorés." | 162 | "écrasés, %d liens ignorés." |
163 | 163 | ||
164 | #: application/PageBuilder.php:165 | 164 | #: application/PageBuilder.php:167 |
165 | msgid "The page you are trying to reach does not exist or has been deleted." | 165 | msgid "The page you are trying to reach does not exist or has been deleted." |
166 | msgstr "La page que vous essayez de consulter n'existe pas ou a été supprimée." | 166 | msgstr "La page que vous essayez de consulter n'existe pas ou a été supprimée." |
167 | 167 | ||
168 | #: application/PageBuilder.php:167 | 168 | #: application/PageBuilder.php:169 |
169 | msgid "404 Not Found" | 169 | msgid "404 Not Found" |
170 | msgstr "404 Introuvable" | 170 | msgstr "404 Introuvable" |
171 | 171 | ||
@@ -178,44 +178,44 @@ msgstr "Les fichiers de l'extension \"%s\" sont introuvables." | |||
178 | msgid "Couldn't retrieve Updater class methods." | 178 | msgid "Couldn't retrieve Updater class methods." |
179 | msgstr "Impossible de récupérer les méthodes de la classe Updater." | 179 | msgstr "Impossible de récupérer les méthodes de la classe Updater." |
180 | 180 | ||
181 | #: application/Updater.php:485 | 181 | #: application/Updater.php:493 |
182 | msgid "An error occurred while running the update " | 182 | msgid "An error occurred while running the update " |
183 | msgstr "Une erreur s'est produite lors de l'exécution de la mise à jour " | 183 | msgstr "Une erreur s'est produite lors de l'exécution de la mise à jour " |
184 | 184 | ||
185 | #: application/Updater.php:525 | 185 | #: application/Updater.php:533 |
186 | msgid "Updates file path is not set, can't write updates." | 186 | msgid "Updates file path is not set, can't write updates." |
187 | msgstr "" | 187 | msgstr "" |
188 | "Le chemin vers le fichier de mise à jour n'est pas défini, impossible " | 188 | "Le chemin vers le fichier de mise à jour n'est pas défini, impossible " |
189 | "d'écrire les mises à jour." | 189 | "d'écrire les mises à jour." |
190 | 190 | ||
191 | #: application/Updater.php:530 | 191 | #: application/Updater.php:538 |
192 | msgid "Unable to write updates in " | 192 | msgid "Unable to write updates in " |
193 | msgstr "Impossible d'écrire les mises à jour dans " | 193 | msgstr "Impossible d'écrire les mises à jour dans " |
194 | 194 | ||
195 | #: application/Utils.php:406 tests/UtilsTest.php:398 | 195 | #: application/Utils.php:376 tests/UtilsTest.php:340 |
196 | msgid "Setting not set" | 196 | msgid "Setting not set" |
197 | msgstr "Paramètre non défini" | 197 | msgstr "Paramètre non défini" |
198 | 198 | ||
199 | #: application/Utils.php:413 tests/UtilsTest.php:396 tests/UtilsTest.php:397 | 199 | #: application/Utils.php:383 tests/UtilsTest.php:338 tests/UtilsTest.php:339 |
200 | msgid "Unlimited" | 200 | msgid "Unlimited" |
201 | msgstr "Illimité" | 201 | msgstr "Illimité" |
202 | 202 | ||
203 | #: application/Utils.php:416 tests/UtilsTest.php:393 tests/UtilsTest.php:394 | 203 | #: application/Utils.php:386 tests/UtilsTest.php:335 tests/UtilsTest.php:336 |
204 | #: tests/UtilsTest.php:408 | 204 | #: tests/UtilsTest.php:350 |
205 | msgid "B" | 205 | msgid "B" |
206 | msgstr "o" | 206 | msgstr "o" |
207 | 207 | ||
208 | #: application/Utils.php:416 tests/UtilsTest.php:387 tests/UtilsTest.php:388 | 208 | #: application/Utils.php:386 tests/UtilsTest.php:329 tests/UtilsTest.php:330 |
209 | #: tests/UtilsTest.php:395 | 209 | #: tests/UtilsTest.php:337 |
210 | msgid "kiB" | 210 | msgid "kiB" |
211 | msgstr "ko" | 211 | msgstr "ko" |
212 | 212 | ||
213 | #: application/Utils.php:416 tests/UtilsTest.php:389 tests/UtilsTest.php:390 | 213 | #: application/Utils.php:386 tests/UtilsTest.php:331 tests/UtilsTest.php:332 |
214 | #: tests/UtilsTest.php:406 tests/UtilsTest.php:407 | 214 | #: tests/UtilsTest.php:348 tests/UtilsTest.php:349 |
215 | msgid "MiB" | 215 | msgid "MiB" |
216 | msgstr "Mo" | 216 | msgstr "Mo" |
217 | 217 | ||
218 | #: application/Utils.php:416 tests/UtilsTest.php:391 tests/UtilsTest.php:392 | 218 | #: application/Utils.php:386 tests/UtilsTest.php:333 tests/UtilsTest.php:334 |
219 | msgid "GiB" | 219 | msgid "GiB" |
220 | msgstr "Go" | 220 | msgstr "Go" |
221 | 221 | ||
@@ -249,62 +249,62 @@ msgstr "Vous n'êtes pas autorisé à modifier la configuration." | |||
249 | msgid "Error accessing" | 249 | msgid "Error accessing" |
250 | msgstr "Une erreur s'est produite en accédant à" | 250 | msgstr "Une erreur s'est produite en accédant à" |
251 | 251 | ||
252 | #: index.php:133 | 252 | #: index.php:135 |
253 | msgid "Shared links on " | 253 | msgid "Shared links on " |
254 | msgstr "Liens partagés sur " | 254 | msgstr "Liens partagés sur " |
255 | 255 | ||
256 | #: index.php:155 | 256 | #: index.php:157 |
257 | msgid "Insufficient permissions:" | 257 | msgid "Insufficient permissions:" |
258 | msgstr "Permissions insuffisantes :" | 258 | msgstr "Permissions insuffisantes :" |
259 | 259 | ||
260 | #: index.php:382 | 260 | #: index.php:384 |
261 | msgid "I said: NO. You are banned for the moment. Go away." | 261 | msgid "I said: NO. You are banned for the moment. Go away." |
262 | msgstr "NON. Vous êtes banni pour le moment. Revenez plus tard." | 262 | msgstr "NON. Vous êtes banni pour le moment. Revenez plus tard." |
263 | 263 | ||
264 | #: index.php:447 | 264 | #: index.php:449 |
265 | msgid "Wrong login/password." | 265 | msgid "Wrong login/password." |
266 | msgstr "Nom d'utilisateur ou mot de passe incorrects." | 266 | msgstr "Nom d'utilisateur ou mot de passe incorrects." |
267 | 267 | ||
268 | #: index.php:1107 | 268 | #: index.php:1092 |
269 | msgid "You are not supposed to change a password on an Open Shaarli." | 269 | msgid "You are not supposed to change a password on an Open Shaarli." |
270 | msgstr "" | 270 | msgstr "" |
271 | "Vous n'êtes pas censé modifier le mot de passe d'un Shaarli en mode ouvert." | 271 | "Vous n'êtes pas censé modifier le mot de passe d'un Shaarli en mode ouvert." |
272 | 272 | ||
273 | #: index.php:1112 index.php:1153 index.php:1229 index.php:1259 index.php:1359 | 273 | #: index.php:1097 index.php:1138 index.php:1214 index.php:1244 index.php:1344 |
274 | msgid "Wrong token." | 274 | msgid "Wrong token." |
275 | msgstr "Jeton invalide." | 275 | msgstr "Jeton invalide." |
276 | 276 | ||
277 | #: index.php:1117 | 277 | #: index.php:1102 |
278 | msgid "The old password is not correct." | 278 | msgid "The old password is not correct." |
279 | msgstr "L'ancien mot de passe est incorrect." | 279 | msgstr "L'ancien mot de passe est incorrect." |
280 | 280 | ||
281 | #: index.php:1137 | 281 | #: index.php:1122 |
282 | msgid "Your password has been changed" | 282 | msgid "Your password has been changed" |
283 | msgstr "Votre mot de passe a été modifié" | 283 | msgstr "Votre mot de passe a été modifié" |
284 | 284 | ||
285 | #: index.php:1190 | 285 | #: index.php:1175 |
286 | msgid "Configuration was saved." | 286 | msgid "Configuration was saved." |
287 | msgstr "La configuration a été sauvegardé." | 287 | msgstr "La configuration a été sauvegardé." |
288 | 288 | ||
289 | #: index.php:1241 | 289 | #: index.php:1226 |
290 | #, php-format | 290 | #, php-format |
291 | msgid "The tag was removed from %d link." | 291 | msgid "The tag was removed from %d link." |
292 | msgid_plural "The tag was removed from %d links." | 292 | msgid_plural "The tag was removed from %d links." |
293 | msgstr[0] "Le tag a été supprimé de %d lien." | 293 | msgstr[0] "Le tag a été supprimé de %d lien." |
294 | msgstr[1] "Le tag a été supprimé de %d liens." | 294 | msgstr[1] "Le tag a été supprimé de %d liens." |
295 | 295 | ||
296 | #: index.php:1242 | 296 | #: index.php:1227 |
297 | #, php-format | 297 | #, php-format |
298 | msgid "The tag was renamed in %d link." | 298 | msgid "The tag was renamed in %d link." |
299 | msgid_plural "The tag was renamed in %d links." | 299 | msgid_plural "The tag was renamed in %d links." |
300 | msgstr[0] "Le tag a été renommé dans %d lien." | 300 | msgstr[0] "Le tag a été renommé dans %d lien." |
301 | msgstr[1] "Le tag a été renommé dans %d liens." | 301 | msgstr[1] "Le tag a été renommé dans %d liens." |
302 | 302 | ||
303 | #: index.php:1458 | 303 | #: index.php:1443 |
304 | msgid "Note: " | 304 | msgid "Note: " |
305 | msgstr "Note : " | 305 | msgstr "Note : " |
306 | 306 | ||
307 | #: index.php:1567 | 307 | #: index.php:1552 |
308 | #, php-format | 308 | #, php-format |
309 | msgid "" | 309 | msgid "" |
310 | "The file you are trying to upload is probably bigger than what this " | 310 | "The file you are trying to upload is probably bigger than what this " |
@@ -314,7 +314,7 @@ msgstr "" | |||
314 | "le serveur web peut accepter (%s). Merci de l'envoyer en parties plus " | 314 | "le serveur web peut accepter (%s). Merci de l'envoyer en parties plus " |
315 | "légères." | 315 | "légères." |
316 | 316 | ||
317 | #: index.php:1983 | 317 | #: index.php:1972 |
318 | #, php-format | 318 | #, php-format |
319 | msgid "" | 319 | msgid "" |
320 | "<pre>Sessions do not seem to work correctly on your server.<br>Make sure the " | 320 | "<pre>Sessions do not seem to work correctly on your server.<br>Make sure the " |
@@ -333,7 +333,7 @@ msgstr "" | |||
333 | "cookies. Nous vous recommandons d'accéder à votre serveur depuis son adresse " | 333 | "cookies. Nous vous recommandons d'accéder à votre serveur depuis son adresse " |
334 | "IP ou un <em>Fully Qualified Domain Name</em>.<br>" | 334 | "IP ou un <em>Fully Qualified Domain Name</em>.<br>" |
335 | 335 | ||
336 | #: index.php:1993 | 336 | #: index.php:1982 |
337 | msgid "Click to try again." | 337 | msgid "Click to try again." |
338 | msgstr "Cliquer ici pour réessayer." | 338 | msgstr "Cliquer ici pour réessayer." |
339 | 339 | ||
@@ -608,84 +608,72 @@ msgstr "Continent" | |||
608 | msgid "City" | 608 | msgid "City" |
609 | msgstr "Ville" | 609 | msgstr "Ville" |
610 | 610 | ||
611 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:163 | ||
612 | msgid "Redirector" | ||
613 | msgstr "Redirecteur" | ||
614 | |||
615 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:164 | ||
616 | msgid "e. g." | ||
617 | msgstr "ex :" | ||
618 | |||
619 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:164 | 611 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:164 |
620 | msgid "will mask the HTTP_REFERER" | ||
621 | msgstr "masque le HTTP_REFERER" | ||
622 | |||
623 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:179 | ||
624 | msgid "Disable session cookie hijacking protection" | 612 | msgid "Disable session cookie hijacking protection" |
625 | msgstr "Désactiver la protection contre le détournement de cookies" | 613 | msgstr "Désactiver la protection contre le détournement de cookies" |
626 | 614 | ||
627 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:181 | 615 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:166 |
628 | msgid "Check this if you get disconnected or if your IP address changes often" | 616 | msgid "Check this if you get disconnected or if your IP address changes often" |
629 | msgstr "" | 617 | msgstr "" |
630 | "Cocher cette case si vous êtes souvent déconnecté ou si votre adresse IP " | 618 | "Cocher cette case si vous êtes souvent déconnecté ou si votre adresse IP " |
631 | "change souvent" | 619 | "change souvent" |
632 | 620 | ||
633 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:198 | 621 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:183 |
634 | msgid "Private links by default" | 622 | msgid "Private links by default" |
635 | msgstr "Liens privés par défaut" | 623 | msgstr "Liens privés par défaut" |
636 | 624 | ||
637 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:199 | 625 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:184 |
638 | msgid "All new links are private by default" | 626 | msgid "All new links are private by default" |
639 | msgstr "Tous les nouveaux liens sont privés par défaut" | 627 | msgstr "Tous les nouveaux liens sont privés par défaut" |
640 | 628 | ||
641 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:214 | 629 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:199 |
642 | msgid "RSS direct links" | 630 | msgid "RSS direct links" |
643 | msgstr "Liens directs dans le flux RSS" | 631 | msgstr "Liens directs dans le flux RSS" |
644 | 632 | ||
645 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:215 | 633 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:200 |
646 | msgid "Check this to use direct URL instead of permalink in feeds" | 634 | msgid "Check this to use direct URL instead of permalink in feeds" |
647 | msgstr "" | 635 | msgstr "" |
648 | "Cocher cette case pour utiliser des liens directs au lieu des permaliens " | 636 | "Cocher cette case pour utiliser des liens directs au lieu des permaliens " |
649 | "dans le flux RSS" | 637 | "dans le flux RSS" |
650 | 638 | ||
651 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:230 | 639 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:215 |
652 | msgid "Hide public links" | 640 | msgid "Hide public links" |
653 | msgstr "Cacher les liens publics" | 641 | msgstr "Cacher les liens publics" |
654 | 642 | ||
655 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:231 | 643 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:216 |
656 | msgid "Do not show any links if the user is not logged in" | 644 | msgid "Do not show any links if the user is not logged in" |
657 | msgstr "N'afficher aucun lien sans être connecté" | 645 | msgstr "N'afficher aucun lien sans être connecté" |
658 | 646 | ||
659 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:246 | 647 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:231 |
660 | #: tmp/install.b91ef64efc3688266305ea9b42e5017e.rtpl.php:150 | 648 | #: tmp/install.b91ef64efc3688266305ea9b42e5017e.rtpl.php:150 |
661 | msgid "Check updates" | 649 | msgid "Check updates" |
662 | msgstr "Vérifier les mises à jour" | 650 | msgstr "Vérifier les mises à jour" |
663 | 651 | ||
664 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:247 | 652 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:232 |
665 | #: tmp/install.b91ef64efc3688266305ea9b42e5017e.rtpl.php:152 | 653 | #: tmp/install.b91ef64efc3688266305ea9b42e5017e.rtpl.php:152 |
666 | msgid "Notify me when a new release is ready" | 654 | msgid "Notify me when a new release is ready" |
667 | msgstr "Me notifier lorsqu'une nouvelle version est disponible" | 655 | msgstr "Me notifier lorsqu'une nouvelle version est disponible" |
668 | 656 | ||
669 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:262 | 657 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:247 |
670 | #: tmp/install.b91ef64efc3688266305ea9b42e5017e.rtpl.php:169 | 658 | #: tmp/install.b91ef64efc3688266305ea9b42e5017e.rtpl.php:169 |
671 | msgid "Enable REST API" | 659 | msgid "Enable REST API" |
672 | msgstr "Activer l'API REST" | 660 | msgstr "Activer l'API REST" |
673 | 661 | ||
674 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:263 | 662 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:248 |
675 | #: tmp/install.b91ef64efc3688266305ea9b42e5017e.rtpl.php:170 | 663 | #: tmp/install.b91ef64efc3688266305ea9b42e5017e.rtpl.php:170 |
676 | msgid "Allow third party software to use Shaarli such as mobile application" | 664 | msgid "Allow third party software to use Shaarli such as mobile application" |
677 | msgstr "" | 665 | msgstr "" |
678 | "Permets aux applications tierces d'utiliser Shaarli, par exemple les " | 666 | "Permets aux applications tierces d'utiliser Shaarli, par exemple les " |
679 | "applications mobiles" | 667 | "applications mobiles" |
680 | 668 | ||
681 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:278 | 669 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:263 |
682 | msgid "API secret" | 670 | msgid "API secret" |
683 | msgstr "Clé d'API secrète" | 671 | msgstr "Clé d'API secrète" |
684 | 672 | ||
685 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:289 | 673 | #: tmp/configure.b91ef64efc3688266305ea9b42e5017e.rtpl.php:274 |
686 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:74 | 674 | #: tmp/editlink.b91ef64efc3688266305ea9b42e5017e.rtpl.php:74 |
687 | #: tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:139 | 675 | #: tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:139 |
688 | #: tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:192 | 676 | #: tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:199 |
689 | msgid "Save" | 677 | msgid "Save" |
690 | msgstr "Enregistrer" | 678 | msgstr "Enregistrer" |
691 | 679 | ||
@@ -1130,6 +1118,10 @@ msgstr "dans la documentation" | |||
1130 | msgid "Plugin configuration" | 1118 | msgid "Plugin configuration" |
1131 | msgstr "Configuration des extensions" | 1119 | msgstr "Configuration des extensions" |
1132 | 1120 | ||
1121 | #: tmp/pluginsadmin.b91ef64efc3688266305ea9b42e5017e.rtpl.php:195 | ||
1122 | msgid "No parameter available." | ||
1123 | msgstr "Aucun paramètre disponible." | ||
1124 | |||
1133 | #: tmp/tag.cloud.b91ef64efc3688266305ea9b42e5017e.rtpl.php:19 | 1125 | #: tmp/tag.cloud.b91ef64efc3688266305ea9b42e5017e.rtpl.php:19 |
1134 | #: tmp/tag.list.b91ef64efc3688266305ea9b42e5017e.rtpl.php:19 | 1126 | #: tmp/tag.list.b91ef64efc3688266305ea9b42e5017e.rtpl.php:19 |
1135 | msgid "tags" | 1127 | msgid "tags" |
@@ -1292,6 +1284,15 @@ msgstr "" | |||
1292 | "Glisser ce lien dans votre barre de favoris ou cliquer droit dessus et « " | 1284 | "Glisser ce lien dans votre barre de favoris ou cliquer droit dessus et « " |
1293 | "Ajouter aux favoris »" | 1285 | "Ajouter aux favoris »" |
1294 | 1286 | ||
1287 | #~ msgid "Redirector" | ||
1288 | #~ msgstr "Redirecteur" | ||
1289 | |||
1290 | #~ msgid "e. g." | ||
1291 | #~ msgstr "ex :" | ||
1292 | |||
1293 | #~ msgid "will mask the HTTP_REFERER" | ||
1294 | #~ msgstr "masque le HTTP_REFERER" | ||
1295 | |||
1295 | #~ msgid "" | 1296 | #~ msgid "" |
1296 | #~ "An error occurred while parsing JSON configuration file (%s): error code #" | 1297 | #~ "An error occurred while parsing JSON configuration file (%s): error code #" |
1297 | #~ "%d" | 1298 | #~ "%d" |
diff --git a/tpl/default/pluginsadmin.html b/tpl/default/pluginsadmin.html index 717cb517..ca17b435 100644 --- a/tpl/default/pluginsadmin.html +++ b/tpl/default/pluginsadmin.html | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | <div> | 28 | <div> |
29 | {if="count($enabledPlugins)==0"} | 29 | {if="count($enabledPlugins)==0"} |
30 | <p>{'No plugin enabled.'|t}</p> | 30 | <p class="center">{'No plugin enabled.'|t}</p> |
31 | {else} | 31 | {else} |
32 | <table id="plugin_table"> | 32 | <table id="plugin_table"> |
33 | <thead> | 33 | <thead> |
@@ -77,7 +77,7 @@ | |||
77 | 77 | ||
78 | <div> | 78 | <div> |
79 | {if="count($disabledPlugins)==0"} | 79 | {if="count($disabledPlugins)==0"} |
80 | <p>{'No plugin disabled.'|t}</p> | 80 | <p class="center">{'No plugin disabled.'|t}</p> |
81 | {else} | 81 | {else} |
82 | <table> | 82 | <table> |
83 | <thead> | 83 | <thead> |
@@ -135,9 +135,11 @@ | |||
135 | <section id="plugin_parameters"> | 135 | <section id="plugin_parameters"> |
136 | <div> | 136 | <div> |
137 | {if="count($enabledPlugins)==0"} | 137 | {if="count($enabledPlugins)==0"} |
138 | <p>{'No plugin enabled.'|t}</p> | 138 | <p class="center">{'No plugin enabled.'|t}</p> |
139 | {else} | 139 | {else} |
140 | {$counter=0} | ||
140 | {loop="$enabledPlugins"} | 141 | {loop="$enabledPlugins"} |
142 | {$counter=$counter+count($value.parameters)} | ||
141 | {if="count($value.parameters) > 0"} | 143 | {if="count($value.parameters) > 0"} |
142 | <div class="plugin_parameters"> | 144 | <div class="plugin_parameters"> |
143 | <h3 class="window-subtitle">{function="str_replace('_', ' ', $key)"}</h3> | 145 | <h3 class="window-subtitle">{function="str_replace('_', ' ', $key)"}</h3> |
@@ -159,10 +161,14 @@ | |||
159 | </div> | 161 | </div> |
160 | {/if} | 162 | {/if} |
161 | {/loop} | 163 | {/loop} |
164 | {if="$counter===0"} | ||
165 | <p class="center">{'No parameter available.'|t}</p> | ||
166 | {else} | ||
167 | <div class="center"> | ||
168 | <input type="submit" name="parameters_form" value="{'Save'|t}"/> | ||
169 | </div> | ||
170 | {/if} | ||
162 | {/if} | 171 | {/if} |
163 | <div class="center"> | ||
164 | <input type="submit" name="parameters_form" value="{'Save'|t}"/> | ||
165 | </div> | ||
166 | </div> | 172 | </div> |
167 | </section> | 173 | </section> |
168 | </div> | 174 | </div> |