diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index a0eade5b60..f36c10d846 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -259,6 +259,7 @@ trace = Trace Player trace.playername = Player name: [accent]{0} trace.ip = IP: [accent]{0} trace.id = ID: [accent]{0} +trace.language = Language: [accent]{0} trace.mobile = Mobile Client: [accent]{0} trace.modclient = Custom Client: [accent]{0} trace.times.joined = Times Joined: [accent]{0} @@ -2413,4 +2414,4 @@ lenum.mine = Mine at a position. lenum.build = Build a structure. lenum.getblock = Fetch a building, floor and type at coordinates.\nUnit must be in range of position.\nSolid non-buildings will have the type [accent]@solid[]. lenum.within = Check if unit is near a position. -lenum.boost = Start/stop boosting. \ No newline at end of file +lenum.boost = Start/stop boosting. diff --git a/core/src/mindustry/ui/dialogs/TraceDialog.java b/core/src/mindustry/ui/dialogs/TraceDialog.java index 3fb4d5c03b..e97c5254c1 100644 --- a/core/src/mindustry/ui/dialogs/TraceDialog.java +++ b/core/src/mindustry/ui/dialogs/TraceDialog.java @@ -27,6 +27,8 @@ public class TraceDialog extends BaseDialog{ var style = Styles.emptyi; float s = 28f; + + var language = LanguageDialog.displayNames.get(player.locale, player.locale); table.table(c -> { c.left().defaults().left(); @@ -36,6 +38,8 @@ public class TraceDialog extends BaseDialog{ c.add(Core.bundle.format("trace.ip", info.ip)).row(); c.button(Icon.copySmall, style, () -> copy(info.uuid)).size(s).padRight(4f); c.add(Core.bundle.format("trace.id", info.uuid)).row(); + c.button(Icon.copySmall, style, () -> copy(language)).size(s).padRight(4f); + c.add(Core.bundle.format("trace.language", language)).row(); }).row(); table.add(Core.bundle.format("trace.modclient", info.modded)).row();