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

refactor(l10n): add time zone translations and update time zone data generation #2612

Merged
merged 40 commits into from
Jun 28, 2022

Commits on Jun 28, 2022

  1. Configuration menu
    Copy the full SHA
    252eca8 View commit details
    Browse the repository at this point in the history
  2. feat(timezone list update): add translation strings for time zones to…

    … l10n/data/time-zones/core.json
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    4c1544b View commit details
    Browse the repository at this point in the history
  3. feat(timezone list update): update excluded timezone list and move it…

    … from constants file to json file in l10n/data/time-zones to be able to write changes to file from cli, change timezone translations based on UX input and current moment data, begin work on updateTimezoneTranslations method of generate-l10n-data.js, run generate-l10n-data
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    afe91bb View commit details
    Browse the repository at this point in the history
  4. feat(timezone list update): move excluded timezones list from l10n/da…

    …ta/time-zones to l10n/scripts and change it to js file, create l10n/scripts/parse-time-zones.js to handle asking cli questions about time zones, update updateTimeZoneData method to write to new translated and excluded timezones to file based on cli input in scripts/generate-l10n-data.js
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    924dc4f View commit details
    Browse the repository at this point in the history
  5. feat(timezone list update): update updateTimeZoneData function based …

    …on PR feedback and with comments
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    ec9cfbb View commit details
    Browse the repository at this point in the history
  6. feat(timezone list update): update updateTimeZoneData function based …

    …on PR feedback and with comments
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    eeb61c7 View commit details
    Browse the repository at this point in the history
  7. feat(timezone list update): update updateTimeZoneData function based …

    …on PR feedback and with comments
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    daf2790 View commit details
    Browse the repository at this point in the history
  8. feat(timezone list update): add getTimeZoneData method and chain it t…

    …o async imports of locale-specific timezone data in l10n/src/time-zone-information.ts, add type TimeZoneTranslations to types.ts
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    8c691be View commit details
    Browse the repository at this point in the history
  9. feat(timezone list update): make moment-timezone a dependency instead…

    … of dev-dependency in l10n package due to use in time-zone-information.ts
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    5e18df3 View commit details
    Browse the repository at this point in the history
  10. feat(timezone list update): refactor parse-new-timezones into parse-u…

    …nhandled-timezones using 'prompts' to get user input, update time-zone-information.js to fallback to default/en translations when translations do not exist for a given locale and update getTimeZoneData to sort timeZones by offset
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    994546b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    76e19f1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    15ab1d7 View commit details
    Browse the repository at this point in the history
  13. feat: add prettier formatting

    tdeekens authored and ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    1560bfe View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b82bb6c View commit details
    Browse the repository at this point in the history
  15. feat(timezone list update): exclude 'Universal' in favor of 'UTC' in …

    …translations/exclusions
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    786d58d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    da866aa View commit details
    Browse the repository at this point in the history
  17. feat(timezone list update): update excluded timezone list and move it…

    … from constants file to json file in l10n/data/time-zones to be able to write changes to file from cli, change timezone translations based on UX input and current moment data, begin work on updateTimezoneTranslations method of generate-l10n-data.js, run generate-l10n-data
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    2eafc90 View commit details
    Browse the repository at this point in the history
  18. feat(timezone list update): move excluded timezones list from l10n/da…

    …ta/time-zones to l10n/scripts and change it to js file, create l10n/scripts/parse-time-zones.js to handle asking cli questions about time zones, update updateTimeZoneData method to write to new translated and excluded timezones to file based on cli input in scripts/generate-l10n-data.js
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    67d9f16 View commit details
    Browse the repository at this point in the history
  19. feat(timezone list update): update updateTimeZoneData function based …

    …on PR feedback and with comments
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    09e07b6 View commit details
    Browse the repository at this point in the history
  20. feat(timezone list update): update updateTimeZoneData function based …

    …on PR feedback and with comments
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    062c52c View commit details
    Browse the repository at this point in the history
  21. feat(timezone list update): update updateTimeZoneData function based …

    …on PR feedback and with comments
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    013334d View commit details
    Browse the repository at this point in the history
  22. feat(timezone list update): refactor parse-new-timezones into parse-u…

    …nhandled-timezones using 'prompts' to get user input, update time-zone-information.js to fallback to default/en translations when translations do not exist for a given locale and update getTimeZoneData to sort timeZones by offset
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    54f0266 View commit details
    Browse the repository at this point in the history
  23. feat(timezone list update): update parse-unhandled-timezones to promp…

    …t user for timezone translation string if adding a timezone, and a valid IANA identifier for a currently translated time zone to map to when excluding a time zone, add excluded-time-zones-fallback-map for handling excluded timezone fallbacks, add .d.ts for fallback map
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    ee63bf6 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    607c572 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    1192c30 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    d541593 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    396eb46 View commit details
    Browse the repository at this point in the history
  28. feat(timezone list update): handle adding newly translated timezones …

    …to translation map, handle adding excluded timezones to translation map, add warning when translation map ids and translated tz ids are out of sync
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    515dd12 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    6874fbb View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1e80540 View commit details
    Browse the repository at this point in the history
  31. feat(timezone list update): use require syntax instead of import synt…

    …ax for TRANSLATIONS_FOR_EXCLUDED_TIME_ZONES_MAP in l10n/src/time-zone-information.ts
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    4f4162b View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    6cd9f76 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    9109825 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    ff39d00 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    18d0a43 View commit details
    Browse the repository at this point in the history
  36. feat(timezone list update): update all locales with final translation…

    …s, remove mock tz ids from updateTimeZoneData
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    70ee1c7 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    c32eb4e View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    ef341ea View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    722a4ff View commit details
    Browse the repository at this point in the history
  40. feat(timezone list update): shorten changeset, add tz generation info…

    … to docs, move prompts to devDependencies
    ByronDWall committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    28ab4e0 View commit details
    Browse the repository at this point in the history