From 1c8ea51d9b82690467352369f6ee3279aa2eaaee Mon Sep 17 00:00:00 2001 From: j Date: Sat, 2 Dec 2023 17:49:54 +0100 Subject: [PATCH] tag more translations --- static/js/pandora.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index 94c637f70..9f6d774f7 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -403,28 +403,28 @@ appPanel ], sectionFolders: { items: [ - {id: 'personal', title: 'Personal Lists'}, - {id: 'favorite', title: 'Favorite Lists', showBrowser: false}, - {id: 'featured', title: 'Featured Lists', showBrowser: false}, - {id: 'volumes', title: 'Local Volumes'} + {id: 'personal', title: Ox._('Personal Lists')}, + {id: 'favorite', title: Ox._('Favorite Lists'), showBrowser: false}, + {id: 'featured', title: Ox._('Featured Lists'), showBrowser: false}, + {id: 'volumes', title: Ox._('Local Volumes')} ], edits: [ - {id: 'personal', title: 'Personal Edits'}, - {id: 'favorite', title: 'Favorite Edits', showBrowser: false}, - {id: 'featured', title: 'Featured Edits', showBrowser: false} + {id: 'personal', title: Ox._('Personal Edits')}, + {id: 'favorite', title: Ox._('Favorite Edits'), showBrowser: false}, + {id: 'featured', title: Ox._('Featured Edits'), showBrowser: false} ], documents: [ - {id: 'personal', title: 'Personal Collections'}, - {id: 'favorite', title: 'Favorite Collections', showBrowser: false}, - {id: 'featured', title: 'Featured Collections', showBrowser: false} + {id: 'personal', title: Ox._('Personal Collections')}, + {id: 'favorite', title: Ox._('Favorite Collections'), showBrowser: false}, + {id: 'featured', title: Ox._('Featured Collections'), showBrowser: false} ] }, sortKeys: pandora.getSortKeys(), documentSortKeys: pandora.getDocumentSortKeys() }); pandora.site.collectionViews = (pandora.site.collectionViews || [ - {id: 'list', title: 'as List'}, - {id: 'grid', title: 'as Grid'} + {id: 'list', title: Ox._('as List')}, + {id: 'grid', title: Ox._('as Grid')} ]).map(view => { return {id: view.id, title: Ox._('View {0}', [Ox._(view.title)])}; });