From 68e60ba145329bec89774f20d1b151dcc440dd29 Mon Sep 17 00:00:00 2001 From: hizumiaoba <56146205+hizumiaoba@users.noreply.github.com> Date: Tue, 14 Dec 2021 12:14:41 +0900 Subject: [PATCH 1/1] refactor: add some translation --- src/com/ranfa/languages/List_en_US.properties | 30 +++++++++++++++++++++++++- src/com/ranfa/languages/List_ja_JP.properties | 30 +++++++++++++++++++++++++- src/com/ranfa/main/Messages.java | 31 ++++++++++++++++++++++++++- 3 files changed, 88 insertions(+), 3 deletions(-) diff --git a/src/com/ranfa/languages/List_en_US.properties b/src/com/ranfa/languages/List_en_US.properties index a667b9a..f69c4d6 100644 --- a/src/com/ranfa/languages/List_en_US.properties +++ b/src/com/ranfa/languages/List_en_US.properties @@ -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:Narrow down
songs \ No newline at end of file +MSGNarrowingDownSongs:Narrow down
songs +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:Only specified level songs will be selected if you mark both checkbox. +MSGUpdatingDatabase:Updating
database +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): \ No newline at end of file diff --git a/src/com/ranfa/languages/List_ja_JP.properties b/src/com/ranfa/languages/List_ja_JP.properties index 05563bb..cd87309 100644 --- a/src/com/ranfa/languages/List_ja_JP.properties +++ b/src/com/ranfa/languages/List_ja_JP.properties @@ -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:\u697d\u66f2
\u7d5e\u308a\u8fbc\u307f \ No newline at end of file +MSGNarrowingDownSongs:\u697d\u66f2
\u7d5e\u308a\u8fbc\u307f +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:\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 +MSGUpdatingDatabase:\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9
\u66f4\u65b0\u4e2d\u2026 +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: \ No newline at end of file diff --git a/src/com/ranfa/main/Messages.java b/src/com/ranfa/main/Messages.java index 61bcc81..9235612 100644 --- a/src/com/ranfa/main/Messages.java +++ b/src/com/ranfa/main/Messages.java @@ -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() { -- 2.11.0