Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.

Commit 94311a4

Browse files
committed
Merge remote-tracking branch 'origin/main' into iphone-text-bearbeiten
2 parents 025a3d3 + 0773242 commit 94311a4

122 files changed

Lines changed: 3279 additions & 675 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The format is loosely inspired by Keep a Changelog.
88

99
### Changed
1010

11+
- **App:** the area below the diagram is headed “Object Inspector · <element kind>” (German „Objektinspektor · Verzweigung“ etc.), matching the web editor and the lessons. The palette keeps its heading “Elements”.
1112
- **Simulation:** conditions now support string comparisons (`name == "Anna"`, `name.equals("Anna")`), parentheses (`(a < 3 || a > 10) && b`), and negation with `!`. Operators inside string literals are no longer treated as operators.
1213
- **Simulation:** after an error the simulation stops on the failing block instead of skipping it and running on; Reset starts over.
1314

‎VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/ContentView.swift‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,13 +1211,14 @@ struct ContentView: View {
12111211

12121212
// MARK: - Inspector: Zählschleife & Gruppentitel
12131213

1214-
/// Titel der Textbox: Kacheltyp statt generischem „ausgewähltes Element“ (Diagramm-Titel steht oben separat).
1214+
/// Titel der Textbox = sichtbare Bereichsüberschrift wie im Web und in den Lektionen: „Objektinspektor · Verzweigung“.
12151215
private var inspectorGroupBoxTitle: String {
1216+
let header = lang.tr("inspector_header")
12161217
guard let path = selectedPath,
12171218
let el = try? VisuStructDocumentEditing.element(at: path, in: document) else {
1218-
return lang.tr("inspector_group_element")
1219+
return header
12191220
}
1220-
return InspectorElementTypeLocalization.title(for: el.type, lang: lang)
1221+
return "\(header) · \(InspectorElementTypeLocalization.title(for: el.type, lang: lang))"
12211222
}
12221223

12231224
private var inspectorShowsForLoopThreeFields: Bool {

‎VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/ar.lproj/Localizable.strings‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Palette */
22
"palette_header" = "العناصر";
3+
"inspector_header" = "مفتش الكائنات";
34

45
/* Actions */
56
"action_share_png" = "مشاركة الصورة…";

‎VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/da.lproj/Localizable.strings‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* NOTE: Initial Danish localization. */
22
"palette_header" = "Elementer";
3+
"inspector_header" = "Objektinspektør";
34

45
/* Actions */
56
"action_share_png" = "Del billede…";

‎VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/de.lproj/Localizable.strings‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Palette */
22
"palette_header" = "Elemente";
3+
"inspector_header" = "Objektinspektor";
34

45
/* Aktionen */
56
"action_share_png" = "Grafik teilen …";

‎VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/el.lproj/Localizable.strings‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Palette */
22
"palette_header" = "Στοιχεία";
3+
"inspector_header" = "Επιθεωρητής αντικειμένων";
34

45
/* Actions */
56
"action_share_png" = "Κοινή χρήση εικόνας…";

‎VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/en.lproj/Localizable.strings‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Palette */
22
"palette_header" = "Elements";
3+
"inspector_header" = "Object Inspector";
34

45
/* Actions */
56
"action_share_png" = "Share Graphic…";

‎VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/es.lproj/Localizable.strings‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Palette */
22
"palette_header" = "Elementos";
3+
"inspector_header" = "Inspector de objetos";
34

45
/* Actions */
56
"action_share_png" = "Compartir imagen…";

‎VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/fr.lproj/Localizable.strings‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Palette */
22
"palette_header" = "Éléments";
3+
"inspector_header" = "Inspecteur d’objets";
34

45
/* Actions */
56
"action_share_png" = "Partager l’image…";

‎VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/he.lproj/Localizable.strings‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Palette */
22
"palette_header" = "רכיבים";
3+
"inspector_header" = "מפקח אובייקטים";
34

45
/* Actions */
56
"action_share_png" = "שיתוף תמונה…";

0 commit comments

Comments
 (0)