Skip to content

Commit 5f0d7b7

Browse files
committed
1.1.1 Release
1 parent 53459a4 commit 5f0d7b7

File tree

4 files changed

+25
-16
lines changed

4 files changed

+25
-16
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
[![Release](https://img.shields.io/github/v/release/themsou/PDF4Teachers?label=Download%20version)](https://github.com/themsou/PDF4Teachers/releases/latest)
1111

1212
#### Before opening new issue, see :
13-
[![GitHub labels](https://img.shields.io/github/issues/themsou/PDF4Teachers/bug?color=d73a4a)](https://github.com/themsou/PDF4Teachers/issues?q=is%3Aissue+milestone%3A%22Release+1.1.0%22+-label%3A%22user+Issue%22+-label%3Aduplicate+-label%3Adocumentation+-label%3Aenhancement+-label%3A%22good+first+issue%22+-label%3A%22help+wanted%22+-label%3Aquestion)
13+
[![GitHub labels](https://img.shields.io/github/issues/themsou/PDF4Teachers/bug?color=d73a4a)](https://github.com/themsou/PDF4Teachers/issues?q=is%3Aissue+milestone%3A%22Release+1.1.1%22+-label%3A%22user+Issue%22+-label%3Aduplicate+-label%3Adocumentation+-label%3Aenhancement+-label%3A%22good+first+issue%22+-label%3A%22help+wanted%22+-label%3Aquestion)
1414
[![GitHub labels](https://img.shields.io/github/issues/themsou/PDF4Teachers/user%20issue?label=user%20issues&color=36ba1b)](https://github.com/themsou/PDF4Teachers/issues?q=is%3Aissue+label%3A%22user+issue%22+)
15-
[![GitHub labels](https://img.shields.io/github/issues/themsou/PDF4Teachers/enhancement?color=a2eeef)](https://github.com/themsou/PDF4Teachers/issues?q=is%3Aissue+milestone%3A%22Release+1.1.0%22+label%3A%22enhancement%22+)
15+
[![GitHub labels](https://img.shields.io/github/issues/themsou/PDF4Teachers/enhancement?color=a2eeef)](https://github.com/themsou/PDF4Teachers/issues?q=is%3Aissue+milestone%3A%22Release+1.1.1%22+label%3A%22enhancement%22+)
1616

1717
## PDF4Teachers [EN]
1818

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ compileJava.options.encoding = "UTF-8"
2323
compileTestJava.options.encoding = "UTF-8"
2424
mainClassName = "fr.themsou.main.Main"
2525

26-
version = "1.1.0"
26+
version = "1.1.1"
2727
description = "Application pour éditer des copies PDF en grande quantité, destiné principalement aux professeurs."
2828

2929
task packageMsi(type: Exec){

src/main/java/fr/themsou/main/Main.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ public class Main extends Application {
2424
public static HostServices hostServices;
2525

2626
public static String dataFolder = System.getProperty("user.home") + File.separator + ".PDF4Teachers" + File.separator;
27-
public static final String VERSION = "Snapshot 1.1.1";
28-
public static final boolean DEBUG = true;
27+
public static final String VERSION = "1.1.1";
28+
public static final boolean DEBUG = false;
2929

3030
public static boolean firstLaunch;
3131
public static final Rectangle2D SCREEN_BOUNDS = Screen.getPrimary().getBounds();
@@ -46,7 +46,6 @@ public void start(Stage window) throws Exception {
4646
settings = new Settings();
4747
LanguageWindow.copyFiles();
4848

49-
5049
if(languageAsk()){
5150
if(liscenceAsk()){
5251
startMainWindow();

src/main/java/fr/themsou/windows/AboutWindow.java

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public AboutWindow(){
3131
initOwner(Main.window);
3232
initModality(Modality.WINDOW_MODAL);
3333
getIcons().add(new Image(getClass().getResource("/logo.png")+""));
34-
setWidth(400);
35-
setHeight(670);
34+
setWidth(420);
35+
setHeight(700);
3636
setTitle(TR.tr("PDF4Teachers - À Propos"));
3737
setResizable(false);
3838
setScene(scene);
@@ -109,6 +109,23 @@ private void setupUi(VBox root){
109109
gitInfo.getChildren().addAll(git, gitName);
110110
gitInfo.setAlignment(Pos.CENTER);
111111

112+
HBox twitterInfo = new HBox();
113+
Label twitter = new Label("Twitter : ");
114+
twitter.setFont(new Font(17));
115+
116+
Hyperlink twitterName = new Hyperlink("@PDF4Teachers");
117+
twitterName.setFont(new Font(17));
118+
twitterName.setOnAction((ActionEvent t) -> Main.hostServices.showDocument("https://twitter.com/PDF4Teachers"));
119+
twitterInfo.getChildren().addAll(twitter, twitterName);
120+
twitterInfo.setAlignment(Pos.CENTER);
121+
122+
HBox issueInfo = new HBox();
123+
Hyperlink issueName = new Hyperlink(TR.tr("Demander de l'aide ou signaler un Bug"));
124+
issueName.setFont(new Font(17));
125+
issueName.setOnAction((ActionEvent t) -> Main.hostServices.showDocument("https://github.com/themsou/PDF4Teachers/issues/new"));
126+
issueInfo.getChildren().addAll(issueName);
127+
issueInfo.setAlignment(Pos.CENTER);
128+
112129
VBox apiInfo = new VBox();
113130
Label api = new Label(TR.tr("Dépendances :"));
114131

@@ -131,16 +148,9 @@ private void setupUi(VBox root){
131148
apiInfo.getChildren().addAll(api, javaFx, pdfBox, jMetro, json);
132149
apiInfo.setAlignment(Pos.CENTER);
133150

134-
HBox issueInfo = new HBox();
135-
Hyperlink issueName = new Hyperlink(TR.tr("Demander de l'aide ou signaler un Bug"));
136-
issueName.setFont(new Font(17));
137-
issueName.setOnAction((ActionEvent t) -> Main.hostServices.showDocument("https://github.com/themsou/PDF4Teachers/issues/new"));
138-
issueInfo.getChildren().addAll(issueName);
139-
issueInfo.setAlignment(Pos.CENTER);
140-
141151
vBox.getChildren().addAll(logo, name, version);
142152
if(newVersion != null) vBox.getChildren().add(newVersion);
143-
vBox.getChildren().addAll(devInfo, consInfo, transInfo, gitInfo, issueInfo, apiInfo);
153+
vBox.getChildren().addAll(devInfo, consInfo, transInfo, gitInfo, twitterInfo, issueInfo, apiInfo);
144154
vBox.setAlignment(Pos.CENTER);
145155

146156
VBox.setMargin(logo, new Insets(20, 0, 0, 0));

0 commit comments

Comments
 (0)