String set
The SBUStringSet
class contains all strings that appear on the Live UIKit views. The following table shows the elements of SBUStringSet
and its default text.
Category | Key | String |
---|---|---|
Common | audioDevice | Audio device |
Common | camera | Camera |
Common | dateFormat | MMM DD, YYYY at h:mm PM or AM |
Common | unknownErrorAlertDescription | Something went wrong. |
Common | unknownErrorAlertTitle | Oops! |
LiveEvent Status | created | UPCOMING |
LiveEvent Status | ended | ENDED |
LiveEvent Status | ongoing | LIVE |
LiveEvent Status | ready | OPEN |
LiveEvent | duration(Int) | hh:mm:ss |
LiveEvent | participantCount(Int) | (count) participants |
LiveEvent | disconnectedAlertTitle | Disconnected temporarily |
LiveEvent | disconnectedAlertDescription | Try entering the live event again. |
List | headerButton | Create |
List | headerTitle | Live events |
List | emptyDescription | No live events |
List | hostNicknamePlaceholder | Host |
EnterEvent | roleDialogTitle | Choose your role |
EnterEvent | alertDescription | This live event will open soon. |
EnterEvent | alertTitle | Can't enter yet |
EnterEvent | roleDialogOptionHost | Host |
EnterEvent | roleDialogOptionParticipant | Participant |
CreateLiveEvent | addUsersForHostDialogTitle | Add users to be host |
CreateLiveEvent | addUsersForHostHeaderButton | Add |
CreateLiveEvent | addUsersForHostHeaderTitle | Add users to be host |
CreateLiveEvent | coverImageTitle | Cover image (optional) |
CreateLiveEvent | coverImageButton | Upload photo |
CreateLiveEvent | defaultTitle | Live event |
CreateLiveEvent | headerButton | Create |
CreateLiveEvent | headerTitle | New live event |
CreateLiveEvent | listUsersForHostHeaderTitle | Users who can be host |
CreateLiveEvent | removeFromList | Remove from list |
CreateLiveEvent | search | Search |
CreateLiveEvent | title | Title |
CreateLiveEvent | titlePlaceholder | Add a title |
CreateLiveEvent | usersForHostNickname | (nickname) (You) |
CreateLiveEvent | userIdPlaceholder | Enter user ID |
CreateLiveEvent | userSearchNoMatchDescription | No matches found with "{keyword}" |
CreateLiveEvent | userSearchNoUsersDescription | There are no users. |
CreateLiveEvent | userSearchErrorDescription | Something went wrong. Try again. |
CreateLiveEvent | usersForHost | Users who can be host |
StreamSetup | headerButton | Enter |
StreamSetup | headerTitle | Live event setup |
StreamSetup | readyDescription | When you enter, the live event will be open to participants and they can also enter to chat only. |
HostView | duration | Duration |
HostView | liveEventEndDialogTitle | End live event? |
HostView | liveEventEndDiaglogDescription | N/A |
HostView | liveEventEndDialogOptionEnd | End live event |
HostView | liveEventEndDialogOptionExit | Exit without ending |
HostView | peakConcurrentParticipantCount | Peak concurrent participants |
HostView | startLiveEventHeaderButton | Start |
HostView | totalParticipantsCount | Total participants |
ParticipantView | liveEventEndedDescription | Live event has ended. |
ParticipantView | liveEventLiveBannerHostMutedDescription | Host is muted. |
ParticipantView | liveEventLiveBannerHostUnavailableDescription | Host is temporarily unavailable. |
ParticipantView | liveEventReadyBannerDescription | Live event will begin soon. |
ParticipantView | participantListHeaderTitle | Participants |
LiveEventInformation | changeCoverImage | Change cover image |
LiveEventInformation | changeEventTitle | Change event title |
LiveEventInformation | changeEventTitlePlaceholder | Enter new title |
LiveEventInformation | changeTitle | Change title |
LiveEventInformation | createdAt | Created on |
LiveEventInformation | createdBy | Created by |
LiveEventInformation | editEvent | Edit this event? |
LiveEventInformation | host | Host |
LiveEventInformation | liveEventId | Live event ID |
LiveEventInformation | participants | Participants |
LiveEventInformation | participantListHeaderTitle | N/A |
LiveEventInformation | startedAt | Started on |
LiveEventInformation | startedBy | Started by |
LiveEventInformation | title | Live event information |
LiveEventInformation | usersForHost | Host users |
LiveEventInformation | usersForHostDescription | Any one of the users in the list below can act as a host for the live event. If the current host leaves the event, another user can act as the host. |
Customize SBUStringSet
Use the following code to customize SBUStringSet
. Customizing SBUStringSet
can replace text strings that are used as default across the UIKit with custom values.