diff --git a/android/app/build.gradle b/android/app/build.gradle index 73b81bbb3bb2..cae5b393916d 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -149,8 +149,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled rootProject.ext.multiDexEnabled - versionCode 1001011601 - versionName "1.1.16-1" + versionCode 1001011602 + versionName "1.1.16-2" } splits { abi { diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist index adca41518da1..5e2bdebaae59 100644 --- a/ios/NewExpensify/Info.plist +++ b/ios/NewExpensify/Info.plist @@ -31,7 +31,7 @@ CFBundleVersion - 1.1.16.1 + 1.1.16.2 ITSAppUsesNonExemptEncryption LSApplicationQueriesSchemes diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist index 1626048c66b8..6ef0108bd60c 100644 --- a/ios/NewExpensifyTests/Info.plist +++ b/ios/NewExpensifyTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 1.1.16.1 + 1.1.16.2 diff --git a/package-lock.json b/package-lock.json index 1242191caded..43daf0380ec5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.1.16-1", + "version": "1.1.16-2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c7284a3ff62e..93cae1a680dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.1.16-1", + "version": "1.1.16-2", "author": "Expensify, Inc.", "homepage": "https://new.expensify.com", "description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.", diff --git a/src/components/ReportWelcomeText.js b/src/components/ReportWelcomeText.js index c53a9e1e5a08..9624cee94e72 100644 --- a/src/components/ReportWelcomeText.js +++ b/src/components/ReportWelcomeText.js @@ -10,6 +10,7 @@ import withLocalize, {withLocalizePropTypes} from './withLocalize'; import compose from '../libs/compose'; import {getPersonalDetailsForLogins} from '../libs/OptionsListUtils'; import ONYXKEYS from '../ONYXKEYS'; +import CONST from '../CONST'; const personalDetailsPropTypes = PropTypes.shape({ @@ -53,10 +54,15 @@ const ReportWelcomeText = (props) => { const longName = displayName || Str.removeSMSDomain(login); const longNameLocalized = Str.isSMSLogin(longName) ? props.toLocalPhone(longName) : longName; const shortName = firstName || longNameLocalized; + let finalPronouns = pronouns; + if (pronouns && pronouns.startsWith(CONST.PRONOUNS.PREFIX)) { + const localeKey = pronouns.replace(CONST.PRONOUNS.PREFIX, ''); + finalPronouns = props.translate(`pronouns.${localeKey}`); + } return { displayName: isMultipleParticipant ? shortName : longNameLocalized, tooltip: Str.removeSMSDomain(login), - pronouns, + pronouns: finalPronouns, }; }, );