Skip to content

remove dig file - #51224

Merged
mgc1194 merged 1 commit into
stagingfrom
patch-for-pr-51164
Apr 7, 2023
Merged

remove dig file#51224
mgc1194 merged 1 commit into
stagingfrom
patch-for-pr-51164

Conversation

@mgc1194

@mgc1194 mgc1194 commented Apr 7, 2023

Copy link
Copy Markdown
Contributor

Patching #51164

Locale.json files in the apps directory are flat files, i.e. Strings are not wrapped with locale like in this example:

{
    "es-ES": {
        "data": { ... }
    }
{

Therefore, when parsing mlPlaygroun.json to merge external strings (from ml-playground repo) with local strings (from code-dot-org repo), the method dig does not work and should not be there.

Testing

Added translations to Spanish in Crowdin.
Ran sync Down and Out
Checked that apps/i18n/mlPlayground/es_es.json containes newly added strings and existing ones.

@mgc1194
mgc1194 requested a review from a team as a code owner April 7, 2023 21:58

@wilkie wilkie 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.

feels right haha 👍

@mgc1194
mgc1194 merged commit 043e8ce into staging Apr 7, 2023
@mgc1194
mgc1194 deleted the patch-for-pr-51164 branch April 7, 2023 22:42
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.

2 participants