Skip to content

Commit

Permalink
inception-project#4068 - Ability to change interface language (i18n)
Browse files Browse the repository at this point in the history
 - inception-support files translation using properties files
  • Loading branch information
awachatilf committed Oct 11, 2023
1 parent 98269f9 commit b721ed8
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
<wicket:panel>
<ul wicket:id="feedbackul" class="feedbackPanel">
<li wicket:id="closeAll" class="alert alert-warning alert-dismissible">
<button class="btn btn-primary">Dismiss all messages</button>
After checking the messages below, you can use this button to dismiss all messages at once.
<button class="btn btn-primary"><wicket:message key="dismissAllMessages"/></button>
<wicket:message key="afterCheck"/>
</li>
<li wicket:id="messages">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="close"></button>
<span wicket:id="message">A message</span>
<span wicket:id="message"><wicket:message key="aMessage"/></span>
</li>
</ul>
</wicket:panel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h5 class="modal-title" wicket:id="title" />
<wicket:container wicket:id="expectedResponse" />
</p>
<div>
<input wicket:id="response" class="form-control" placeholder="Enter value here..."/>
<input wicket:id="response" wicket:message="placeholder:enterValueHere" class="form-control"/>
</div>
</div>
<div class="col-sm-12">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Licensed to the Technische Universität Darmstadt under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The Technische Universität Darmstadt
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
enterValueHere=Enter value here...
dismissAllMessages=Dismiss all messages
afterCheck=After checking the messages below, you can use this button to dismiss all messages at once.
aMessage=A message
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Licensed to the Technische Universität Darmstadt under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The Technische Universität Darmstadt
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
enterValueHere=Saisir la valeur ici...
dismissAllMessages=Rejeter tous les messages
afterCheck=Après avoir consulté les messages ci-dessous, vous pouvez utiliser ce bouton pour rejeter tous les messages en une seule fois.
aMessage=Un message

0 comments on commit b721ed8

Please sign in to comment.