Skip to content

Update ja localized messages#10265

Merged
kumavis merged 5 commits intodevelopfrom
update-jp-localized-messages
Feb 8, 2021
Merged

Update ja localized messages#10265
kumavis merged 5 commits intodevelopfrom
update-jp-localized-messages

Conversation

@Gudahtt
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt commented Jan 23, 2021

These translations were provided by Lionbridge.

@Gudahtt Gudahtt requested a review from a team as a code owner January 23, 2021 04:40
@Gudahtt Gudahtt requested a review from brad-decker January 23, 2021 04:40
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [f0f5694]
Page Load Metrics (794 ± 72 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint5310373136
domContentLoaded40994079115273
load41094179414972
domInteractive40894079115273

@Gudahtt Gudahtt changed the title Update jp localized messages Update ja localized messages Jan 25, 2021
@Gudahtt
Copy link
Copy Markdown
Member Author

Gudahtt commented Jan 25, 2021

If any community contributors would like to help review this PR, it would be greatly appreciated!

I'll tag anyone here that has contributed in the past: @nyatla @mamiM

I wanted to give you all the opportunity to provide feedback because we owe our current translations to you. Please don't feel obliged if you don't have the time to review, and please let me know if you'd like me to stop tagging you for reviews in the future.

Thanks!

@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Jan 26, 2021

I'll review it now and make a fix list.

@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Jan 26, 2021

I started checking and fixing.
Progress is 116/687.
You can find it in this repository.
https://github.com/nyatla/metamask_PR10265/tree/master/message_translation_review20200126
Give me a little more time.

@Gudahtt
Copy link
Copy Markdown
Member Author

Gudahtt commented Jan 26, 2021

Thank you @nyatla - take as much time as you need!

@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Jan 27, 2021

memo.
Please let me know if anyone have any comments.

  1. I feel that the description of connectToAllAccounts is incorrect.
    2.I'm trying to make "contacts" into an address book. (I will check the source later.)

@Gudahtt
Copy link
Copy Markdown
Member Author

Gudahtt commented Jan 27, 2021

2.I'm trying to make "contacts" into an address book.

Ah, great catch! That sounds good.

I feel that the description of connectToAllAccounts is incorrect.

Could you elaborate? Do you mean this description:

"will replace $1 in connectToAll, completing the sentence 'connect to all of your accounts', will be text that shows list of accounts on hover"

That is correct as far as I know 🤔. It's not a well written description though. I would update it to say:

"This will replace $1 in connectToAll, completing the sentence 'connect to all of your accounts'. This text will show a list of accounts on hover."

The hover behaviour is why that piece is translated separately; because we want to make a tooltip appear with additional information when the user hovers the mouse over that piece of text.

@Gudahtt
Copy link
Copy Markdown
Member Author

Gudahtt commented Jan 27, 2021

As an aside, I noticed that you wrote an interesting looking script to help with your efforts here. If there's any way we can make this process easier, I'd be interested in building a script like that into this repo directly.

We already have some scripts meant for working with these files. development/verify-locale-strings.js will validate and normalize these files, and development/missing-locale-strings.js will highlight any missing messages (it's newly merged so it's not on this branch, but it's on develop). But we don't have any script yet that puts the english translation alongside each message for comparison. That sounds potentially useful 🤔

@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Jan 28, 2021

I am sorry.
It is not description.

I thought it was a mistake because the current en message of "connectToAllAccounts" was "accounts".

@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Jan 29, 2021

backupApprovalInfo
backupApprovalNotice

Those are Secret Code / Secret, but this probably looks like a seed phrase.

@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Jan 30, 2021

1.rpcUrl is the New RPC URL. But it seems to the RPC URL.
2.endOfFlowMessage6
now: If you need to back up your seed phrase again, you can find it in Settings -> Security.
update: If you need to back up your seed phrase again, you can find it in Settings -> Security & Privacy.

I don't know how to fix and update Github, so I will verify everything in other repositories and then make a diff.

@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Feb 1, 2021

Currently , 601/687 translated.
I will finished it in a few days.

@Gudahtt Gudahtt force-pushed the update-jp-localized-messages branch from f0f5694 to 8b0d1a9 Compare February 2, 2021 14:58
@Gudahtt
Copy link
Copy Markdown
Member Author

Gudahtt commented Feb 2, 2021

This PR has been rebased onto develop to ensure that the yourSigRequested message was not present (it was removed in #10300).

@nyatla Sure, a diff would be great! I can prepare the changes for GitHub myself.

The rebase I just did should hopefully not affect your work, since only one message was removed, and it was at the very end of the file.

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [8b0d1a9]
Page Load Metrics (563 ± 46 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint49785973
domContentLoaded3496905629646
load3516915639646
domInteractive3496895629646

Copy link
Copy Markdown
Member

@kumavis kumavis left a comment

Choose a reason for hiding this comment

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

せいわ なっております 🙇

nyatla added a commit to nyatla/metamask-extension that referenced this pull request Feb 4, 2021
This is a patch based on pull request MetaMask#10265.
I checked the meaning of automatic translation and updated.

# Confirmation point
* Translation accuracy
* Appropriateness of expression at the display location using source code review.(It is not the display status)


# Major changes
* Delete spaces inserted by translation.
* Adjusted the length of the translated text to be the same as or shorter than the original text.
* unified the noun. (e.g. seed phrase, secret phrase)
* Replacement of expressions not exist in Japanese (e.g.  queue)
* In addition, changing the word order, etc.
* Expressions related to remittance.
This is a Japanese-specific problem that considers all crypts and tokens as money. Depending on the location, it is divided into three expressions: "送る","送金",”送信”.
"送金": When send ETH to any.
”送信”:When send Token ,Transaction, etc.
"送る":When used to mean both transmission and remittance.

I think missing-locale-strings.js will be 100% coverage.
@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Feb 4, 2021

This is pull request.
#10362

Gudahtt and others added 2 commits February 6, 2021 11:57
These translations were provided by Lionbridge.
@kumavis kumavis force-pushed the update-jp-localized-messages branch from 8b0d1a9 to fb48736 Compare February 6, 2021 03:59
@kumavis kumavis added the DO-NOT-MERGE Pull requests that should not be merged label Feb 6, 2021
@kumavis
Copy link
Copy Markdown
Member

kumavis commented Feb 6, 2021

blocked: need CLA approval from nyatla in #10362

@kumavis
Copy link
Copy Markdown
Member

kumavis commented Feb 6, 2021

rebased for storybook CI 😁

@kumavis
Copy link
Copy Markdown
Member

kumavis commented Feb 6, 2021

some strange errors, should be unrelated

[2021-02-06 06:04:30.873][e2e]       AssertionError [ERR_ASSERTION]: '21.00025' == '0.00025'

@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Feb 6, 2021

Is this error bt my patch?
Would you give me a hint of the error?

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [6afdf72]
Page Load Metrics (1916 ± 166 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaintNaNNaNNaNNaNNaN
domContentLoaded107925181907345166
load108225211916346166
domInteractive107925171906345166

@kumavis
Copy link
Copy Markdown
Member

kumavis commented Feb 8, 2021

@nyatla no the problem was not related to your changes

@kumavis
Copy link
Copy Markdown
Member

kumavis commented Feb 8, 2021

you can see part of the ja localization here
need to select ja from the localization dropdown at the top toolbar (globe icon)
https://242415-42009758-gh.circle-artifacts.com/0/storybook/index.html?path=/story/feecard--with-all-props

@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Feb 8, 2021

@kumavis OK, Thank you.

@kumavis kumavis removed the DO-NOT-MERGE Pull requests that should not be merged label Feb 8, 2021
@nyatla
Copy link
Copy Markdown
Contributor

nyatla commented Feb 8, 2021

@kumavis

This looks like the header text.

There are two interpretations.

  1. When the user requests Metamask to decrypt "something"
    復号をリクエスト

  2. When the user requests Metamask to decrypt the any "request"
    リクエストを復号

I could not run how this component works, so I selected 2.

kumavis
kumavis previously approved these changes Feb 8, 2021
Copy link
Copy Markdown
Member

@kumavis kumavis left a comment

Choose a reason for hiding this comment

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

👌

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [337c623]
Page Load Metrics (779 ± 63 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint489881147
domContentLoaded52895477813163
load52995677913163
domInteractive52895377813063

@kumavis kumavis merged commit fd42e3b into develop Feb 8, 2021
@kumavis kumavis deleted the update-jp-localized-messages branch February 8, 2021 15:31
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants