Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NormanTUD committed Dec 17, 2024
1 parent 249318d commit 21a76e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -7584,7 +7584,7 @@ function model_is_ok () {
msg = "Model has multiple output nodes.";
} else if($("#layers_container").find("li").length != model.layers.length ) {
color = red;
msg = `There is a different number of layers in the GUI than in the model (gui: ${$("#layers_container").find("li").length}, model: ${model.layers.length}).`;
msg = `${language[lang]["different_number_layers_gui_model"]} (GUI: ${$("#layers_container").find("li").length}, ${language[lang]["model"]}: ${model.layers.length}).`;
}
} catch (e) {
color = red;
Expand Down
8 changes: 6 additions & 2 deletions translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@
"code_and_contact" => "Code and contact",
"visualization_tab" => "Visualization",
"augmentation" => "Augmentation",
"general" => "General"
"general" => "General",
"different_number_layers_gui_model" => "There is a different number of layers in the GUI than in the model",
"model" => "model"
),

'de' => array(
Expand Down Expand Up @@ -729,7 +731,9 @@
"code_and_contact" => "Quellcode und Kontakt",
"visualization_tab" => "Visualisierung",
"augmentation" => "Augmentierung",
"general" => "Allgemein"
"general" => "Allgemein",
"different_number_layers_gui_model" => "Das geladene Modell und die GUI haben eine unterschiedliche Anzahl an Layern",
"model" => "Modell"
)
);

Expand Down

0 comments on commit 21a76e1

Please sign in to comment.