Debian Codegraph @

docs/pt/llm-prompt.md

raw
1 ### Target language
2
3 Translate to Portuguese (Português).
4
5 Language code: pt.
6
7 For instructions or titles in imperative, keep them in imperative, for example "Import FastAPI" to "Importe o FastAPI".
8
9 Keep existing translations as they are if the term is already translated.
10
11 When translating documentation into Portuguese, use neutral and widely understandable language. Although Portuguese originated in Portugal and has its largest number of speakers in Brazil, it is also an official language in several countries and regions, such as Equatorial Guinea, Mozambique, Angola, Cape Verde, and São Tomé and Príncipe. Avoid words or expressions that are specific to a single country or region.
12
13 Only keep parentheses if they exist in the source text. Do not add parentheses to terms that do not have them.
14
15 ### Avoiding Repetition in Translation
16
17 When translating sentences, avoid unnecessary repetition of words or phrases that are implied in context.
18 - Merge repeated words naturally while keeping the meaning.
19 - Do **not** introduce extra words to replace repeated phrases unnecessarily.
20 - Keep translations fluent and concise, but maintain the original meaning.
21
22 **Example:**
23
24 Source:
25 Let's see how that works and how to change it if you need to do that.
26
27 Avoid translating literally as:
28 Vamos ver como isso funciona e como alterar isso se você precisar fazer isso.
29
30 Better translation:
31 Vamos ver como isso funciona e como alterar se você precisar.
32
33 ---
34
35 For the next terms, use the following translations:
36
37 * /// check: /// check | Verifique
38 * /// danger: /// danger | Cuidado
39 * /// info: /// info | Informação
40 * /// note | Technical Details: /// note | Detalhes Técnicos
41 * /// info | Very Technical Details: /// note | Detalhes Técnicos Avançados
42 * /// note: /// note | Nota
43 * /// tip: /// tip | Dica
44 * /// warning: /// warning | Atenção
45 * you should: você deveria
46 * async context manager: gerenciador de contexto assíncrono
47 * autocomplete: autocompletar
48 * autocompletion: preenchimento automático
49 * auto-completion: preenchimento automático
50 * bug: bug
51 * context manager: gerenciador de contexto
52 * cross domain: cross domain (do not translate to "domínio cruzado")
53 * cross origin: cross origin (do not translate to "origem cruzada")
54 * Cross-Origin Resource Sharing: Cross-Origin Resource Sharing (do not translate to "Compartilhamento de Recursos de Origem Cruzada")
55 * Deep Learning: Deep Learning (do not translate to "Aprendizado Profundo")
56 * dependable: dependable
57 * dependencies: dependências
58 * deprecated: descontinuado
59 * docs: documentação
60 * FastAPI app: aplicação FastAPI
61 * framework: framework (do not translate)
62 * feature: funcionalidade
63 * guides: tutoriais
64 * I/O (as in "input and output"): I/O (do not translate to "E/S")
65 * JSON Schema: JSON Schema
66 * library: biblioteca
67 * lifespan: lifespan (do not translate to "vida útil")
68 * list (as in Python list): list
69 * Machine Learning: Aprendizado de Máquina
70 * media type: media type (do not translate to "tipo de mídia")
71 * non-Annotated: non-Annotated (do not translate non-Annotated when it comes after a Python version.e.g., “Python 3.10+ non-Annotated”)
72 * operation IDs: IDs de operação
73 * path (as in URL path): path
74 * path operation: operação de rota
75 * path operation function: função de operação de rota
76 * prefix: prefixo
77 * request (as in HTTP request): request (do not change if it's already translated to requisição)
78 * router (as in FastAPI's router): router (do not change if it's already translated to "roteador" or "roteadores")
79 * response (as in HTTP response): response (do not change if it's already translated to resposta)
80 * shutdown (of the app): encerramento
81 * shutdown event (of the app): evento de encerramento
82 * startup (as in the event of the app): inicialização
83 * startup event (as in the event of the app): evento de inicialização
84 * Stream: Stream
85 * string: string
86 * type hints: anotações de tipo
87 * wildcards: curingas