Skip to content

Commit

Permalink
Bring ControllerBindingWidget .cpp and .h files in line with others/.…
Browse files Browse the repository at this point in the history
…ui file
  • Loading branch information
TheTechnician27 authored and refractionpcsx2 committed Jul 7, 2024
1 parent 9781d29 commit 05a7a5b
Show file tree
Hide file tree
Showing 43 changed files with 975 additions and 975 deletions.
6 changes: 3 additions & 3 deletions pcsx2-qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ target_sources(pcsx2-qt PRIVATE
Settings/BIOSSettingsWidget.cpp
Settings/BIOSSettingsWidget.h
Settings/BIOSSettingsWidget.ui
Settings/ControllerBindingWidget.ui
Settings/ControllerBindingWidget_DualShock2.ui
Settings/ControllerBindingWidget_Guitar.ui
Settings/ControllerBindingWidget_Popn.ui
Settings/ControllerBindingWidgets.cpp
Settings/ControllerBindingWidgets.h
Settings/ControllerBindingWidget.cpp
Settings/ControllerBindingWidget.h
Settings/ControllerBindingWidget.ui
Settings/ControllerLEDSettingsDialog.ui
Settings/ControllerGlobalSettingsWidget.cpp
Settings/ControllerGlobalSettingsWidget.h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "pcsx2/Host.h"
#include "pcsx2/SIO/Pad/Pad.h"

#include "Settings/ControllerBindingWidgets.h"
#include "Settings/ControllerBindingWidget.h"
#include "Settings/ControllerSettingsWindow.h"
#include "Settings/ControllerSettingWidgetBinder.h"
#include "Settings/SettingsWindow.h"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pcsx2-qt/Settings/ControllerSettingsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "QtHost.h"
#include "Settings/ControllerSettingsWindow.h"
#include "Settings/ControllerGlobalSettingsWidget.h"
#include "Settings/ControllerBindingWidgets.h"
#include "Settings/ControllerBindingWidget.h"
#include "Settings/HotkeySettingsWidget.h"

#include "pcsx2/INISettingsInterface.h"
Expand Down
52 changes: 26 additions & 26 deletions pcsx2-qt/Translations/pcsx2-qt_af-ZA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2185,34 +2185,34 @@ Leaderboard Position: {1} of {2}</translation>
<translation type="unfinished">Clear Mapping</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="37"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="37"/>
<source>Controller Port %1</source>
<translation type="unfinished">Controller Port %1</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="198"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="198"/>
<source>No devices available</source>
<translation type="unfinished">No devices available</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="208"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="208"/>
<source>Clear Bindings</source>
<extracomment>Binding: A pair of (host button, target button); Mapping: A list of bindings covering an entire controller. These are two different things (which might be the same in your language, please make sure to verify this).</extracomment>
<translation type="unfinished">Clear Bindings</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="210"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="210"/>
<source>Are you sure you want to clear all bindings for this controller? This action cannot be undone.</source>
<extracomment>Binding: A pair of (host button, target button); Mapping: A list of bindings covering an entire controller. These are two different things (which might be the same in your language, please make sure to verify this).</extracomment>
<translation type="unfinished">Are you sure you want to clear all bindings for this controller? This action cannot be undone.</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="239"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="239"/>
<source>Automatic Binding</source>
<translation type="unfinished">Automatic Binding</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="240"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="240"/>
<source>No generic bindings were generated for device &apos;%1&apos;. The controller/source may not support automatic mapping.</source>
<translation type="unfinished">No generic bindings were generated for device &apos;%1&apos;. The controller/source may not support automatic mapping.</translation>
</message>
Expand Down Expand Up @@ -2500,17 +2500,17 @@ Leaderboard Position: {1} of {2}</translation>
<context>
<name>ControllerCustomSettingsWidget</name>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="709"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="709"/>
<source>Restore Default Settings</source>
<translation type="unfinished">Restore Default Settings</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="681"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="681"/>
<source>Browse...</source>
<translation type="unfinished">Browse...</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="685"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="685"/>
<source>Select File</source>
<translation type="unfinished">Select File</translation>
</message>
Expand Down Expand Up @@ -2746,46 +2746,46 @@ Leaderboard Position: {1} of {2}</translation>
<translation type="unfinished">Set...</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="390"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="390"/>
<source>Not Configured</source>
<translation type="unfinished">Not Configured</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="395"/>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="400"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="395"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="400"/>
<source>%1%</source>
<translation type="unfinished">%1%</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="407"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="407"/>
<source>Set Frequency</source>
<translation type="unfinished">Set Frequency</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="407"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="407"/>
<source>Frequency: </source>
<translation type="unfinished">Frequency: </translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="434"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="434"/>
<source>Macro will not repeat.</source>
<translation type="unfinished">Macro will not repeat.</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="436"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="436"/>
<source>Macro will toggle buttons every %1 frames.</source>
<translation type="unfinished">Macro will toggle buttons every %1 frames.</translation>
</message>
</context>
<context>
<name>ControllerMacroWidget</name>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="278"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="278"/>
<source>Controller Port %1 Macros</source>
<translation type="unfinished">Controller Port %1 Macros</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="287"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="287"/>
<source>Macro %1
%2</source>
<extracomment>This is the full text that appears in each option of the 16 available macros, and reads like this:
Expand Down Expand Up @@ -18221,12 +18221,12 @@ Om rekursief te skandeer neem langer, maar sal lêers identifiseer in ondergidse
<context>
<name>USBBindingWidget</name>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="1221"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="1221"/>
<source>Axes</source>
<translation>Asse</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="1249"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="1249"/>
<source>Buttons</source>
<translation>Knoppies</translation>
</message>
Expand Down Expand Up @@ -18548,32 +18548,32 @@ Om rekursief te skandeer neem langer, maar sal lêers identifiseer in ondergidse
<translation>Verwyder Kartering</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="936"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="936"/>
<source>USB Port %1</source>
<translation>USB Poort %1</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="1102"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="1102"/>
<source>No devices available</source>
<translation>Geen toestelle beskikbaar nie</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="1111"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="1111"/>
<source>Clear Bindings</source>
<translation>Verwyder Bindings</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="1112"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="1112"/>
<source>Are you sure you want to clear all bindings for this device? This action cannot be undone.</source>
<translation>Is U seker U wil al die bindings vir die toestel uitvee? Die aksie kan nie ontdoen word nie.</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="1141"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="1141"/>
<source>Automatic Binding</source>
<translation>Outomatiese Binding</translation>
</message>
<message>
<location filename="../Settings/ControllerBindingWidgets.cpp" line="1142"/>
<location filename="../Settings/ControllerBindingWidget.cpp" line="1142"/>
<source>No generic bindings were generated for device &apos;%1&apos;. The controller/source may not support automatic mapping.</source>
<translation>Geen generiese bindings was gegenereer vir toestel &apos;%1&apos;. Die kontroleerder/bron mag dalk nie outomatiese bindings ondersteun nie.</translation>
</message>
Expand Down
Loading

0 comments on commit 05a7a5b

Please sign in to comment.