Skip to content

Commit cb6413e

Browse files
committed
move more infomation paragraph to the bottom
Signed-off-by: lewisbirks <22620804+lewisbirks@users.noreply.github.com>
1 parent 7baaf5b commit cb6413e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/main/resources/io/jenkins/plugins/designlibrary/Localization/index.jelly

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ THE SOFTWARE.
2424
<?jelly escape-by-default='true'?>
2525
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form" xmlns:s="/lib/samples">
2626
<s:layout>
27-
<p class="jdl-paragraph jenkins-!-margin-bottom-3">${%leadParagraph}</p>
2827
<s:section title="${%titlejava}" description="${%howtojava}">
2928
<s:group>
3029
<s:preview fullWidth="true">
@@ -97,5 +96,8 @@ THE SOFTWARE.
9796
</s:code-pane>
9897
</s:code-panes>
9998
</s:section>
99+
<s:section>
100+
<p class="jdl-paragraph">${%moreInfo}</p>
101+
</s:section>
100102
</s:layout>
101103
</j:jelly>

src/main/resources/io/jenkins/plugins/designlibrary/Localization/index.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ hello=Hello {0}
44
titlejelly=Localize text in Jelly
55
howtojelly=Use <em>$&#123;%Text}</em> to create texts that can be localized. Create a properties files for content longer than a few words.
66
longtext=A longer text that should not appear inline in the jelly file.
7-
leadParagraph=A detailed explanation how to localize texts in Java and Jelly files can be found in the jenkins.io developer guide <a href="https://www.jenkins.io/doc/developer/internationalization/" target="_blank">Internationalization and Localization</a>.
87

98
titlejsJelly=Localize text in JavaScript via Jelly
109
howtojsJelly=Attach the localizations in attributes of template HTML elements via jelly which can then be retrieved via the document.
1110
titlejsHTTP=Localize text in JavaScript via HTTP
1211
howtojsHTTP=Load them over HTTP via an endpoint <br/><code>$JENKINS_URL/i18n/resourceBundle?baseName=package.path.to.property.file</code><br/> which retrieves the property file in the users' locale. \
13-
This returns a JSON object with the localized texts.
12+
This returns a JSON object with the localized texts.
13+
14+
moreInfo=A detailed explanation how to localize texts in Java and Jelly files can be found in the developer guide <a href="https://www.jenkins.io/doc/developer/internationalization/" target="_blank">Internationalization and Localization</a>.

0 commit comments

Comments
 (0)