Skip to content

Commit

Permalink
Merge branch 'launch_button' into 'master'
Browse files Browse the repository at this point in the history
Set minimum width for Launch OpenMW button

See merge request OpenMW/openmw!4162
  • Loading branch information
psi29a committed Jun 10, 2024
2 parents 820ef7a + fb3687e commit cbf0471
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion apps/launcher/maindialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ Launcher::MainDialog::MainDialog(const Files::ConfigurationManager& configuratio
&MainDialog::wizardFinished);

buttonBox->button(QDialogButtonBox::Close)->setText(tr("Close"));
buttonBox->button(QDialogButtonBox::Ok)->setText(tr(" Launch OpenMW "));
buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Launch OpenMW"));
buttonBox->button(QDialogButtonBox::Help)->setText(tr("Help"));

buttonBox->button(QDialogButtonBox::Ok)->setMinimumWidth(160);

// Order of buttons can be different on different setups,
// so make sure that the Play button has a focus by default.
buttonBox->button(QDialogButtonBox::Ok)->setFocus();
Expand Down
2 changes: 1 addition & 1 deletion files/lang/launcher_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ to default Morrowind fonts. Check this box if you still prefer original fonts ov
<translation type="unfinished"></translation>
</message>
<message>
<source> Launch OpenMW </source>
<source>Launch OpenMW</source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
2 changes: 1 addition & 1 deletion files/lang/launcher_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ to default Morrowind fonts. Check this box if you still prefer original fonts ov
<translation></translation>
</message>
<message>
<source> Launch OpenMW </source>
<source>Launch OpenMW</source>
<translation></translation>
</message>
<message>
Expand Down
2 changes: 1 addition & 1 deletion files/lang/launcher_fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ to default Morrowind fonts. Check this box if you still prefer original fonts ov
<translation>Fermer</translation>
</message>
<message>
<source> Launch OpenMW </source>
<source>Launch OpenMW</source>
<translation>Lancer OpenMW</translation>
</message>
<message>
Expand Down
4 changes: 2 additions & 2 deletions files/lang/launcher_ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ to default Morrowind fonts. Check this box if you still prefer original fonts ov
<translation>Закрыть</translation>
</message>
<message>
<source> Launch OpenMW </source>
<translation> Запустить OpenMW </translation>
<source>Launch OpenMW</source>
<translation>Запустить OpenMW</translation>
</message>
<message>
<source>Help</source>
Expand Down
4 changes: 2 additions & 2 deletions files/lang/launcher_sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,8 @@ de ordinarie fonterna i Morrowind. Bocka denna ruta om du ändå föredrar ordin
<translation>Stäng</translation>
</message>
<message>
<source> Launch OpenMW </source>
<translation> Starta OpenMW </translation>
<source>Launch OpenMW</source>
<translation>Starta OpenMW</translation>
</message>
<message>
<source>Help</source>
Expand Down

0 comments on commit cbf0471

Please sign in to comment.