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-recommendation files translation using properties files
  • Loading branch information
awachatilf committed Oct 11, 2023
1 parent 10548d4 commit a68ebe1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<html xmlns:wicket="http://wicket.apache.org">
<wicket:panel>
<div class="modal-header">
<h5 class="modal-title">Confusion Matrix</h5>
<h5 class="modal-title"><wicket:message key="confusionMatrix"/></h5>
<!--
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
Expand All @@ -28,7 +28,7 @@ <h5 class="modal-title">Confusion Matrix</h5>
</div>
<div class="modal-body small p-0 flex-v-container" style="overflow: auto;">
<div class="p-2 text-center">
Expected label in rows, predicted label in columns.
<wicket:message key="expectedLabel"/>
</div>
<div class="scrolling flex-content" style="flex-basis: auto;">
<table style="width: 100%;">
Expand All @@ -41,14 +41,14 @@ <h5 class="modal-title">Confusion Matrix</h5>
</div>
<div>
<div class="px-2 pt-2">
<label>Evaluation datapoints</label>
<label><wicket:message key="evaluationDatapoints"/></label>
<span class="float-end">
<wicket:container wicket:id="totalDatapoints"/> @
<wicket:container wicket:id="datapointUnit"/>
</span>
</div>
<div class="px-2">
<label>Ignored as expected</label>
<label><wicket:message key="ignoredAsExpected"/></label>
<span class="float-end" wicket:id="ignoredLabels"/>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@
# limitations under the License.
evaluationsimulation.page.menuitem.label=Evaluation
projectrecommenders.menuitem.label=Recommenders
recommenderprojectsettings.panel.factory.label=Recommenders
recommenderprojectsettings.panel.factory.label=Recommenders
confusionMatrix=Confusion Matrix
expectedLabel=Expected label in rows, predicted label in columns.
evaluationDatapoints=Evaluation datapoints
ignoredAsExpected=Ignored as expected
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@
# limitations under the License.
evaluationsimulation.page.menuitem.label=Évaluation
projectrecommenders.menuitem.label=Recommandeurs
recommenderprojectsettings.panel.factory.label=Recommandeurs
recommenderprojectsettings.panel.factory.label=Recommandeurs
confusionMatrix=Matrice de confusion
expectedLabel=Étiquette attendue dans les lignes, étiquette prédite dans les colonnes.
evaluationDatapoints=Points de données d'évaluation
ignoredAsExpected=Ignorés comme prévu

0 comments on commit a68ebe1

Please sign in to comment.