Closed ChaserVasya closed 2 weeks ago
Describe the bug apply command has incorrect behaviour. To Reproduce add new translation to base locale file
apply
enum DateRange { day, week, month, }
"dateRange(context=DateRange, param=type)" : { "day": "День", "week": "Неделя", "month": "Месяц" },
dart run slang analyze Fill other translations from _missing_translations.json dart run slang apply
dart run slang analyze
_missing_translations.json
dart run slang apply
output:
"dateRange(context=DateRange, param=type)": { "day": "Day", "week": "Week", "month": "Month" }, "dateRange": { "day": "Day", "week": "Week", "month": "Month" }
Expected behavior output:
"dateRange(context=DateRange, param=type)": { "day": "Day", "week": "Week", "month": "Month" },
Do you use the latest version?
@Tienisto 3.29.0
This should be already fixed in 3.30.1
Describe the bug
apply
command has incorrect behaviour. To Reproduce add new translation to base locale filedart run slang analyze
Fill other translations from_missing_translations.json
dart run slang apply
output:
Expected behavior output: