Strings updates

Latest strings
Removed the LEGACY disappearing messages
New title for Share activity (also formatted the lines)
This commit is contained in:
ThomasSession
2024-09-04 10:15:58 +10:00
committed by fanchao
parent ffbb7d8a1b
commit 2f4c605613
13 changed files with 306 additions and 412 deletions

View File

@@ -74,14 +74,14 @@ object UpdateMessageBuilder {
.format()
}
2 -> {
Phrase.from(context, R.string.groupMemberTwoNew)
Phrase.from(context, R.string.groupMemberNewTwo)
.put(NAME_KEY, getSenderName(updateData.updatedMembers.elementAt(0)))
.put(OTHER_NAME_KEY, getSenderName(updateData.updatedMembers.elementAt(1)))
.format()
}
else -> {
val newMemberCountMinusOne = newMemberCount - 1
Phrase.from(context, R.string.groupMemberMoreNew)
Phrase.from(context, R.string.groupMemberNewMultiple)
.put(NAME_KEY, getSenderName(updateData.updatedMembers.elementAt(0)))
.put(COUNT_KEY, newMemberCountMinusOne)
.format()

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name" translatable="false">Session</string>
<string name="notificationsHeaderMute">Notifications - Muted</string>
<string name="about">About</string>
<string name="accept">Accept</string>
<string name="accountIDCopy">Copy Account ID</string>
@@ -156,7 +157,7 @@
<string name="callsVoiceAndVideo">Voice and Video Calls</string>
<string name="callsVoiceAndVideoBeta">Voice and Video Calls (Beta)</string>
<string name="callsVoiceAndVideoModalDescription">Your IP is visible to your call partner and an Oxen Foundation server while using beta calls.</string>
<string name="callsVoiceAndVideoToggleDescription">Enables voice and video calls to and from other users</string>
<string name="callsVoiceAndVideoToggleDescription">Enables voice and video calls to and from other users.</string>
<string name="callsYouCalled">You called {name}</string>
<string name="callsYouMissedCallPermissions">You missed a call from <b>{name}</b> because you haven\'t enabled <b>Voice and Video Calls</b> in Privacy Settings.</string>
<string name="cameraErrorNotFound">No camera found</string>
@@ -192,8 +193,9 @@
<string name="clearMessagesNoteToSelfDescription">Are you sure you want to clear all Note to Self messages from your device?</string>
<string name="close">Close</string>
<string name="closeWindow">Close Window</string>
<string name="communityBanDescription">This will ban the selected user from this Community. Are you sure you want to continue?</string>
<string name="commitHashDesktop">Commit Hash: {hash}</string>
<string name="communityBanDeleteDescription">This will ban the selected user from this Community and delete all their messages. Are you sure you want to continue?</string>
<string name="communityBanDescription">This will ban the selected user from this Community. Are you sure you want to continue?</string>
<string name="communityEnterUrl">Enter Community URL</string>
<string name="communityEnterUrlErrorInvalid">Invalid URL</string>
<string name="communityEnterUrlErrorInvalidDescription">Please check the Community URL and try again.</string>
@@ -228,7 +230,7 @@
<string name="conversationsAddedToHome">Added to home screen</string>
<string name="conversationsAudioMessages">Audio Messages</string>
<string name="conversationsAutoplayAudioMessage">Autoplay Audio Messages</string>
<string name="conversationsAutoplayAudioMessageDescription">Autoplay consecutively sent audio messages</string>
<string name="conversationsAutoplayAudioMessageDescription">Autoplay consecutively sent audio messages.</string>
<string name="conversationsBlockedContacts">Blocked Contacts</string>
<string name="conversationsCommunities">Communities</string>
<string name="conversationsDelete">Delete Conversation</string>
@@ -249,7 +251,7 @@
<string name="conversationsSendWithEnterKeyDescription">Tapping the Enter Key will send message instead of starting a new line.</string>
<string name="conversationsSettingsAllMedia">All Media</string>
<string name="conversationsSpellCheck">Spell Check</string>
<string name="conversationsSpellCheckDescription">Enable spell check when typing messages</string>
<string name="conversationsSpellCheckDescription">Enable spell check when typing messages.</string>
<string name="conversationsStart">Start Conversation</string>
<string name="copied">Copied</string>
<string name="copy">Copy</string>
@@ -328,6 +330,7 @@
<string name="disappearingMessagesTurnedOff"><b>{name}</b> has turned disappearing messages off. Messages they send will no longer disappear.</string>
<string name="disappearingMessagesTurnedOffGroup"><b>{name}</b> has turned disappearing messages <b>off</b>.</string>
<string name="disappearingMessagesTurnedOffYou"><b>You</b> turned <b>off</b> disappearing messages. Messages you send will no longer disappear.</string>
<string name="disappearingMessagesTurnedOffYouGroup"><b>You</b> turned <b>off</b> disappearing messages.</string>
<string name="disappearingMessagesTypeRead">read</string>
<string name="disappearingMessagesTypeSent">sent</string>
<string name="disappearingMessagesUpdated"><b>{admin_name}</b> updated disappearing message settings.</string>
@@ -363,6 +366,12 @@
<item quantity="one">And %1$d other has reacted %2$s to this message.</item>
<item quantity="other">And %1$d others have reacted %2$s to this message.</item>
</plurals>
<string name="emojiReactsHoverNameDesktop">{name} reacted with {emoji_name}</string>
<string name="emojiReactsHoverNameTwoDesktop">{name} and {other_name} reacted with {emoji_name}</string>
<string name="emojiReactsHoverTwoNameMultipleDesktop">{name} and <span>{count} others</span> reacted with {emoji_name}</string>
<string name="emojiReactsHoverYouNameDesktop">You reacted with {emoji_name}</string>
<string name="emojiReactsHoverYouNameMultipleDesktop">You and <span>{count} others</span> reacted with {emoji_name}</string>
<string name="emojiReactsHoverYouNameTwoDesktop">You and {name} reacted with {emoji_name}</string>
<string name="emojiReactsNotification">Reacted to your message {emoji}</string>
<string name="enable">Enable</string>
<string name="errorConnection">Please check your internet connection and try again.</string>
@@ -375,6 +384,7 @@
<string name="followSystemSettings">Follow system settings</string>
<string name="from">From:</string>
<string name="fullScreenToggle">Toggle Full Screen</string>
<string name="gif">GIF</string>
<string name="giphyWarning">Giphy</string>
<string name="giphyWarningDescription">{app_name} will connect to Giphy to provide search results. You will not have full metadata protection when sending GIFs.</string>
<string name="groupAddMemberMaximum">Groups have a maximum of 100 members</string>
@@ -409,23 +419,15 @@
<string name="groupMemberLeft"><b>{name}</b> left the group.</string>
<string name="groupMemberLeftMultiple"><b>{name}</b> and <b>{count} others</b> left the group.</string>
<string name="groupMemberLeftTwo"><b>{name}</b> and <b>{other_name}</b> left the group.</string>
<string name="groupMemberMoreNew"><b>{name}</b> and <b>{count} others</b> joined the group.</string>
<string name="groupMemberNew"><b>{name}</b> joined the group.</string>
<string name="groupMemberNew"><b>{name}</b> was invited to join the group.</string>
<string name="groupMemberNewHistory"><b>{name}</b> was invited to join the group. Chat history was shared.</string>
<string name="groupMemberNewHistoryMultiple"><b>{name}</b> and <b>{count} others</b> were invited to join the group. Chat history was shared.</string>
<string name="groupMemberNewHistoryTwo"><b>{name}</b> and <b>{other_name}</b> were invited to join the group. Chat history was shared.</string>
<string name="groupMemberNewMultiple"><b>{name}</b> and <b>{count} others</b> joined the group.</string>
<string name="groupMemberNewMultiple"><b>{name}</b> and <b>{count} others</b> were invited to join the group.</string>
<string name="groupMemberNewTwo"><b>{name}</b> and <b>{other_name}</b> were invited to join the group.</string>
<string name="groupMemberNewYouHistory"><b>{name}</b> was invited to join the group. Chat history was shared.</string>
<string name="groupMemberNewYouHistoryMultiple"><b>You</b> and <b>{count} others</b> were invited to join the group. Chat history was shared.</string>
<string name="groupMemberNewYouHistoryTwo"><b>You</b> and <b>{name}</b> were invited to join the group. Chat history was shared.</string>
<string name="groupMemberNewYouMultiple"><b>You</b> and <b>{count} others</b> were invited to join the group.</string>
<string name="groupMemberNewYouTwo"><b>You</b> and <b>{name}</b> were invited to join the group.</string>
<string name="groupMemberYouAndMoreNew"><b>You</b> and <b>{count} others</b> joined the group.</string>
<string name="groupMemberYouAndOtherNew"><b>You</b> and <b>{other_name}</b> joined the group.</string>
<string name="groupMemberTwoNew"><b>{name}</b> and <b>{other_name}</b> joined the group.</string>
<string name="groupMemberYouLeft"><b>You</b> left the group.</string>
<string name="groupMemberYouNew"><b>You</b> joined the group.</string>
<string name="groupMembers">Group Members</string>
<string name="groupMembersNone">There are no other members in this group.</string>
<string name="groupName">Group Name</string>
@@ -440,9 +442,8 @@
<string name="groupPromotedYouMultiple"><b>You</b> and <b>{count} others</b> were promoted to Admin.</string>
<string name="groupPromotedYouTwo"><b>You</b> and <b>{name}</b> were promoted to Admin.</string>
<string name="groupRemoveDescription">Would you like to remove <b>{name}</b> from <b>{group_name}</b>?</string>
<string name="groupRemoveDescriptionTwo">Would you like to remove <b>{name}</b> and <b>{other_name}</b> from <b>{group_name}</b>?</string>
<string name="groupRemoveMessages">Remove user and their messages</string>
<string name="groupRemoveDescriptionMultiple">Would you like to remove <b>{name}</b> and <b>{count} others</b> from <b>{group_name}</b>?</string>
<string name="groupRemoveDescriptionTwo">Would you like to remove <b>{name}</b> and <b>{other_name}</b> from <b>{group_name}</b>?</string>
<plurals name="groupRemoveMessages">
<item quantity="one">Remove user and their messages</item>
<item quantity="other">Remove users and their messages</item>
@@ -504,6 +505,7 @@
<string name="loading">Loading...</string>
<string name="lockApp">Lock App</string>
<string name="lockAppDescription">Require fingerprint, PIN, pattern or password to unlock {app_name}.</string>
<string name="lockAppDescriptionIos">Require Touch ID, Face ID or your passcode to unlock {app_name}.</string>
<string name="lockAppEnablePasscode">You must enable a passcode in your iOS Settings in order to use Screen Lock.</string>
<string name="lockAppLocked">{app_name} is locked</string>
<string name="lockAppQuickResponse">Quick response unavailable when {app_name} is locked!</string>
@@ -602,6 +604,8 @@
<string name="notificationsFastModeDescription">You\'ll be notified of new messages reliably and immediately using Google\'s notification Servers.</string>
<string name="notificationsFastModeDescriptionIos">You\'ll be notified of new messages reliably and immediately using Apple\'s notification Servers.</string>
<string name="notificationsGoToDevice">Go to device notification settings</string>
<string name="notificationsHeaderAllMessages">Notifications - All</string>
<string name="notificationsHeaderMentionsOnly">Notifications - Mentions Only</string>
<string name="notificationsIosGroup">{name} to {conversation_name}</string>
<string name="notificationsIosRestart">You may have received messages while your {device} was restarting.</string>
<string name="notificationsLedColor">LED color</string>
@@ -657,7 +661,7 @@
<string name="passwordCurrentIncorrect">Your current password is incorrect.</string>
<string name="passwordDescription">Require password to unlock {app_name}.</string>
<string name="passwordEnter">Enter password</string>
<string name="passwordEnterCurrent">Please enter your current password.</string>
<string name="passwordEnterCurrent">Please enter your current password</string>
<string name="passwordEnterNew">Please enter your new password</string>
<string name="passwordError">Password must only contain letters, numbers and symbols</string>
<string name="passwordErrorLength">Password must be between 6 and 64 characters long</string>
@@ -672,14 +676,16 @@
<string name="paste">Paste</string>
<string name="permissionsAppleMusic">{app_name} needs to use Apple Music to play media attachments.</string>
<string name="permissionsAutoUpdate">Auto Update</string>
<string name="permissionsAutoUpdateDescription">Automatically check for updates on startup</string>
<string name="permissionsAutoUpdateDescription">Automatically check for updates on startup.</string>
<string name="permissionsFaceId">The screen lock feature on {app_name} uses Face ID.</string>
<string name="permissionsKeepInSystemTray">Keep in System Tray</string>
<string name="permissionsKeepInSystemTrayDescription">{app_name} continues running in the background when you close the window</string>
<string name="permissionsLibrary">{app_name} needs photo library access to continue. You can enable access in the iOS settings.</string>
<string name="permissionsMicrophone">Microphone</string>
<string name="permissionsMicrophoneAccessRequired">{app_name} needs microphone access to send audio messages, but it has been permanently denied. Please continue to app settings, select \"Permissions\", and enable \"Microphone\".</string>
<string name="permissionsMicrophoneDescription">Allow access to microphone</string>
<string name="permissionsMicrophoneAccessRequiredDesktop">You can enable microphone access in {app_name}\'s privacy settings</string>
<string name="permissionsMicrophoneAccessRequiredIos">{app_name} needs microphone access to make calls and record audio messages.</string>
<string name="permissionsMicrophoneDescription">Allow access to microphone.</string>
<string name="permissionsRequired">Permission required</string>
<string name="permissionsStorageDenied">{app_name} needs storage access so you can send and save attachments. Tap Settings -&gt; Permissions, and turn \"Files and media\" on.</string>
<string name="permissionsStorageDeniedLegacy">{app_name} needs storage access so you can send and save attachments. Tap Settings -&gt; Permissions, and turn \"Storage\" on.</string>
@@ -722,10 +728,10 @@
<string name="recoveryPasswordErrorTitle">Incorrect Recovery Password</string>
<string name="recoveryPasswordExplanation">To load your account, enter your recovery password.</string>
<string name="recoveryPasswordHidePermanently">Hide Recovery Password Permanently</string>
<string name="recoveryPasswordHidePermanentlyDescription1">Without your recovery password, you cannot load your account on new devices.\n\nWe strongly recommend you save your recovery password in a safe and secure place before continuing.</string>
<string name="recoveryPasswordHidePermanentlyDescription1">Without your recovery password, you cannot load your account on new devices. \n\nWe strongly recommend you save your recovery password in a safe and secure place before continuing.</string>
<string name="recoveryPasswordHidePermanentlyDescription2">Are you sure you want to permanently hide your recovery password on this device? This cannot be undone.</string>
<string name="recoveryPasswordHideRecoveryPassword">Hide Recovery Password</string>
<string name="recoveryPasswordHideRecoveryPasswordDescription">Permanently hide your recover password on this device.</string>
<string name="recoveryPasswordHideRecoveryPasswordDescription">Permanently hide your recovery password on this device.</string>
<string name="recoveryPasswordRestoreDescription">Enter your recovery password to load your account. If you haven\'t saved it, you can find it in your app settings.</string>
<string name="recoveryPasswordView">View Password</string>
<string name="recoveryPasswordWarningSendDescription">This is your recovery password. If you send it to someone they\'ll have full access to your account.</string>
@@ -770,7 +776,6 @@
<string name="sessionHelp">Help</string>
<string name="sessionInviteAFriend">Invite a Friend</string>
<string name="sessionMessageRequests">Message Requests</string>
<string name="sessionNetworkSent">{token_name_long} ({<span>{token_name_short}</span>)</string>
<string name="sessionNotifications">Notifications</string>
<string name="sessionPermissions">Permissions</string>
<string name="sessionPrivacy">Privacy</string>
@@ -782,18 +787,19 @@
<string name="shareAccountIdDescription">Invite your friend to chat with you on {app_name} by sharing your Account ID with them.</string>
<string name="shareAccountIdDescriptionCopied">Share with your friends wherever you usually speak with them — then move the conversation here.</string>
<string name="shareExtensionDatabaseError">There is an issue opening the database. Please restart the app and try again.</string>
<string name="shareToSession">Share to {app_Name}</string>
<string name="shareToSession">Share to {app_name}</string>
<string name="show">Show</string>
<string name="showAll">Show All</string>
<string name="showLess">Show Less</string>
<string name="stickers">Stickers</string>
<string name="supportGoTo">Go to Support Page</string>
<string name="systemInformationDesktop">System Information: {information}</string>
<string name="theContinue">Continue</string>
<string name="theDefault">Default</string>
<string name="theError">Error</string>
<string name="tryAgain">Try Again</string>
<string name="typingIndicators">Typing Indicators</string>
<string name="typingIndicatorsDescription">See and share typing indicators</string>
<string name="typingIndicatorsDescription">See and share typing indicators.</string>
<string name="undo">Undo</string>
<string name="unknown">Unknown</string>
<string name="updateApp">App updates</string>
@@ -821,18 +827,4 @@
<string name="window">Window</string>
<string name="yes">Yes</string>
<string name="you">You</string>
<!-- USED as text for the Legacy ExpiryType enum defined in State.kt - however, I don' think
there's any way to set "Legacy" disappearing messages any more, that's gone. Although we
may still need to cater to _seeing_ Legacy disappearing messages from clients which haven't
been updated, perhaps?
Figma: https://www.figma.com/design/tEgZ8ujg76DdtPwEJv8zFp/Disappearing-Messages?t=25H0THKH9VADKm9s-0
Morgan 2024/07/31: "once the Onboarding release has gone out we can remove the 'Legacy'
disappearing message settings (there is a PR for iOS to do so already)"
-->
<string name="expiration_type_disappear_legacy">Legacy</string>
<!-- Missing from CrowdIn circa 2024-08-22 -->
<string name="messageStatusUploading">Uploading</string>
</resources>