mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
32 lines
435 B
Markdown
32 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": "世界",
|
||
|
}
|
||
|
```
|