mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 15:22:39 +00:00
Invite friends: Add string and assets.
This commit is contained in:
parent
199ec0206e
commit
7e3c9d38cd
8 changed files with 40 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
23
Riot/Assets/Images.xcassets/Common/share_action_button.imageset/Contents.json
vendored
Normal file
23
Riot/Assets/Images.xcassets/Common/share_action_button.imageset/Contents.json
vendored
Normal 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
|
||||
}
|
||||
}
|
BIN
Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button.png
vendored
Normal file
BIN
Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 286 B |
BIN
Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button@2x.png
vendored
Normal file
BIN
Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button@2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 436 B |
BIN
Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button@3x.png
vendored
Normal file
BIN
Riot/Assets/Images.xcassets/Common/share_action_button.imageset/share_action_button@3x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 670 B |
|
@ -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: %@";
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue