Update menu bar and copyright (#2025)

* Update menu bar

* Update copyright
This commit is contained in:
Ahnaf Mahmud 2024-04-02 07:25:52 +01:00 committed by GitHub
parent bc5bb8272a
commit eb82a67671
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 154 additions and 21 deletions

View file

@ -1209,6 +1209,7 @@
INFOPLIST_KEY_CFBundleDisplayName = "Ice Cubes"; INFOPLIST_KEY_CFBundleDisplayName = "Ice Cubes";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking";
INFOPLIST_KEY_NSCameraUsageDescription = "Upload photos & videos to attach to your Mastodon posts."; INFOPLIST_KEY_NSCameraUsageDescription = "Upload photos & videos to attach to your Mastodon posts.";
INFOPLIST_KEY_NSHumanReadableCopyright = "© 2024 Thomas Ricouard";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Upload photos & videos to Mastodon"; INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Upload photos & videos to Mastodon";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
@ -1263,6 +1264,7 @@
INFOPLIST_KEY_CFBundleDisplayName = "Ice Cubes"; INFOPLIST_KEY_CFBundleDisplayName = "Ice Cubes";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking";
INFOPLIST_KEY_NSCameraUsageDescription = "Upload photos & videos to attach to your Mastodon posts."; INFOPLIST_KEY_NSCameraUsageDescription = "Upload photos & videos to attach to your Mastodon posts.";
INFOPLIST_KEY_NSHumanReadableCopyright = "© 2024 Thomas Ricouard";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Upload photos & videos to Mastodon"; INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Upload photos & videos to Mastodon";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;

View file

@ -54,5 +54,11 @@ extension IceCubesApp {
} }
.keyboardShortcut("l", modifiers: .shift) .keyboardShortcut("l", modifiers: .shift)
} }
CommandGroup(replacing: .help) {
Button("menu.help.github") {
let url = URL(string: "https://github.com/Dimillian/IceCubesApp/issues")!
UIApplication.shared.open(url)
}
}
} }
} }

View file

@ -79,7 +79,7 @@ struct IceCubesApp: App {
} }
} }
class AppDelegate: NSObject, UIApplicationDelegate { class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_: UIApplication, func application(_: UIApplication,
didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool
{ {
@ -113,4 +113,11 @@ class AppDelegate: NSObject, UIApplicationDelegate {
} }
return configuration return configuration
} }
override func buildMenu(with builder: UIMenuBuilder) {
super.buildMenu(with: builder)
builder.remove(menu: .document)
builder.remove(menu: .toolbar)
builder.remove(menu: .sidebar)
}
} }

View file

@ -57,7 +57,7 @@ struct AboutView: View {
Label("settings.support.terms-of-use", systemImage: "checkmark.shield") Label("settings.support.terms-of-use", systemImage: "checkmark.shield")
} }
} footer: { } footer: {
Text("\(versionNumber)©2023 Thomas Ricouard") Text("\(versionNumber)© 2024 Thomas Ricouard")
} }
#if !os(visionOS) #if !os(visionOS)
.listRowBackground(theme.primaryBackgroundColor) .listRowBackground(theme.primaryBackgroundColor)

View file

@ -655,114 +655,114 @@
} }
} }
}, },
"%@©2023 Thomas Ricouard" : { "%@© 2024 Thomas Ricouard" : {
"localizations" : { "localizations" : {
"be" : { "be" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"ca" : { "ca" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"de" : { "de" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"en-GB" : { "en-GB" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"es" : { "es" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"eu" : { "eu" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"fr" : { "fr" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"it" : { "it" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"ja" : { "ja" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"ko" : { "ko" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"nb" : { "nb" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"nl" : { "nl" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"pl" : { "pl" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"pt-BR" : { "pt-BR" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"tr" : { "tr" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"uk" : { "uk" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"zh-Hans" : { "zh-Hans" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
}, },
"zh-Hant" : { "zh-Hant" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "%@©2023 Thomas Ricouard" "value" : "%@© 2024 Thomas Ricouard"
} }
} }
} }
@ -33901,6 +33901,124 @@
} }
} }
}, },
"menu.help.github" : {
"localizations" : {
"be" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"ca" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"de" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"en-GB" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"eu" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"it" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"nb" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"nl" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"pl" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"pt-BR" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"tr" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"uk" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub"
}
}
}
},
"menu.new-post" : { "menu.new-post" : {
"comment" : "MARK: Menu", "comment" : "MARK: Menu",
"localizations" : { "localizations" : {