Commit 2463750d authored by jhodgdon's avatar jhodgdon

Issue #2083943 by Xano, InternetDevels, longwave: Fix spelling errors in various documentation

parent 4fc66b55
......@@ -110,7 +110,7 @@ public function getEnabledPluginFiles(Editor $editor, $include_internal_plugins
* Retrieves all available CKEditor buttons, keyed by plugin ID.
*
* @return array
* All availble CKEditor buttons, with plugin IDs as keys and button
* All available CKEditor buttons, with plugin IDs as keys and button
* metadata (as implemented by getButtons()) as values.
*
* @see CKEditorPluginButtonsInterface::getButtons()
......
......@@ -91,7 +91,7 @@
}
.contextual-region .contextual .contextual-links a {
background-color: #fff;
/* This is an unforetunately necessary use of !important to prevent white
/* This is an unfortunately necessary use of !important to prevent white
* links on a white background or some similar illegible combination. */
color: #333 !important;
display: block;
......
......@@ -95,7 +95,7 @@ field.instance.*.*.*:
type: field.[%parent.field_type].value
default_value_function:
type: string
label: 'Default value funtion'
label: 'Default value function'
settings:
type: field.[%parent.field_type].instance_settings
field_type:
......
......@@ -107,7 +107,7 @@ public function submitForm(array &$form, array &$form_state) {
* 'title' => $this->t('Content'),
* // Indicates if the region is visible in the UI.
* 'invisible' => TRUE,
* // A mesage to indicate that there is nothing to be displayed in
* // A message to indicate that there is nothing to be displayed in
* // the region.
* 'message' => $this->t('No field is displayed.'),
* ),
......
......@@ -192,7 +192,7 @@ function testViewModeCustom() {
$this->assertNodeViewText($node, 'rss', $output['field_test_default'], "The field is displayed as expected in view modes that use 'default' settings.");
$this->assertNodeViewNoText($node, 'teaser', $value, "The field is hidden in view modes that use custom settings.");
// Change fomatter for 'default' mode, check that the field is displayed
// Change formatter for 'default' mode, check that the field is displayed
// accordingly in 'rss' mode.
$edit = array(
'fields[field_test][type]' => 'field_test_with_prepare_view',
......
......@@ -217,7 +217,7 @@ function testUILanguageNegotiation() {
'expect' => $language_string,
'expected_method_id' => LANGUAGE_NEGOTIATION_URL,
'http_header' => $http_header_browser_fallback,
'message' => 'URL (PATH) > BROWSER: with langage prefix, UI language is based on path prefix',
'message' => 'URL (PATH) > BROWSER: with language prefix, UI language is based on path prefix',
),
// Default, browser language preference is not one of site's lang.
array(
......
......@@ -55,7 +55,7 @@ function testUpdateCron() {
// Store translation status for comparison.
$initial_history = locale_translation_get_file_history();
// Prepare for test: Simulate new translations being availabe.
// Prepare for test: Simulate new translations being available.
// Change the last updated timestamp of a translation file.
$contrib_module_two_uri = 'public://local/contrib_module_two-8.x-2.0-beta4.de._po';
touch(drupal_realpath($contrib_module_two_uri), REQUEST_TIME);
......
......@@ -693,7 +693,7 @@ function locale_translate_file_attach_properties($file, $options = array()) {
);
}
// Extract project, verion and language code from the file name. Supported:
// Extract project, version and language code from the file name. Supported:
// {project}-{version}.{langcode}.po, {prefix}.{langcode}.po or {langcode}.po
preg_match('!
( # project OR project and version OR emtpy (group 1)
......
......@@ -296,7 +296,7 @@ function locale_requirements($phase) {
$languages = locale_translatable_language_list();
if ($languages) {
// Determine the status of the translation updates per lanuage.
// Determine the status of the translation updates per language.
$status = locale_translation_get_status();
if ($status) {
foreach ($status as $project_id => $project) {
......
......@@ -24,7 +24,7 @@ class UpdateCoreUnitTest extends UnitTestBase {
public static function getInfo() {
return array(
'name' => "Unit tests",
'description' => 'Test update funcionality unrelated to the database.',
'description' => 'Test update functionality unrelated to the database.',
'group' => 'Update',
);
}
......
......@@ -11,8 +11,7 @@
use Drupal\views\ResultRow;
/**
/**
* Field handler to provide acess control for the email field.
* Field handler to provide access control for the email field.
*
* @ingroup views_field_handlers
*
......
......@@ -8,7 +8,7 @@
namespace Drupal\views\Tests\Plugin;
/**
* Provies a base class for a testing a relationship.
* Provides a base class for a testing a relationship.
*
* @see \Drupal\views\Tests\Handler\JoinTest
* @see \Drupal\views\Tests\Plugin\RelationshipTest
......
Markdown is supported
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