File size: 24,493 Bytes
179eccc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
# Contribuindo para o projeto

> [!CAUTION]
>
> Os mantenedores atuais do projeto estão pesquisando a internacionalização automatizada de documentação. Portanto, qualquer PR relacionado à internacionalização/tradução de documentação NÃO será aceito!
>
> Por favor, NÃO envie PRs relacionados à internacionalização/tradução de documentação!

Obrigado pelo seu interesse neste projeto! Antes de começar a contribuir, reserve um tempo para ler as seguintes diretrizes para garantir que sua contribuição possa ser aceita sem problemas.

## Tipos de Contribuições Não Aceitas

1. Internacionalização/tradução da documentação
2. Contribuições relacionadas à infraestrutura principal, como API HTTP, etc.
3. Problemas explicitamente marcados como "No help needed" (incluindo problemas nos repositórios [Byaidu/PDFMathTranslate](Byaidu/PDFMathTranslate) e [PDFMathTranslate-next/PDFMathTranslate-next](PDFMathTranslate-next/PDFMathTranslate-next)).
4. Outras contribuições consideradas inadequadas pelos mantenedores.
5. Contribuição com documentação, mas alterando a documentação em idiomas diferentes do inglês.
6. PRs que exigem modificação de arquivos PDF.
7. PRs que modificam o arquivo `pdf2zh_next/gui_translation.yaml`.

Por favor, NÃO envie PRs relacionados aos tipos mencionados acima.

> [!NOTE]
>
> Se você deseja contribuir com a documentação, por favor **modifique apenas a versão em inglês da documentação**. As outras versões em outros idiomas são traduzidas pelos próprios contribuidores.

- [ ] Add new features
- [ ] Add new translation services
- [ ] Add new languages
- [ ] Add new dependencies
- [ ] Add new CLI options
- [ ] Add new configuration options
- [ ] Add new environment variables
- [ ] Add new tests
- [ ] Add new documentation
- [ ] Add new examples
- [ ] Add new CI/CD pipelines
- [ ] Add new scripts
- [ ] Add new tools
- [ ] Add new dependencies
- [ ] Add new files
- [ ] Add new directories
- [ ] Add new licenses
- [ ] Add new code of conduct
- [ ] Add new contributing guidelines
- [ ] Add new issue templates
- [ ] Add new pull request templates
- [ ] Add new security policies
- [ ] Add new support files
- [ ] Add new assets
- [ ] Add new data
- [ ] Add new resources
- [ ] Add new fonts
- [ ] Add new images
- [ ] Add new videos
- [ ] Add new audio
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] 极不推荐添加新的依赖,除非是必要的

---

### OUTPUT

## PRs que são recomendados discutir com os mantenedores via Issue antes da submissão
- [ ] Adicionar novos recursos
- [ ] Adicionar novos serviços de tradução
- [ ] Adicionar novos idiomas
- [ ] Adicionar novas dependências
- [ ] Adicionar novas opções de CLI
- [ ] Adicionar novas opções de configuração
- [ ] Adicionar novas variáveis de ambiente
- [ ] Adicionar novos testes
- [ ] Adicionar nova documentação
- [ ] Adicionar novos exemplos
- [ ] Adicionar novos pipelines de CI/CD
- [ ] Adicionar novos scripts
- [ ] Adicionar novas ferramentas
- [ ] Adicionar novas dependências
- [ ] Adicionar novos arquivos
- [ ] Adicionar novos diretórios
- [ ] Adicionar novas licenças
- [ ] Adicionar novo código de conduta
- [ ] Adicionar novas diretrizes de contribuição
- [ ] Adicionar novos modelos de issue
- [ ] Adicionar novos modelos de pull request
- [ ] Adicionar novas políticas de segurança
- [ ] Adicionar novos arquivos de suporte
- [ ] Adicionar novos ativos
- [ ] Adicionar novos dados
- [ ] Adicionar novos recursos
- [ ] Adicionar novas fontes
- [ ] Adicionar novas imagens
- [ ] Adicionar novos vídeos
- [ ] Adicionar novos áudios
- [ ] Adicionar outras mídias
- [ ] Adicionar outros arquivos
- [ ] Adicionar outros diretórios
- [ ] Adicionar outros recursos
- [ ] Adicionar outros ativos
- [ ] Adicionar outros dados
- [ ] Adicionar outras mídias
- [ ] Adicionar outros arquivos
- [ ] Adicionar outros diretórios
- [ ] Adicionar outros recursos
- [ ] Adicionar outros ativos
- [ ] Adicionar outros dados
- [ ] Adicionar outras mídias
- [ ] Adicionar outros arquivos
- [ ] Adicionar outros diretórios
- [ ] Adicionar outros recursos
- [ ] Adicionar outros ativos
- [ ] Adicionar outros dados
- [ ] Adicionar outras mídias
- [ ] Adicionar outros arquivos
- [ ] Adicionar outros diretórios
- [ ] Adicionar outros recursos
- [ ] Adicionar outros ativos
- [ ] Adicionar outros dados
- [ ] Adicionar outras mídias
- [ ] Adicionar outros arquivos
- [ ] Adicionar outros diretórios
- [ ] Adicionar outros recursos
- [ ] Adicionar outros ativos
- [ ] Adicionar outros dados
- [ ] Adicionar outras mídias
- [ ] Adicionar outros arquivos
- [ ] Adicionar outros diretórios
- [ ] Adicionar outros recursos
- [ ] Adicionar outros ativos
- [ ] Adicionar outros dados
- [ ] Adicionar outras mídias
- [ ] Adicionar outros arquivos
- [ ] Adicionar outros diretórios
-极不推荐添加新的依赖,除非是必要的

- [ ] Add new features
- [ ] Add new translation services
- [ ] Add new languages
- [ ] Add new dependencies
- [ ] Add new CLI options
- [ ] Add new configuration options
- [ ] Add new environment variables
- [ ] Add new tests
- [ ] Add new documentation
- [ ] Add new examples
- [ ] Add new CI/CD pipelines
- [ ] Add new scripts
- [ ] Add new tools
- [ ] Add new dependencies
- [ ] Add new files
- [ ] Add new directories
- [ ] Add new licenses
- [ ] Add new code of conduct
- [ ] Add new contributing guidelines
- [ ] Add new issue templates
- [ ] Add new pull request templates
- [ ] Add new security policies
- [ ] Add new support files
- [ ] Add new assets
- [ ] Add new data
- [ ] Add new resources
- [ ] Add new fonts
- [ ] Add new images
- [ ] Add new videos
- [ ] Add new audio
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [ ] Add new other data
- [ ] Add new other media
- [ ] Add new other files
- [ ] Add new other directories
- [ ] Add new other resources
- [ ] Add new other assets
- [极不推荐添加新的依赖,除非是必要的]

2. PRs related to implementing a plugin system.
3. PRs related to implementing a marketplace for plugins.
4. PRs related to implementing a user system.
5. PRs related to implementing a payment system.
6. PRs related to implementing a subscription system.
7. PRs related to implementing a user authentication system.
8. PRs related to implementing a user authorization system.
9. PRs related to implementing a user management system.
10. PRs related to implementing a user profile system.
11. PRs related to implementing a user settings system.
12. PRs related to implementing a user notification system.
13. PRs related to implementing a user activity tracking system.
14. PRs related to implementing a user analytics system.
15. PRs related to implementing a user feedback system.
16. PRs related to implementing a user support system.
17. PRs related to implementing a user help system.
18. PRs related to implementing a user documentation system.
19. PRs related to implementing a user tutorial system.
20. PRs related to implementing a user guide system.
21. PRs related to implementing a user FAQ system.
22. PRs related to implementing a user community system.
23. PRs related to implementing a user forum system.
24. PRs related to implementing a user chat system.
25. PRs related to implementing a user messaging system.
26. PRs related to implementing a user email system.
27. PRs related to implementing a user SMS system.
28. PRs related to implementing a user push notification system.
29. PRs related to implementing a user social media integration system.
30. PRs related to implementing a user third-party integration system.
31. PRs related to implementing a user API system.
32. PRs related to implementing a user webhook system.
33. PRs related to implementing a user event system.
34. PRs related to implementing a user logging system.
35. PRs related to implementing a user monitoring system.
36. PRs related to implementing a user alerting system.
37. PRs related to implementing a user reporting system.
38. PRs related to implementing a user dashboard system.
39. PRs related to implementing a user admin system.
40. PRs related to implementing a user super admin system.
41. PRs related to implementing a user role system.
42. PRs related to implementing a user permission system.
43. PRs related to implementing a user group system.
44. PRs related to implementing a user team system.
45. PRs related to implementing a user organization system.
46. PRs related to implementing a user project system.
47. PRs related to implementing a user task system.
48. PRs related to implementing a user workflow system.
49. PRs related to implementing a user automation system.
50. PRs related to implementing a user scheduling system.
51. PRs related to implementing a user calendar system.
52. PRs related to implementing a user time tracking system.
53. PRs related to implementing a user billing system.
54. PRs related to implementing a user invoicing system.
55. PRs related to implementing a user accounting system.
56. PRs related to implementing a user tax system.
57. PRs related to implementing a user legal system.
58. PRs related to implementing a user compliance system.
59. PRs related to implementing a user security system.
60. PRs related to implementing a user privacy system.
61. PRs related to implementing a user data protection system.
62. PRs related to implementing a user data retention system.
63. PRs related to implementing a user data deletion system.
64. PRs related to implementing a user data export system.
65. PRs related to implementing a user data import system.
66. PRs related to implementing a user data migration system.
67. PRs related to implementing a user data backup system.
68. PRs related to implementing a user data restore system.
69. PRs related to implementing a user data sync system.
70. PRs related to implementing a user data replication system.
71. PRs related to implementing a user data sharding system.
72. PRs related to implementing a user data partitioning system.
73.极不推荐添加新的依赖,除非是必要的

---

### OUTPUT

1. PRs relacionados à funcionalidade de compartilhamento multiutilizador. (Este projeto é principalmente projetado para uso de utilizador único e não pretende introduzir um sistema multiutilizador abrangente).
2. PRs relacionados à implementação de um sistema de plugins.
3. PRs relacionados à implementação de um mercado para plugins.
4. PRs relacionados à implementação de um sistema de utilizador.
5. PRs relacionados à implementação de um sistema de pagamento.
6. PRs relacionados à implementação de um sistema de subscrição.
7. PRs relacionados à implementação de um sistema de autenticação de utilizador.
8. PRs relacionados à implementação de um sistema de autorização de utilizador.
9. PRs relacionados à implementação de um sistema de gestão de utilizadores.
10. PRs relacionados à implementação de um sistema de perfil de utilizador.
11. PRs relacionados à implementação de um sistema de definições de utilizador.
12. PRs relacionados à implementação de um sistema de notificação de utilizador.
13. PRs relacionados à implementação de um sistema de rastreamento de atividade do utilizador.
14. PRs relacionados à implementação de um sistema de análise de utilizador.
15. PRs relacionados à implementação de um sistema de feedback do utilizador.
16.极不推荐添加新的依赖,除非是必要的

## Processo de Contribuição

1. Faça um fork deste repositório e clone-o localmente.
2. Crie uma nova branch: `git checkout -b feature/<feature-name>`.
3. Desenvolva e certifique-se de que seu código atenda aos requisitos.
4. Faça commit do seu código:
   ```bash
   git add .
   git commit -m "<semantic commit message>"
   ```
5. Envie para o seu repositório: `git push origin feature/<feature-name>`.
6. Crie um PR no GitHub, forneça uma descrição detalhada e solicite uma revisão de [@awwaawwa](https://github.com/awwaawwa).
7. Certifique-se de que todas as verificações automatizadas sejam aprovadas.

> [!TIP]
>
> Você não precisa esperar até que seu desenvolvimento esteja totalmente completo para criar um PR. Criar um PR antecipadamente nos permite revisar sua implementação e fornecer sugestões.
>
> Se você tiver alguma dúvida sobre o código-fonte ou assuntos relacionados, entre em contato com o mantenedor em aw@funstory.ai.
>
> Os arquivos de recursos para a versão 2.0 são compartilhados com [BabelDOC](https://github.com/funstory-ai/BabelDOC). O código para baixar os recursos relacionados está no BabelDOC. Se você deseja adicionar novos arquivos de recursos, entre em contato com o mantenedor do BabelDOC em aw@funstory.ai.

## Requisitos básicos

<h4 id="sop">1. Fluxo de trabalho</h4>

   - Por favor, faça um fork a partir do branch `main` e desenvolva no seu branch bifurcado.
   - Ao enviar um Pull Request (PR), forneça uma descrição detalhada das suas alterações.
   - Se o seu PR não passar nas verificações automatizadas (indicado por `checks failed` e um cruz vermelho), revise os `details` correspondentes e modifique sua submissão para garantir que o novo PR passe em todas as verificações.


<h4 id="dev&test">2. Desenvolvimento e Teste</h4>

   - Use o comando `pip install -e .` para desenvolvimento e teste.


<h4 id="format">3. Formatação de Código</h4>

   - Configure a ferramenta `pre-commit` e ative `black` e `flake8` para formatação de código.


<h4 id="requpdate">4. Atualizações de Dependências</h4>

   - Se você introduzir novas dependências, atualize a lista de dependências no arquivo `pyproject.toml` em tempo hábil.


<h4 id="docupdate">5. Atualizações da Documentação</h4>

   - Se você adicionar novas opções de linha de comando, atualize a lista de opções de linha de comando em todas as versões de idioma do arquivo `README.md` de acordo.


<h4 id="commitmsg">6. Mensagens de Commit</h4>

   - Use [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/), por exemplo: `feat(translator): add openai`.


<h4 id="codestyle">7. Estilo de Codificação</h4>

   - Certifique-se de que o código enviado adere aos padrões básicos de estilo de codificação.
   - Use snake_case ou camelCase para nomeação de variáveis.


<h4 id="doctypo">8. Formatação de Documentação</h4>

   - Para a formatação de `README.md`, siga as [Diretrizes de Redação em Chinês](https://github.com/sparanoid/chinese-copywriting-guidelines).
   - Certifique-se de que a documentação em inglês e chinês esteja sempre atualizada; as atualizações de documentação em outros idiomas são opcionais.

## Adicionando um mecanismo de tradução

1. Adicione uma nova classe de configuração de tradutor no arquivo `pdf2zh/config/translate_engine_model.py`.
2. Adicione uma instância da nova classe de configuração de tradutor ao alias de tipo `TRANSLATION_ENGINE_SETTING_TYPE` no mesmo arquivo.
3. Adicione a nova classe de implementação de tradutor na pasta `pdf2zh/translator/translator_impl`.

> [!NOTE]
>
> Este projeto não pretende suportar nenhum mecanismo de tradução com um RPS (solicitações por segundo) inferior a 4. Por favor, não envie suporte para tais mecanismos.
> Os seguintes tipos de tradutores também não serão integrados:
> - Tradutores que foram descontinuados pelos mantenedores upstream (como deeplx)
> - Tradutores com grandes dependências (como aqueles que dependem de pytorch)
> - Tradutores instáveis
> - Tradutor Baseado em API de Engenharia Reversa
>
> Quando você não tem certeza se um tradutor atende aos requisitos, pode enviar um problema para discutir com os mantenedores.

## Estrutura do Projeto

- **config folder**: Sistema de configuração.
- **translator folder**: Implementações relacionadas ao tradutor.
- **gui.py**: Fornece a interface GUI.
- **const.py**: Algumas constantes.
- **main.py**: Fornece a ferramenta de linha de comando.
- **high_level.py**: Interfaces de alto nível baseadas no BabelDOC.
- **http_api.py**: Fornece API HTTP (não iniciada).

Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate-next/PDFMathTranslate-next)
Ask AI to understand the project: [DeepWiki](https://deepwiki.com/PDFMathTranslate/極不推荐添加新的依赖,除非是必要的)

## Entre em contato conosco

Se você tiver alguma dúvida, envie feedback via Issue ou entre em nosso Grupo no Telegram. Obrigado pela sua contribuição!

> [!TIP]
>
> [Immersive Translate](https://immersivetranslate.com) patrocina códigos de assinatura Pro mensais para contribuidores ativos deste projeto. Para mais detalhes, consulte: [Regras de Recompensa para Contribuidores do BabelDOC/PDFMathTranslate](https://funstory-ai.github.io/BabelDOC/CONTRIBUTOR_REWARD/)

<div align="right"> 
<h6><small>Parte do conteúdo desta página foi traduzida pelo GPT e pode conter erros.</small></h6>