Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
fix(webgl-image): update localization method for loading messages
Timothy Yine9664874dd3c
diff --git a/app/composables/useWebGLWorkState.ts b/app/composables/useWebGLWorkState.tsindex 09512bc9..9f17ba65 100644--- a/app/composables/useWebGLWorkState.ts+++ b/app/composables/useWebGLWorkState.ts@@ -4,6 +4,8 @@ import { LoadingState } from '@chronoframe/webgl-image'export const useWebGLWorkState = (loadingIndicatorRef: LoadingIndicatorRef | null,) => {+ const { t } = useI18n()+return (isLoading: boolean,state?: LoadingState,@@ -12,9 +14,9 @@ export const useWebGLWorkState = (let message = ''if (state === LoadingState.TEXTURE_LOADING) {- message = $t('viewer.photoload.loadingTexture')+ message = t('viewer.photoload.loadingTexture')} else if (state === LoadingState.IMAGE_LOADING) {- message = $t('viewer.photoload.loading')+ message = t('viewer.photoload.loading')}loadingIndicatorRef?.updateLoadingState({