Re: Re: Japanese Traslation for WiiMC

Home › Forums › Development › Japanese Traslation for WiiMC › Re: Re: Japanese Traslation for WiiMC

#25395
Rudolf
Member

1. fixed issues that ShowProgress and ShowAction msg is not translated.
2. updated jp.lang
I found some messages were refined, but some were degraded about r301 jp.lang updated by someone. 😐
so I merged and more refined. 😉

by the way, I think It is necessary to implement some font check routine. (ex.md5 check)
I found that code dump screen occurs under some circumstances.
case1) failed downloading new font and corrupted font remained. (ex.0byte jp.ttf).
case2) change global language to the other needed new font not online.

1. patch

--- menu.cpp
+++ menu.cpp.new
@@ -1001,7 +1001,7 @@
if(showProgress != 1)
CancelAction(); // wait for previous progress window to finish

- snprintf(progressMsg, 200, "%s", msg);
+ snprintf(progressMsg, 200, "%s", gettext(msg));
sprintf(progressTitle, "Please Wait");
progressThreadHalt = 0;
showProgress = 1;
@@ -1029,7 +1029,7 @@
if(showProgress != 2)
CancelAction(); // wait for previous progress window to finish

- snprintf(progressMsg, 200, "%s", msg);
+ snprintf(progressMsg, 200, "%s", gettext(msg));
sprintf(progressTitle, "Please Wait");
progressThreadHalt = 0;
showProgress = 2;

3. new jp.lang (r301fix)
-deleted-