Log languages a post is tagged with after translating (#10014)
Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
@@ -707,15 +707,20 @@ export type Events = {
|
||||
'reportDialog:failure': {}
|
||||
|
||||
translate: {
|
||||
os: Platform['OS']
|
||||
sourceLanguages: string[]
|
||||
targetLanguage: string
|
||||
textLength: number
|
||||
}
|
||||
'translate:result': {
|
||||
method: 'on-device' | 'google-translate' | 'fallback-alert'
|
||||
method: 'on-device' | 'fallback-alert'
|
||||
os: Platform['OS']
|
||||
sourceSelection: 'automatic' | 'manual'
|
||||
sourceLanguage: string | null
|
||||
targetLanguage: string
|
||||
|
||||
/* Only relevant to posts */
|
||||
postLanguages?: string[]
|
||||
}
|
||||
'translate:override': {
|
||||
os: Platform['OS']
|
||||
|
||||
Reference in New Issue
Block a user