@kopexa/sight
Version:
Kopexa Sight Design System — React component library for GRC applications
46 lines (43 loc) • 1.31 kB
JavaScript
"use client";
// src/components/file-upload/messages.ts
import { defineMessages } from "@kopexa/i18n";
var messages = defineMessages({
change_avatar: {
id: "file_upload.change_avatar",
defaultMessage: "Change Avatar",
description: "Label for changing the avatar image"
},
upload_avatar: {
id: "file_upload.upload_avatar",
defaultMessage: "Upload Avatar",
description: "Label for uploading a new avatar image"
},
remove_avatar: {
id: "file_upload.remove_avatar",
defaultMessage: "Remove Avatar",
description: "Label for removing the current avatar image"
},
avatar_uploaded: {
id: "file_upload.avatar_uploaded",
defaultMessage: "Avatar uploaded",
description: "Message displayed when the avatar is uploaded successfully"
},
accepted_file_types: {
id: "file_upload.accepted_file_types",
defaultMessage: "{types}{size, select, none {} other { up to {size}}}",
description: "Message indicating the accepted file types for upload"
},
cancel: {
id: "file_upload.cancel",
defaultMessage: "Cancel",
description: "Label for canceling the file upload"
},
apply_crop: {
id: "file_upload.apply_crop",
defaultMessage: "Apply",
description: "Label for applying the crop to the image"
}
});
export {
messages
};