Skip to content

Commit

Permalink
chore(test-studio): add locale plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Dec 13, 2023
1 parent 83813d4 commit fe21e82
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev/test-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 10 additions & 0 deletions dev/test-studio/sanity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -88,6 +93,11 @@ const sharedSettings = definePlugin({
},
},
plugins: [
koKRLocale(),
nbNOLocale(),
nnNOLocale(),
ptPTLocale(),
svSELocale(),
deskTool({
icon: BookIcon,
structure,
Expand Down
25 changes: 25 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

2 comments on commit fe21e82

@vercel
Copy link

@vercel vercel bot commented on fe21e82 Dec 13, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

performance-studio – ./

performance-studio.sanity.build
performance-studio-git-next.sanity.build

@vercel
Copy link

@vercel vercel bot commented on fe21e82 Dec 13, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

test-studio – ./

test-studio.sanity.build
test-studio-git-next.sanity.build

Please sign in to comment.