Skip to content

Commit

Permalink
Task: add translations for preview-card
Browse files Browse the repository at this point in the history
  • Loading branch information
robertSt7 committed Mar 14, 2024
1 parent 1e53e42 commit 37246b0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
3 changes: 1 addition & 2 deletions assets/js/src/modules/asset/types/folder/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react'
import { Icon } from '@Pimcore/components/icon/icon'
import { FolderEditorTabManager } from '@Pimcore/modules/editor-tab-manager/utils/folder-tab-manager'
import { ListContainer } from './editor-tabs/tabs/list-container'
import i18n from '@Pimcore/app/i18n'
import { PreviewContainer } from '@Pimcore/modules/asset/types/folder/editor-tabs/tabs/preview-container'

export const folderEditorTabManager = new FolderEditorTabManager()
Expand All @@ -11,7 +10,7 @@ folderEditorTabManager.register({
children: <PreviewContainer />,
icon: <Icon name={'image-05'} />,
key: 'preview',
label: i18n.t('folder.folder-editor-tabs.preview')
label: 'folder.folder-editor-tabs.preview'
})

folderEditorTabManager.register({
Expand Down
2 changes: 1 addition & 1 deletion public/build/entrypoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": {
"js": [
"/bundles/pimcorestudioui/build/480.002396ce.js",
"/bundles/pimcorestudioui/build/main.d535369f.js"
"/bundles/pimcorestudioui/build/main.13780917.js"
],
"css": [
"/bundles/pimcorestudioui/build/main.3691bcd8.css"
Expand Down
1 change: 1 addition & 0 deletions public/build/main.13780917.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion public/build/main.d535369f.js

This file was deleted.

2 changes: 1 addition & 1 deletion public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"bundles/pimcorestudioui/build/main.css": "/bundles/pimcorestudioui/build/main.3691bcd8.css",
"bundles/pimcorestudioui/build/main.js": "/bundles/pimcorestudioui/build/main.d535369f.js",
"bundles/pimcorestudioui/build/main.js": "/bundles/pimcorestudioui/build/main.13780917.js",
"bundles/pimcorestudioui/build/58.9cf6e23a.js": "/bundles/pimcorestudioui/build/58.9cf6e23a.js",
"bundles/pimcorestudioui/build/678.c220b736.js": "/bundles/pimcorestudioui/build/678.c220b736.js",
"bundles/pimcorestudioui/build/625.b487b20e.js": "/bundles/pimcorestudioui/build/625.b487b20e.js",
Expand Down
5 changes: 5 additions & 0 deletions translations/studio.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ toolbar.save-and-publish: Save & Publish
toolbar.more: More
toolbar.workflow: Workflow
example-prefix: Example Prefix
preview-card.locate-in-tree: Locate in Tree
preview-card.info: Info
preview-card.rename: Rename
preview-card.download-zip: Download as ZIP
preview-card.delete: Delete

0 comments on commit 37246b0

Please sign in to comment.