Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

The bar's Selected and Moved read right after any figure

Țugui Dragoș07fed1716cd8
diff --git a/Localization/Peel/Localizable.xcstrings b/Localization/Peel/Localizable.xcstrings
index 3b5fcc8e..753d958b 100644
--- a/Localization/Peel/Localizable.xcstrings
+++ b/Localization/Peel/Localizable.xcstrings
@@ -57505,6 +57505,7 @@
}
},
"Moved" : {
+ "comment" : "A label after a figure at the foot of a page, for a moment after a removal: a size, such as 303 kB, or a count, such as 3 items. Write it so it reads right after any figure, never as a form that agrees with the number or adds (s).",
"localizations" : {
"cs" : {
"stringUnit" : {
@@ -57527,7 +57528,7 @@
"fr" : {
"stringUnit" : {
"state" : "translated",
- "value" : "déplacé(s)"
+ "value" : "dans la corbeille"
}
},
"it" : {
@@ -57581,7 +57582,7 @@
"sv" : {
"stringUnit" : {
"state" : "translated",
- "value" : "flyttade"
+ "value" : "till papperskorgen"
}
},
"tr" : {
@@ -99074,6 +99075,7 @@
}
},
"Selected" : {
+ "comment" : "A label after a figure at the foot of a page: a size, such as 303 kB, or a count, such as 3 items. Write it so it reads right after any figure, as \"en la selección\" does, never as a form that agrees with the number or adds (s).",
"localizations" : {
"cs" : {
"stringUnit" : {
@@ -99096,7 +99098,7 @@
"fr" : {
"stringUnit" : {
"state" : "translated",
- "value" : "sélectionné(s)"
+ "value" : "dans la sélection"
}
},
"it" : {
@@ -99126,7 +99128,7 @@
"pl" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Zaznaczone"
+ "value" : "Zaznaczono"
}
},
"pt" : {
@@ -99150,7 +99152,7 @@
"sv" : {
"stringUnit" : {
"state" : "translated",
- "value" : "markerade"
+ "value" : "i markeringen"
}
},
"tr" : {
@@ -99286,6 +99288,7 @@
}
},
"Selected on ^[%lld page](inflect: true)" : {
+ "comment" : "Under the figure in the bar at the foot of a page, when the selection is on several pages: the figure is a size, such as 426 kB. Word Selected as the bar's own \"Selected\" is worded, agreeing with no number but the pages'.",
"localizations" : {
"cs" : {
"variations" : {
@@ -99365,19 +99368,19 @@
"many" : {
"stringUnit" : {
"state" : "translated",
- "value" : "sélectionné(s) sur %lld de pages"
+ "value" : "dans la sélection, sur %lld de pages"
}
},
"one" : {
"stringUnit" : {
"state" : "translated",
- "value" : "sélectionné(s) sur %lld page"
+ "value" : "dans la sélection, sur %lld page"
}
},
"other" : {
"stringUnit" : {
"state" : "translated",
- "value" : "sélectionné(s) sur %lld pages"
+ "value" : "dans la sélection, sur %lld pages"
}
}
}
@@ -99443,25 +99446,25 @@
"few" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Zaznaczone na %lld stronach"
+ "value" : "Zaznaczono na %lld stronach"
}
},
"many" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Zaznaczone na %lld stronach"
+ "value" : "Zaznaczono na %lld stronach"
}
},
"one" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Zaznaczone na %lld stronie"
+ "value" : "Zaznaczono na %lld stronie"
}
},
"other" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Zaznaczone na %lld strony"
+ "value" : "Zaznaczono na %lld strony"
}
}
}
@@ -99551,13 +99554,13 @@
"one" : {
"stringUnit" : {
"state" : "translated",
- "value" : "markerade på %lld sida"
+ "value" : "i markeringen på %lld sida"
}
},
"other" : {
"stringUnit" : {
"state" : "translated",
- "value" : "markerade på %lld sidor"
+ "value" : "i markeringen på %lld sidor"
}
}
}
diff --git a/Peel/Views/History/HistoryDetailView.swift b/Peel/Views/History/HistoryDetailView.swift
index 80bb62d4..9505afff 100644
--- a/Peel/Views/History/HistoryDetailView.swift
+++ b/Peel/Views/History/HistoryDetailView.swift
@@ -253,7 +253,7 @@ private struct RestoreBar: View {
.font(.barFigure)
.monospacedDigit()
.contentTransition(.numericText(value: Double(count)))
- Text("Selected")
+ Text("Selected", comment: "A label after a figure at the foot of a page: a size, such as 303 kB, or a count, such as 3 items. Write it so it reads right after any figure, as \"en la selección\" does, never as a form that agrees with the number or adds (s).")
.foregroundStyle(.secondary)
}
} action: {
diff --git a/Peel/Views/RemovalBar.swift b/Peel/Views/RemovalBar.swift
index d4d90d15..36384a75 100644
--- a/Peel/Views/RemovalBar.swift
+++ b/Peel/Views/RemovalBar.swift
@@ -102,7 +102,7 @@ struct RemovalBar: View {
Text(moved.size.known > 0 ? moved.size.text : String(inflecting: "^[\(moved.records.count) item](inflect: true)"))
.font(.barFigure)
.monospacedDigit()
- Text("Moved")
+ Text("Moved", comment: "A label after a figure at the foot of a page, for a moment after a removal: a size, such as 303 kB, or a count, such as 3 items. Write it so it reads right after any figure, never as a form that agrees with the number or adds (s).")
.foregroundStyle(.secondary)
} else if isScanning {
ProgressView()
@@ -118,7 +118,7 @@ struct RemovalBar: View {
VStack(alignment: .leading, spacing: 0) {
figure(reading.total)
HStack(spacing: 4) {
- Text("Selected on ^[\(pages) page](inflect: true)")
+ Text("Selected on ^[\(pages) page](inflect: true)", comment: "Under the figure in the bar at the foot of a page, when the selection is on several pages: the figure is a size, such as 426 kB. Word Selected as the bar's own \"Selected\" is worded, agreeing with no number but the pages'.")
Image(systemName: "chevron.up")
.font(.caption2.weight(.semibold))
.accessibilityHidden(true)
@@ -134,7 +134,7 @@ struct RemovalBar: View {
}
} else {
figure(reading.total)
- Text("Selected")
+ Text("Selected", comment: "A label after a figure at the foot of a page: a size, such as 303 kB, or a count, such as 3 items. Write it so it reads right after any figure, as \"en la selección\" does, never as a form that agrees with the number or adds (s).")
.foregroundStyle(.secondary)
}
} action: {