v0.8.4. Refactoring.

master
Dmitry Isaenko 2018-05-05 23:07:52 +03:00
parent 2c90a3babc
commit a22827d547
5 changed files with 11 additions and 8 deletions

View File

@ -3,7 +3,7 @@ package mplayer4anime;
* Name: mplayer4anime *
* Author: Dmitry Isaenko *
* License: GNU GPL v.3 *
* Version: 0.8.3 *
* Version: 0.8.4 *
* Site: https://developersu.blogspot.com/ *
* 2018, Russia *
***********************************************/

View File

@ -134,9 +134,9 @@ public class SettingsController implements Initializable {
resourceBundle = resBundle;
appPreferences = new AppPreferences();
pathToMplayerLbl.setText(appPreferences.getPath());
if (System.getProperty("os.name").contains("Windows")) {
unixOsInfoLbl.setVisible(false);
}
// unixOsInfoLbl.setVisible(false);
// Subtitles should be shown first? If TRUE, then set checkbox.
subtitlesFirstCheckBox.setSelected(appPreferences.getSubtilesFirst());
// Should application restore lists after startup?
@ -172,7 +172,10 @@ public class SettingsController implements Initializable {
@FXML
private void clearPath(){
pathToMplayerLbl.setText("mplayer");
if (System.getProperty("os.name").contains("Windows"))
pathToMplayerLbl.setText("mplayer\\mplayer.exe");
else
pathToMplayerLbl.setText("mplayer");
}
@FXML

View File

@ -31,7 +31,7 @@
</Button>
</children>
</HBox>
<Label fx:id="unixOsInfoLbl" disable="true" minHeight="30.0" text="%settings_unixOsInformation" wrapText="true">
<Label fx:id="unixOsInfoLbl" disable="true" minHeight="35.0" text="%settings_unixOsInformation" wrapText="true">
<font>
<Font name="System Italic" size="12.0" />
</font>

View File

@ -1,5 +1,5 @@
about_line1=mplayer4amine distributes under GNU GPLv3 license.
about_line2=Release: v0.8.3
about_line2=Release: v0.8.4
about_line3=Development & maintenance by Dmitry Isaenko.
about_AboutName=About
main_tab_audio=Audio

View File

@ -1,5 +1,5 @@
about_line1=mplayer4amine \u0440\u0430\u0441\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u044F\u0435\u0442\u0441\u044F \u043F\u043E \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0438 GNU GPLv3.
about_line2=\u0420\u0435\u043B\u0438\u0437: v0.8.3
about_line2=\u0420\u0435\u043B\u0438\u0437: v0.8.4
about_line3=\u0420\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E \u0438 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0414\u043C\u0438\u0442\u0440\u0438\u0435\u043C \u0418\u0441\u0430\u0435\u043D\u043A\u043E.
about_AboutName=\u041E \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438
main_tab_audio=\u0410\u0443\u0434\u0438\u043E