Closed (outdated)
Project:
Drupal core
Version:
9.1.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Jun 2020 at 18:50 UTC
Updated:
13 Aug 2020 at 22:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
siddhant.bhosale commentedHi, I am uploading the newly regenerated dictionary.
The output after changes is as follows :
Comment #3
siddhant.bhosale commentedComment #4
siddhant.bhosale commentedI have name the patch wrongly. Renaming the patch and uploading.
Comment #5
siddhant.bhosale commentedComment #6
siddhant.bhosale commentedComment #7
longwaveHow did you regenerate the dictionary? We have a yarn command in package.json that will regenerate it, but that also converts all words to lowercase and re-sorts the dictionary, which doesn't seem to have happened here.
Please also see #3155463: Fix spelling error in Drupal\filter\Plugin\migrate\process\FilterID::getSourceFilterType() which fixes the only two issues I know of with the current dictionary.
Comment #8
siddhant.bhosale commentedHi @longwave, I followed this https://www.drupal.org/node/3122084 to regenerate the dictionary. Also I have found 6 words which are missplet in the dictionary as follows :
Please guide me here if I am missing something?
Comment #9
longwaveThere are lots of misspelled words in the dictionary, we still need to remove these. For the time being, having the dictionary just means we don't add any new misspelled words.
Comment #10
longwaveAh, the command in https://www.drupal.org/node/3122084 was out of date, thanks for flagging this - I've updated this to show the new command needed to regenerate the dictionary.
Comment #11
siddhant.bhosale commentedSo does this mean currently we can't even fix the misspelled words in the dictionary ?
Comment #12
siddhant.bhosale commented@longwave thank you for updating the command for regenerating the dictionary. Please let me know if I can fix the misspelled words in the dictionary?
Comment #13
longwaveSure, we need to correct the spelling mistakes too, but that should probably be a different issue if this one is just for regenerating the dictionary.
Comment #14
siddhant.bhosale commentedComment #15
siddhant.bhosale commentedComment #16
siddhant.bhosale commentedComment #17
siddhant.bhosale commentedHi, have fixed a few words which were misspelled in the core. Adding the Patch for the same.
Comment #18
siddhant.bhosale commentedComment #19
hardik_patel_12 commentedRe-rolling the patch as last patch failed to applied.
Comment #21
suresh prabhu parkala commentedPlease review the patch.
Comment #22
quietone commentedThis is not a spelling mistake! It is the correct return value in the test. I deliberately wrote this to NOT start at 0.
As I read the issue summary and #13this issue is to generate the dictionary not fix the spelling mistakes.
Comment #23
mayurjadhav commentedUpdated the patch along with inter diff, Kindly review.
Removed following change as it was already resolved in another ticket,
Comment #24
longwaveAll misspellings identified in this issue have now been fixed in other issues. This issue was not very well scoped, #3122088: [Meta] Remove spelling errors from dictionary.txt and fix them has further issues to follow up on and I suggest picking a specific subset of misspellings when opening other child issues.