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
 - Log messages page translation
  • Loading branch information
awachatilf committed May 28, 2024
1 parent 8ef38ea commit c51647e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@
<div class="flex-content flex-v-container">
<div class="m-3 d-flex flex-row align-items-center">
<button wicket:id="refresh" class="btn btn-primary">
<i class="fas fa-sync-alt me-2"></i> Refresh
<i class="fas fa-sync-alt me-2"></i> <wicket:message key="refresh" />
</button>

<div class="form-check form-switch ms-3">
<input class="form-check-input" type="checkbox" role="switch" wicket:id="autoRefresh">
<label class="form-check-label" wicket:for="autoRefresh">Auto-refresh</label>
<label class="form-check-label" wicket:for="autoRefresh"><wicket:message key="autoRefreshLabel" /></label>
</div>
</div>
<div wicket:id="messagesContainer" class="flex-content scrolling ">
<table class="table table-sm table-hover table-striped log-table">
<thead>
<tr class="headers">
<td></td>
<td>Time</td>
<td>Message</td>
<td><wicket:message key="time" /></td>
<td><wicket:message key="messageTitle" /></td>
</tr>
</thead>
<tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@
# limitations under the License.
page.title=Log
page.icon=
refresh=Refresh
autoRefreshLabel=Auto-refresh
time=Time
messageTitle=Message
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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.
page.title=Log
page.icon=
refresh=Rafraîchir
autoRefreshLabel=Auto-rafraîchissement
time=Heure
messageTitle=Message

0 comments on commit c51647e

Please sign in to comment.