Skip to content

Commit

Permalink
fix: remove 'lesson' text from templates
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonGriggs committed Dec 13, 2022
1 parent b21f066 commit e7718ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @sanity/document-internationalization

- This is a completely new, **Sanity Studio v3 exclusive version** of @sanity/document-internationalization released as v2.0.0 which contains new features and requires content migrations to upgrade from previous versions. There is example code below.
- This is a completely new, **Sanity Studio v3 exclusive version** of @sanity/document-internationalization released as v2.0.0 which contains new features and requires content migrations to upgrade from previous versions. There is an example code below.

- For the **Studio v3 compatible version** of the original plugin, please install v1.0.0 and above.

Expand Down Expand Up @@ -172,10 +172,10 @@ on how to run this plugin with hotreload in the studio.

### Release new version

Run ["CI & Release" workflow](https://github.com/sanity-io/document-internationalization/actions/workflows/main.yml).
Run the ["CI & Release" workflow](https://github.com/sanity-io/document-internationalization/actions/workflows/main.yml).
Make sure to select the main branch and check "Release new version".

Semantic release will only release on configured branches, so it is safe to run release on any branch.
The semantic release will only release on configured branches, so it is safe to run the release on any branch.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const documentInternationalization = definePlugin<PluginConfig>((config)
const staticTemplates = schemaTypes.flatMap((schemaType) => {
return supportedLanguages.map((language) => ({
id: `${schemaType}-${language.id}`,
title: `${language.title} Lesson`,
title: `${language.title} ${schemaType}`,
schemaType,
value: {
[languageField]: language.id,
Expand Down

0 comments on commit e7718ed

Please sign in to comment.