Add translations for "Leave shared project" action (#1394)

This PR adds translations for the "Leave shared project" action for
tldraw.com

It's for a brivate PR: https://github.com/tldraw/brivate/pull/1870

### Change Type

- [x] `patch` — Translations

### Release Notes

- None

---------

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
This commit is contained in:
Lu Wilson 2023-05-25 10:51:28 +01:00 committed by GitHub
parent b61766c37f
commit 53b289310d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 1 deletions

View file

@ -39,9 +39,11 @@
"action.flip-vertical": "Flip vertically",
"action.flip-horizontal.short": "Flip H",
"action.flip-vertical.short": "Flip V",
"action.fork-project": "Fork this project",
"action.group": "Group",
"action.insert-embed": "Insert embed",
"action.insert-media": "Upload media",
"action.leave-shared-project": "Leave shared project",
"action.new-project": "New project",
"action.new-shared-project": "New shared project",
"action.open-file": "Open file",
@ -311,6 +313,11 @@
"file-system.confirm-clear.dont-show-again": "Don't ask again",
"file-system.shared-document-file-open-error.title": "Could not open file",
"file-system.shared-document-file-open-error.description": "Opening files from shared projects is not supported.",
"sharing.confirm-leave.title": "Leave current project?",
"sharing.confirm-leave.description": "Are you sure you want to leave this shared project? You can return to it by navigating to its URL.",
"sharing.confirm-leave.cancel": "Cancel",
"sharing.confirm-leave.leave": "Leave",
"sharing.confirm-leave.dont-show-again": "Don't ask again",
"toast.error.export-fail.title": "Failed export",
"toast.error.export-fail.desc": "Failed to export image",
"toast.error.copy-fail.title": "Failed copy",

File diff suppressed because one or more lines are too long

View file

@ -43,9 +43,11 @@ export type TLTranslationKey =
| 'action.flip-vertical'
| 'action.flip-horizontal.short'
| 'action.flip-vertical.short'
| 'action.fork-project'
| 'action.group'
| 'action.insert-embed'
| 'action.insert-media'
| 'action.leave-shared-project'
| 'action.new-project'
| 'action.new-shared-project'
| 'action.open-file'
@ -315,6 +317,11 @@ export type TLTranslationKey =
| 'file-system.confirm-clear.dont-show-again'
| 'file-system.shared-document-file-open-error.title'
| 'file-system.shared-document-file-open-error.description'
| 'sharing.confirm-leave.title'
| 'sharing.confirm-leave.description'
| 'sharing.confirm-leave.cancel'
| 'sharing.confirm-leave.leave'
| 'sharing.confirm-leave.dont-show-again'
| 'toast.error.export-fail.title'
| 'toast.error.export-fail.desc'
| 'toast.error.copy-fail.title'

View file

@ -43,9 +43,11 @@ export const DEFAULT_TRANSLATION = {
'action.flip-vertical': 'Flip vertically',
'action.flip-horizontal.short': 'Flip H',
'action.flip-vertical.short': 'Flip V',
'action.fork-project': 'Fork this project',
'action.group': 'Group',
'action.insert-embed': 'Insert embed',
'action.insert-media': 'Upload media',
'action.leave-shared-project': 'Leave shared project',
'action.new-project': 'New project',
'action.new-shared-project': 'New shared project',
'action.open-file': 'Open file',
@ -323,6 +325,12 @@ export const DEFAULT_TRANSLATION = {
'file-system.shared-document-file-open-error.title': 'Could not open file',
'file-system.shared-document-file-open-error.description':
'Opening files from shared projects is not supported.',
'sharing.confirm-leave.title': 'Leave current project?',
'sharing.confirm-leave.description':
'Are you sure you want to leave this shared project? You can return to it by navigating to its URL.',
'sharing.confirm-leave.cancel': 'Cancel',
'sharing.confirm-leave.leave': 'Leave',
'sharing.confirm-leave.dont-show-again': "Don't ask again",
'toast.error.export-fail.title': 'Failed export',
'toast.error.export-fail.desc': 'Failed to export image',
'toast.error.copy-fail.title': 'Failed copy',