Skip to content

Commit

Permalink
refactor: add some translation
Browse files Browse the repository at this point in the history
  • Loading branch information
hizumiaoba committed Dec 14, 2021
1 parent aee3043 commit 68e60ba
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 3 deletions.
30 changes: 29 additions & 1 deletion src/com/ranfa/languages/List_en_US.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
MSGCalcStart:Start!
MSGDatabaseNotExist:Music database does not exist.\nIt will be automatically created.\nATTENTION:There is the JSON file named \"database.json\" in the same directory which executable is contained and you see this pop up,\nPlease contact the Developer.\nGithub URL: https://github.com/hizumiaoba/DelesteRandomSelector/issues
MSGAlbumTypeBeingCalculated:Simulating...
MSGNarrowingDownSongs:<html><body>Narrow down<br>songs</body></html>
MSGNarrowingDownSongs:<html><body>Narrow down<br>songs</body></html>
MSGTitle:DelesteRandomSelector
MSGSelectDifficulty:Difficulty
MSGNonSelected:Non-Select
MSGAll:ALL
MSGCute:CUTE
MSGCool:COOL
MSGPassion:PASSION
MSGSongLevel:Level
MSGBelowSpecificLevel:Below Specified Level
MSGOverSpecificLevel:Above Specified Level
MSGLevelCheckboxInfo:<html><body>Only specified level songs will be selected if you mark both checkbox.</body></html>
MSGUpdatingDatabase:<html><body>Updating<br>database</body></html>
MSGCompleteNarrowDown:Narrowing down complete! Click \"Start!\" to play!
MSGNumberOfSongs:tracks:
MSGThisPhrase:Let's play these
MSGPlayPhrase:songs!
MSGTwitterIntegration:Post to Twitter
MSGUsingThisAppPhrase:I played
MSGNotPlayYet:It seems that you don't start playing yet?
MSGTwitterPlayOtherwisePhrase:...and some songs!\n
MSGTwitterPlayOnlyPhrase:songs!
MSGTwitterIntegrationConfirm:Are you sure you want to post this?\n\n
MSGStringLength:\n\nNumber of Characters
MSGCompletePost:Complete to post.
MSGTerminate:End
MSGInternalYpdateNotDoneYet:Internal update in progress. Please wait a moment.
MSGNarrowDownProcedure:How to select songs\r\n1.Select difficulty, attribute, and level.\r\n2.Click [Narrow down songs] button.\r\n3.Click [start!] button.\r\n4.Selected songs will be shown here!\r\nThe maximum number of selected songs:
MSGCurrentAlbumType:\nCurrent MASTER+ ALBUM type(based on simulation):
30 changes: 29 additions & 1 deletion src/com/ranfa/languages/List_ja_JP.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
MSGCalcStart:\u958b\u59cb\uff01
MSGDatabaseNotExist:\u697d\u66f2\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u2026\n\u6ce8\u610f\uff1a\u521d\u56de\u8d77\u52d5\u3067\u306f\u306a\u304f\u3001\u304b\u3064\u3001Jar\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u968e\u5c64\u306b\"database.json\"\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b\u306b\u3082\u95a2\u308f\u3089\u305a\n\u3053\u306e\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u304c\u51fa\u305f\u5834\u5408\u3001\u958b\u767a\u8005\u307e\u3067\u3054\u4e00\u5831\u304f\u3060\u3055\u3044\u3002\nGithub URL: https://github.com/hizumiaoba/DelesteRandomSelector/issues
MSGAlbumTypeBeingCalculated:\u8a08\u7b97\u4e2d...
MSGNarrowingDownSongs:<html><body>\u697d\u66f2<br>\u7d5e\u308a\u8fbc\u307f</body></html>
MSGNarrowingDownSongs:<html><body>\u697d\u66f2<br>\u7d5e\u308a\u8fbc\u307f</body></html>
MSGTitle:\u30c7\u30ec\u30b9\u30c6\u8ab2\u984c\u66f2\u30bb\u30ec\u30af\u30bf\u30fc
MSGSelectDifficulty:\u96e3\u6613\u5ea6\u9078\u629e
MSGNonSelected:\u6307\u5b9a\u306a\u3057
MSGAll:\u5168\u30bf\u30a4\u30d7
MSGCute:\u30ad\u30e5\u30fc\u30c8
MSGCool:\u30af\u30fc\u30eb
MSGPassion:\u30d1\u30c3\u30b7\u30e7\u30f3
MSGSongLevel:\u697d\u66f2Lv
MSGBelowSpecificLevel:\u6307\u5b9aLv\u4ee5\u4e0b
MSGOverSpecificLevel:\u6307\u5b9aLv\u4ee5\u4e0a
MSGLevelCheckboxInfo:<html><body>\u203b\u4ee5\u4e0b\u4ee5\u4e0a\u4e21\u65b9\u306b\u30c1\u30a7\u30c3\u30af\u3092\u3064\u3051\u308b\u3053\u3068\u3067\u6307\u5b9a\u30ec\u30d9\u30eb\u306e\u307f\u7d5e\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059</body></html>
MSGUpdatingDatabase:<html><body>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<br>\u66f4\u65b0\u4e2d\u2026</body></html>
MSGCompleteNarrowDown:\u7d5e\u308a\u8fbc\u307f\u5b8c\u4e86\uff01\u300c\u958b\u59cb\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u9078\u66f2\u3067\u304d\u307e\u3059\uff01
MSGNumberOfSongs:\u66f2\u76ee:
MSGThisPhrase:\u3053\u306e
MSGPlayPhrase:\u66f2\u3092\u30d7\u30ec\u30a4\u3057\u307e\u3057\u3087\u3046\uff01\uff01\uff01
MSGTwitterIntegration:Twitter\u9023\u643a
MSGUsingThisAppPhrase:\u30c7\u30ec\u30b9\u30c6\u8ab2\u984c\u66f2\u30bb\u30ec\u30af\u30bf\u30fc\u3067\n
MSGNotPlayYet:\u3061\u3072\u308d\u300c\u307e\u3060\u30d7\u30ec\u30a4\u3092\u59cb\u3081\u3066\u3044\u306a\u3044\u307f\u305f\u3044\u3067\u3059\u306d\u300d
MSGTwitterPlayOtherwisePhrase:\u2026\u305d\u306e\u4ed6\u6570\u66f2\n\u3092\u30d7\u30ec\u30a4\u3057\u307e\u3057\u305f\uff01\n
MSGTwitterPlayOnlyPhrase:\u3092\u30d7\u30ec\u30a4\u3057\u307e\u3057\u305f\uff01
MSGTwitterIntegrationConfirm:Twitter\u3078\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u6295\u7a3f\u3057\u307e\u3059\u3002\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f\n\n
MSGStringLength:\n\n\u6587\u5b57\u6570\uff1a
MSGCompletePost:\u6295\u7a3f\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002
MSGTerminate:\u7d42\u4e86
MSGInternalYpdateNotDoneYet:\u5185\u90e8\u66f4\u65b0\u51e6\u7406\u304c\u5b8c\u4e86\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u5c11\u3057\u5f85\u3063\u3066\u304b\u3089\u3084\u308a\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002
MSGNarrowDownProcedure:\u697d\u66f2\u9078\u629e\u306e\u624b\u9806\r\n\uff11\uff0e\u96e3\u6613\u5ea6\u3001\u5c5e\u6027\u3001\u30ec\u30d9\u30eb\u3092\u9078\u629e\u3059\u308b\r\n\uff12\uff0e\u300c\u697d\u66f2\u53d6\u308a\u8fbc\u307f\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3059\uff01\r\n\uff13\uff0e\u300c\u958b\u59cb\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3059\uff01\r\n\uff14\uff0e\u9078\u629e\u3055\u308c\u305f\u697d\u66f2\u304c\u3053\u3053\u306b\u8868\u793a\u3055\u308c\u307e\u3059\uff01\r\n\u73fe\u5728\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u697d\u66f2\u9078\u629e\u306e\u6700\u5927\u6570\uff1a
MSGCurrentAlbumType:\n\u73fe\u5728\u306eMASTER+\u30a2\u30eb\u30d0\u30e0\u5468\u671f\uff08\u63a8\u5b9a\uff09:
31 changes: 30 additions & 1 deletion src/com/ranfa/main/Messages.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,36 @@ public enum Messages {
MSGCalcStart,
MSGDatabaseNotExist,
MSGAlbumTypeBeingCalculated,
MSGNarrowingDownSongs;
MSGNarrowingDownSongs,
MSGTitle,
MSGSelectDifficulty,
MSGNonSelected,
MSGAll,
MSGCute,
MSGCool,
MSGPassion,
MSGSongLevel,
MSGBelowSpecificLevel,
MSGOverSpecificLevel,
MSGLevelCheckboxInfo,
MSGUpdatingDatabase,
MSGCompleteNarrowDown,
MSGNumberOfSongs,
MSGThisPhrase,
MSGPlayPhrase,
MSGTwitterIntegration,
MSGUsingThisAppPhrase,
MSGNotPlayYet,
MSGTwitterPlayOtherwisePhrase,
MSGTwitterPlayOnlyPhrase,
MSGTwitterIntegrationConfirm,
MSGStringLength,
MSGCompletePost,
MSGTerminate,
MSGInternalYpdateNotDoneYet,
MSGNarrowDownProcedure,
MSGCurrentAlbumType;


@Override
public String toString() {
Expand Down

0 comments on commit 68e60ba

Please sign in to comment.