Changes for page Writing XWiki Rendering Macros in wiki pages
Last modified by Clément Desableau on 2023/02/02
Change comment:
utilisateur courent -> utilisateur courant
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. lucaa1 +XWiki.pbas - Content
-
... ... @@ -94,8 +94,10 @@ 94 94 {{hello greetUser="true"/}} 95 95 {{/code}} 96 96 97 -== Translations == 97 +== Translations == 98 98 99 + 100 + 99 99 When your macro is ready, you might want to provide the description of the macro and its parameters in different languages. For that, you need to create a set of translation keys and values (as described [[here>>DevGuide.InternationalizingApplications]]) and then just use the following convention for the keys you add in this storage (no modification is needed on the macro itself, the association of the translations to the macro is done based on a convention of the form of the translation keys): 100 100 101 101 {{code}} ... ... @@ -114,7 +114,7 @@ 114 114 rendering.macro.hello.name=Macro pour dire bonjour 115 115 rendering.macro.hello.description=Ceci est une macro qui va dire "Bonjour" a l'utilisateur 116 116 rendering.macro.hello.parameter.greetUser.name=Personnaliser le message 117 -rendering.macro.hello.parameter.greetUser.description=Personnaliser le message pour l'utilisateur cour ent en train de visualiser la page. Les valeurs possibles sont "true" (oui) et "false" (non).119 +rendering.macro.hello.parameter.greetUser.description=Personnaliser le message pour l'utilisateur courant en train de visualiser la page. Les valeurs possibles sont "true" (oui) et "false" (non). 118 118 {{/code}} 119 119 120 120 = WYSIWYG Access =