Pull renamed strings and fix compilation errors. (#2560)

* Pull renamed strings and fix compilation errors.

* Including all languages of course 🤦‍♂️
This commit is contained in:
Doug
2024-03-13 10:15:54 +00:00
committed by GitHub
parent 5944550721
commit 9d68d9e250
38 changed files with 512 additions and 494 deletions
@@ -36,11 +36,11 @@ struct ReportContentScreen: View {
private var reasonSection: some View {
Section {
ListRow(label: .plain(title: L10n.reportContentHint),
ListRow(label: .plain(title: L10n.screenReportContentHint),
kind: .textField(text: $context.reasonText, axis: .vertical))
.lineLimit(4, reservesSpace: true)
} footer: {
Text(L10n.reportContentExplanation)
Text(L10n.screenReportContentExplanation)
.compoundListSectionFooter()
}
}
@@ -136,7 +136,7 @@ struct TimelineCollapseButtonLabel: View {
var body: some View {
TimelineReactionButtonLabel {
Text(collapsed ? L10n.screenRoomReactionsShowMore : L10n.screenRoomReactionsShowLess)
Text(collapsed ? L10n.screenRoomTimelineReactionsShowMore : L10n.screenRoomTimelineReactionsShowLess)
.frame(height: lineHeight, alignment: .center)
.padding(.vertical, 6)
.padding(.horizontal, 12)
@@ -35,7 +35,7 @@ struct CollapsibleRoomTimelineView: View {
}
} label: {
HStack(alignment: .center, spacing: 8) {
Text(L10n.roomTimelineStateChanges(timelineItem.items.count))
Text(L10n.screenRoomTimelineStateChanges(timelineItem.items.count))
Text(Image(systemName: "chevron.forward"))
.rotationEffect(.degrees(isExpanded ? 90 : 0))
.animation(.elementDefault, value: isExpanded)
@@ -22,7 +22,7 @@ struct ReadMarkerRoomTimelineView: View {
var body: some View {
VStack(alignment: .trailing, spacing: 2) {
Text(L10n.roomTimelineReadMarkerTitle)
Text(L10n.screenRoomTimelineReadMarkerTitle)
.textCase(.uppercase)
.font(.compound.bodyXSSemibold)
.foregroundColor(.compound.textSecondary)
@@ -28,9 +28,9 @@ struct TimelineStartRoomTimelineView: View {
}
var title: String {
var text = L10n.roomTimelineBeginningOfRoomNoName
var text = L10n.screenRoomTimelineBeginningOfRoomNoName
if let name = timelineItem.name {
text = L10n.roomTimelineBeginningOfRoom(name)
text = L10n.screenRoomTimelineBeginningOfRoom(name)
}
return text
}