0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/.changeset/famous-clocks-collect.md

435 B

@logto/cli
patch

keep original untranslated mark when syncing keys

When executing pnpm cli translate sk --target all:

  • use JSDoc comment to stick with the standard approach
  • if the value was originally untranslated, keep the mark

For example:

Original

{
  "hello": "Hello", // UNTRANSLATED
  "world": "世界",
}

Now

{
  /** UNTRANSLATED */
  "hello": "Hello",
  "world": "世界",
}