From 03351c60af45ab1f9baae2b970df19c74cd09569 Mon Sep 17 00:00:00 2001 From: 0aubsq <0aubsq@gmail.com> Date: Mon, 25 Oct 2021 11:48:37 +0200 Subject: [PATCH] Translated the Tower mode upper background info & result screen in French and English, add few more translations on the config menu and some documentation for dictionnary indexes --- Documentation/I18N/DictionnaryIndexes.md | 22 ++++++++++++++ TJAPlayer3/I18N/CLang_en.cs | 17 +++++++++++ TJAPlayer3/I18N/CLang_fr.cs | 17 +++++++++++ TJAPlayer3/I18N/CLang_jp.cs | 17 +++++++++++ TJAPlayer3/Stages/04.Config/CActConfigList.cs | 29 ++++--------------- .../Stages/07.Game/Taiko/CAct演奏Drums背景.cs | 4 +-- TJAPlayer3/Stages/08.Result/CStage結果.cs | 8 ++--- 7 files changed, 85 insertions(+), 29 deletions(-) create mode 100644 Documentation/I18N/DictionnaryIndexes.md diff --git a/Documentation/I18N/DictionnaryIndexes.md b/Documentation/I18N/DictionnaryIndexes.md new file mode 100644 index 00000000..683d0d20 --- /dev/null +++ b/Documentation/I18N/DictionnaryIndexes.md @@ -0,0 +1,22 @@ +# Dictionnary Indexes + +- This document describes all the indexes used by the fonction `CLangManager.LangInstance.GetString(idx)`. + +``` +0 : "System language" description +1 : "System language" option title +2 : "<< Back to left menu" option title +3 : "<< Back to left menu" description +4 : "Reload songs" option title +5 : "Reload songs" description +6 : "Player count" option title +7 : "Player count" description +8 : "Risky" option title +9 : "Risky" description +10 : "Song speed" option title +11 : "Song speed" description +12 : Reached floor (Tower) +13 : Floor suffix (1 character) +14 : Points accronym (1 character) +15 : Score +``` \ No newline at end of file diff --git a/TJAPlayer3/I18N/CLang_en.cs b/TJAPlayer3/I18N/CLang_en.cs index 144376e3..d8541625 100644 --- a/TJAPlayer3/I18N/CLang_en.cs +++ b/TJAPlayer3/I18N/CLang_en.cs @@ -24,6 +24,23 @@ namespace TJAPlayer3 [3] = "Return to left menu.", [4] = "Reload song data", [5] = "Retrieve and update the song list.", + [6] = "Player count", + [7] = "Change the ingame player countF\nSetting it to 2 makes able to play\nregular charts at 2 players by splitting \nthe screen in half.", + [8] = "Risky", + [9] = "Risky mode:\nSet over 1, in case you'd like to specify\n the number of Poor/Miss times to be\n FAILED.\nSet 0 to disable Risky mode.", + [10] = "Song speed", + [11] = "It changes the song speed.\n" + + "For example, you can play in half\n" + + " speed by setting PlaySpeed = 0.500\n" + + " for your practice.\n" + + "\n" + + "Note: It also changes the songs' pitch.\n" + + "In case TimeStretch=ON, some sound\n" + + "lag occurs slower than x0.900.", + [12] = "Reached floor", + [13] = "F", + [14] = "P", + [15] = "Score", }; } } \ No newline at end of file diff --git a/TJAPlayer3/I18N/CLang_fr.cs b/TJAPlayer3/I18N/CLang_fr.cs index 994488b1..a4d34e17 100644 --- a/TJAPlayer3/I18N/CLang_fr.cs +++ b/TJAPlayer3/I18N/CLang_fr.cs @@ -24,6 +24,23 @@ namespace TJAPlayer3 [3] = "Retour au menu principal.", [4] = "Recharger les sons", [5] = "Met à jour et récupère les\nmodifications effectuées sur\nla liste de sons.", + [6] = "Nombre de joueurs", + [7] = "Change le nombre de joueurs en jeu:\nEn le mettant à 2, il est possible de\njouer à 2 en mode écran scindé.\nDisponible seulement pour le mode partie \nrapide.", + [8] = "Mort subite", + [9] = "Mode mort subite :\nSi 1 ou plus, spécifiez le nombre de \nnotes ratées maximales autorisées avant \nde perdre la partie.\nSi 0 le mode mort subite est désactivé.", + [10] = "Vitesse générale", + [11] = "Change le coefficient multiplicateur de \nla vitesse générale de la musique en jeu." + + "Par exemple, vous pouvez la diviser par \n" + + "2 en l'établissant à 0.500 \n" + + "afin de vous entraîner plus serainement.\n" + + "\n" + + "Note: Cette option change aussi le ton de la musique.\n" + + "Si TimeStretch=ON, il peut y avoir du\n" + + "lag si la vitesse générale est inférieure à x0.900.", + [12] = "Étage atteint", + [13] = "", + [14] = "P", + [15] = "Score", }; } } \ No newline at end of file diff --git a/TJAPlayer3/I18N/CLang_jp.cs b/TJAPlayer3/I18N/CLang_jp.cs index 7ea0535c..d7efad3f 100644 --- a/TJAPlayer3/I18N/CLang_jp.cs +++ b/TJAPlayer3/I18N/CLang_jp.cs @@ -24,6 +24,23 @@ namespace TJAPlayer3 [3] = "̃j[ɖ߂܂B", [4] = "ȃf[^ēǍ", [5] = "ȃf[^̈ꗗ擾܂B", + [6] = "vCl", + [7] = "vCl؂ւF\n2ɂƉtʂ2lvCp̃CAEgɂȂA\n2Ppʂǂݍނ悤ɂȂ܂B", + [8] = "Risky", + [9] = "Risky[h̐ݒ:\n1ȏ̒lɂƁẢ񐔕\nPoor/MissFAILEDƂȂ܂B\n0ɂƖɂȂA\nDamageLevelɏ]Q[W\nȂ܂B\nStageFailed̐ݒƕpł܂B", + [10] = "Đx", + [11] = "Ȃ̉txAx\n" + + "肷邱Ƃł܂B\n" + + "iꕔ̃TEhJ[hł͐\n" + + "@ĐłȂ”\܂Bj\n" + + "\n" + + "TimeStretchON̂ƂɁAt\n" + + "xx0.850ȉɂƁA`bv\n" + + "Y傫Ȃ܂B", + [12] = "BK", + [13] = "K", + [14] = "_", + [15] = "XRA", }; } } \ No newline at end of file diff --git a/TJAPlayer3/Stages/04.Config/CActConfigList.cs b/TJAPlayer3/Stages/04.Config/CActConfigList.cs index 7ab1dee8..9e2a3c41 100644 --- a/TJAPlayer3/Stages/04.Config/CActConfigList.cs +++ b/TJAPlayer3/Stages/04.Config/CActConfigList.cs @@ -89,33 +89,16 @@ namespace TJAPlayer3 // new string[] { "OFF", "HALF", "FULL" } ); //this.list項目リスト.Add( this.iCommonDark ); - this.iTaikoPlayerCount = new CItemInteger( "プレイ人数", 1, 2, TJAPlayer3.ConfigIni.nPlayerCount, - "プレイ人数切り替え:\n2にすると演奏画面が2人プレイ専用のレイアウトになり、2P専用譜面を読み込むようになります。", - "" ); + this.iTaikoPlayerCount = new CItemInteger(CLangManager.LangInstance.GetString(6), 1, 2, TJAPlayer3.ConfigIni.nPlayerCount, + CLangManager.LangInstance.GetString(7)); this.list項目リスト.Add( this.iTaikoPlayerCount ); - this.iSystemRisky = new CItemInteger( "Risky", 0, 10, TJAPlayer3.ConfigIni.nRisky, - "Riskyモードの設定:\n1以上の値にすると、その回数分の\nPoor/MissでFAILEDとなります。\n0にすると無効になり、\nDamageLevelに従ったゲージ増減と\nなります。\nStageFailedの設定と併用できます。", - "Risky mode:\nSet over 1, in case you'd like to specify\n the number of Poor/Miss times to be\n FAILED.\nSet 0 to disable Risky mode." ); + this.iSystemRisky = new CItemInteger(CLangManager.LangInstance.GetString(8), 0, 10, TJAPlayer3.ConfigIni.nRisky, + CLangManager.LangInstance.GetString(9)); this.list項目リスト.Add( this.iSystemRisky ); - this.iCommonPlaySpeed = new CItemInteger("再生速度", 5, 400, TJAPlayer3.ConfigIni.n演奏速度, - "曲の演奏速度を、速くしたり遅くした\n" + - "りすることができます。\n" + - "(※一部のサウンドカードでは正しく\n" + - " 再生できない可能性があります。)\n" + - "\n" + - "TimeStretchがONのときに、演奏\n" + - "速度をx0.850以下にすると、チップの\n" + - "ズレが大きくなります。", - "It changes the song speed.\n" + - "For example, you can play in half\n" + - " speed by setting PlaySpeed = 0.500\n" + - " for your practice.\n" + - "\n" + - "Note: It also changes the songs' pitch.\n" + - "In case TimeStretch=ON, some sound\n" + - "lag occurs slower than x0.900."); + this.iCommonPlaySpeed = new CItemInteger(CLangManager.LangInstance.GetString(10), 5, 400, TJAPlayer3.ConfigIni.n演奏速度, + CLangManager.LangInstance.GetString(11)); this.list項目リスト.Add( this.iCommonPlaySpeed ); this.iSystemTimeStretch = new CItemToggle( "TimeStretch", TJAPlayer3.ConfigIni.bTimeStretch, diff --git a/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drums背景.cs b/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drums背景.cs index ca0ad2a2..1ad335bf 100644 --- a/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drums背景.cs +++ b/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drums背景.cs @@ -101,8 +101,8 @@ namespace TJAPlayer3 this.pfTowerText = new CPrivateFastFont(new FontFamily("MS UI Gothic"), 28); } - this.ttkTouTatsuKaiSuu = new TitleTextureKey("到達階数", pfTowerText, Color.White, Color.Black, 700); - this.ttkKai = new TitleTextureKey("階", pfTowerText, Color.White, Color.Black, 700); + this.ttkTouTatsuKaiSuu = new TitleTextureKey(CLangManager.LangInstance.GetString(12), pfTowerText, Color.White, Color.Black, 700); + this.ttkKai = new TitleTextureKey(CLangManager.LangInstance.GetString(13), pfTowerText, Color.White, Color.Black, 700); this.ct炎 = new CCounter(0, 6, 50, TJAPlayer3.Timer); diff --git a/TJAPlayer3/Stages/08.Result/CStage結果.cs b/TJAPlayer3/Stages/08.Result/CStage結果.cs index 63ff0f1d..015afcf2 100644 --- a/TJAPlayer3/Stages/08.Result/CStage結果.cs +++ b/TJAPlayer3/Stages/08.Result/CStage結果.cs @@ -364,11 +364,11 @@ namespace TJAPlayer3 this.pfTowerText72 = new CPrivateFastFont(new FontFamily("MS UI Gothic"), 72); } - this.ttkMaxFloors = new TitleTextureKey("/" + TJAPlayer3.stage選曲.r確定された曲.arスコア[5].譜面情報.nTotalFloor.ToString() + "階", pfTowerText48, Color.Black, Color.Transparent, 700); - this.ttkToutatsu = new TitleTextureKey("到達階数", pfTowerText48, Color.White, Color.Black, 700); - this.ttkTen = new TitleTextureKey("点", pfTowerText, Color.Black, Color.Transparent, 700); + this.ttkMaxFloors = new TitleTextureKey("/" + TJAPlayer3.stage選曲.r確定された曲.arスコア[5].譜面情報.nTotalFloor.ToString() + CLangManager.LangInstance.GetString(13), pfTowerText48, Color.Black, Color.Transparent, 700); + this.ttkToutatsu = new TitleTextureKey(CLangManager.LangInstance.GetString(12), pfTowerText48, Color.White, Color.Black, 700); + this.ttkTen = new TitleTextureKey(CLangManager.LangInstance.GetString(14), pfTowerText, Color.Black, Color.Transparent, 700); this.ttkReachedFloor = new TitleTextureKey(CFloorManagement.LastRegisteredFloor.ToString(), pfTowerText72, Color.Orange, Color.Black, 700); - this.ttkScore = new TitleTextureKey("スコア", pfTowerText, Color.Black, Color.Transparent, 700); + this.ttkScore = new TitleTextureKey(CLangManager.LangInstance.GetString(15), pfTowerText, Color.Black, Color.Transparent, 700); this.ttkRemaningLifes = new TitleTextureKey(CFloorManagement.CurrentNumberOfLives.ToString(), pfTowerText, Color.Black, Color.Transparent, 700); this.ttkScoreCount = new TitleTextureKey(TJAPlayer3.stage結果.st演奏記録.Drums.nスコア.ToString(), pfTowerText, Color.Black, Color.Transparent, 700); }