Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L52-L114)]:Remember to rename the sample classes to something that makes sense to your plugin. If there are any errors, Obsidian will spit out this class name, so this will be important for users to debug if they need to.

[[1](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1187)][[2](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1191)][[3](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1192)][[4](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1193)][[5](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1194)][[6](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1195)][[7](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1198)][[8](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1199)][[9](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1202)][[10](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1203)][[11](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1204)][[12](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1207)][[13](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1208)][[14](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1209)][[15](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1213)][[16](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1214)][[17](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1215)][[18](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1216)][[19](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1217)][[20](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1218)][[21](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1219)][[22](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1220)][[23](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1231)][[24](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1283)][[25](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L3477)][[26](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L3478)][[27](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L3479)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.




---

### Optional

[[1](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L966)][[2](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L967)][[3](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L968)][[4](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L969)][[5](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1264)][[6](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1269)][[7](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1376)][[8](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1430)][[9](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1449)][[10](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1503)][[11](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1507)][[12](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1535)][[13](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1548)][[14](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1598)][[15](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1619)][[16](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1620)][[17](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1696)][[18](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1697)][[19](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L2851)][[20](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L2928)][[21](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L2929)][[22](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L3190)][[23](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L3398)][[24](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L3606)]:Casting to `any` should be avoided as much as possible.

[[1](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L1516-L1518)][[2](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L2687-L2692)][[3](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L2701-L2709)][[4](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L2716-L2724)][[5](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L2760-L2768)][[6](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L2782-L2796)][[7](https://github.com/YusufSuleiman/vocab-ankisync-ai-translate/blob/012f14f6b76dd9f991f2e31bce2d67cb0bcd2ba6/main.ts#L2799-L2814)]:Obsidian provides the [`requestUrl`](https://docs.obsidian.md/Reference/TypeScript+API/requestUrl) method, it will make sure that network requests work on every plattform.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.