mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Include app name in default session display name (#227)
This commit is contained in:
@@ -13,6 +13,7 @@ internal enum ElementInfoPlist {
|
||||
private static let _document = PlistDocument(path: "Info.plist")
|
||||
|
||||
internal static let cfBundleDevelopmentRegion: String = _document["CFBundleDevelopmentRegion"]
|
||||
internal static let cfBundleDisplayName: String = _document["CFBundleDisplayName"]
|
||||
internal static let cfBundleExecutable: String = _document["CFBundleExecutable"]
|
||||
internal static let cfBundleIdentifier: String = _document["CFBundleIdentifier"]
|
||||
internal static let cfBundleInfoDictionaryVersion: String = _document["CFBundleInfoDictionaryVersion"]
|
||||
|
||||
@@ -16,6 +16,10 @@ extension ElementL10n {
|
||||
public static let actionConfirm = ElementL10n.tr("Untranslated", "action_confirm")
|
||||
/// Match
|
||||
public static let actionMatch = ElementL10n.tr("Untranslated", "action_match")
|
||||
/// %@ iOS
|
||||
public static func defaultSessionDisplayName(_ p1: Any) -> String {
|
||||
return ElementL10n.tr("Untranslated", "default_session_display_name", String(describing: p1))
|
||||
}
|
||||
/// Mobile
|
||||
public static let loginMobileDevice = ElementL10n.tr("Untranslated", "login_mobile_device")
|
||||
/// Tablet
|
||||
|
||||
Reference in New Issue
Block a user