Add hint about iCloud sharing

This commit is contained in:
Davide De Rosa 2024-10-04 00:51:56 +02:00
parent b660c499af
commit 27b7e62376
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
3 changed files with 4 additions and 3 deletions

View File

@ -291,8 +291,8 @@ public enum Strings {
} }
public enum General { public enum General {
public enum Rows { public enum Rows {
/// Share on iCloud /// Shared on iCloud
public static let icloudSharing = Strings.tr("Localizable", "modules.general.rows.icloud_sharing", fallback: "Share on iCloud") public static let icloudSharing = Strings.tr("Localizable", "modules.general.rows.icloud_sharing", fallback: "Shared on iCloud")
public enum IcloudSharing { public enum IcloudSharing {
/// Share on iCloud /// Share on iCloud
public static let purchase = Strings.tr("Localizable", "modules.general.rows.icloud_sharing.purchase", fallback: "Share on iCloud") public static let purchase = Strings.tr("Localizable", "modules.general.rows.icloud_sharing.purchase", fallback: "Share on iCloud")

View File

@ -168,7 +168,7 @@
// MARK: - Module views // MARK: - Module views
"modules.general.sections.storage.footer" = "Profiles are stored to iCloud encrypted."; "modules.general.sections.storage.footer" = "Profiles are stored to iCloud encrypted.";
"modules.general.rows.icloud_sharing" = "Share on iCloud"; "modules.general.rows.icloud_sharing" = "Shared on iCloud";
"modules.general.rows.icloud_sharing.purchase" = "Share on iCloud"; "modules.general.rows.icloud_sharing.purchase" = "Share on iCloud";
"modules.dns.servers.add" = "Add address"; "modules.dns.servers.add" = "Add address";

View File

@ -103,6 +103,7 @@ private extension ProfileRowView {
var sharingView: some View { var sharingView: some View {
ThemeImage(.cloud) ThemeImage(.cloud)
.foregroundStyle(.secondary) .foregroundStyle(.secondary)
.help(Strings.Modules.General.Rows.icloudSharing)
} }
var statusImage: Theme.ImageName { var statusImage: Theme.ImageName {