Skip to content

fix: Added translation for room visibility dropdown #6786

Merged
puneetlath merged 4 commits into
Expensify:mainfrom
mananjadhav:fix/room-visibility-translate
Dec 16, 2021
Merged

fix: Added translation for room visibility dropdown #6786
puneetlath merged 4 commits into
Expensify:mainfrom
mananjadhav:fix/room-visibility-translate

Conversation

@mananjadhav

@mananjadhav mananjadhav commented Dec 15, 2021

Copy link
Copy Markdown
Collaborator

Details

  • Added translations for room visibility dropdown

Fixed Issues

$ #6733

Tests

  1. Verified translations in English as well as Spanish
  2. Verified Room creation visibility values being passed.

QA Steps

  1. Go to Preferences -> change your language
  2. On the home screen, click on the FAB and open the quick options menu
  3. Click on New Room
  4. Ensure that the visibility dropdown options are in the correct language translation

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

web-room-visibility-translation

Mobile Web

mweb-room-visibility-translation

Desktop

desktop-room-visibility-translation

iOS

ios-room-visibility-translation

Android

android-room-visibility-translation

@mananjadhav mananjadhav requested a review from a team as a code owner December 15, 2021 21:33
@MelvinBot MelvinBot requested review from parasharrajat and puneetlath and removed request for a team December 15, 2021 21:33
}
const shouldDisableSubmit = Boolean(!this.state.roomName || !this.state.policyID || this.state.error);

const visibilityOptions = _.map(_.values(CONST.REPORT.VISIBILITY), v => ({

@parasharrajat parasharrajat Dec 15, 2021

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please use a more descriptive name instead of v?

@mananjadhav

Copy link
Copy Markdown
Collaborator Author

@parasharrajat PR updated.

@parasharrajat parasharrajat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Cc:@puneetlath

🎀 👀 🎀

@puneetlath puneetlath left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@puneetlath puneetlath merged commit 42a9cc6 into Expensify:main Dec 16, 2021
@OSBotify

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by @puneetlath in version: 1.1.21-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by @sketchydroide in version: 1.1.22-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants