Skip to content

Commit 824c57b

Browse files
Revise error messages and coding guidelines
Updated the Luganda wording and clarity of error messages and guidelines in the coding standards document.
1 parent a4e9b2a commit 824c57b

File tree

1 file changed

+22
-22
lines changed
  • packages/docs/site/i18n/lg/docusaurus-plugin-content-docs/current/main/contributing

1 file changed

+22
-22
lines changed

packages/docs/site/i18n/lg/docusaurus-plugin-content-docs/current/main/contributing/coding-standards.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ Obubaka obujja nga waliwo ensobi obulungi butegeeza omukozesa omutendera ogw'oku
2222
A good error message informs the user of the following steps to take. Any ambiguity in errors thrown by Playground [Public APIs](/developers/apis/) will prompt the developers to open issues.
2323
-->
2424

25-
Twalowooza ku nsobi y'omukutu gw'omutimbagano, okugeza—tusobola okuteebereza ekika ky'ensobi n'okulaga obubaka obukwatagana nga twongera ku mutendera oguddako?
25+
Gereza ku nsobi y'omukutu gw'omutimbagano, okugeza—tusobola okuteebereza ekika ky'ensobi netulaga obubaka obufunze ku mutendera oguddako?
2626

2727
<!--
2828
Consider a network error, for example—can we infer the type of error and display a relevant message summarizing the next steps?
2929
-->
3030

31-
- **Ensobi y'omukutu gw'omutimbagano**: "Omukutu gw'omutimbagano gwo guweddemu. Gezaako okuzzaamu olupapula.
32-
- **404**: "Fayiro tekirabiddwa".
33-
- **403**: "Seva ewanise okuyingira mu fayiro".
34-
- **CORS**: Nnyonnyola nti kye kikola ekirinda mu browza era ongereyo link egenda ku nnyonnyola entuufu (ku MDN oba ensibuko endala eya kukkirizibwa). Kuwa omukozesa amagezi okukyusa fayiro ye okugitwala mu kifo ekirala, nga `raw.githubusercontent.com`, era ongereyo link ku nsibuko ennyonnyola engeri y'okuteeka CORS headers ku seva zaabwe.
31+
- **Obuzibu mu Network**: "Internet yo y'ekuttemu. Gezaako okuzzaamu olupapula.
32+
- **404**: "Fayiro tezuuliiddwa".
33+
- **403**: "Tokkirizibbwa kulaba fayiro eno".
34+
- **CORS**: Nnyonnyola nti kyeekuusa ku byakwerinda bya browser era ogatteko link yo'kunnyonnyola okutuufu (ku MDN oba ensibuko endala eyesigika). Teesa omukozesa okukyusa fayiro ye okugitwala mu kifo ekirala, okugeza nga `raw.githubusercontent.com`, era ogatteko link ekutwala ku muko ogunnyonnyola engeri y'okuteeka CORS headers ku server zaabwe.
3535

3636
<!--
3737
- **Network error**: "Your internet connection twitched. Try to reload the page.
@@ -40,7 +40,7 @@ Consider a network error, for example—can we infer the type of error and displ
4040
- **CORS**: clarify it's a browser security feature and add a link to a detailed explanation (on MDN or another reliable source). Suggest the user move their file somewhere else, like `raw.githubusercontent.com`, and link to a resource explaining how to set up CORS headers on their servers.
4141
-->
4242

43-
Tukwata okutereeza koodi n'okukola linting mu ngeri ey'otomatiiki. Wummule, wandiika, era leka ebyuma bikole omulimu.
43+
Tukwasaganya entereeza ya koodi nokujekaanya okukakasa nga temuli nsobi era nga etambula butereevu ne'mpandiika yaffe. Wummula, wandiika, era leka ebyuma bikole omulimu.
4444

4545
<!--
4646
We handle code formatting and linting automatically. Relax, type away, and let the machines do the work.
@@ -52,13 +52,13 @@ We handle code formatting and linting automatically. Relax, type away, and let t
5252
## Public API
5353
-->
5454

55-
Playground eruubirira okukuuma API scope ennono ennyo.
55+
Playground eruubirira okukuuma API scope ettono ennyo.
5656

5757
<!--
5858
Playground aims to keep the narrowest possible API scope.
5959
-->
6060

61-
Public APIs zi yangu okuziyongera naye nzizibu okuziggyawo. Kyetaaga PR emu okuyingiza API empya, naye kiyinza okwetaaga lukumi okugigyawo, naddala singa pulojekiti endala zizikozesezza dda.
61+
API z'olukale nyangu okuzigattamu era nkalubo okuziggyamu. Kyetaaga PR emu yokka okuyingiza API empya, naye kiyinza okwetaaga olukumi okugigyamu, naddala singa pulojekiti endala ziba zajikozesa dda.
6262

6363
<!--
6464
Public APIs are easy to add and hard to remove. It only takes one PR to introduce a new API, but it may take a thousand to remove it, especially if other projects have already consumed it.
@@ -70,35 +70,35 @@ Public APIs are easy to add and hard to remove. It only takes one PR to introduc
7070
- Don't expose unnecessary functions, classes, constants, or other components.
7171
-->
7272

73-
## Enteekateeka
73+
## Blueprints
7474

7575
<!--
7676
## Blueprints
7777
-->
7878

79-
[Enteekateeka](/blueprints/getting-started) ze ngeri enkulu ey'okukolagana ne Playground. Fayiro zino za JSON zinnyonnyola emitendo egy'emitendera Playground gy'ekola mu nkola.
79+
[Blueprints](/blueprints/getting-started) ze ngeri enkulu ez'okukolagana ne Playground. Fayiro za JSON zino zinnyonnyola emitendera Playground gy'ekolamu.
8080

8181
<!--
8282
[Blueprints](/blueprints/getting-started) are the primary way to interact with Playground. These JSON files describe a set of steps that Playground executes in order.
8383
-->
8484

85-
### Ebiragiro
85+
### Endagiriro
8686

8787
<!--
8888
### Guidelines
8989
-->
9090

91-
Emitendera gy'enteekateeka girina okuba **migufu era egy'omusingi**. Girina okukola kinumu era okukikola obulungi.
91+
Emitendera gy'enteekateeka (blueprints) girina okuba mu **bufunze era nga mirambulukufu**. Girina okukola omulimu gumu era gigukole bulunji.
9292

9393
<!--
9494
Blueprint steps should be **concise and focused**. They should do one thing and do it well.
9595
-->
9696

97-
- Bw'oba oyagala okukola omutendera omupya, sooka okugezaako okudda okutereeza ogw'awali.
98-
- Bw'ekyo tekimala, kakasa nti omutendera omupya guleeta obusobozi obupya. Toddamu kukola functions ez'emitendera egy'awali.
99-
- Lowooza nti omutendera gujja kuyitibwa emirundi egisinga emu.
100-
- Lowooza nti gujja kukola mu nkola entongole.
101-
- Yongera unit tests okukakasa ekyo.
97+
- Bw'oba oyagala okukola omutendera omupya, sooka ogezeeko okukyuusa oba okutereeza oguliwo.
98+
- Ekyo bw'ekitamala, kakasa nti omutendera omupya guleeta obusobozi obupya. Tozzaamu functions ez'emitendera ejiriwo.
99+
- Suubira nti omutendera gujja kuyitibwa emirundi ejisukka mu gumu.
100+
- Suubira nti gujja kukola mu ngeri entongole.
101+
- Gattako unit tests okukakasa ekyo.
102102

103103
<!--
104104
- If you need to create a new step, try refactoring an existing one first.
@@ -108,18 +108,18 @@ Blueprint steps should be **concise and focused**. They should do one thing and
108108
- Add unit tests to verify that.
109109
-->
110110

111-
Enteekateeka zirina okuba **ez'amanyi era ez'eyangu okutegeerera**.
111+
Blueprints zirina okuba **ntereevu era nga nyangu okutegeerera**.
112112

113113
<!--
114114
Blueprints should be **intuitive and straightforward**.
115115
-->
116116

117-
- Tosabanga arguments ezisobola okuba optional.
117+
- Tosaba arguments ezisobola okulekeka.
118118
- Kozesa argument ennyangu. Okugeza, `slug` mu kifo kya `path`.
119-
- Nnyonnyola constants mu virtual JSON files—tolongoosa PHP files.
120-
- Nnyonnyola TypeScript type ku Blueprint. Bw'etyo Playground bw'ekola JSON schema yaayo.
119+
- Nnyonnyola ebitakyuuka mu virtual JSON files—tokyuusa PHP files.
120+
- Nnyonnyola TypeScript type ya Blueprint. Bw'etyo Playground bw'ekola JSON schema yaayo.
121121
- Wandiika function okukwata omutendera gwa Blueprint. Kkiriza argument ey'ekika ky'onnyonnyodde.
122-
- Waayo ekyokulabirako eky'okukozesa mu doc string. Ekyeraga mu ngeri ey'otomatiiki mu biwandiiko.
122+
- Waayo ekyokulabirako eky'enkozesa mu doc string. Kyeraga buterevu mu biwandiiko.
123123

124124
<!--
125125
- Don't require arguments that can be optional.

0 commit comments

Comments
 (0)