Skip to content

Require English descriptions in locale files#10260

Merged
kumavis merged 1 commit intodevelopfrom
require-english-descriptions
Feb 3, 2021
Merged

Require English descriptions in locale files#10260
kumavis merged 1 commit intodevelopfrom
require-english-descriptions

Conversation

@Gudahtt
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt commented Jan 23, 2021

The verify-locale-strings.js script now validates that the descriptions from the en locale are also present in all other locales.

These descriptions are intended to help with translation, and are not meant to be translated. This check will ensure that translators don't accidentally translate these. It also ensures they're present alongside each translated message, which might be helpful for understanding context.

Base automatically changed from remove-missing-messages-from-verify-locales-script to develop January 26, 2021 17:33
@Gudahtt Gudahtt closed this Jan 26, 2021
@Gudahtt Gudahtt force-pushed the require-english-descriptions branch from e0580a3 to b441b7c Compare January 26, 2021 17:35
@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2021
@MetaMask MetaMask unlocked this conversation Jan 26, 2021
@Gudahtt Gudahtt reopened this Jan 26, 2021
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [84086dd]
Page Load Metrics (617 ± 41 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint47736163
domContentLoaded3728126168641
load3778136178541
domInteractive3728116158641

@Gudahtt Gudahtt marked this pull request as ready for review January 26, 2021 17:57
@Gudahtt Gudahtt requested review from a team and kumavis as code owners January 26, 2021 17:57
@Gudahtt Gudahtt requested a review from danjm January 26, 2021 17:57
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [b441b7c]
Page Load Metrics (799 ± 63 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint56936994
domContentLoaded44093279713163
load44193379913163
domInteractive44093279713163

The `verify-locale-strings.js` script now validates that the
descriptions from the `en` locale are also present in all other
locales.

These descriptions are intended to help with translation, and are not
meant to be translated. This check will ensure that translators don't
accidentally translate these. It also ensures they're present alongside
each translated message, which might be helpful for understanding
context.
@Gudahtt Gudahtt force-pushed the require-english-descriptions branch from 84086dd to 67cd5ed Compare February 2, 2021 14:46
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [67cd5ed]
Page Load Metrics (570 ± 34 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint448661105
domContentLoaded3726705687033
load3736715707034
domInteractive3726705687033

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.

nice!

@kumavis kumavis merged commit 181bd7b into develop Feb 3, 2021
@kumavis kumavis deleted the require-english-descriptions branch February 3, 2021 07:19
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 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