Skip to content

Commit

Permalink
Changed some texts
Browse files Browse the repository at this point in the history
  • Loading branch information
PavlosIsaris committed Dec 12, 2024
1 parent 6075ef7 commit bb1d94f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions resources/lang/en/questionnaire.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'name_and_date_of_last_contributors' => ':name responded at :date',
'answers_left_to_goal' => '<b style="color: var(--project-primary-color);" class="number">:count</b> answers left to reach our goal', //1002 answers left to reach our goal
'newsletter' => 'Newsletter',
'learn_about_new_projects' => 'Learn about all our new projects, get updates on active ones and contribute where it is most needed!',
'learn_about_new_projects' => 'Learn about all our new campaigns, get updates on active ones and contribute where it is most needed!',
'sign_in' => 'Sign in',
'sign_up' => 'Sign up',
'thank_you' => 'Thank you!',
Expand All @@ -26,7 +26,7 @@
'by_registering_you' => 'Register as a platform user<sup>*</sup>:',
'filter_spammers' => 'You’ll <b>see</b> your answers!',
'view_your_contribution' => 'You can <b>see</b> the answers of others.',
'vote_thumbs_up' => 'You can be <b>informed</b> about the further activities and results of the project.',
'vote_thumbs_up' => 'You can be <b>informed</b> about the further activities and results of the campaign.',
'no_share_information' => 'We don’t share your information to 3rd parties.',
'during_registration' => 'During registration you are asked for an email and a nickname.',
'already_answered' => 'You have already answered this questionnaire.',
Expand All @@ -36,12 +36,12 @@
'give_us_feedback' => 'Give us feedback',
'zero_answers' => 'Zero people have spoken up so far. Be the first!',
'no_recent_activity' => 'No recent activity found',
'visit_projects_site' => 'Visit project’s site',
'project_finalized' => 'This project has been finalized.',
'visit_projects_site' => 'Visit campaign’s site',
'project_finalized' => 'This campaign has been finalized.',
'no_active_questionnaires' => 'No active questionnaires',
'next_questionnaire' => 'Our next questionnaire is on its way: stay tuned!',
'answer_the_questionnaire' => 'Answer the questionnaire',
'project_no_active_questionnaire' => 'This project does not have an active questionnaire yet.',
'project_no_active_questionnaire' => 'This campaign does not have an active questionnaire yet.',
'check_what_other_respondents' => 'Before answering to the questionnaire, you can check what the other respondents have said by clicking',
'here' => 'here',
'select_language' => 'Select language',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class="h-0 hidden"
<div class="col-12 mx-auto mt-5">
<a href="{{$viewModel->project->external_url}}" target="_blank"
class="btn btn-primary visit-project-website call-to-action">
{{ __("questionnaire.visit_projects_site") }}
{{ __("project.visit_project_webpage_link_text") }}
</a>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@if($viewModel->projectHasExternalURL())
<div class="col-md-5 col-sm-12 mx-auto text-center mt-5">
<a href="{{$viewModel->project->external_url}}" target="_blank" class="btn call-to-action">
{{ __("questionnaire.visit_projects_site") }}
{{ __("project.visit_project_webpage_link_text") }}
</a>
</div>
@endif
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function guestViewsFinalizedProjectLandingPage() {
$response = $this->get(route('project.landing-page', ['locale' => 'en', 'slug' => $project->slug]));

$response->assertStatus(200);
$response->assertSee('This project is finalized.<br>Thank you for your contribution!', false);
$response->assertSee('This campaign is finalized.<br>Thank you for your contribution!', false);
$response->assertViewIs('crowdsourcing-project.project-unavailable');
}

Expand All @@ -65,7 +65,7 @@ public function authenticatedUserCannotViewNonPublishedProjectLandingPage() {
$response = $this->get(route('project.landing-page', ['locale' => 'en', 'slug' => $project->slug]));

$response->assertStatus(200);
$response->assertSee('This project is unpublished.', false);
$response->assertSee('This campaign is not published yet.', false);
$response->assertViewIs('crowdsourcing-project.project-unavailable');
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public function test_user_should_see_cta_for_external_link_without_answering_com
$response = $this->get(route('project.landing-page', ['locale' => 'en', 'slug' => $project->slug]));

// We need to assert that the page has the external link Call-to-Action (CTA) button
$response->assertSee('Visit project’s site');
$response->assertSee('Visit campaign webpage');
}

/**
Expand Down Expand Up @@ -506,7 +506,7 @@ public function test_user_should_see_cta_for_external_link_after_answering_quest
$response = $this->get(route('project.landing-page', ['locale' => 'en', 'slug' => $project->slug]));

// We need to assert that the page has the external link Call-to-Action (CTA) button
$response->assertSee(__('questionnaire.visit_projects_site'));
$response->assertSee(__('project.visit_project_webpage_link_text'));
}

/**
Expand Down

0 comments on commit bb1d94f

Please sign in to comment.