1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-21 14:31:17 +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

@ -235,7 +235,7 @@ void EnFr_Init(Actor* thisx, GlobalContext* globalCtx) {
} else {
if ((this->actor.params >= 6) || (this->actor.params < 0)) {
osSyncPrintf(VT_COL(RED, WHITE));
// Translation: The argument is wrong!!
// "The argument is wrong!!"
osSyncPrintf("%s[%d] : 引数が間違っている!!(%d)\n", "../z_en_fr.c", 370, this->actor.params);
osSyncPrintf(VT_RST);
ASSERT(0, "0", "../z_en_fr.c", 372);
@ -245,7 +245,7 @@ void EnFr_Init(Actor* thisx, GlobalContext* globalCtx) {
if (this->objBankIndex < 0) {
Actor_Kill(&this->actor);
osSyncPrintf(VT_COL(RED, WHITE));
// Translation: There is no bank!!
// "There is no bank!!"
osSyncPrintf("%s[%d] : バンクが無いよ!!\n", "../z_en_fr.c", 380);
osSyncPrintf(VT_RST);
ASSERT(0, "0", "../z_en_fr.c", 382);
@ -979,7 +979,7 @@ void EnFr_Deactivate(EnFr* this, GlobalContext* globalCtx) {
frogLoop1 = sEnFrPointers.frogs[frogIndex];
if (frogLoop1 == NULL) {
osSyncPrintf(VT_COL(RED, WHITE));
// Translation: There are no frogs!?
// "There are no frogs!?"
osSyncPrintf("%s[%d]カエルがいない!?\n", "../z_en_fr.c", 1604);
osSyncPrintf(VT_RST);
return;
@ -992,7 +992,7 @@ void EnFr_Deactivate(EnFr* this, GlobalContext* globalCtx) {
frogLoop2 = sEnFrPointers.frogs[frogIndex];
if (frogLoop2 == NULL) {
osSyncPrintf(VT_COL(RED, WHITE));
// Translation: There are no frogs!?
// "There are no frogs!?"
osSyncPrintf("%s[%d]カエルがいない!?\n", "../z_en_fr.c", 1618);
osSyncPrintf(VT_RST);
return;