Skip to content

Commit

Permalink
Dialog appearance improvements + link warning
Browse files Browse the repository at this point in the history
In SoundConfig.xrc and DisplayConfig.xrc use the 'option' property
to fully expand the contents.

In NetLink.xrc add a label at the top of the dialog explaining that Link
will likely not work over the internet or over LAN.

Signed-off-by: Zach Bacon <zachbacon@vba-m.com>
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
  • Loading branch information
ZachBacon authored and rkitover committed Jan 16, 2024
1 parent 390482a commit 23ef8ef
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 96 deletions.
134 changes: 71 additions & 63 deletions po/wxvbam/wxvbam.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-29 14:47+0000\n"
"POT-Creation-Date: 2024-01-15 14:15-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -120,7 +120,7 @@ msgstr ""
msgid "Start!"
msgstr ""

#: guiinit.cpp:123 xrc/NetLink.xrc:99
#: guiinit.cpp:123
msgid "Connect"
msgstr ""

Expand Down Expand Up @@ -1538,10 +1538,10 @@ msgstr ""
msgid "Invalid value for Default magnification."
msgstr ""

#: dialogs/display-config.cpp:341 xrc/DisplayConfig.xrc:85
#: xrc/DisplayConfig.xrc:135 xrc/DisplayConfig.xrc:221
#: dialogs/display-config.cpp:341 xrc/DisplayConfig.xrc:86
#: xrc/DisplayConfig.xrc:136 xrc/DisplayConfig.xrc:222
#: xrc/GameBoyAdvanceConfig.xrc:32 xrc/GameBoyAdvanceConfig.xrc:204
#: xrc/SoundConfig.xrc:219 xrc/SoundConfig.xrc:309
#: xrc/SoundConfig.xrc:221 xrc/SoundConfig.xrc:311
msgid "None"
msgstr ""

Expand All @@ -1551,7 +1551,7 @@ msgid "No usable rpi plugins found in %s"
msgstr ""

#: dialogs/display-config.cpp:410 dialogs/display-config.cpp:452
#: xrc/DisplayConfig.xrc:107
#: xrc/DisplayConfig.xrc:108
msgid "Plugin"
msgstr ""

Expand Down Expand Up @@ -2062,131 +2062,131 @@ msgstr ""
msgid "Display settings"
msgstr ""

#: xrc/DisplayConfig.xrc:15
#: xrc/DisplayConfig.xrc:16
msgid "Output module"
msgstr ""

#: xrc/DisplayConfig.xrc:33
#: xrc/DisplayConfig.xrc:34
msgid "Simple"
msgstr ""

#: xrc/DisplayConfig.xrc:65
#: xrc/DisplayConfig.xrc:66
msgid "Filters"
msgstr ""

#: xrc/DisplayConfig.xrc:79
#: xrc/DisplayConfig.xrc:80
msgid "Display filter:"
msgstr ""

#: xrc/DisplayConfig.xrc:87
#: xrc/DisplayConfig.xrc:88
msgid "Super 2xSaI"
msgstr ""

#: xrc/DisplayConfig.xrc:88
#: xrc/DisplayConfig.xrc:89
msgid "Super Eagle"
msgstr ""

#: xrc/DisplayConfig.xrc:89
#: xrc/DisplayConfig.xrc:90
msgid "Pixelate"
msgstr ""

#: xrc/DisplayConfig.xrc:90
#: xrc/DisplayConfig.xrc:91
msgid "Advance MAME Scale 2x"
msgstr ""

#: xrc/DisplayConfig.xrc:91
#: xrc/DisplayConfig.xrc:92
msgid "Bilinear"
msgstr ""

#: xrc/DisplayConfig.xrc:92
#: xrc/DisplayConfig.xrc:93
msgid "Bilinear Plus"
msgstr ""

#: xrc/DisplayConfig.xrc:93
#: xrc/DisplayConfig.xrc:94
msgid "Scanlines"
msgstr ""

#: xrc/DisplayConfig.xrc:94
#: xrc/DisplayConfig.xrc:95
msgid "TV Mode"
msgstr ""

#: xrc/DisplayConfig.xrc:97
#: xrc/DisplayConfig.xrc:98
msgid "Simple 2x"
msgstr ""

#: xrc/DisplayConfig.xrc:98
#: xrc/DisplayConfig.xrc:99
msgid "Simple 3x"
msgstr ""

#: xrc/DisplayConfig.xrc:100
#: xrc/DisplayConfig.xrc:101
msgid "Simple 4x"
msgstr ""

#: xrc/DisplayConfig.xrc:115
#: xrc/DisplayConfig.xrc:116
msgid "Plugin:"
msgstr ""

#: xrc/DisplayConfig.xrc:127
#: xrc/DisplayConfig.xrc:128
msgid "Interframe blending:"
msgstr ""

#: xrc/DisplayConfig.xrc:136
#: xrc/DisplayConfig.xrc:137
msgid "Smart"
msgstr ""

#: xrc/DisplayConfig.xrc:137
#: xrc/DisplayConfig.xrc:138
msgid "Motion Blur"
msgstr ""

#: xrc/DisplayConfig.xrc:151 xrc/SoundConfig.xrc:91
#: xrc/DisplayConfig.xrc:152 xrc/SoundConfig.xrc:93
msgid "Basic"
msgstr ""

#: xrc/DisplayConfig.xrc:159
#: xrc/DisplayConfig.xrc:160
msgid "Frame Skip"
msgstr ""

#: xrc/DisplayConfig.xrc:177
#: xrc/DisplayConfig.xrc:178
msgid "&Number of frames to skip:"
msgstr ""

#: xrc/DisplayConfig.xrc:199
#: xrc/DisplayConfig.xrc:200
msgid "Speed"
msgstr ""

#: xrc/DisplayConfig.xrc:215
#: xrc/DisplayConfig.xrc:216
msgid "Speed indicator:"
msgstr ""

#: xrc/DisplayConfig.xrc:222
#: xrc/DisplayConfig.xrc:223
msgid "Percentage"
msgstr ""

#: xrc/DisplayConfig.xrc:223
#: xrc/DisplayConfig.xrc:224
msgid "Detailed"
msgstr ""

#: xrc/DisplayConfig.xrc:237
#: xrc/DisplayConfig.xrc:238
msgid "On-Screen Display"
msgstr ""

#: xrc/DisplayConfig.xrc:247
#: xrc/DisplayConfig.xrc:248
msgid "Default magnification:"
msgstr ""

#: xrc/DisplayConfig.xrc:266
#: xrc/DisplayConfig.xrc:267
msgid "Maximum magnification factor:"
msgstr ""

#: xrc/DisplayConfig.xrc:267
#: xrc/DisplayConfig.xrc:268
msgid "0 = no maximum"
msgstr ""

#: xrc/DisplayConfig.xrc:275
#: xrc/DisplayConfig.xrc:276
msgid "0 = no limit"
msgstr ""

#: xrc/DisplayConfig.xrc:285
#: xrc/DisplayConfig.xrc:286
msgid "Zoom"
msgstr ""

Expand Down Expand Up @@ -3550,23 +3550,31 @@ msgstr ""
msgid "Start Network Link"
msgstr ""

#: xrc/NetLink.xrc:11
#: xrc/NetLink.xrc:13
msgid "WARNING: Link will likely not work over the internet or LAN."
msgstr ""

#: xrc/NetLink.xrc:38
msgid "Server"
msgstr ""

#: xrc/NetLink.xrc:19
#: xrc/NetLink.xrc:47
msgid "Client"
msgstr ""

#: xrc/NetLink.xrc:32
#: xrc/NetLink.xrc:66
msgid "Players:"
msgstr ""

#: xrc/NetLink.xrc:67
#: xrc/NetLink.xrc:83
msgid "2"
msgstr ""

#: xrc/NetLink.xrc:107
msgid "Server:"
msgstr ""

#: xrc/NetLink.xrc:81
#: xrc/NetLink.xrc:124
msgid "Port:"
msgstr ""

Expand All @@ -3590,83 +3598,83 @@ msgstr ""
msgid "Sound Settings"
msgstr ""

#: xrc/SoundConfig.xrc:16
#: xrc/SoundConfig.xrc:18
msgid "Volume:"
msgstr ""

#: xrc/SoundConfig.xrc:34
#: xrc/SoundConfig.xrc:36
msgid "Mute"
msgstr ""

#: xrc/SoundConfig.xrc:54 xrc/SoundConfig.xrc:320
#: xrc/SoundConfig.xrc:56 xrc/SoundConfig.xrc:322
msgid "Maximum"
msgstr ""

#: xrc/SoundConfig.xrc:71
#: xrc/SoundConfig.xrc:73
msgid "Sample rate:"
msgstr ""

#: xrc/SoundConfig.xrc:77
#: xrc/SoundConfig.xrc:79
msgid "48 KHz"
msgstr ""

#: xrc/SoundConfig.xrc:78
#: xrc/SoundConfig.xrc:80
msgid "44.1 KHz"
msgstr ""

#: xrc/SoundConfig.xrc:79
#: xrc/SoundConfig.xrc:81
msgid "22 KHz"
msgstr ""

#: xrc/SoundConfig.xrc:80
#: xrc/SoundConfig.xrc:82
msgid "11 KHz"
msgstr ""

#: xrc/SoundConfig.xrc:118
#: xrc/SoundConfig.xrc:120
msgid "Direct Sound"
msgstr ""

#: xrc/SoundConfig.xrc:146
#: xrc/SoundConfig.xrc:148
msgid "Device"
msgstr ""

#: xrc/SoundConfig.xrc:154
#: xrc/SoundConfig.xrc:156
msgid "Enable stereo upmixing"
msgstr ""

#: xrc/SoundConfig.xrc:161
#: xrc/SoundConfig.xrc:163
msgid "Enable hardware acceleration"
msgstr ""

#: xrc/SoundConfig.xrc:190
#: xrc/SoundConfig.xrc:192
msgid "Number of sound buffers:"
msgstr ""

#: xrc/SoundConfig.xrc:198
#: xrc/SoundConfig.xrc:200
msgid "Advanced"
msgstr ""

#: xrc/SoundConfig.xrc:230
#: xrc/SoundConfig.xrc:232
msgid "Lots"
msgstr ""

#: xrc/SoundConfig.xrc:239
#: xrc/SoundConfig.xrc:241
msgid "Echo"
msgstr ""

#: xrc/SoundConfig.xrc:247
#: xrc/SoundConfig.xrc:249
msgid "Stereo"
msgstr ""

#: xrc/SoundConfig.xrc:258
#: xrc/SoundConfig.xrc:260
msgid "Center"
msgstr ""

#: xrc/SoundConfig.xrc:269
#: xrc/SoundConfig.xrc:271
msgid "Left / Right"
msgstr ""

#: xrc/SoundConfig.xrc:298
#: xrc/SoundConfig.xrc:300
msgid "Sound filtering"
msgstr ""

Expand Down
2 changes: 2 additions & 0 deletions src/wx/xrc/DisplayConfig.xrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<object class="wxNotebook">
<object class="notebookpage">
<object class="wxPanel">
Expand Down Expand Up @@ -285,6 +286,7 @@
<label>Zoom</label>
</object>
</object>
<option>1</option>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
Expand Down
Loading

0 comments on commit 23ef8ef

Please sign in to comment.