v0.8.4. Refactoring.

This commit is contained in:
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 * * Name: mplayer4anime *
* Author: Dmitry Isaenko * * Author: Dmitry Isaenko *
* License: GNU GPL v.3 * * License: GNU GPL v.3 *
* Version: 0.8.3 * * Version: 0.8.4 *
* Site: https://developersu.blogspot.com/ * * Site: https://developersu.blogspot.com/ *
* 2018, Russia * * 2018, Russia *
***********************************************/ ***********************************************/

View file

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

View file

@ -31,7 +31,7 @@
</Button> </Button>
</children> </children>
</HBox> </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>
<Font name="System Italic" size="12.0" /> <Font name="System Italic" size="12.0" />
</font> </font>

View file

@ -1,5 +1,5 @@
about_line1=mplayer4amine distributes under GNU GPLv3 license. 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_line3=Development & maintenance by Dmitry Isaenko.
about_AboutName=About about_AboutName=About
main_tab_audio=Audio 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_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_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 about_AboutName=\u041E \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438
main_tab_audio=\u0410\u0443\u0434\u0438\u043E main_tab_audio=\u0410\u0443\u0434\u0438\u043E