Unverified Commit 427c7ee7 authored by alexpott's avatar alexpott
Browse files

Issue #3160031 by quietone, jungle, longwave, jameszhang023: Fix 18 spelling...

Issue #3160031 by quietone, jungle, longwave, jameszhang023: Fix 18 spelling errors for migrate specific terms
parent 7ad99c1e
a'foo a'foo
abantu
abcdefg abcdefg
abcdefghijklmno abcdefghijklmno
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
...@@ -61,7 +60,6 @@ api's ...@@ -61,7 +60,6 @@ api's
apng apng
apos apos
applix applix
aptain
archiver archiver
archivers archivers
arctor arctor
...@@ -448,7 +446,6 @@ descripcion ...@@ -448,7 +446,6 @@ descripcion
deserialization deserialization
deserializes deserializes
destid destid
destinationproperty
destructable destructable
destructured destructured
desynchronized desynchronized
...@@ -618,7 +615,6 @@ fieldgroups ...@@ -618,7 +615,6 @@ fieldgroups
fielditem fielditem
fieldlinks fieldlinks
fieldnames fieldnames
fieldright
fieldsets fieldsets
filecount filecount
filefield filefield
...@@ -797,13 +793,9 @@ iframes ...@@ -797,13 +793,9 @@ iframes
iframeupload iframeupload
ignoretag ignoretag
ilike ilike
imageapi
imagecache imagecache
imagecreatefrom imagecreatefrom
imagefield
imagefields imagefields
imagelink
imagemagick
imagetest imagetest
inator inator
indexname indexname
...@@ -1153,7 +1145,6 @@ nocdata ...@@ -1153,7 +1145,6 @@ nocdata
nocookie nocookie
nocssjs nocssjs
nodeaccess nodeaccess
nodeapi
nodelink nodelink
nodereference nodereference
nodo nodo
...@@ -1231,7 +1222,6 @@ optgroups ...@@ -1231,7 +1222,6 @@ optgroups
optimizable optimizable
optin optin
optionchecker optionchecker
optionwidgets
ored ored
org's org's
orgchart orgchart
...@@ -1545,7 +1535,6 @@ sebe ...@@ -1545,7 +1535,6 @@ sebe
secondcolumn secondcolumn
seld seld
selectbox selectbox
selectlist
semver semver
sendmail sendmail
serializer's serializer's
...@@ -1990,7 +1979,6 @@ usecase ...@@ -1990,7 +1979,6 @@ usecase
userid userid
userinfo userinfo
userref userref
userreference
users's users's
userspace userspace
usuario usuario
...@@ -2020,18 +2008,13 @@ viewports ...@@ -2020,18 +2008,13 @@ viewports
viewsviewfiles viewsviewfiles
vivamus vivamus
vmov vmov
vocabfixed
vocablocalized
vocabs vocabs
vocabtranslate
volgende volgende
vorige vorige
vous vous
vxezb vxezb
vxfbk vxfbk
waitfor waitfor
wambooli
wamboolipastafazoul
wcprops wcprops
wcsrefsdf wcsrefsdf
webassert webassert
...@@ -2052,7 +2035,6 @@ webtest ...@@ -2052,7 +2035,6 @@ webtest
webuser webuser
wellformedwebentry wellformedwebentry
wellformedwebrendererentry wellformedwebrendererentry
whakamataku
whitespaces whitespaces
whois whois
whos whos
......
...@@ -37,7 +37,7 @@ protected function setUp(): void { ...@@ -37,7 +37,7 @@ protected function setUp(): void {
* @covers ::transform * @covers ::transform
*/ */
public function testTransformNoData() { public function testTransformNoData() {
$transformed_value = $this->plugin->transform([0, '', []], $this->migrateExecutable, $this->row, 'destinationproperty'); $transformed_value = $this->plugin->transform([0, '', []], $this->migrateExecutable, $this->row, 'destination_property');
$this->assertEmpty($transformed_value); $this->assertEmpty($transformed_value);
} }
...@@ -45,7 +45,7 @@ public function testTransformNoData() { ...@@ -45,7 +45,7 @@ public function testTransformNoData() {
* @covers ::transform * @covers ::transform
*/ */
public function testTransformSinglePageWithFront() { public function testTransformSinglePageWithFront() {
$visibility = $this->plugin->transform([0, '<front>', []], $this->migrateExecutable, $this->row, 'destinationproperty'); $visibility = $this->plugin->transform([0, '<front>', []], $this->migrateExecutable, $this->row, 'destination_property');
$this->assertSame('request_path', $visibility['request_path']['id']); $this->assertSame('request_path', $visibility['request_path']['id']);
$this->assertTrue($visibility['request_path']['negate']); $this->assertTrue($visibility['request_path']['negate']);
$this->assertSame('<front>', $visibility['request_path']['pages']); $this->assertSame('<front>', $visibility['request_path']['pages']);
...@@ -55,7 +55,7 @@ public function testTransformSinglePageWithFront() { ...@@ -55,7 +55,7 @@ public function testTransformSinglePageWithFront() {
* @covers ::transform * @covers ::transform
*/ */
public function testTransformMultiplePagesWithFront() { public function testTransformMultiplePagesWithFront() {
$visibility = $this->plugin->transform([1, "foo\n/bar\rbaz\r\n<front>", []], $this->migrateExecutable, $this->row, 'destinationproperty'); $visibility = $this->plugin->transform([1, "foo\n/bar\rbaz\r\n<front>", []], $this->migrateExecutable, $this->row, 'destination_property');
$this->assertSame('request_path', $visibility['request_path']['id']); $this->assertSame('request_path', $visibility['request_path']['id']);
$this->assertFalse($visibility['request_path']['negate']); $this->assertFalse($visibility['request_path']['negate']);
$this->assertSame("/foo\n/bar\n/baz\n<front>", $visibility['request_path']['pages']); $this->assertSame("/foo\n/bar\n/baz\n<front>", $visibility['request_path']['pages']);
...@@ -66,7 +66,7 @@ public function testTransformMultiplePagesWithFront() { ...@@ -66,7 +66,7 @@ public function testTransformMultiplePagesWithFront() {
*/ */
public function testTransformPhpEnabled() { public function testTransformPhpEnabled() {
$this->moduleHandler->moduleExists('php')->willReturn(TRUE); $this->moduleHandler->moduleExists('php')->willReturn(TRUE);
$visibility = $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destinationproperty'); $visibility = $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destination_property');
$this->assertSame('php', $visibility['php']['id']); $this->assertSame('php', $visibility['php']['id']);
$this->assertFalse($visibility['php']['negate']); $this->assertFalse($visibility['php']['negate']);
$this->assertSame('<?php', $visibility['php']['php']); $this->assertSame('<?php', $visibility['php']['php']);
...@@ -77,7 +77,7 @@ public function testTransformPhpEnabled() { ...@@ -77,7 +77,7 @@ public function testTransformPhpEnabled() {
*/ */
public function testTransformPhpDisabled() { public function testTransformPhpDisabled() {
$this->moduleHandler->moduleExists('php')->willReturn(FALSE); $this->moduleHandler->moduleExists('php')->willReturn(FALSE);
$transformed_value = $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destinationproperty'); $transformed_value = $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destination_property');
$this->assertEmpty($transformed_value); $this->assertEmpty($transformed_value);
} }
...@@ -97,7 +97,7 @@ public function testTransformException() { ...@@ -97,7 +97,7 @@ public function testTransformException() {
$this->plugin = new BlockVisibility(['skip_php' => TRUE], 'block_visibility_pages', [], $this->moduleHandler->reveal(), $migrate_lookup->reveal()); $this->plugin = new BlockVisibility(['skip_php' => TRUE], 'block_visibility_pages', [], $this->moduleHandler->reveal(), $migrate_lookup->reveal());
$this->expectException(MigrateSkipRowException::class); $this->expectException(MigrateSkipRowException::class);
$this->expectExceptionMessage("The block with bid '99' from module 'foobar' will have no PHP or request_path visibility configuration."); $this->expectExceptionMessage("The block with bid '99' from module 'foobar' will have no PHP or request_path visibility configuration.");
$this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destinationproperty'); $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destination_property');
} }
} }
# cspell:ignore imagefield optionwidgets userreference
id: d6_field_instance_option_translation id: d6_field_instance_option_translation
label: Field instance option configuration translation label: Field instance option configuration translation
migration_tags: migration_tags:
......
# cspell:ignore imagefield optionwidgets userreference
id: d6_field_option_translation id: d6_field_option_translation
label: Field option configuration translation label: Field option configuration translation
migration_tags: migration_tags:
......
# cspell:ignore imagefield optionwidgets userreference
id: d6_field id: d6_field
label: Field configuration label: Field configuration
migration_tags: migration_tags:
......
# cspell:ignore imagelink userreference
id: d6_field_formatter_settings id: d6_field_formatter_settings
label: Field formatter configuration label: Field formatter configuration
migration_tags: migration_tags:
......
# cspell:ignore imagefield optionwidgets userreference
id: d6_field_instance_widget_settings id: d6_field_instance_widget_settings
label: Field instance widget configuration label: Field instance widget configuration
migration_tags: migration_tags:
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
use Drupal\migrate\ProcessPluginBase; use Drupal\migrate\ProcessPluginBase;
use Drupal\migrate\Row; use Drupal\migrate\Row;
// cspell:ignore imagefield
/** /**
* @MigrateProcessPlugin( * @MigrateProcessPlugin(
* id = "d6_field_instance_defaults" * id = "d6_field_instance_defaults"
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
use Drupal\migrate\ProcessPluginBase; use Drupal\migrate\ProcessPluginBase;
use Drupal\migrate\Row; use Drupal\migrate\Row;
// cspell:ignore imagefield
/** /**
* @MigrateProcessPlugin( * @MigrateProcessPlugin(
* id = "d6_field_field_settings" * id = "d6_field_field_settings"
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
use Drupal\migrate\ProcessPluginBase; use Drupal\migrate\ProcessPluginBase;
use Drupal\migrate\Row; use Drupal\migrate\Row;
// cspell:ignore imagefield optionwidgets
/** /**
* Get the field instance widget settings. * Get the field instance widget settings.
* *
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
use Drupal\migrate\ProcessPluginBase; use Drupal\migrate\ProcessPluginBase;
use Drupal\migrate\Row; use Drupal\migrate\Row;
// cspell:ignore userreference
/** /**
* Get the field settings. * Get the field settings.
* *
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
use Drupal\migrate\Row; use Drupal\migrate\Row;
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase; use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
// cspell:ignore nodeapi
/** /**
* Drupal 6 field instances source from database. * Drupal 6 field instances source from database.
* *
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase; use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase;
// cspell:ignore optionwidgets selectlist
/** /**
* Tests the field option translation source plugin. * Tests the field option translation source plugin.
* *
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
use Drupal\migrate\Row; use Drupal\migrate\Row;
use Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase; use Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase;
// cspell:ignore imagefield imagelink
/** /**
* @MigrateField( * @MigrateField(
* id = "filefield", * id = "filefield",
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase; use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase;
// cspell:ignore abantu
/** /**
* Tests D6 d6_upload source plugin. * Tests D6 d6_upload source plugin.
* *
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
use Drupal\file\Plugin\migrate\field\d6\FileField; use Drupal\file\Plugin\migrate\field\d6\FileField;
use Prophecy\Argument; use Prophecy\Argument;
// cspell:ignore imagefield
/** /**
* @coversDefaultClass \Drupal\file\Plugin\migrate\field\d6\FileField * @coversDefaultClass \Drupal\file\Plugin\migrate\field\d6\FileField
* @group file * @group file
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
use Drupal\file\Plugin\migrate\field\d7\FileField; use Drupal\file\Plugin\migrate\field\d7\FileField;
use Prophecy\Argument; use Prophecy\Argument;
// cspell:ignore imagefield
/** /**
* @coversDefaultClass \Drupal\file\Plugin\migrate\field\d7\FileField * @coversDefaultClass \Drupal\file\Plugin\migrate\field\d7\FileField
* @group file * @group file
......
...@@ -29,7 +29,7 @@ public function testTransformAltTitle() { ...@@ -29,7 +29,7 @@ public function testTransformAltTitle() {
$options = [ $options = [
'alt' => 'Foobaz', 'alt' => 'Foobaz',
'title' => 'Wambooli', 'title' => 'Bar',
]; ];
$value = [ $value = [
'fid' => 1, 'fid' => 1,
...@@ -43,7 +43,7 @@ public function testTransformAltTitle() { ...@@ -43,7 +43,7 @@ public function testTransformAltTitle() {
'display' => TRUE, 'display' => TRUE,
'description' => '', 'description' => '',
'alt' => 'Foobaz', 'alt' => 'Foobaz',
'title' => 'Wambooli', 'title' => 'Bar',
]; ];
$this->assertSame($expected, $transformed); $this->assertSame($expected, $transformed);
} }
......
# cspell:ignore imagefield
finished: finished:
6: 6:
imagecache: image imagecache: image
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
use Drupal\file\Plugin\migrate\field\d6\FileField; use Drupal\file\Plugin\migrate\field\d6\FileField;
// cspell:ignore imagefield
/** /**
* @MigrateField( * @MigrateField(
* id = "imagefield", * id = "imagefield",
......
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