Files
xod/packages/xod-deploy/src/messages.js

25 lines
798 B
JavaScript

export default {
CANT_GET_LIBRARY_NAME: ({ url }) => ({
title: 'Wrong library URL or library name',
note: `Tried to download library from "${url}"`,
}),
// Console messages
LIBRARY_EXIST: ({ libName }) => ({
note: `Library "${libName}" already installed`,
}),
LIBRARY_MISSING: ({ libName }) => ({
note: `Library "${libName}" is missing`,
}),
LIBRARY_DOWNLOADED: ({ libName }) => ({
note: `Library "${libName}" is downloaded`,
}),
LIBRARY_INSTALLED: ({ libName }) => ({
note: `Library "${libName}" installed successfully`,
}),
CLOUD_COMPILE_UNSPUPPORTED: boardName => ({
title: 'Cloud compilation not supported',
note: `Can't compile in the cloud for the board "${boardName}"`,
solution: 'Try to compile it on your own computer',
}),
};