Skip to content

Conversation

younies
Copy link
Member

@younies younies commented Aug 20, 2025

No description provided.

younies added 18 commits August 17, 2025 17:10
- Introduced `preferences` module in `cldr_serde/units` for handling unit preferences.
- Added `unitPreferenceData.json` file to the test data, containing structured unit preference information.
- Updated relevant modules to include the new `preferences` module and its functionality.
- Enhanced `SourceDataProvider` to include unit preference data in the test setup.
- Introduced various new JSON files for unit lengths (e.g., centimeter, foot, mile) across multiple languages.
- Added new modules for categorized display names and updated existing modules to include these new data structures.
- Enhanced the `SourceDataProvider` to support the new unit length data and ensure proper integration with existing functionality.
- Introduced new JSON files for various units of length and mass (e.g., long-meter, short-kilogram) across multiple languages.
- Removed outdated JSON files for certain units (e.g., long-foot, narrow-pound) to streamline the dataset.
- Updated related modules to ensure compatibility with the new data structures and maintain functionality.
- Introduced new JSON files for volume units (e.g., core, extended, outlier) across multiple languages.
- Updated the `categorized_display_name` module to include new volume unit display names.
- Enhanced the `SourceDataProvider` to support the new volume unit data and ensure proper integration with existing functionality.
…unit markers

- Updated the `CategorizedFormatter` to utilize separate data markers for core, extended, and outlier units.
- Introduced new methods for creating formatters with extended and outlier data.
- Enhanced the `MeasureUnitCategory` trait to define additional data markers for each unit category.
- Updated tests to validate the new formatter functionality across different locales and unit types.
- Deleted the `UnitsNameVolumeExtendedV1` and its associated data files across various modules.
- Updated the `CategorizedFormatter` and `MeasureUnitCategory` to reflect the removal of extended volume units.
- Cleaned up related JSON files for volume units to streamline the dataset and ensure compatibility with existing functionality.
- Added support for `DataMarkerOutlier` in the `CategorizedFormatter` struct.
- Refactored the `try_new_outlier` method to `try_outlier_new` for clarity.
- Introduced a new helper function, `extract_needed_data`, to streamline data extraction for formatter constructors.
- Updated plural rules initialization to use `try_new_cardinal`.
- Enhanced tests to validate the new outlier formatter functionality across different locales.
@younies younies closed this Aug 26, 2025
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