From fe21e8258bbb410e149f598b347cea116910393b Mon Sep 17 00:00:00 2001 From: Espen Hovlandsdal Date: Tue, 12 Dec 2023 16:00:14 -0800 Subject: [PATCH] chore(test-studio): add locale plugins --- dev/test-studio/package.json | 5 +++++ dev/test-studio/sanity.config.ts | 10 ++++++++++ yarn.lock | 25 +++++++++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/dev/test-studio/package.json b/dev/test-studio/package.json index bc422b6ac77..48661a6fbb6 100644 --- a/dev/test-studio/package.json +++ b/dev/test-studio/package.json @@ -27,6 +27,11 @@ "@sanity/google-maps-input": "^3.0.1", "@sanity/icons": "^2.6.0", "@sanity/image-url": "^1.0.2", + "@sanity/locale-ko-kr": "^0.1.1", + "@sanity/locale-nb-no": "^0.1.1", + "@sanity/locale-nn-no": "^0.1.1", + "@sanity/locale-pt-pt": "^0.1.1", + "@sanity/locale-sv-se": "^0.1.1", "@sanity/portable-text-editor": "3.21.3", "@sanity/tsdoc": "1.0.0-alpha.38", "@sanity/types": "3.21.3", diff --git a/dev/test-studio/sanity.config.ts b/dev/test-studio/sanity.config.ts index c7d0f3a9f74..6125d5f2bd0 100644 --- a/dev/test-studio/sanity.config.ts +++ b/dev/test-studio/sanity.config.ts @@ -6,6 +6,11 @@ import {muxInput} from 'sanity-plugin-mux-input' import {assist} from '@sanity/assist' import {googleMapsInput} from '@sanity/google-maps-input' import {tsdoc} from '@sanity/tsdoc/studio' +import {koKRLocale} from '@sanity/locale-ko-kr' +import {nbNOLocale} from '@sanity/locale-nb-no' +import {nnNOLocale} from '@sanity/locale-nn-no' +import {ptPTLocale} from '@sanity/locale-pt-pt' +import {svSELocale} from '@sanity/locale-sv-se' import {theme as tailwindTheme} from './sanity.theme.mjs' import {imageAssetSource} from './assetSources' import {Branding} from './components/Branding' @@ -88,6 +93,11 @@ const sharedSettings = definePlugin({ }, }, plugins: [ + koKRLocale(), + nbNOLocale(), + nnNOLocale(), + ptPTLocale(), + svSELocale(), deskTool({ icon: BookIcon, structure, diff --git a/yarn.lock b/yarn.lock index 7ca5bc49189..76e87980471 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3661,6 +3661,31 @@ "@sanity/icons" "^1.3" react-copy-to-clipboard "^5.1.0" +"@sanity/locale-ko-kr@^0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@sanity/locale-ko-kr/-/locale-ko-kr-0.1.1.tgz#45eda31d454f9b9de14e8fb72cf349667f7bfab5" + integrity sha512-KGjp7+U9G8t2nq7lPWZci8eWMfhW/hlzG2SdY9D6EaeUSy2GJwAlSrbOUTODHBUc9tqwLbI3+W+coVCyURj3jw== + +"@sanity/locale-nb-no@^0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@sanity/locale-nb-no/-/locale-nb-no-0.1.1.tgz#bd6651c73af2b7ebab061c27a2a0fbc56a6cace5" + integrity sha512-QVifzzMfq6BwsqGiw28n+nSqW13w+p7KNC54BH3xa6AYibDpM12jnSsicp7x+HJh4htVt6ijqA021S2h0wiH3A== + +"@sanity/locale-nn-no@^0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@sanity/locale-nn-no/-/locale-nn-no-0.1.1.tgz#59d8a9354e45b7c2b1af312e9dc0dd5a5b247a33" + integrity sha512-0xZn8rLzcdvsyvzKCIIwiXgG07zhLNVZ51KTp/xCR5NTa1mj0baKFheyaZU1geyitEmZtjJh1nEsZYXcjJwVlg== + +"@sanity/locale-pt-pt@^0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@sanity/locale-pt-pt/-/locale-pt-pt-0.1.1.tgz#a9b730e5223e39ebe148fbecff25ffbaf52457b4" + integrity sha512-b9sRfpaMeElfxylSJE0YvpNHpe8gQHbedZMJgm6i2JCNlwBvsjgfKJIo6e6ugfJh2Htcn/+/18m0l1qFjfUenQ== + +"@sanity/locale-sv-se@^0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@sanity/locale-sv-se/-/locale-sv-se-0.1.1.tgz#6da1611caebb9c345f749a4db57d72986460b74a" + integrity sha512-m6SQylovIYXBD/MEg2OEqGjqzNvxOYZE3ivPkU2FzdsPdXJG6bmfu5YllGwmSbSAZle5faZ338JEVEY9eiFmcQ== + "@sanity/logos@^2.0.2": version "2.1.2" resolved "https://registry.yarnpkg.com/@sanity/logos/-/logos-2.1.2.tgz#0568c315cd1cfa292deebf61db1582a12474648f"