Closed wonsiks closed 3 years ago
I manage Lizzie-improvements, but I know very little about programming. Can you tell me what these three pull requests mean?
@hope366 Current source code : Display names are hard coded in the source file(Menu.java) Changed code : Real display names are defined in resource files and call them from source file so that the menus can be written in various languages.(English, Japanese, Korean, ...) I've just changed English and Korean language file and you can change Japanese by editing /src/main/resources/l10n/DisplayStrings_ja_JP.properties file.
I see, that's a convenient mechanism ^^ I would like to change DisplayStrings_ja_JP.Properties, Where can I find something like "u30c9"?
@hope366 .properties file uses unicode. So you need to convert Japanese language to unicode. You can convert your string from https://www.online-toolz.com/tools/text-unicode-entities-convertor.php After you get unicode then need to change % into \ then write it into .properties file.
Thank you for providing us with valuable information. I modified DisplayStrings_ja_JP.properties and compiled it. Apparently it worked ^^
@hope366 Cool... What about changing 'Clear analysis' too?
Menu.java line 1293
new JMenuItem (resourceBundle.getString ("Menu.analyze.clearAnalysis "));
Since it is already like this, should I just change DisplayStrings_ja_JP.properties?
@hope366 Yes, just changing .properties file then it will work.
Now all the display items are in Japanese ^^ Great!
@hope366 It's great!!! Congratulations...
I've always wanted to know about Unicode. I am very happy to be able to do something new today. thank you very much.
@hope366 I'm happy to help you too...:)
Menu.game.scoreGame Menu.analyze.rule Menu.help Menu.help.keyboardControls