Skip to content

Commit

Permalink
Localize the failed paths's warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrianilloo committed Sep 15, 2019
1 parent 3d9d57e commit c411a10
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion JBUI/src/jbui/controller/LoadablesController.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ void handleCloseViaConfirmation()
if (!mDistinctFailedModules.isEmpty())
{
Alert alert = new Alert(AlertType.WARNING);
alert.setContentText(mDistinctFailedModules.size() + " loaded path(s) failed and will be ignored");
alert.setContentText(mDistinctFailedModules.size()
+ JBUI.sInstance.mLocalizationResources.getString("IgnoringFailedPaths"));
alert.showAndWait();
}
}
Expand Down
2 changes: 2 additions & 0 deletions JBUI/src/jbui/resource/strings_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ FullInformation = Full information
GhostList = Ghost list
IgnoringFailedPaths = \ loaded path(s) failed and will be ignored
InitialStepsAmount = Initial number of steps:
IntruderKnowledge = Intruder knowledge
Expand Down
2 changes: 2 additions & 0 deletions JBUI/src/jbui/resource/strings_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ FullInformation = Informaci\u00F3n completa

GhostList = Lista de invisibles

IgnoringFailedPaths = \ ruta/s cargada/s fallaron y ser\u00E1n ignoradas

InitialStepsAmount = N\u00FAmero inicial de pasos:

IntruderKnowledge = Conocimiento del intruso
Expand Down

0 comments on commit c411a10

Please sign in to comment.