Skip to content

Commit

Permalink
feat: create a lowercase directories plugin (#30)
Browse files Browse the repository at this point in the history
* feat: create a lowercase directories plugin

* Use the promise based package

Co-authored-by: Mama Naomi <[email protected]>

* Remove error catcher

Co-authored-by: Mama Naomi <[email protected]>

* Use the proper name of the variable

Co-authored-by: Mama Naomi <[email protected]>

---------

Co-authored-by: Mama Naomi <[email protected]>
  • Loading branch information
a2937 and Mama Naomi authored Feb 9, 2024
1 parent aef9946 commit 4e2409a
Show file tree
Hide file tree
Showing 4 changed files with 1,113 additions and 1,034 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The action is designed to be modular, with multiple plugins to choose from for e
| `hide-curriculum-strings` | This plugin runs through all of the strings in the specified project and hides them if they meet specific conditions. | none |
| `hide-renpy-strings` | This plugin runs through all of the strings in the specified project and hides them if they meet specific conditions. | none |
| `hide-string` | Looks for a specific string in a specific file and marks it as hidden. | `FILE_NAME`, `STRING_CONTENT` |
| `lowercase-directories` | This plugin will walk through the `FILE_PATHS` directories and make sure all directories are set to lowercase | `FILE_PATHS` | |
| `pull-request` | Creates a pull request from the specified branch and targets the specified base, or main by default. | `GH_TOKEN`, `BRANCH`, `REPOSITORY`, `BASE`, `TITLE`, `BODY` |
| `remove-deleted-files` | This will recursively walk through the `FILE_PATHS` directories and remove any files from Crowdin that are no longer present in the repo. Note that `FILE_PATHS` should be a stringified array, as GitHub `yaml` doesn't accept array values: `'["curriculum/challenges/english", "curriculum/dictionaries/english"]'` | `FILE_PATHS` |
| `unhide-string` | Looks for a specific string in a specific file and marks it as visible. | `FILE_NAME`, `STRING_CONTENT` |
Expand Down
Loading

0 comments on commit 4e2409a

Please sign in to comment.