Commit 7eafb81d authored by Martin Slind Hagen's avatar Martin Slind Hagen 🏑
Browse files

Change som capital letters to lower case. Corrected grammatical errors

parent b5e26ef4
......@@ -36,7 +36,7 @@ import javafx.stage.Stage;
final class AlbumDetailsRoot extends SceneRoot {
private final VBox SCROLL_PANE_VBOX = new VBox();
private final ScrollPane SCROLL_PANE = new ScrollPane();
private final Button PDF_BUTTON = new Button("Generate PDF Album");
private final Button PDF_BUTTON = new Button("Generate PDF from album");
private final Button DELETE_ALBUM = new Button("Delete album");
private final Button DELETE_PHOTOS = new Button("Remove selected photos");
private Set<Photo> albumPhotoList;
......@@ -170,7 +170,7 @@ final class AlbumDetailsRoot extends SceneRoot {
* Used in setup
*/
private void showAlbumIsEmpty() {
Text text = new Text("This album does not contain any photos yet. You can add more photos in \"Photos\"");
Text text = new Text("This album does not contain any photos yet. You can add photos from the \"Photos\" screen");
Css.setText(17, text);
SCROLL_PANE.setContent(text);
}
......
......@@ -28,8 +28,8 @@ final class AlbumsRoot extends SceneRoot {
private final List<Button> ALBUM_BUTTONS = new ArrayList<>();
private final ScrollPane SCROLL_PANE = new ScrollPane();
private final VBox SCROLL_PANE_VBOX = new VBox();
private final Button NEW_ALBUM_BUTTON = new Button("New Album");
private final Button DELETE_ALBUM_BUTTON = new Button("Delete Album");
private final Button NEW_ALBUM_BUTTON = new Button("New album");
private final Button DELETE_ALBUM_BUTTON = new Button("Delete album");
private final ChoiceBox<String> CHOICE_BOX = new ChoiceBox();
/**
......@@ -117,7 +117,7 @@ final class AlbumsRoot extends SceneRoot {
private void createNewAlbumButtonPressed() {
PopupWindow popupWindow = new PopupWindow(ApplicationManager.getStage(), 500, 100);
popupWindow.getDialogWindow().setTitle("Add Album");
popupWindow.getDialogWindow().setTitle("Add album");
popupWindow.getDialogText().setText("Please enter the name of the album to be added:");
TextField nameAlbumInput = new TextField();
......
......@@ -177,7 +177,7 @@ final class PhotosRoot extends SceneRoot {
*/
private void createNewAlbumButtonPressed() {
PopupWindow popupWindow = new PopupWindow(ApplicationManager.getStage(), 500, 100);
popupWindow.getDialogWindow().setTitle("Add to Album");
popupWindow.getDialogWindow().setTitle("Add to album");
popupWindow.getDialogText().setText("Please select the name of the album: ");
setupChoiceBox();
......
......@@ -16,7 +16,7 @@ import java.util.logging.Level;
final class SignUpRoot extends SceneRoot {
private final Label USERNAME_LABEL = new Label("Username: ");
private final Label PASSWORD_LABEL = new Label("Password: ");
private final Label CONFIRM_PASSWORD_LABEL = new Label("Confirm Password: ");
private final Label CONFIRM_PASSWORD_LABEL = new Label("Confirm password: ");
private final PasswordField PASSWORD_FIELD = new PasswordField();
private final PasswordField CONFIRM_PASSWORD_FIELD = new PasswordField();
private final TextField USERNAME_FIELD = new TextField();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment