From 66cd2fe815ec292351be4de2846c5ac83a2ea41b Mon Sep 17 00:00:00 2001 From: Chris Tran <6634746+sYnVerse@users.noreply.github.com> Date: Sat, 6 Jun 2026 15:14:05 -0700 Subject: [PATCH] refactor: localize crop-image component Add vue-i18n integration to crop-image.vue and replace hardcoded UI text with t() translation calls. Import useI18n and use t() for button labels, form labels, hints (with interpolation for zoom), and action text. Convert aspect ratio and export width option arrays into computed properties so they can use translated labels. These changes prepare the component for localization without changing functionality. --- src/tools/crop-image/crop-image.vue | 71 +++++++++++++++-------------- 1 file changed, 37 insertions(+), 34 deletions(-) diff --git a/src/tools/crop-image/crop-image.vue b/src/tools/crop-image/crop-image.vue index a8ed4c75..a6a6c13b 100644 --- a/src/tools/crop-image/crop-image.vue +++ b/src/tools/crop-image/crop-image.vue @@ -1,5 +1,6 @@