diff --git a/Riot/Assets/Images.xcassets/Common/Contents.json b/Riot/Assets/Images.xcassets/Common/Contents.json index da4a164c9..73c00596a 100644 --- a/Riot/Assets/Images.xcassets/Common/Contents.json +++ b/Riot/Assets/Images.xcassets/Common/Contents.json @@ -1,6 +1,6 @@ { "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 } -} \ No newline at end of file +} diff --git a/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/Contents.json b/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/Contents.json new file mode 100644 index 000000000..a6bb96098 --- /dev/null +++ b/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "share_action_button.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "share_action_button@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "share_action_button@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button.png b/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button.png new file mode 100644 index 000000000..0419bed49 Binary files /dev/null and b/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button.png differ diff --git a/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button@2x.png b/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button@2x.png new file mode 100644 index 000000000..23b7e2e7f Binary files /dev/null and b/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button@2x.png differ diff --git a/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button@3x.png b/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button@3x.png new file mode 100644 index 000000000..6670ef2f8 Binary files /dev/null and b/Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button@3x.png differ diff --git a/Riot/Assets/en.lproj/Vector.strings b/Riot/Assets/en.lproj/Vector.strings index 392b37ea0..a3a7ea4c5 100644 --- a/Riot/Assets/en.lproj/Vector.strings +++ b/Riot/Assets/en.lproj/Vector.strings @@ -1543,3 +1543,8 @@ Tap the + to start adding people."; "favourites_empty_view_title" = "Favourite rooms and people"; "favourites_empty_view_information" = "You can favourite a few ways - the quickest is just to press and hold. Tap the star and they’ll automatically appear here for safe keeping."; + +// MARK: - Invite friends + +"invite_friends_action" = "Invite friends"; +"invite_friends_share_text" = "Hey, talk to me on Element: %@"; diff --git a/Riot/Generated/Images.swift b/Riot/Generated/Images.swift index a6b1ae49f..9b66dc731 100644 --- a/Riot/Generated/Images.swift +++ b/Riot/Generated/Images.swift @@ -51,6 +51,7 @@ internal enum Asset { internal static let revealPasswordButton = ImageAsset(name: "reveal_password_button") internal static let selectionTick = ImageAsset(name: "selection_tick") internal static let selectionUntick = ImageAsset(name: "selection_untick") + internal static let shareActionButton = ImageAsset(name: "share_action_button") internal static let shrinkIcon = ImageAsset(name: "shrink_icon") internal static let smartphone = ImageAsset(name: "smartphone") internal static let startChat = ImageAsset(name: "start_chat") diff --git a/Riot/Generated/Strings.swift b/Riot/Generated/Strings.swift index 3e1f4216f..baa539c40 100644 --- a/Riot/Generated/Strings.swift +++ b/Riot/Generated/Strings.swift @@ -1454,6 +1454,14 @@ internal enum VectorL10n { internal static var invite: String { return VectorL10n.tr("Vector", "invite") } + /// Invite friends + internal static var inviteFriendsAction: String { + return VectorL10n.tr("Vector", "invite_friends_action") + } + /// Hey, talk to me on Element: %@ + internal static func inviteFriendsShareText(_ p1: String) -> String { + return VectorL10n.tr("Vector", "invite_friends_share_text", p1) + } /// Join internal static var join: String { return VectorL10n.tr("Vector", "join")