Skip to content
Snippets Groups Projects
Unverified Commit 0d206cf8 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3279703 by VIGHNESH SADAGOPAL, Binoli Lalani, Stockfoot, Maninders,...

Issue #3279703 by VIGHNESH SADAGOPAL, Binoli Lalani, Stockfoot, Maninders, Ruturaj Chaubey, mherchel, Libbna, ckrina, longwave: Change "Welcome to <site name>" to "Welcome!" on the initial install screen

(cherry picked from commit 41761dc9)
(cherry picked from commit 7ecb8bd0)
parent b2a4aafb
No related branches found
No related tags found
23 merge requests!8357Issue #2994000 by Lendude, Pasqualle, quietone, pameeela: Notice in logs when...,!4488Issue #3376281: Random machine names no longer need to be wrapped in strtolower(),!3149Issue #3282285: Email "" does not comply with addr-spec of RFC 2822,!3000Issue #793660: Check for failure of hook_install,!2940Issue #3320240: Entity count query returns a string instead of int,!2937Issue #3315245: Order of languages overrides default language fallback,!2877Issue #3056652 by yogeshmpawar, mashermike, aalin, ranjith_kumar_k_u: Link...,!2804URL of image field formatter use absolute URL option.,!2749Issue #3309024: Focus on the wrong submit button after AJAX submit,!2692Issue #3284010 by _shY, mherchel, Abhijith S: "Create content" link within...,!2608Issue #2430379 by quietone, znerol, larowlan: Add explicit test for session...,!2575Issue #3198340 by alexpott, xjm, cilefen, Mile23, mmjvb, catch, longwave, mfb,...,!2555Issue #3277148 by rpayanm, andregp, joachim, Farnoosh, Athrylith, Jingting:...,!2554Issue #3277148 by rpayanm, andregp, joachim, Farnoosh, Athrylith, Jingting:...,!2539Issue #3299806 by BenStallings: Include uuid field in d7_node migration, if present.,!2453Issue #332796 by voleger, dww, Steve Dondley, ykhadilkar, Dave Reid,...,!2426Issue #3278314 by acbramley: InlineBlockUsageInterface::getUsage can return...,!2268Issue #3085219: Redesign Installer,!1627Issue #3082958: Add gitignore(s) to composer-ready project templates,!1014Issue #3226806: Move filter implementations from filter.module to plugin classes,!939Issue #2971209: Allow the MediaLibraryUiBuilder service to use an alternative view display,!828#3082672 Form prefix/suffix redesign in Claro,!88Issue #3163299: Ajax exposed filters not working for multiple instances of the same Views block placed on one page
......@@ -78,7 +78,7 @@ public function testPathLanguageConfiguration() {
// Check that the "xx" front page is readily available because path prefix
// negotiation is pre-configured.
$this->drupalGet($prefix);
$this->assertSession()->pageTextContains('Welcome to Drupal');
$this->assertSession()->pageTextContains('Welcome!');
// Create a node.
$node = $this->drupalCreateNode(['type' => 'page']);
......
......@@ -95,7 +95,7 @@ display:
plugin_id: title
label: ''
empty: true
title: 'Welcome to [site:name]'
title: 'Welcome!'
sorts:
sticky:
id: sticky
......
......@@ -2,7 +2,6 @@
namespace Drupal\Tests\node\Functional\Views;
use Drupal\Component\Render\FormattableMarkup;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Language\LanguageInterface;
use Drupal\Core\Url;
......@@ -78,7 +77,7 @@ public function testFrontPage() {
$this->executeView($view);
$view->preview();
$this->assertEquals(new FormattableMarkup('Welcome to @site_name', ['@site_name' => $site_name]), $view->getTitle(), 'The welcome title is used for the empty view.');
$this->assertEquals('Welcome!', $view->getTitle(), 'The welcome title is used for the empty view.');
$view->destroy();
// Create some nodes on the frontpage view. Add more than 10 nodes in order
......@@ -247,7 +246,6 @@ protected function doTestFrontPageViewCacheTags($do_assert_views_caches) {
];
$render_cache_tags = Cache::mergeTags($empty_node_listing_cache_tags, $cache_context_tags);
$render_cache_tags = Cache::mergeTags($render_cache_tags, ['config:system.site']);
$this->assertViewsCacheTags(
$view,
$empty_node_listing_cache_tags,
......@@ -255,7 +253,7 @@ protected function doTestFrontPageViewCacheTags($do_assert_views_caches) {
$render_cache_tags
);
$expected_tags = Cache::mergeTags($empty_node_listing_cache_tags, $cache_context_tags);
$expected_tags = Cache::mergeTags($expected_tags, ['http_response', 'rendered', 'config:user.role.anonymous', 'config:system.site']);
$expected_tags = Cache::mergeTags($expected_tags, ['http_response', 'rendered', 'config:user.role.anonymous']);
$this->assertPageCacheContextsAndTags(
Url::fromRoute('view.frontpage.page_1'),
$cache_contexts,
......
......@@ -19,7 +19,7 @@ class StandardInstallerTest extends ConfigAfterInstallerTestBase {
*/
public function testInstaller() {
// Verify that Olivero's default frontpage appears.
$this->assertSession()->pageTextContains('Congratulations and welcome to the Drupal community!');
$this->assertSession()->pageTextContains('Congratulations and welcome to the Drupal community.');
$this->assertSession()->elementTextContains('css', '#block-olivero-powered', 'Powered by Drupal');
}
......
......@@ -24,7 +24,7 @@
<div class="text-content">
<p>{% trans %}<em>You haven’t created any frontpage content yet.</em>{% endtrans %}</p>
<h2>{% trans %}Congratulations and welcome to the Drupal community!{% endtrans %}</h2>
<h2>{% trans %}Congratulations and welcome to the Drupal community.{% endtrans %}</h2>
<p>{% trans %}Drupal is an open source platform for building amazing digital experiences. It’s made, used, taught, documented, and marketed by the <a href="{{ drupal_community }}">Drupal community</a>. Our community is made up of people from around the world with a shared set of <a href="{{ drupal_values }}">values</a>, collaborating together in a respectful manner. As we like to say:{% endtrans %}</p>
<blockquote>{% trans %}Come for the code, stay for the community.{% endtrans %}</blockquote>
<h2>{% trans %}Get Started{% endtrans %}</h2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment