mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
31 lines
435 B
Markdown
31 lines
435 B
Markdown
---
|
|
"@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**
|
|
|
|
```ts
|
|
{
|
|
"hello": "Hello", // UNTRANSLATED
|
|
"world": "世界",
|
|
}
|
|
```
|
|
|
|
**Now**
|
|
|
|
```ts
|
|
{
|
|
/** UNTRANSLATED */
|
|
"hello": "Hello",
|
|
"world": "世界",
|
|
}
|
|
```
|