diff --git a/.gitignore b/.gitignore index 9ef8344..40e2b25 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ .godot/ # nonfree placeholders must be excluded nonfree/ +text.en.translation +text.es.translation +text.ja.translation diff --git a/levels/ui/musictest.gd b/levels/ui/musictest.gd index 8ac3091..907ed1f 100644 --- a/levels/ui/musictest.gd +++ b/levels/ui/musictest.gd @@ -56,12 +56,12 @@ func _on_back_pressed(): func _on_title_screen_pressed(): player.stream = load(Global.musictracks[0]) - infobox.set_text("RELOADED\nRELOADED THEME\nMidori is now RELOADED") + infobox.set_text(tr("SONG0_INFO")) player.play(0) func _on_disclaimer_settings_stores_pressed(): player.stream = load(Global.musictracks[1]) - infobox.set_text("Vince Kaichan\nJellies in the Sea\nA relaxing sea music to prepare you for this explosive Action RPG") + infobox.set_text(tr("SONG1_INFO")) player.play(0) @@ -69,96 +69,96 @@ func _on_disclaimer_settings_stores_pressed(): func _on_testrooms_pressed(): player.stream = load(Global.musictracks[2]) - infobox.set_text("Fearofdark\nGet A Brain Morans\nMeme Music for a meme themed stage.\nYou can enter here using Test Milk and\nget something interesting") + infobox.set_text(tr("SONG2_INFO")) player.play(0) func _on_friendly_challenge_pressed(): player.stream = load(Global.musictracks[3]) - infobox.set_text("MrGamer\nOskars Skarmslackare\nPlayer Piano and Mechanical Drummer makes a great duo\nCenturies pass in the blink of an eye\nDo you feel old with this song? I too") + infobox.set_text(tr("SONG3_INFO")) player.play(0) func _on_school_nursery_pressed(): player.stream = load(Global.musictracks[4]) - infobox.set_text("JosSs\nExtra Life\nDo you want an Extra Life?\nYou need them") + infobox.set_text(tr("SONG4_INFO")) player.play(0) func _on_overworld_ceres_pressed(): player.stream = load(Global.musictracks[5]) - infobox.set_text("Ceekayed\nLayers\nGame graphics are made with a lot of texture layers\nmerged inside a single canvas") + infobox.set_text(tr("SONG5_INFO")) player.play(0) func _on_boss_fight_ceres_pressed(): player.stream = load(Global.musictracks[6]) - infobox.set_text("ko0x\ncaramel condition\nPamela stole your candy using her Kung Fu Powers\nYou have a better weapon: Fireballs") + infobox.set_text(tr("SONG6_INFO")) player.play(0) func _on_result_pressed(): player.stream = load(Global.musictracks[7]) - infobox.set_text("JosSs\nXs EdzesSs\nMost players can be confused by\nthe ways to earn experience in this game") + infobox.set_text(tr("SONG7_INFO")) player.play(0) func _on_overworld_earth_pressed(): player.stream = load(Global.musictracks[8]) - infobox.set_text("Vince Kaichan\nShakeshack Galaxy\nA song composed at Earth made to spread across the Galaxy\nYour father can give you an asteroid to achieve that") + infobox.set_text(tr("SONG8_INFO")) player.play(0) func _on_the_zubmarine_zone_pressed(): player.stream = load(Global.musictracks[9]) - infobox.set_text("Vince Kaichan\nThe Zubmarine Zone\nA militar base fill with Zubmarines and fire weapons\nYou can find a lot of Heavy Machine Guns here") + infobox.set_text(tr("SONG9_INFO")) player.play(0) func _on_radioactive_desert_pressed(): player.stream = load(Global.musictracks[10]) - infobox.set_text("Vince Kaichan\ncrammin jammin\nDesert radiation can kill humans instantly\nBut you can stay here without issues\nAt June 2, 2002 a Half Genie Girl born here\nIf you think that this game has an unique humour\nhere is the answer") + infobox.set_text(tr("SONG10_INFO")) player.play(0) func _on_natashas_theme_pressed(): player.stream = load(Global.musictracks[11]) - infobox.set_text("Vince Kaichan\nThe Func\nYou are fighting against a Maverick Fairy with a sad past\nand a hate against humans.\nA Lunate Elf like you can change her mind\nbecause that fairy also has pointy ears") + infobox.set_text(tr("SONG11_INFO")) player.play(0) func _on_dungeon_of_destruction_pressed(): player.stream = load(Global.musictracks[12]) - infobox.set_text("xerxes\nKaveh's theme\nThe Blacksmith of Destruction gave his name to a former untitled theme\nHe can give you the best weapon set from the universe,\nbut you must earn them\nThe Chosen One has a harder life that normal people") + infobox.set_text(tr("SONG12_INFO")) player.play(0) func _on_final_boss_fight_pressed(): player.stream = load(Global.musictracks[13]) - infobox.set_text("ko0x\nzenon\nYou trained for this\nIt's time to shine like Zenon Lights\nand make you final explosion") + infobox.set_text(tr("SONG13_INFO")) player.play(0) func _on_ending_theme_pressed(): player.stream = load(Global.musictracks[14]) - infobox.set_text("Vince Kaichan\nMilky Way\nWe won, but at what cost?") + infobox.set_text(tr("SONG14_INFO")) player.play(0) func _on_credits_1_pressed(): player.stream = load(Global.musictracks[15]) - infobox.set_text("Funky Fish and raina\nartificial sweetener\nThat candy was a fake one?\nNow that you are dead doesn't matter") + infobox.set_text(tr("SONG15_INFO")) player.play(0) func _on_credits_2_pressed(): player.stream = load(Global.musictracks[16]) - infobox.set_text("tj technoiZ\ntoo old\nI'm too old to see my daughter dying") + infobox.set_text(tr("SONG16_INFO")) player.play(0) func _on_credits_3_pressed(): player.stream = load(Global.musictracks[17]) - infobox.set_text("motherchip\nportello\nI said that you are dead?\nForget it\nThis is the true beggining") + infobox.set_text(tr("SONG17_INFO")) player.play(0) @@ -166,17 +166,17 @@ func _on_credits_3_pressed(): func _on_the_magic_school_pressed(): player.stream = load(Global.musictracks[18]) - infobox.set_text("Vince Kaichan\nsongbirds playground\nA happy song to forget that Kimberly will pull your ears\nwhen classes end\nYou know, that way to punish naughty elves like you") + infobox.set_text(tr("SONG18_INFO")) player.play(0) func _on_deep_forest_pressed(): player.stream = load(Global.musictracks[19]) - infobox.set_text("Vince Kaichan\nGotanda Lights\nThis forest is under the effect of quantum ice\nGo further and you will find a frozen lake\n and the origin of that quamtum ice") + infobox.set_text(tr("SONG19_INFO")) player.play(0) func _on_boss_fight_earth_pressed(): player.stream = load(Global.musictracks[20]) - infobox.set_text("rez-kenet\nunreeeal superhero 3\nReal superheroes are too mainstream\nYou can be somebody better") + infobox.set_text(tr("SONG20_INFO")) player.play(0) diff --git a/project.godot b/project.godot index c863d8c..87f3490 100644 --- a/project.godot +++ b/project.godot @@ -64,6 +64,7 @@ schar={ [internationalization] locale/translations=PackedStringArray("res://text.en.translation", "res://text.es.translation", "res://text.ja.translation") +locale/test="ja" [physics] diff --git a/text.csv b/text.csv index 88cec0f..07c3c0c 100644 --- a/text.csv +++ b/text.csv @@ -1,3 +1,26 @@ -,en,es,ja -TEXT_CONTINUE,Press enter or B to continue,Presiona Intro o B para continuar,Enter または B を押して続行します -KEY_PUSH,Push Me!,Aprétame!,押す +;en;es;ja +TEXT_CONTINUE;Press Enter or B to continue;Presiona Intro o B para continuar;Enter または B を押して続行します +TEXT_START;Press Enter or B to start;Presiona Intro o B para iniciar;EEnterまたはBを押して開始します +TEXT_EXIT;Press Escape or A to exit;Presiona Escape o A para salir;終了するにはEscまたはAを押してください +GAME_NAME;Midori in the Magic School;Midori in the Magic School;改造魔法学校のミドリ +SONG0_INFO;RELOADED\nRELOADED THEME\nMidori is now RELOADED;RELOADED\nRELOADED THEME\nMidori ahora esta RELOADED;RELOADED\nRELOADED THEME\n緑は今 RELOADED +SONG1_INFO; Vince Kaichan\nJellies in the Sea\nA relaxing sea music to prepare you for this explosive Action RPG;Vince Kaichan\nJellies in the Sea\nUna relajante música marina que te preparará para este explosivo Action RPG;ヴィンス・カイチャン\nJellies in the Sea\n爆発的なアクションRPGに備えてリラックスできる海の音楽 +SONG2_INFO;Fearofdark\nGet A Brain Morans\nMeme Music for a meme themed stage.\nYou can enter here using Test Milk and\nget something interesting;Fearofdark\nGet A Brain Morans\nMúsica de Meme para un escenario con temática de memes.\nPuedes ingresar aquí usando la Leche de Pruebas y obtener algo interesante.;Fearofdark\nGet A Brain Morans\nミームをテーマにしたステージのミームミュージック\nTest Milkを使用してここに参加して、\t何か面白いものを手に入れましょう +SONG3_INFO;MrGamer\nOskars Skarmslackare\nPianola and Mechanical Drummer makes a great duo\nCenturies pass in the blink of an eye\nDo you feel old with this song? I too;MrGamer\nOskars Skarmslackare\nLa Pianola y el Baterista Mecánico hacen un gran dúo\nLos siglos pasan en un abrir y cerrar de ojos.\n¿Te sientes viejo con esta canción? Yo también;MrGamer\nOskars Skarmslackare\nピアノラとメカニカルドラマーは素晴らしいデュオです\n瞬く間に何世紀も経つ\nこの曲を聞くと年をとったように感じますか? 私も +SONG4_INFO;JosSs\nExtra Life\nDo you want an Extra Life?\nYou need them;JosSs\nExtra Life\nDo you want an Extra Life?\nYou need them;JosSs\nExtra Life\nDo you want an Extra Life?\nYou need them +SONG5_INFO;Ceekayed\nLayers\nGame graphics are made with a lot of texture layers\nmerged inside a single canvas;Ceekayed\nLayers\nGame graphics are made with a lot of texture layers\nmerged inside a single canvas;Ceekayed\nLayers\nGame graphics are made with a lot of texture layers\nmerged inside a single canvas +SONG6_INFO;ko0x\ncaramel condition\nPamela stole your candy using her Kung Fu Powers\nYou have a better weapon: Fireballs;ko0x\ncaramel condition\nPamela stole your candy using her Kung Fu Powers\nYou have a better weapon: Fireballs;ko0x\ncaramel condition\nPamela stole your candy using her Kung Fu Powers\nYou have a better weapon: Fireballs +SONG7_INFO;JosSs\nXs EdzesSs\nMost players can be confused by\nthe ways to earn experience in this game;JosSs\nXs EdzesSs\nMost players can be confused by\nthe ways to earn experience in this game;JosSs\nXs EdzesSs\nMost players can be confused by\nthe ways to earn experience in this game +SONG8_INFO;Vince Kaichan\nShakeshack Galaxy\nA song composed at Earth made to spread across the Galaxy\nYour father can give you an asteroid to achieve that;Vince Kaichan\nShakeshack Galaxy\nA song composed at Earth made to spread across the Galaxy\nYour father can give you an asteroid to achieve that;ヴィンス・カイチャン\nShakeshack Galaxy\nA song composed at Earth made to spread across the Galaxy\nYour father can give you an asteroid to achieve that +SONG9_INFO;Vince Kaichan\nThe Zubmarine Zone\nA militar base fill with Zubmarines and fire weapons\nYou can find a lot of Heavy Machine Guns here;Vince Kaichan\nThe Zubmarine Zone\nA militar base fill with Zubmarines and fire weapons\nYou can find a lot of Heavy Machine Guns here;ヴィンス・カイチャン\nThe Zubmarine Zone\nA militar base fill with Zubmarines and fire weapons\nYou can find a lot of Heavy Machine Guns here +SONG10_INFO;Vince Kaichan\ncrammin jammin\nDesert radiation can kill humans instantly\nBut you can stay here without issues\nAt June 2 2002 a Half Genie Girl born here\nIf you think that this game has an unique humour\nhere is the answer;Vince Kaichan\ncrammin jammin\nDesert radiation can kill humans instantly\nBut you can stay here without issues\nAt June 2 2002 a Half Genie Girl born here\nIf you think that this game has an unique humour\nhere is the answer;ヴィンス・カイチャン\ncrammin jammin\nDesert radiation can kill humans instantly\nBut you can stay here without issues\nAt June 2 2002 a Half Genie Girl born here\nIf you think that this game has an unique humour\nhere is the answer +SONG11_INFO;Vince Kaichan\nThe Func\nYou are fighting against a Maverick Fairy with a sad past\nand a hate against humans.\nA Lunate Elf like you can change her mind\nbecause that fairy also has pointy ears;Vince Kaichan\nThe Func\nYou are fighting against a Maverick Fairy with a sad past\nand a hate against humans.\nA Lunate Elf like you can change her mind\nbecause that fairy also has pointy ears;ヴィンス・カイチャン\nThe Func\nYou are fighting against a Maverick Fairy with a sad past\nand a hate against humans.\nA Lunate Elf like you can change her mind\nbecause that fairy also has pointy ears +SONG12_INFO;xerxes\nKaveh's theme\nThe Blacksmith of Destruction gave his name to a former untitled theme\nHe can give you the best weapon set from the universe\nbut you must earn them\nThe Chosen One has a harder life that normal people;xerxes\nKaveh's theme\nThe Blacksmith of Destruction gave his name to a former untitled theme\nHe can give you the best weapon set from the universe\nbut you must earn them\nThe Chosen One has a harder life that normal people;xerxes\nKaveh's theme\nThe Blacksmith of Destruction gave his name to a former untitled theme\nHe can give you the best weapon set from the universe\nbut you must earn them\nThe Chosen One has a harder life that normal people +SONG13_INFO;ko0x\nzenon\nYou trained for this\nIt's time to shine like fireworks\nand make you final explosion;ko0x\nzenon\nYou trained for this\nIt's time to shine like fireworks\nand make you final explosion;ko0x\nzenon\nYou trained for this\nIt's time to shine like fireworks\nand make you final explosion +SONG14_INFO;Vince Kaichan\nMilky Way\nWe won, but at what cost?;Vince Kaichan\nMilky Way\nWe won, but at what cost?;ヴィンス・カイチャン\n天の川\nWe won, but at what cost? +SONG15_INFO;Funky Fish and raina\nartificial sweetener\nThat candy was a fake one?\nNow that you are dead doesn't matter;Funky Fish and raina\nartificial sweetener\nThat candy was a fake one?\nNow that you are dead doesn't matter;Funky Fish and raina\nartificial sweetener\nThat candy was a fake one?\nNow that you are dead doesn't matter +SONG16_INFO;tj technoiZ\ntoo old\nI'm too old to see my daughter dying;tj technoiZ\ntoo old\nI'm too old to see my daughter dying;tj technoiZ\ntoo old\nI'm too old to see my daughter dying +SONG17_INFO;motherchip\nportello\nI said that you are dead?\nForget it\nThis is the true beggining;motherchip\nportello\nI said that you are dead?\nForget it\nThis is the true beggining;motherchip\nportello\nI said that you are dead?\nForget it\nThis is the true beggining +SONG18_INFO;Vince Kaichan\nsongbirds playground\nA happy song to forget that Kimberly will pull your ears\nwhen classes end\nYou know, that way to punish naughty elves like you;Vince Kaichan\nsongbirds playground\nA happy song to forget that Kimberly will pull your ears\nwhen classes end\nYou know, that way to punish naughty elves like you;ヴィンス・カイチャン\nsongbirds playground\nA happy song to forget that Kimberly will pull your ears\nwhen classes end\nYou know, that way to punish naughty elves like you +SONG19_INFO;Vince Kaichan\nGotanda Lights\nThis forest is under the effect of quantum ice\nGo further and you will find a frozen lake\n and the origin of that quamtum ice;Vince Kaichan\nGotanda Lights\nThis forest is under the effect of quantum ice\nGo further and you will find a frozen lake\n and the origin of that quamtum ice;ヴィンス・カイチャン\nGotanda Lights\nThis forest is under the effect of quantum ice\nGo further and you will find a frozen lake\n and the origin of that quamtum ice +SONG20_INFO;rez-kenet\nunreeeal superhero 3\nReal superheroes are too mainstream\nYou can be somebody better;rez-kenet\nunreeeal superhero 3\nReal superheroes are too mainstream\nYou can be somebody better;rez-kenet\nunreeeal superhero 3\nReal superheroes are too mainstream\nYou can be somebody better diff --git a/text.csv.import b/text.csv.import index d940376..89de472 100644 --- a/text.csv.import +++ b/text.csv.import @@ -14,4 +14,4 @@ dest_files=["res://text.en.translation", "res://text.es.translation", "res://tex [params] compress=true -delimiter=0 +delimiter=1 diff --git a/text.en.translation b/text.en.translation deleted file mode 100644 index 54ac9f7..0000000 Binary files a/text.en.translation and /dev/null differ diff --git a/text.es.translation b/text.es.translation deleted file mode 100644 index efa2cb3..0000000 Binary files a/text.es.translation and /dev/null differ diff --git a/text.ja.translation b/text.ja.translation deleted file mode 100644 index 60e4814..0000000 Binary files a/text.ja.translation and /dev/null differ diff --git a/title.tscn b/title.tscn index e5733a5..af55f6c 100644 --- a/title.tscn +++ b/title.tscn @@ -24,32 +24,35 @@ texture = ExtResource("2_ena11") [node name="Game name" type="Label" parent="."] layout_mode = 0 -offset_left = 31.0 +offset_left = 35.0 offset_top = 308.0 -offset_right = 235.0 -offset_bottom = 331.0 +offset_right = 1241.0 +offset_bottom = 438.0 theme_override_font_sizes/font_size = 95 -text = "Midori in the Magic School" +text = "GAME_NAME" +horizontal_alignment = 1 script = ExtResource("2_bbb0f") [node name="start" type="Label" parent="."] layout_mode = 0 -offset_left = 446.0 +offset_left = 46.0 offset_top = 92.0 -offset_right = 610.0 -offset_bottom = 118.0 +offset_right = 1224.0 +offset_bottom = 147.0 theme_override_font_sizes/font_size = 40 -text = "Press B or Enter start" +text = "TEXT_START" +horizontal_alignment = 1 script = ExtResource("4_cc41w") [node name="exit" type="Label" parent="."] layout_mode = 0 -offset_left = 364.0 +offset_left = 47.0 offset_top = 602.0 -offset_right = 568.0 -offset_bottom = 628.0 +offset_right = 1208.0 +offset_bottom = 657.0 theme_override_font_sizes/font_size = 40 -text = "Press escape or A to exit" +text = "TEXT_EXIT" +horizontal_alignment = 1 script = ExtResource("5_scoec") [node name="Label" type="Label" parent="."]