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

Network settings: Grammar error in "Current Conversion" #5603

Closed
wbt opened this issue Oct 25, 2018 · 6 comments
Closed

Network settings: Grammar error in "Current Conversion" #5603

wbt opened this issue Oct 25, 2018 · 6 comments
Assignees
Labels
area-UI Relating to the user interface.

Comments

@wbt
Copy link
Contributor

wbt commented Oct 25, 2018

Describe the bug
In the Custom RPC editor, the first item is labeled "Current Conversion" and the second is "Primary Currency." In this context, it seems like that first word should be "Currency" instead of "Current."

To Reproduce

  1. Install MetaMask and create an account or log in to an existing install.
  2. Click on the MetaMask icon in the browser.
  3. Click the Network selector (where it might say "Main Ethereum Network" in the upper right).
  4. Click "Custom RPC" (the last item in the list).
  5. The network selector disappears and the UI changes to this:
    custom rpc editor

Expected behavior
In context with the second item focusing on "Currency," and with the default option in the list being "USD - United States Dollar," the word "Current" looks like a grammatical error where the word "Currency" should appear.

Browser details (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome 70.0.3538.77 (Official Build) (64-bit) (cohort: 70_77_Win)
  • MetaMask Version: 4.16.0
  • New / Beta UI
@bdresser
Copy link
Contributor

whoops, misunderstood - you're suggesting "Current Conversion" --> "Currency Conversion" ?

Makes sense to me, @alextsg what do you think?

@bdresser bdresser reopened this Oct 25, 2018
@bdresser bdresser added area-UI Relating to the user interface. design feedback labels Oct 25, 2018
@wbt
Copy link
Contributor Author

wbt commented Oct 25, 2018

Yep, this one should be a 5 minute fix in some text file. I was going to come back to it after finishing describing the other bugs.

@wbt
Copy link
Contributor Author

wbt commented Oct 25, 2018

I take that back...the project's pretty well translated!
The English version can be changed in app/_locales/en/messages.json:250, but other translations might need updating too. At least the ones that I understand reasonably well appear to have directly translated "current" instead of "currency."

@alextsg
Copy link
Contributor

alextsg commented Oct 25, 2018

@bdresser Yep that makes sense

@wbt One way around this and to prevent mistranslations would be to create a new key, ie. currencyConversion, and to use that instead. Languages that don't yet have a translation for currencyConversion will just have that string displayed in English to be translated later.

@wbt
Copy link
Contributor Author

wbt commented Oct 25, 2018

@alextsg That is a valid approach, though having another language's equivalent of "current conversion" is probably a better transition state than showing the English. What's the translation process like on this project?

@alextsg
Copy link
Contributor

alextsg commented Oct 26, 2018

@wbt The typical process is that a translation is added to the English file, then people using other languages see an English string in the app and create a separate pull request to add a translation for it. (Though ambitious people will add a translation for every language using Google translate, but I can't verify the accuracy of those translations) My point is that if we're changing app/_locales/en/messages.json to have "currentConversion" => "Currency Conversion", it's an incorrect translation and can be misleading. Furthermore, it's likely that people using other languages don't notice this change, and this never gets corrected in other languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-UI Relating to the user interface.
Projects
None yet
Development

No branches or pull requests

3 participants