You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"asset": {
"attachDoc(context=TaskType, param=attachDoc)": {
"calibrationGroup": "You can attach up to 5 documents to calibration tasks.",
"maintenanceGroup": "You can attach up to 5 documents to maintenance tasks.",
"retirement, breakdown, maintenance,calibration": "---"
},
"bulk": {
"changeStatus": "Change <b>Status</b> of selected tasks",
"editAssignment": "Edit <b>Assignment</b> of selected tasks",
"expiryDate": "Set <b>Expiry Date</b> of selected tasks",
"uplaodDocument": "Upload <b>Document</b> to selected tasks"
},
"calibrationGroupAttachUpToFiveDoc": "You can attach up to 5 documents to calibration tasks.",
"calibrationGroupCheckDocsAlreadyAttached": "Please check the documents already attached to the calibration tasks you selected.",
"checkDocsAlreadyAttached(context=TaskType, param=checkDocsAlreadyAttached)": {
"calibrationGroup": "Please check the documents already attached to the calibration tasks you selected.",
"maintenanceGroup": "Please check the documents already attached to the maintenance tasks you selected.",
"retirement, breakdown, maintenance,calibration": "---"
},
"detail(context=TaskType, param=detail)": {
"calibration": "Planned Calibration",
"maintenance": "Planned Maintenance",
"retirement, breakdown, maintenanceGroup,calibrationGroup": "---"
}
}
}
tr:
{
"asset": {
"attachDoc(context=TaskType, param=attachDoc)": {
"calibrationGroup": "Kalibrasyon görevlerine en fazla 5 belge ekleyebilirsiniz.",
"maintenanceGroup": "Bakım görevlerine en fazla 5 belge ekleyebilirsiniz.",
"retirement, breakdown, maintenance,calibration": "---"
},
"bulk": {
"changeStatus": "Seçili görevlerin <b>Durumunu</b> değiştir",
"editAssignment": "Seçilen görevlerin <b>Atamasını</b> düzenle",
"expiryDate": "Seçili görevlerin <b>Bitiş Tarihini</b> ayarla",
"uplaodDocument": "Seçili görevlere <b>Belge</b> yükle"
},
"calibrationGroupAttachUpToFiveDoc": "Kalibrasyon görevlerine en fazla 5 belge ekleyebilirsiniz.",
"calibrationGroupCheckDocsAlreadyAttached": "Lütfen seçtiğiniz kalibrasyon görevlerine eklenmiş olan belgeleri kontrol edin.",
"checkDocsAlreadyAttached(context=TaskType, param=checkDocsAlreadyAttached)": {
"calibrationGroup": "Lütfen seçtiğiniz kalibrasyon görevlerine eklenmiş olan belgeleri kontrol edin.",
"maintenanceGroup": "Lütfen seçtiğiniz bakım görevlerine eklenmiş olan belgeleri kontrol edin.",
"retirement, breakdown, maintenance,calibration": "---"
},
"detail(context=TaskType, param=detail)": {
"calibration": "Planlı Kalibrasyon",
"maintenance": "Planlı Bakım",
"retirement, breakdown, maintenanceGroup,calibrationGroup": "---"
}
}
}
ro:
{
"asset": {
"attachDoc(context=TaskType, param=attachDoc)": {
"calibrationGroup": "Poti adauga maxim 5 documente pentru calibrari.",
"maintenanceGroup": "Ati atins limita de 5 documente. Daca doriti sa adaugati alte documente puteti sterge din cele existente.",
"retirement, breakdown, maintenance,calibration": "---"
},
"bulk": {
"changeStatus": "Schimba <b>Statusul</b> sarcinii de lucru selectate.",
"editAssignment": "Editati <b> Atribuirea </b> la sarcinilor de lucru selectate.",
"expiryDate": "Setati <b>Data de expirare</b> a sarcinii de lucru selectate.",
"uplaodDocument": "Incarcati <b>un document </b> la sarcina de lucru selectata."
},
"calibrationGroupAttachUpToFiveDoc": "Poti adauga maxim 5 documente pentru calibrari.",
"calibrationGroupCheckDocsAlreadyAttached": "Va rugam sa verificati documentele deja introduse.",
"checkDocsAlreadyAttached(context=TaskType, param=checkDocsAlreadyAttached)": {
"calibrationGroup": "Please check the documents already attached to the calibration tasks you selected.",
"maintenanceGroup": "Please check the documents already attached to the maintenance tasks you selected.",
"retirement, breakdown, maintenance,calibration": "---"
},
"detail(context=TaskType, param=detail)": {
"calibration": "Calibrare planificata",
"maintenance": "Mentenanta Planificata",
"retirement, breakdown, maintenanceGroup,calibrationGroup": "---"
}
}
}
Create the enum file: touch lib/task_type_enum.dart
Describe the bug
Cannot generate translations when
fallback_strategy
set tobase_locale_empty_string
To Reproduce
Steps to reproduce the behavior:
flutter create slang_test
mkdir lib/translations
en:
tr:
ro:
touch lib/task_type_enum.dart
touch build.yaml
dart run slang
Expected behavior
Generator should generate translations without any error.
Additional context
Works fine when
fallback_strategy
set tonone
Before upgrading the package to latest version, i had the following versions and it was working fine:
In past, we opened this issue: issue
We saw your comment saying that the said the problem was solved, so we decided to update slang to latest version and encountered this problem.
And at that time, we created the following script which solved our problem:
What changes have been made and what/how should we implement it? I would be happy if you can navigate me to find out whats the problem.
The text was updated successfully, but these errors were encountered: