Adjusted Landing page string substitutions to cater for emojis

This commit is contained in:
alansley
2024-08-27 15:33:55 +10:00
parent 4809b5444b
commit a402a1be79
4 changed files with 44 additions and 18 deletions

View File

@@ -1,14 +1,16 @@
package org.session.libsession.utilities
// Non-translatable strings for use with the UI
// Non-translatable strings for UI substitutions
object NonTranslatableStringConstants {
const val APP_NAME = "Session"
const val ARBISCAN = "Arbiscan"
const val ARBITRUM = "Arbitrum"
const val DEBUG_MENU = "Debug Menu"
const val ETHEREUM = "Ethereum"
const val NETWORK_NAME = "Session Network"
const val TOKEN_NAME_LONG = "Session Token"
const val TOKEN_NAME_LONG_PLURAL = "Session Tokens"
const val TOKEN_NAME_SHORT = "SENT"
const val APP_NAME = "Session"
const val ARBISCAN = "Arbiscan"
const val ARBITRUM = "Arbitrum"
const val DEBUG_MENU = "Debug Menu"
const val ETHEREUM = "Ethereum"
const val NETWORK_NAME = "Session Network"
const val TOKEN_NAME_LONG = "Session Token"
const val TOKEN_NAME_LONG_PLURAL = "Session Tokens"
const val TOKEN_NAME_SHORT = "SENT"
const val WAVING_HAND_EMOJI = "\uD83D\uDC4B" // Used on the landing page & substituted into `onboardingBubbleWelcomeToSession`
const val BACKHAND_INDEX_POINTING_DOWN_EMOJI = "\uD83D\uDC47" // Used on the landing page & substituted into `onboardingBubbleCreatingAnAccountIsEasy`
}

View File

@@ -613,11 +613,11 @@ NOTE: Strings with blank lines have manually been replaced with '\n\n' - this wi
<string name="onboardingAccountExists">I have an account</string>
<string name="onboardingBackAccountCreation">You cannot go back further. In order to cancel your account creation, {app_name} needs to quit.</string>
<string name="onboardingBackLoadAccount">You cannot go back further. In order to stop loading your account, {app_name} needs to quit.</string>
<string name="onboardingBubbleCreatingAnAccountIsEasy">Creating an account is instant, free, and anonymous </string>
<string name="onboardingBubbleCreatingAnAccountIsEasy">Creating an account is instant, free, and anonymous {emoji}</string>
<string name="onboardingBubbleNoPhoneNumber">You don\'t even need a phone number to sign up.</string>
<string name="onboardingBubblePrivacyInYourPocket">Privacy in your pocket.</string>
<string name="onboardingBubbleSessionIsEngineered">{app_name} is engineered to protect your privacy.</string>
<string name="onboardingBubbleWelcomeToSession">Welcome to {app_name}</string>
<string name="onboardingBubbleWelcomeToSession">Welcome to {app_name} {emoji}</string>
<string name="onboardingHitThePlusButton">Hit the plus button to start a chat, create a group, or join an official community!</string>
<string name="onboardingMessageNotificationExplanation">There are two ways {app_name} can notify you of new messages.</string>
<string name="onboardingPrivacy">Privacy Policy</string>