Skip to content

Commit

Permalink
localtion
Browse files Browse the repository at this point in the history
  • Loading branch information
LingASDJ committed Dec 4, 2022
1 parent dbbdf14 commit e5a1b87
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 5 deletions.
3 changes: 2 additions & 1 deletion core/src/main/assets/messages/actors/actors_en.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
actors.buffs.sanity.name=Sanity
actors.buffs.sanity.desc=_Stepping into the dungeon again and again will only make yourself more corrupted by vicious magic._\n\nThis time, you don't know when you will come to this dungeon again, but the evil and eerie atmosphere blows your face. This time you enter the dungeon and you feel a presence called sanity. But you don't know when you'll be devoured by the dungeon by losing your mind. \n\n-Current sanity is: _%s points_. \n\n_You are very sane now, so you don't have to worry about anything at all._

text.herostat.hunger = Hungry
text.herostat.seed_dungeon = Seed
text.herostat.item_wnd_depth = Depth:
text.herostat.item_wnd_mimic = Mimic:
text.herostat.item_wnd_reward = Quest:
Expand Down
10 changes: 10 additions & 0 deletions core/src/main/assets/messages/scenes/scenes_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ windows.wndsettings$extendtab.full=Open
windows.wndsettings$helptab.title=Help Setting
windows.wndsettings$helptab.helpsettings=Enable Item Generation Querier

scenes.feedbackscene$1.title=Are you sure you want to quit the game?
scenes.feedbackscene$1.intro=Are you sure you want to quit the game?
scenes.feedbackscene$1.sponsor_msg=If yes, please click to exit the game. If not, please click back to the game.
scenes.feedbackscene$1.feedback_msg=The dungeons are always dangerous, so you are often required to explore them.
scenes.feedbackscene$1.feedback_msg_pr=You can join the Demon Silk Development Group, talk with the author, and learn from other leaders.
scenes.feedbackscene$1.thanks=Magic Ling Pixel Dungeon welcomes your return at any time.
scenes.feedbackscene$1.sponsor_link=Quit the game
scenes.feedbackscene$1.feedback_link=Back to the game
scenes.feedbackscene$1.join_link=Join

scenes.changesscene.spd=SHPD
scenes.changesscene.mlpd=MLPD
scenes.changesscene.who=MLPD-Logs
Expand Down
3 changes: 2 additions & 1 deletion core/src/main/assets/messages/ui/ui.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ ui.joinindicator$1.saver=欢迎加入开发总群
ui.joinindicator$1.saver_desc=MLPD开发总群诚邀你的到来,你可以在这里获得最新情报,还能和群内大佬分享交流。
ui.joinindicator$1.okay=加入
ui.joinindicator$1.cancel=不,再等等

ui.joinindicator$1$1.link=https://jq.qq.com/?_wv=1027&k=g5AGtBgo
ui.joinindicator.link=https://jq.qq.com/?_wv=1027&k=g5AGtBgo
ui.changelist.mlpd.vm0_5_x_changes.newnpc1=新NPC-—REN-33
ui.changelist.mlpd.vm0_5_x_changes.renlogs=由那无法知晓的远方渡来的旅人,口中流传着骆越与暹罗的洽语、手捧着莲穗的清香,向你问候了。\n-这个人总是神志不清,一直都在0层的入口那里自言自语。

Expand Down
15 changes: 14 additions & 1 deletion core/src/main/assets/messages/ui/ui_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,17 @@ ui.updatenotification.title=Update
ui.updatenotification$wndupdate.title=An Update is Available!
ui.updatenotification$wndupdate.versioned_title=Update Available: %s
ui.updatenotification$wndupdate.desc=Shattered Pixel Dungeon is regularly updated with overhauls to existing game content, or entirely new content!\n\nGame balance is also frequently improved in game updates, so that specific items/heroes/enemies aren't too strong or too weak.\n\nUpdates also include fixes for bugs and other various stability improvements.
ui.updatenotification$wndupdate.button=Go To Update Page
ui.updatenotification$wndupdate.button=Go To Update Page
ui.joinindicator$1.saver=PixelDungeon Sever
ui.joinindicator$1.saver_desc=You can find me on the PD server of Discord.
ui.joinindicator$1.okay=Join Server
ui.joinindicator$1.cancel=No,Thanks
ui.joinindicator$1$1.link=https://discord.gg/KBfMN8X
ui.joinindicator.link=https://discord.gg/KBfMN8X
ui.mainhandindicator$1.saver=Adventure Guide
ui.mainhandindicator$1.saver_desc=This book details what you should do as an adventurer. If you are familiar with the details of adventure, you can close this booklet.
ui.mainhandindicator$1.okay=Read
ui.mainhandindicator$1.cancel=Close the book
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protected void onClick() {
@Override
protected void onSelect(int index) {
if (index == 0) {
ShatteredPixelDungeon.platform.openURI( "https://jq.qq.com/?_wv=1027&k=g5AGtBgo" );
ShatteredPixelDungeon.platform.openURI( Messages.get(this, "link") );
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite;
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
import com.shatteredpixel.shatteredpixeldungeon.ui.Icons;
import com.shatteredpixel.shatteredpixeldungeon.ui.JoinIndicator;
import com.shatteredpixel.shatteredpixeldungeon.ui.RedButton;
import com.shatteredpixel.shatteredpixeldungeon.ui.RenderedTextBlock;
import com.shatteredpixel.shatteredpixeldungeon.ui.Window;
Expand Down Expand Up @@ -82,7 +83,7 @@ protected void onClick() {
@Override
protected void onClick() {
super.onClick();
String link = "https://jq.qq.com/?_wv=1027&k=T5AojGsc";
String link = Messages.get(JoinIndicator.class, "link");
Game.platform.openURI(link);
}
};
Expand Down

0 comments on commit e5a1b87

Please sign in to comment.