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

Commit 0773242

Browse files
Merge pull request #46 from code4teaching/app-bereichsueberschriften
App: Überschrift „Objektinspektor“ wie im Web
2 parents e1cd621 + af0951a commit 0773242

48 files changed

Lines changed: 55 additions & 9 deletions

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

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

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

12011201
// MARK: - Inspector: Zählschleife & Gruppentitel
12021202

1203-
/// Titel der Textbox: Kacheltyp statt generischem „ausgewähltes Element“ (Diagramm-Titel steht oben separat).
1203+
/// Titel der Textbox = sichtbare Bereichsüberschrift wie im Web und in den Lektionen: „Objektinspektor · Verzweigung“.
12041204
private var inspectorGroupBoxTitle: String {
1205+
let header = lang.tr("inspector_header")
12051206
guard let path = selectedPath,
12061207
let el = try? VisuStructDocumentEditing.element(at: path, in: document) else {
1207-
return lang.tr("inspector_group_element")
1208+
return header
12081209
}
1209-
return InspectorElementTypeLocalization.title(for: el.type, lang: lang)
1210+
return "\(header) · \(InspectorElementTypeLocalization.title(for: el.type, lang: lang))"
12101211
}
12111212

12121213
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)