Skip to content

Commit

Permalink
Add Reload key as configurable input
Browse files Browse the repository at this point in the history
  • Loading branch information
Chadnaut committed Dec 9, 2024
1 parent 2ac12e5 commit e891e3a
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 3 deletions.
2 changes: 2 additions & 0 deletions config/language/cn.msg
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ Previous Game;上一游戏
Previous Letter;上一关键词
Previous Page;上一页
Random Game;随机游戏
Reload;重新加载
Remove '$1' from Favourites?;从收藏中先锋队 '$1'?
Remove Input;移除-设置按键
Replay Last Game;重新上一次的游戏
Expand Down Expand Up @@ -334,6 +335,7 @@ _help_control_prev_game;Set the control(s) that move to the previous game
_help_control_prev_letter;Set the control(s) that move to the previous letter
_help_control_prev_page;Set the control(s) that move the selection down one page
_help_control_random_game;Set the control(s) that select a random game from the current list
_help_control_reload;Set the control(s) that reloads the current layout
_help_control_replay_last_game;Set the control(s) that relaunch the last game played
_help_control_right;Set the control(s) that move the selection right
_help_control_screen_saver;Set the control(s) that launch screen saver mode
Expand Down
2 changes: 2 additions & 0 deletions config/language/de.msg
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ Previous Filter;Vorheriger Filter
Previous Letter;Voriger Buchstabe
Previous Page;Vorherige Seite
Random Game;Zufälliges Spiel
Reload;Neu laden
Remove Input;Steuerung löschen
Replay Last Game;Letztes Spiel wiederholen
Right;Rechts
Expand Down Expand Up @@ -225,6 +226,7 @@ _help_control_prev_filter;Definiere die Taste(n), um zum vorigen Filter zu sprin
_help_control_prev_letter;Definiere die Taste(n), um zum vorigen Buchstaben zu springen
_help_control_prev_page;Definiere die Taste(n), um die Auswahl zur vorherigen Seite zu bewegen
_help_control_random_game;Definiere die Taste(n), die ein zufälliges Spiel aus der aktuellen Liste wählen
_help_control_reload;Definiere die Taste(n), die das aktuelle Layout neu laden
_help_control_replay_last_game;Definiere die Taste(n), die das zuletzt gespielte Spiel erneut starten
_help_control_screen_saver;Definiere die Taste(n), die den Bildschirmschoner starten
_help_control_screenshot;Definiere die Taste(n), um ein Bildschirmphoto vom Frontend zu machen
Expand Down
1 change: 1 addition & 0 deletions config/language/en.msg
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ _help_control_prev_game;Set the control(s) that move to the previous game
_help_control_prev_letter;Set the control(s) that move to the previous letter
_help_control_prev_page;Set the control(s) that move the selection down one page
_help_control_random_game;Set the control(s) that select a random game from the current list
_help_control_reload;Set the control(s) that reloads the current layout
_help_control_replay_last_game;Set the control(s) that relaunch the last game played
_help_control_right;Set the control(s) that move the selection right
_help_control_screen_saver;Set the control(s) that launch screen saver mode
Expand Down
2 changes: 2 additions & 0 deletions config/language/es.msg
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ Previous Filter;Filtro anterior
Previous Letter;Letra previa
Previous Page;Página posterior
Random Game;Juego aleatorio
Reload;Recargar
Remove Input;Eliminar control
Replay Last Game;Repetir el último juego
Right;Derecha
Expand Down Expand Up @@ -225,6 +226,7 @@ _help_control_prev_filter;Configurar el(los) control(es) que mueven hacia el fil
_help_control_prev_letter;Configura el(los) control(es) que mueve hacia la letra previa
_help_control_prev_page;Configurar el(los) control(es) que mueven hacia arriba una página la selección
_help_control_random_game;Configura el(los) control(es) que selecciona un jego aleatorio de la lista actual
_help_control_reload;Configura el(los) control(es) que recargan el diseño actual
_help_control_replay_last_game;Configura el(los) control(es) que relanza el último juego jugado
_help_control_screen_saver;Configura el(los) control(es) que lanzan el protector de pantalla
_help_control_screenshot;Configura el(los) control(es) que toma una captura de pantalla del frontend
Expand Down
2 changes: 2 additions & 0 deletions config/language/fr.msg
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ Previous Filter;Filtre précédent
Previous Letter;Lettre précédente
Previous Page;Page Suivante
Random Game;Jeu au hasard
Reload;Recharger
Remove Input;Enlever le contrôle
Replay Last Game;Rejouer au dernier jeu
Right;Droite
Expand Down Expand Up @@ -213,6 +214,7 @@ _help_control_prev_favourite;Définit le(s) contrôle(s) qui selectionne(nt) le
_help_control_prev_filter;Définit le(s) contrôle(s) qui bascule(nt) au filtre précédente
_help_control_prev_letter;Définit le(s) contrôle(s) qui bascule(nt) à la lettre précédente
_help_control_random_game;Définit le(s) contrôle(s) qui sélectionne(nt) un jeu aléatoirement dans la liste de rom active
_help_control_reload;Définit le(s) contrôle(s) qui rechargent la mise en page actuelle
_help_control_replay_last_game;Définit le(s) contrôle(s) qui relance(nt) le dernier jeu joué
_help_control_screen_saver;Définit le(s) contrôle(s) qui lance(nt) le mode "économiseur d'écran"
_help_control_screenshot;Définit le(s) contrôle(s) qui enregistre(nt) une impression écran d'Attract Mode
Expand Down
4 changes: 3 additions & 1 deletion config/language/it.msg
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Hide Brackets in Game Title;Nascondere le parentesi nei titoli
Info Source/Scraper;Sorgente informazioni/Recupero
Intro;Video introduttivo
Joystick Threshold;Soglia del joystick
Jump to Next Display;Salta al display successivo
Jump to Next Display;Salta al display successivo
Language;Lingua
Launch Last Game;Esegui l'ultimo gioco
Layout;Tema
Expand Down Expand Up @@ -168,6 +168,7 @@ Previous Game;Gioco precedente
Previous Letter;Lettera precedente
Previous Page;Pagina precedente
Random Game;Gioco casuale
Reload;Ricaricare
Remove '$1' from Favourites?;Elimino '$1' dai preferiti?
Remove Input;Eliminare il controllo
Remove tag: '$1';Elimina etichetta: '$1'
Expand Down Expand Up @@ -276,6 +277,7 @@ _help_control_prev_game;Configura i controlli per spostarsi al gioco precedente
_help_control_prev_letter;Configura i controlli per passare alla lettera precedente
_help_control_prev_page;Configura i controlli per spostarsi alla pagina precedente
_help_control_random_game;Configura i controlli per saltare ad un gioco casuale
_help_control_reload;Configura i controlli che ricaricano il layout corrente
_help_control_replay_last_game;Configura i controlli per eseguire nuovamente l'ultimo titolo giocato
_help_control_right;Configura i controlli per spostare la selezione a destra
_help_control_screen_saver;Configura i controlli per eseguire immediatamente il salvaschermo
Expand Down
2 changes: 2 additions & 0 deletions config/language/jp.msg
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ Previous Favourite;次のお気に入り
Previous Filter;前のフィルター
Previous Letter;前の文字
Random Game;任意のゲーム選択
Reload;リロード
Remove Input;キー削除
Replay Last Game;最後にプレイしたゲームを再プレイ
Right;90°
Expand Down Expand Up @@ -220,6 +221,7 @@ _help_control_prev_favourite;前のお気に入りゲームに移動するキー
_help_control_prev_filter;前のフィルターに移動するキーを設定します
_help_control_prev_letter;前のアルファベットに移動するキーを設定します
_help_control_random_game;任意のゲームを選択するキーを設定します
_help_control_reload;現在のレイアウトを再ロードするコントロールを設定します
_help_control_replay_last_game;最後にプレイしたゲームを再びプレイするキーを設定します
_help_control_screen_saver;スクリーンショットを起動するキーを設定します
_help_control_screenshot;スクリーンショットを撮るキーを設定します
Expand Down
2 changes: 2 additions & 0 deletions config/language/kr.msg
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ Previous Game;이전 게임
Previous Letter;이전 글자
Previous Page;이전 페이지
Random Game;랜덤 게임 선택
Reload;새로고침
Remove '$1' from Favourites?;'$1' 게임을 즐겨하는 목록에서 제거하겠습니까?
Remove Input;입력 삭제
Remove tag: '$1';'$1' 태그 제거
Expand Down Expand Up @@ -287,6 +288,7 @@ _help_control_prev_game;이전 게임으로 이동하는 키를 설정힙니다
_help_control_prev_letter;이전 글자로 이동하는 키를 설정합니다.
_help_control_prev_page;이전 페이지로 이동하는 키를 설정힙니다
_help_control_random_game;랜덤한 게임을 선택하는 키를 설정합니다.
_help_control_reload;현재 레이아웃을 다시 로드하는 컨트롤 설정.
_help_control_replay_last_game;마지막으로 실행했던 게임을 다시 실행하는 키를 설정합니다.
_help_control_right;오른쪽 항목으로 한 칸 이동하는 키를 설정합니다
_help_control_screen_saver;화면 보호기를 활성화하는 키를 설정합니다.
Expand Down
2 changes: 2 additions & 0 deletions config/language/msg_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ Previous Game;Previous Game
Previous Letter;Previous Letter
Previous Page;Previous Page
Random Game;Random Game
Reload;Reload
Remove '$1' from Favourites?;Remove '$1' from Favourites?
Remove Input;Remove Input
Remove tag: '$1';Remove tag: '$1'
Expand Down Expand Up @@ -304,6 +305,7 @@ _help_control_prev_game;Set the control(s) that move to the previous game
_help_control_prev_letter;Set the control(s) that move to the previous letter
_help_control_prev_page;Set the control(s) that move the selection down one page
_help_control_random_game;Set the control(s) that select a random game from the current list
_help_control_reload;Set the control(s) that reloads the current layout
_help_control_replay_last_game;Set the control(s) that relaunch the last game played
_help_control_right;Set the control(s) that move the selection right
_help_control_screen_saver;Set the control(s) that launch screen saver mode
Expand Down
2 changes: 2 additions & 0 deletions config/language/tw.msg
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ Previous Game;上一個遊戲
Previous Letter;上一個文字清單
Previous Page;上一頁
Random Game;隨機選取遊戲
Reload;重新載入
Remove '$1' from Favourites?;要從我的最愛移除「$1」嗎?
Remove Input;移除輸入按鍵
Remove tag: '$1';移除分類標籤: $1
Expand Down Expand Up @@ -298,6 +299,7 @@ _help_control_prev_game;設定「移至上一個遊戲」的控制鍵
_help_control_prev_letter;設定「移至上一個文字清單」的控制鍵
_help_control_prev_page;設定「移至上一頁」的控制鍵
_help_control_random_game;設定「從當前清單隨機選取遊戲」的控制鍵
_help_control_reload;設定「重新載入佈局」的控制鍵
_help_control_replay_last_game;設定「重玩最後執行的遊戲」的控制鍵
_help_control_right;設定「右移選項」的控制鍵
_help_control_screen_saver;設定「進入螢幕保護模式」的控制鍵
Expand Down
2 changes: 2 additions & 0 deletions src/fe_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@ const char *FeInputMap::commandStrings[] =
"toggle_rotate_left",
"exit",
"exit_to_desktop",
"reload",
"screenshot",
"configure",
"random_game",
Expand Down Expand Up @@ -892,6 +893,7 @@ const char *FeInputMap::commandDispStrings[] =
"Toggle Rotate Left",
"Exit",
"Exit to Desktop",
"Reload",
"Screenshot",
"Configure",
"Random Game",
Expand Down
4 changes: 2 additions & 2 deletions src/fe_input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class FeInputMap : public FeBaseConfigurable
ToggleRotateLeft,
Exit,
ExitToDesktop,
Reload,
ScreenShot,
Configure,
RandomGame,
Expand Down Expand Up @@ -180,8 +181,7 @@ class FeInputMap : public FeBaseConfigurable
AmbientSound,
EventStartup,
EventGameReturn,
LAST_EVENT,
Reload // special case value used to reload the layout
LAST_EVENT
};

static const char *commandStrings[];
Expand Down

0 comments on commit e891e3a

Please sign in to comment.