l10n: viewer ps titles

pull/231/head
Varun Patil 2022-11-21 09:49:27 -08:00
parent eb790acbde
commit 7f0409b5a9
1 changed files with 3 additions and 0 deletions

View File

@ -257,6 +257,9 @@ export default class Viewer extends Mixins(GlobalMixin) {
bgOpacity: 1,
appendToEl: this.$refs.inner as HTMLElement,
preload: [2, 2],
closeTitle: this.t("memories", "Close"),
arrowPrevTitle: this.t("memories", "Previous"),
arrowNextTitle: this.t("memories", "Next"),
getViewportSizeFn: () => {
const sidebarWidth = this.sidebarOpen ? this.sidebarWidth : 0;
this.outerWidth = `calc(100vw - ${sidebarWidth}px)`;