@@ -55,50 +55,50 @@ Want to get your hands dirty with the code? Awesome! We appreciate all code cont
5555 account.
56562 . ** Clone Your Fork:** Clone your forked repository to your local machine.
5757
58- ``` bash
59- git clone https://github.com/YOUR_USERNAME/mushroom-strategy.git
60- cd mushroom-strategy
61- ```
58+ ```bash
59+ git clone https://github.com/YOUR_USERNAME/mushroom-strategy.git
60+ cd mushroom-strategy
61+ ```
6262
63- 3. ** Create a New Branch:** Create a new branch for your feature or bug fix. Use a descriptive name (e.g.,
64- ` feature/my-awesome-feature` , ` bugfix/fix-admonition-rendering` ).
63+ 3 . ** Create a New Branch:** Create a new branch for your feature or bug fix.
64+ Use a descriptive name (e.g., ` feature/my-awesome-feature ` , ` bugfix/fix-admonition-rendering ` ).
6565
66- ` ` ` bash
67- git checkout -b feature/my-new-feature
68- ` ` `
66+ ```bash
67+ git checkout -b feature/my-new-feature
68+ ```
6969
70704 . ** Set up Development Environment:**
7171
72- * Ensure you have Node.js and npm installed.
73- * Install project dependencies: ` npm install`
74- * You can build the strategy with ` npm run build` (for production) or ` npm run build-dev` (for development/testing).
75- * Copy the built files to your Home Assistant' s `www/community/mushroom-strategy` folder for testing.
72+ * Ensure you have Node.js and npm installed.
73+ * Install project dependencies: `npm install`
74+ * You can build the strategy with `npm run build` (for production) or `npm run build-dev` (for development/testing).
75+ * Copy the built files to your Home Assistant's `www/community/mushroom-strategy` folder for testing.
7676
77775 . ** Make Your Changes:** Implement your bug fix or new feature.
78786 . ** Test Your Changes:** Thoroughly test your changes to ensure they work as expected and don't introduce new issues.
79797 . ** Commit Your Changes:**
8080
81- * We follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for clear commit history.
82- * Example: ` feat: add new card option` or ` fix: correct card rendering issue`
81+ * We follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for clear commit history.
82+ * Example: `feat: add new card option` or `fix: correct card rendering issue`
8383
84- ` ` ` bash
85- git add .
86- git commit -m " feat: add super cool new feature"
87- ` ` `
84+ ```bash
85+ git add .
86+ git commit -m "feat: add super cool new feature"
87+ ```
8888
89898 . ** Push to Your Fork:**
9090
91- ` ` ` bash
92- git push origin feature/my-new-feature
93- ` ` `
91+ ```bash
92+ git push origin feature/my-new-feature
93+ ```
9494
95959 . ** Create a Pull Request (PR):**
9696
97- * Go to your forked repository on GitHub.
98- * You should see a prompt to create a pull request from your new branch to the ` main` branch of
99- ` DigiLive/mushroom-strategy` .
100- * Provide a clear title and description for your PR, referencing any related issues.
101- * Be prepared to discuss your changes and address any feedback during the review process.
97+ * Go to your forked repository on GitHub.
98+ * You should see a prompt to create a pull request from your new branch to the `main` branch of
99+ `DigiLive/mushroom-strategy`.
100+ * Provide a clear title and description for your PR, referencing any related issues.
101+ * Be prepared to discuss your changes and address any feedback during the review process.
102102
103103---
104104
@@ -123,10 +123,10 @@ Examples: fr, fr-CA, zh-Hans.
123123 Each language has its own ` locale.json ` file (e.g., ` en.json ` , ` nl.json ` , ` pt-BR.json ` ).
1241243 . ** Create or Update:**
125125
126- * ** To create a new language:** Copy an existing ` .json` file (e.g., ` en.json` ), rename it to your language
127- code (e.g., ` de.json` for German), and translate the property values.
128- * ** To update an existing language:** Open the ` .json` file for your language and update any missing or
129- outdated translations.
126+ * **To create a new language:** Copy an existing `.json` file (e.g., `en.json`), rename it to your language
127+ code (e.g., `de.json` for German), and translate the property values.
128+ * **To update an existing language:** Open the `.json` file for your language and update any missing or
129+ outdated translations.
130130
1311314 . ** Submit a Pull Request:** Once your translations are complete, submit a pull request with your changes. Clearly
132132 state which language you are contributing to or updating.
@@ -154,8 +154,8 @@ Examples: fr, fr-CA, zh-Hans.
154154
155155 /** Registry of currently supported languages */
156156 const languages: Record<string, unknown> = {
157- en,
158- ' pt-BR' : pt_br,
157+ en,
158+ 'pt-BR': pt_br,
159159 };
160160 ```
161161
0 commit comments