mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
refactor(i18n): simplify default translation placeholder
Remove language parameter from default value function since it's unused and simplify the placeholder text
This commit is contained in:
parent
66e48dbba9
commit
9dcaf84da6
@ -6,7 +6,7 @@ export default defineConfig({
|
||||
extract: {
|
||||
input: 'src/renderer/src/**/*.{ts,tsx}',
|
||||
output: 'src/renderer/src/i18n/locales/{{language}}.json',
|
||||
defaultValue: (_1, _2, lang, value) => `[translate to ${lang}]${value}`,
|
||||
defaultValue: (_1, _2, _3, value) => `[to be translated]${value}`,
|
||||
primaryLanguage: 'en-us',
|
||||
removeUnusedKeys: false
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user