修复画布多语言
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
import { LiquifyWebGLManager } from "./LiquifyWebGLManager";
|
||||
import { LiquifyCPUManager } from "./LiquifyCPUManager";
|
||||
import { findLayerRecursively, LayerType } from "../../utils/layerHelper";
|
||||
import i18n from "@/lang/index.ts";
|
||||
const {t} = i18n.global;
|
||||
|
||||
export class EnhancedLiquifyManager {
|
||||
/**
|
||||
@@ -599,7 +601,7 @@ export class EnhancedLiquifyManager {
|
||||
if (objectsToCheck.length === 0) {
|
||||
return {
|
||||
valid: false,
|
||||
message: "图层为空,无法进行液化操作",
|
||||
message: t('Canvas.layerEmptyNoLiquidation'),
|
||||
needsRasterization: false,
|
||||
isImage: false,
|
||||
isEmpty: true,
|
||||
|
||||
Reference in New Issue
Block a user