Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 2, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
international-types 0.6.2 -> 0.7.0 age adoption passing confidence

Release Notes

QuiiBz/next-international (international-types)

v0.7.0

Compare Source

Plurals

Plural translations work out of the box without any external dependencies, using the Intl.PluralRules API, which is supported in all browsers and Node.js.

To declare plural translations, append # followed by zero, one, two, few, many or other:

// locales/en.ts
export default {
  'cows#one': 'A cow',
  'cows#other': '{count} cows'
} as const

The correct translation will then be determined automatically using a mandatory count parameter. This works with the Pages Router, App Router in both Client and Server Components, and with scoped translations:

export default function Page() {
  const t = useI18n()

  return (
    <div>
      {/* Output: A cow */}
      <p>{t('cows', { count: 1 })}</p>
      {/* Output: 3 cows */}
      <p>{t('cows', { count: 3 })}</p>
    </div>
  )
}

What's Changed

Full Changelog: QuiiBz/next-international@0.6.4...0.7.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the UPDATE-MINOR label Aug 2, 2023
@renovate renovate bot requested review from a team and fabienhebert and removed request for a team August 2, 2023 09:36
@changeset-bot
Copy link

changeset-bot bot commented Aug 2, 2023

🦋 Changeset detected

Latest commit: 71664e4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@scaleway/use-i18n Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@renovate renovate bot requested a review from BABAK0T0 August 2, 2023 09:36
@renovate
Copy link
Contributor Author

renovate bot commented Aug 2, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #1425 (71664e4) into main (cdcc35e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1425   +/-   ##
=======================================
  Coverage   98.65%   98.65%           
=======================================
  Files          24       24           
  Lines         669      669           
  Branches       95       95           
=======================================
  Hits          660      660           
  Misses          1        1           
  Partials        8        8           

@chambo-e chambo-e merged commit bd17af6 into main Aug 3, 2023
@chambo-e chambo-e deleted the renovate/international-types-0.x branch August 3, 2023 05:54
@github-actions github-actions bot mentioned this pull request Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants