aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/SearchPanel.gd
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-08-03 00:50:17 +0200
committer GitHub <noreply@github.com>2024-08-03 00:50:17 +0200
commitfde15e554dc9ed458a838683c69d10262764db12 (patch)
tree9e7af8634eafc8461bd02697dd48ae36ca924858 /game/src/Game/GameSession/SearchPanel.gd
parent8431914a6971cbacfb20bba13a4113d9ac4d5153 (diff)
parent06b76612b28183f0a047dac3a4127120d2af1b39 (diff)
Merge pull request #249 from OpenVicProject/utf8-fix
Use UTF8 encoding and simplify godot string conversion
Diffstat (limited to 'game/src/Game/GameSession/SearchPanel.gd')
-rw-r--r--game/src/Game/GameSession/SearchPanel.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/src/Game/GameSession/SearchPanel.gd b/game/src/Game/GameSession/SearchPanel.gd
index 5554226..c41660f 100644
--- a/game/src/Game/GameSession/SearchPanel.gd
+++ b/game/src/Game/GameSession/SearchPanel.gd
@@ -103,6 +103,8 @@ func _add_result_button() -> bool:
return false
button.pressed.connect(_result_selected.bind(_result_buttons.size()))
+ # Country/State/Province display names are already translated in the MenuSingleton
+ button.auto_translate = false
_results_list_box.add_child(child)
_result_buttons.push_back(button)