1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-15 12:24:39 +00:00

Cleanup translation comments (#924)

* `// Translates to:` -> `//`

* `// Translation: ([^"].*)` -> `// "$1"`

* Manual cleanup

* Manual cleanup in `src/code/`

* Use more lowercase for some all caps translations

* Move translations to end of lines where it fits under 100 bytes

* Move one translation to end of line manually

* Run formatter

* Cleanup in EnHeishi1 as suggested by Roman

* Update src/code/z_play.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
Dragorn421 2021-09-04 15:33:19 +02:00 committed by GitHub
parent 9b840ad842
commit 81830a6e8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
70 changed files with 348 additions and 440 deletions

View file

@ -18,7 +18,7 @@ void EffectBlure_AddVertex(EffectBlure* this, Vec3f* p1, Vec3f* p2) {
if (this != NULL) {
numElements = this->numElements;
if (numElements >= 16) {
// Translates to: "Blure vertex addition processing: Table over %d"
// "Blure vertex addition processing: Table over %d"
osSyncPrintf("ブラ─頂点追加処理:テーブルオーバー %d\n", numElements);
return;
}
@ -76,7 +76,7 @@ void EffectBlure_AddSpace(EffectBlure* this) {
if (this != NULL) {
numElements = this->numElements;
if (numElements >= 16) {
// Translates to: "Blure space addition processing: Table over %d"
// "Blure space addition processing: Table over %d"
osSyncPrintf("ブラ─空白追加処理:テーブルオーバー %d\n", numElements);
return;
}
@ -407,7 +407,7 @@ void EffectBlure_DrawElemNoInterpolation(EffectBlure* this, EffectBlureElement*
vtx = Graph_Alloc(gfxCtx, sizeof(Vtx[4]));
if (vtx == NULL) {
// Translates to: "Vertices cannot be secured."
// "Vertices cannot be secured."
osSyncPrintf("z_eff_blure.c::SQ_NoInterpolate_disp() 頂点確保できず。\n");
} else {
vtx[0].v = baseVtx;
@ -568,7 +568,7 @@ void EffectBlure_DrawElemHermiteInterpolation(EffectBlure* this, EffectBlureElem
vtx = Graph_Alloc(gfxCtx, sizeof(Vtx[16]));
if (vtx == NULL) {
// Translates to: "Vertices cannot be secured."
// "Vertices cannot be secured."
osSyncPrintf("z_eff_blure.c::SQ_HermiteInterpolate_disp() 頂点確保できず。\n");
} else {
Math_Vec3f_Diff(&sp1CC, &sp138, &sp158);
@ -811,7 +811,7 @@ void EffectBlure_DrawSimpleVertices(GraphicsContext* gfxCtx, EffectBlure* this,
mtx = SkinMatrix_MtxFToNewMtx(gfxCtx, &sp94);
if (mtx == NULL) {
// Translates to: "Forced termination because a matrix cannot be taken"
// "Forced termination because a matrix cannot be taken"
osSyncPrintf("EffectBlureInfo2_disp_makeDisplayList()マトリックス取れないので,強制終了\n");
break;
}
@ -863,7 +863,7 @@ void EffectBlure_DrawSimple(EffectBlure* this2, GraphicsContext* gfxCtx) {
vtx = Graph_Alloc(gfxCtx, vtxCount * sizeof(Vtx));
if (vtx == NULL) {
// Translates to: "Vertices cannot be secured. Forced termination"
// "Vertices cannot be secured. Forced termination"
osSyncPrintf("ブラ─表示:頂点確保できず。強制終了\n");
return;
}
@ -957,7 +957,7 @@ void EffectBlure_Draw(void* thisx, GraphicsContext* gfxCtx) {
vtx = Graph_Alloc(gfxCtx, sizeof(Vtx[32]));
if (vtx == NULL) {
// Translates to: "Blure display: Vertex table could not be secured"
// "Blure display: Vertex table could not be secured"
osSyncPrintf("ブラ─表示:頂点テーブル確保できず\n");
} else {
j = 0;