diff --git a/src/commands/Folders.ts b/src/commands/Folders.ts index 2663fa8a..396b04b1 100644 --- a/src/commands/Folders.ts +++ b/src/commands/Folders.ts @@ -670,7 +670,9 @@ export class Folders { return { title: folder.title, files: files.length, - lastModified: fileStats + lastModified: fileStats, + locale: folder.locale, + localeTitle: folder.localeTitle }; } } diff --git a/src/models/PanelSettings.ts b/src/models/PanelSettings.ts index a13f082c..fca2e8a7 100644 --- a/src/models/PanelSettings.ts +++ b/src/models/PanelSettings.ts @@ -191,6 +191,8 @@ export interface FolderInfo { title: string; files: number; lastModified: FileInfo[]; + locale?: string; + localeTitle?: string; } export interface FileInfo extends FileStat { diff --git a/src/panelWebView/components/FolderAndFiles.tsx b/src/panelWebView/components/FolderAndFiles.tsx index d510fb80..dea44c12 100644 --- a/src/panelWebView/components/FolderAndFiles.tsx +++ b/src/panelWebView/components/FolderAndFiles.tsx @@ -29,7 +29,7 @@ const FolderAndFiles: React.FunctionComponent = ({ {folder.lastModified ? (