libmodulor
Version:
A TypeScript library to create platform-agnostic applications
39 lines (38 loc) • 3.16 kB
JavaScript
export const I18n = {
en: {
err_existing_app: 'App already exists',
err_existing_product: 'Product already exists',
err_existing_target: 'Target already exists',
err_target_generator_not_available: 'This target has not been implemented yet via the generator. In the meantime, you can create it manually by following the examples.',
err_unknown_app: 'App does not exist',
uc_CreateApp_desc: 'Create the basics of an app (index, i18n, manifest)',
uc_CreateApp_label: 'Create an app',
uc_CreateProduct_desc: 'Create the basics of a product (i18n, manifest)',
uc_CreateProduct_label: 'Create a product',
uc_CreateProject_desc: 'Create a project by initializing a git repo, creating basic config files and installing the required dependencies',
uc_CreateProject_label: 'Create a project',
uc_CreateTarget_desc: 'Create a target based on the ones provided by the lib (see https://libmodulor.c100k.eu/docs/references/targets)',
uc_CreateTarget_label: 'Create a target',
uc_CreateUC_desc: 'Create a basic use case',
uc_CreateUC_label: 'Create a use case',
uc_DeleteGeneratedAppsTests_desc: 'Delete the automated test suite generated for each app',
uc_DeleteGeneratedAppsTests_label: 'Delete generated apps tests',
uc_GenerateAppsTests_desc: 'Generate an automated test suite for each app',
uc_GenerateAppsTests_label: 'Generate apps tests',
uc_TestApp_desc: 'Test an app and generate coverage report',
uc_TestApp_label: 'Test app',
ucif_appName_desc: 'Name of the app conforming to the spec (i.e. PascalCase : A-Z, 0-9)',
ucif_appPath_desc: 'The path of the app',
ucif_appsPath_desc: 'The path to the directory containing all the apps',
ucif_depsMapping_desc: 'The mapping of dependencies in case some of them need a specific pattern (e.g. one directory above the default)',
ucif_initialCommit_desc: 'The message of the initial commit',
ucif_monkeyTestingTimeoutInMs_desc: 'These tests can take longer than the usual default of 5000ms because they try lots of possibilities',
ucif_outPath_desc: 'Path to a directory where to create the project. Do not include the project name in it. It is created recursively if missing.',
ucif_pkgManagerBin_desc: "The package manager to use to install the deps and run the dev commands (must conform to npm's API)",
ucif_productName_desc: 'Name of the product conforming to the spec (i.e. PascalCase : A-Z, 0-9)',
ucif_projectName_desc: "Name of the project conforming to the package.json's spec (i.e. a-z, 0-9, -)",
ucif_scmBin_desc: "The source control manager to use to init and commit (must conform to git's API)",
ucif_serverPortRangeStart_desc: 'The port number to start with when generating the server to test (incremented by 1) for each app',
ucif_updateSnapshots_desc: "Whether to update the snapshots or not. Typically, update them if the tests fail because the snapshots don't match, the reason being that you changed the implementation",
},
};