Skip to content

Commit

Permalink
refactor: provide enable validation for each service
Browse files Browse the repository at this point in the history
  • Loading branch information
CanglongCl committed Nov 19, 2024
1 parent 9d5f3da commit b48fd7b
Show file tree
Hide file tree
Showing 2 changed files with 184 additions and 122 deletions.
113 changes: 78 additions & 35 deletions Easydict/App/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -799,40 +799,6 @@
}
}
},
"setting.service.back" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Back"
}
},
"en-CA" : {
"stringUnit" : {
"state" : "translated",
"value" : "Back"
}
},
"sk" : {
"stringUnit" : {
"state" : "translated",
"value" : "Späť"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "返回"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "返回"
}
}
}
},
"Baidu" : {
"extractionState" : "manual",
"localizations" : {
Expand Down Expand Up @@ -1998,6 +1964,17 @@
}
}
},
"fail_validate_service %@" : {
"extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : " Fail to enable @%"
}
}
}
},
"Failed to allocate memory" : {
"comment" : "Error reason",
"localizations" : {
Expand Down Expand Up @@ -8314,6 +8291,40 @@
}
}
},
"setting.service.back" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Back"
}
},
"en-CA" : {
"stringUnit" : {
"state" : "translated",
"value" : "Back"
}
},
"sk" : {
"stringUnit" : {
"state" : "translated",
"value" : "Späť"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "返回"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "返回"
}
}
}
},
"setting.service.detail.no_configuration %@" : {
"localizations" : {
"en" : {
Expand Down Expand Up @@ -8416,6 +8427,38 @@
}
}
},
"setting.service.unable_enable %@" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Unable to enable translation service %@"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "启用%@翻译服务失败"
}
}
}
},
"setting.service.validate.error.empty_translate_result" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Fail to validate service since test translation query returned invalid empty result. "
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "验证翻译服务时,返回了无效的空结果"
}
}
}
},
"setting.tts_service.options.apple" : {
"localizations" : {
"en" : {
Expand Down Expand Up @@ -10246,4 +10289,4 @@
}
},
"version" : "1.0"
}
}
Loading

0 comments on commit b48fd7b

Please sign in to comment.