Skip to content

Commit

Permalink
add some key binding options to preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
siecvi committed Sep 29, 2024
1 parent a7d5964 commit fe22353
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Resources/Locales/es/openspades.po
Original file line number Diff line number Diff line change
Expand Up @@ -2324,6 +2324,16 @@ msgctxt "Preferences"
msgid "Scope Type"
msgstr "Tipo de mira"

#: Resources/Scripts/Gui/Preferences.as:1432
msgctxt "Preferences"
msgid "Scoreboard"
msgstr "Tabla de puntuaciones"

#: Resources/Scripts/Gui/Preferences.as:1439
msgctxt "Preferences"
msgid "Chat Zoom"
msgstr "Zoom del chat"

#: Resources/Scripts/Gui/Preferences.as:1377
msgctxt "Preferences"
msgid "Hold Large Map"
Expand Down
10 changes: 10 additions & 0 deletions Resources/Locales/pot/openspades.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2248,6 +2248,16 @@ msgctxt "Preferences"
msgid "Scope Type"
msgstr ""

#: Resources/Scripts/Gui/Preferences.as:1432
msgctxt "Preferences"
msgid "Scoreboard"
msgstr ""

#: Resources/Scripts/Gui/Preferences.as:1439
msgctxt "Preferences"
msgid "Chat Zoom"
msgstr ""

#: Resources/Scripts/Gui/Preferences.as:1377
msgctxt "Preferences"
msgid "Hold Large Map"
Expand Down
2 changes: 2 additions & 0 deletions Resources/Scripts/Gui/Preferences.as
Original file line number Diff line number Diff line change
Expand Up @@ -1429,12 +1429,14 @@ namespace spades {
layouter.AddControl(_Tr("Preferences", "Sprint"), "cg_keySprint");

layouter.AddHeading(_Tr("Preferences", "Misc"));
layouter.AddControl(_Tr("Preferences", "Scoreboard"), "cg_keyScoreboard");
layouter.AddToggleField(_Tr("Preferences", "Hold Large Map"), "cg_holdMapZoom");
layouter.AddControl(_Tr("Preferences", "Minimap Scale"), "cg_keyChangeMapScale");
layouter.AddControl(_Tr("Preferences", "Toggle Map"), "cg_keyToggleMapZoom");
layouter.AddControl(_Tr("Preferences", "Flashlight"), "cg_keyFlashlight");
layouter.AddControl(_Tr("Preferences", "Global Chat"), "cg_keyGlobalChat");
layouter.AddControl(_Tr("Preferences", "Team Chat"), "cg_keyTeamChat");
layouter.AddControl(_Tr("Preferences", "Chat Zoom"), "cg_keyZoomChatLog");
layouter.AddControl(_Tr("Preferences", "Limbo Menu"), "cg_keyLimbo");
layouter.AddControl(_Tr("Preferences", "Save Map"), "cg_keySaveMap");
layouter.AddControl(_Tr("Preferences", "Save Sceneshot"), "cg_keySceneshot");
Expand Down

0 comments on commit fe22353

Please sign in to comment.