Emile Bangma
2024-02-12 5dc4f21a4baf564ede85d8e702ef5b19c96657a3
feat(i18n): localize the min read string for the nl-NL locale (#850)

* Update min read translation

* Added nl_BE to Dutch

Added Flemish (nl_BE) to point to nl.

* Removed period to match other translations
2 files modified
4 ■■■ changed files
quartz/i18n/index.ts 1 ●●●● patch | view | raw | blame | history
quartz/i18n/locales/nl-NL.ts 3 ●●●● patch | view | raw | blame | history
quartz/i18n/index.ts
@@ -15,6 +15,7 @@
  "ja-JP": ja,
  "de-DE": de,
  "nl-NL": nl,
  "nl-BE": nl,
  "ro-RO": ro,
  "ro-MD": ro,
  "es-ES": es,
quartz/i18n/locales/nl-NL.ts
@@ -54,7 +54,8 @@
      title: "Inhoudsopgave",
    },
    contentMeta: {
      readingTime: ({ minutes }) => `${minutes} min read`,
      readingTime: ({ minutes }) =>
        minutes === 1 ? "1 minuut leestijd" : `${minutes} minuten leestijd`,
    },
  },
  pages: {