From d98574a351bef2cd77ae478eee5e65a0d8b7c770 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Mon, 20 Jun 2016 23:27:38 +0200 Subject: [PATCH] Change 'Sign up' to 'Create account' --- config/locales/devise/devise.en.yml | 2 +- config/locales/diaspora/en.yml | 2 +- features/desktop/invitations.feature | 4 ++-- features/desktop/signs_up.feature | 6 +++--- features/mobile/getting_started.feature | 2 +- features/mobile/invitations.feature | 2 +- features/mobile/signs_up.feature | 10 +++++----- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config/locales/devise/devise.en.yml b/config/locales/devise/devise.en.yml index e1269d7bc..a75999662 100644 --- a/config/locales/devise/devise.en.yml +++ b/config/locales/devise/devise.en.yml @@ -81,7 +81,7 @@ en: shared: links: sign_in: 'Sign in' - sign_up: 'Sign up' + sign_up: 'Create account' sign_up_closed: 'Open signups are closed at this time.' forgot_your_password: 'Forgot your password?' receive_confirmation: "Didn't receive confirmation instructions?" diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 648d76cbe..36e2b39d8 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -1137,7 +1137,7 @@ en: enter_username: "Pick a username (only letters, numbers, and underscores)" enter_password: "Enter a password (six character minimum)" enter_password_again: "Enter the same password as before" - sign_up: "Sign up" + sign_up: "Create account" email: "Email" username: "Username" password: "Password" diff --git a/features/desktop/invitations.feature b/features/desktop/invitations.feature index 955ccdb34..0d7059bf9 100644 --- a/features/desktop/invitations.feature +++ b/features/desktop/invitations.feature @@ -9,7 +9,7 @@ Feature: Invitations Given I have been invited by an admin And I am on my acceptance form page And I fill in the new user form - And I press "Sign up" + And I press "Create account" Then I should be on the getting started page And I should see "Well, hello there!" And I fill in the following: @@ -23,7 +23,7 @@ Feature: Invitations Given I have been invited by "alice@alice.alice" And I am on my acceptance form page And I fill in the new user form - And I press "Sign up" + And I press "Create account" Then I should be on the getting started page And I should see "Well, hello there!" And I should be able to friend "alice@alice.alice" diff --git a/features/desktop/signs_up.feature b/features/desktop/signs_up.feature index 2002db171..8c8b024f7 100644 --- a/features/desktop/signs_up.feature +++ b/features/desktop/signs_up.feature @@ -66,21 +66,21 @@ Feature: new user registration And I go to the new user registration page And I fill in the following: | user_username | $%&(/&%$&/=)(/ | - And I press "Sign up" + And I press "Create account" Then I should not be able to sign up And I should have a validation error on "user_username, user_password, user_email" When I fill in the following: | user_username | valid_user | | user_email | this is not a valid email $%&/()( | - And I press "Sign up" + And I press "Create account" Then I should not be able to sign up And I should have a validation error on "user_password, user_email" When I fill in the following: | user_email | valid@email.com | | user_password | 1 | - And I press "Sign up" + And I press "Create account" Then I should not be able to sign up And I should have a validation error on "user_password, user_password_confirmation" diff --git a/features/mobile/getting_started.feature b/features/mobile/getting_started.feature index 57568c1d2..7714f8807 100644 --- a/features/mobile/getting_started.feature +++ b/features/mobile/getting_started.feature @@ -3,7 +3,7 @@ Feature: editing the getting started in the mobile view Background: Given I am on the login page - When I follow "Sign up" within ".navbar" + When I follow "Create account" within ".navbar" And I fill in the new user form And I submit the form Then I should be on the getting started page diff --git a/features/mobile/invitations.feature b/features/mobile/invitations.feature index c4dce29d3..375154461 100644 --- a/features/mobile/invitations.feature +++ b/features/mobile/invitations.feature @@ -9,6 +9,6 @@ Feature: Invitations Given I have been invited by "alice@alice.alice" And I am on my acceptance form page When I fill in the new user form - And I press "Sign up" + And I press "Create account" Then I should see the "welcome to diaspora" message And I should be able to friend "alice@alice.alice" diff --git a/features/mobile/signs_up.feature b/features/mobile/signs_up.feature index 5827ba900..3277ef131 100644 --- a/features/mobile/signs_up.feature +++ b/features/mobile/signs_up.feature @@ -6,31 +6,31 @@ Feature: New user registration Background: Given I am on the login page - And I follow "Sign up" within "#main-nav" + And I follow "Create account" within "#main-nav" Scenario: user signs up and goes to getting started When I fill in the new user form - And I press "Sign up" + And I press "Create account" Then I should be on the getting started page And I should see the 'getting started' contents Scenario: user fills in bogus data - client side validation When I fill in the following: | user_username | $%&(/&%$&/=)(/ | - And I press "Sign up" + And I press "Create account" Then I should not be able to sign up And I should have a validation error on "user_username, user_password, user_email" When I fill in the following: | user_username | valid_user | | user_email | this is not a valid email $%&/()( | - And I press "Sign up" + And I press "Create account" Then I should not be able to sign up And I should have a validation error on "user_password, user_email" When I fill in the following: | user_email | valid@email.com | | user_password | 1 | - And I press "Sign up" + And I press "Create account" Then I should not be able to sign up And I should have a validation error on "user_password, user_password_confirmation"