Invite friends: Add string and assets.

This commit is contained in:
SBiOSoftWhare 2021-01-11 18:23:37 +01:00
parent 199ec0206e
commit 7e3c9d38cd
8 changed files with 40 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}

View file

@ -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
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

View file

@ -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 theyll automatically appear here for safe keeping.";
// MARK: - Invite friends
"invite_friends_action" = "Invite friends";
"invite_friends_share_text" = "Hey, talk to me on Element: %@";

View file

@ -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")

View file

@ -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")