mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 10:54:55 +08:00
feat(glossary): 实现 Rust Glossary V1
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"available": true,
|
||||
"path": "${GLOSSARY_PATH}",
|
||||
"source_text": "${SOURCE_TEXT}",
|
||||
"terms": [
|
||||
{
|
||||
"term_id": "${TERM_ID}",
|
||||
"source_term": "${SOURCE_TERM}",
|
||||
"aliases": [
|
||||
"${ALIAS}"
|
||||
],
|
||||
"recommended_translation": "${RECOMMENDED_TRANSLATION}",
|
||||
"allowed_translations": [
|
||||
"${ALLOWED_TRANSLATION}"
|
||||
],
|
||||
"source_language": "en",
|
||||
"target_language": "zh-Hans",
|
||||
"category": "character",
|
||||
"priority": 10,
|
||||
"scope": {
|
||||
"destination": "${DESTINATION}"
|
||||
},
|
||||
"review_status": "approved",
|
||||
"source": {
|
||||
"source_kind": "manual",
|
||||
"source_ref": "${SOURCE_REF}",
|
||||
"source_author": "${SOURCE_AUTHOR}",
|
||||
"source_note": "${SOURCE_NOTE}",
|
||||
"observed_unix_seconds": 100
|
||||
},
|
||||
"history": [
|
||||
{
|
||||
"history_id": "${HISTORY_CREATED_ID}",
|
||||
"action": "created",
|
||||
"source": {
|
||||
"source_kind": "manual",
|
||||
"source_ref": "${SOURCE_REF}",
|
||||
"source_author": "${SOURCE_AUTHOR}",
|
||||
"source_note": "${SOURCE_NOTE}",
|
||||
"observed_unix_seconds": 100
|
||||
},
|
||||
"review_status": "draft",
|
||||
"snapshot": {
|
||||
"source_term": "${SOURCE_TERM}",
|
||||
"aliases": [
|
||||
"${ALIAS}"
|
||||
],
|
||||
"recommended_translation": "${RECOMMENDED_TRANSLATION}",
|
||||
"allowed_translations": [
|
||||
"${ALLOWED_TRANSLATION}"
|
||||
],
|
||||
"source_language": "en",
|
||||
"target_language": "zh-Hans",
|
||||
"category": "character",
|
||||
"priority": 10,
|
||||
"scope": {
|
||||
"destination": "${DESTINATION}"
|
||||
}
|
||||
},
|
||||
"observed_unix_seconds": 100
|
||||
},
|
||||
{
|
||||
"history_id": "${HISTORY_APPROVED_ID}",
|
||||
"action": "approved",
|
||||
"reviewer": "${REVIEWER}",
|
||||
"reason": "reviewed",
|
||||
"source": {
|
||||
"source_kind": "manual",
|
||||
"source_ref": "${SOURCE_REF}",
|
||||
"source_author": "${SOURCE_AUTHOR}",
|
||||
"source_note": "${SOURCE_NOTE}",
|
||||
"observed_unix_seconds": 100
|
||||
},
|
||||
"review_status": "approved",
|
||||
"snapshot": {
|
||||
"source_term": "${SOURCE_TERM}",
|
||||
"aliases": [
|
||||
"${ALIAS}"
|
||||
],
|
||||
"recommended_translation": "${RECOMMENDED_TRANSLATION}",
|
||||
"allowed_translations": [
|
||||
"${ALLOWED_TRANSLATION}"
|
||||
],
|
||||
"source_language": "en",
|
||||
"target_language": "zh-Hans",
|
||||
"category": "character",
|
||||
"priority": 10,
|
||||
"scope": {
|
||||
"destination": "${DESTINATION}"
|
||||
}
|
||||
},
|
||||
"observed_unix_seconds": 101
|
||||
}
|
||||
],
|
||||
"created_unix_seconds": 100,
|
||||
"updated_unix_seconds": 101
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user