Advertisement
stronk7

Untitled

Feb 3rd, 2021
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. $ ag "(new +moodle_exception|print_error)\([^'\"\$]*['\"]([^'\"]*)['\"]( *, *['\"]([^'\"]*)['\"])?[^\)\n]*[\)\n]" -o --nofilename | ./process_cases.sh | tee process_cases.txt
  2.  
  3. TRANSLATION FOUND: new moodle_exception('competenciesarenotenabled', 'core_competency')
  4. LITERAL FOUND: new moodle_exception('Error while deleting the template.')
  5. LITERAL FOUND: new moodle_exception('Error while updating the template.')
  6. LITERAL FOUND: new moodle_exception('The plan could not be updated.')
  7. LITERAL FOUND: new moodle_exception('The plan could not be updated.')
  8. LITERAL FOUND: new moodle_exception('Unexpected rule outcome: ' + $ruleoutcome)
  9. LITERAL FOUND: new moodle_exception('Unexpected rule outcome: ' + $outcome)
  10. LITERAL FOUND: new moodle_exception('Unexpected rule outcome: ' + $outcome)
  11. TRANSLATION FOUND: print_error('guestsarenotallowed')
  12. TRANSLATION FOUND: print_error('errorfetchingrssfeed')
  13. NOTHING FOUND: new moodle_exception('mymoodlesetup')
  14. NOTHING FOUND: new moodle_exception('mymoodlesetup')
  15. TRANSLATION FOUND: print_error('bookmarkalreadyexists','admin')
  16. TRANSLATION FOUND: print_error('invalidsection','admin')
  17. TRANSLATION FOUND: print_error('invalidsection','admin')
  18. TRANSLATION FOUND: print_error('nonexistentbookmark','admin')
  19. TRANSLATION FOUND: print_error('nobookmarksforuser','admin')
  20. TRANSLATION FOUND: print_error('invalidsection', 'admin')
  21. TRANSLATION FOUND: print_error('cannotviewreport')
  22. TRANSLATION FOUND: print_error('completionnotenabled', 'completion', $returnurl)
  23. TRANSLATION FOUND: print_error('notenroled', 'completion', $returnurl)
  24. TRANSLATION FOUND: print_error('usernotenroled', 'completion', $returnurl)
  25. TRANSLATION FOUND: new moodle_exception('cannotdownload', 'repository')
  26. NOTHING FOUND: new moodle_exception('gdnotexist')
  27. NOTHING FOUND: new moodle_exception('invalidfile')
  28. TRANSLATION FOUND: new moodle_exception('needaccesskey', 'repository_s3')
  29. NOTHING FOUND: new moodle_exception(
  30. NOTHING FOUND: new moodle_exception(
  31. NOTHING FOUND: new moodle_exception(
  32. TRANSLATION FOUND: print_error('noguest')
  33. TRANSLATION FOUND: new moodle_exception('errorwhiledownload', 'repository', '', $result)
  34. TRANSLATION FOUND: new moodle_exception('cannotdownload', 'repository')
  35. TRANSLATION FOUND: new moodle_exception('apierror', 'repository_youtube', '', $error)
  36. TRANSLATION FOUND: print_error('invalidcourseid')
  37. TRANSLATION FOUND: print_error('storedfilecannotread')
  38. NOTHING FOUND: print_error('maxbytes')
  39. TRANSLATION FOUND: print_error('maxareabytes')
  40. TRANSLATION FOUND: print_error('cannotdownload', 'repository')
  41. TRANSLATION FOUND: new moodle_exception('errorwhiledownload', 'repository', '', $result)
  42. TRANSLATION FOUND: new moodle_exception('errorwhiledownload', 'repository', '', '')
  43. TRANSLATION FOUND: new moodle_exception('foldernotfound', 'repository')
  44. TRANSLATION FOUND: new moodle_exception('filenotfound', 'error')
  45. TRANSLATION FOUND: new moodle_exception('fileexists', 'repository')
  46. TRANSLATION FOUND: new moodle_exception('folderexists', 'repository')
  47. TRANSLATION FOUND: new moodle_exception('folderrecurse', 'repository')
  48. TRANSLATION FOUND: new moodle_exception('invalidfiletype', 'repository', '', get_mimetype_description(array('filename' => $saveas_filename)
  49. TRANSLATION FOUND: new moodle_exception('missingsourcekey', 'repository')
  50. TRANSLATION FOUND: new moodle_exception('sourcekeymismatch', 'repository')
  51. TRANSLATION FOUND: new moodle_exception('errorwhiledownload', 'repository', '', $result)
  52. TRANSLATION FOUND: print_error('invalidcourseid')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement