Use strings from Localazy (#718)

* Adopt strings from Localazy.

* Remove all old Android strings.

* Disable german snapshot tests for now.

* Rebase and add latest strings.
This commit is contained in:
Doug
2023-03-27 18:18:59 +01:00
committed by GitHub
parent 8daa23b27a
commit 2b753b1135
215 changed files with 1911 additions and 118672 deletions
@@ -31,7 +31,7 @@ struct AlertInfo<T: Hashable>: Identifiable {
/// The alert's message (optional).
var message: String?
/// The alert's primary button title and action. Defaults to an Ok button with no action.
var primaryButton = AlertButton(title: ElementL10n.ok, action: nil)
var primaryButton = AlertButton(title: L10n.actionOk, action: nil)
/// The alert's secondary button title and action.
var secondaryButton: AlertButton?
}
@@ -63,8 +63,8 @@ extension AlertInfo {
/// - error: The Error that occurred.
init(id: T) {
self.id = id
title = ElementL10n.dialogTitleError
message = ElementL10n.unknownError
title = L10n.commonError
message = L10n.errorUnknown
}
}