Skip to content

Conversation

HeyItsGilbert
Copy link
Collaborator

@HeyItsGilbert HeyItsGilbert commented Jul 19, 2025

  1. Remove the duplicate data block from the psm1 file.
  2. Copy over any missing lines and sort the Plaster.Resources.psd1
  3. Create 2 new build tasks to export and generate Plaster.Resources.psd1 in different locales.

TODO:

  1. Setup CrowdIn site.
  2. Ensure that GenerateLocalizationPsd1 is part of the Build task.

* Refactored the import of localized data to use a splatting approach for better readability and maintainability.
* Enhanced error handling during the import process to provide clearer warnings.
* Updated the `Start-ProcessFile` function to improve parameter resolution with splatting.
* Cleaned up the `Plaster.Resources.psd1` file by removing unnecessary comments and ensuring proper formatting.
* Introduced `ExportLocalizationJson` task to convert `.psd1` files to JSON format.
* Created `Plaster.Resources.en-US.json` for localized error messages and prompts.
* Updated `Plaster.Resources.psd1` to reflect auto-generation from JSON.
@HeyItsGilbert HeyItsGilbert changed the base branch from master to v2 July 19, 2025 01:56
Copy link

Test Results

  3 files  189 suites   25s ⏱️
210 tests 208 ✅ 2 💤 0 ❌
630 runs  624 ✅ 6 💤 0 ❌

Results for commit 06e72d1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant