Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add icu75 for NodeJS and ICU4C execution #227

Merged
merged 8 commits into from
May 28, 2024

Conversation

sven-oly
Copy link
Collaborator

Uses ICU75.1 and CLDR 45 data. Now there will be 7 versions of NodeJS in the data.

@sven-oly
Copy link
Collaborator Author

PTAL. I'd love to get this checked in soon.

testdriver/datasets.py Outdated Show resolved Hide resolved
testgen/generators/common.js Outdated Show resolved Hide resolved
testgen/generators/datetime_gen.js Outdated Show resolved Hide resolved
Comment on lines 1 to 29
/* Generate listformat test data with the following dimensions:

1. locale
2. type (conjunction, disjunction, unit)
3. style (long, short, narrow)
*/

// Set up Node version to generate data specific to ICU/CLDR version
// e.g., `nvm install 21.6.0;nvm use 21.6.0` (ICU 74)

const fs = require('node:fs');

const debug = false;

const locales = ['und',
'en-US', 'zh-TW', 'pt', 'vi', 'el', 'mt-MT', 'ru', 'en-GB',
'bn', 'ar','mr', 'zu'];

const types = ['conjunction', 'disjunction', 'unit'];

const styles = ['long', 'short', 'narrow'];

const lists = [
[],
['cat'],
['dog', 'cat'],
['fish', 'mouse', 'parakeet'],
['3 weeks', '2 days', '3 hours', '25 minutes']
];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double-check this file; it looks like it generates list data, but:

  1. It is named plural_rules_gen.js
  2. It is in a PR that should be a clean ICU 75 update

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this generator. Thx for catching this.

@sven-oly sven-oly merged commit 60fce0e into unicode-org:main May 28, 2024
6 checks passed
@sven-oly sven-oly deleted the add_icu75 branch May 28, 2024 18:39
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.

None yet

3 participants