Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added translation for room visibility dropdown #6786

Merged
merged 4 commits into from
Dec 16, 2021

Conversation

mananjadhav
Copy link
Collaborator

@mananjadhav mananjadhav commented Dec 15, 2021

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
@@ -129,6 +129,12 @@ class WorkspaceNewRoomPage extends React.Component {
return null;
}
const shouldDisableSubmit = Boolean(!this.state.roomName || !this.state.policyID || this.state.error);

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

@parasharrajat parasharrajat Dec 15, 2021

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
Collaborator Author

@parasharrajat PR updated.

Copy link
Member

@parasharrajat parasharrajat left a comment

Choose a reason for hiding this comment

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

LGTM

Cc:@puneetlath

🎀 👀 🎀

Copy link
Contributor

@puneetlath puneetlath left a comment

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
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
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
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