diff --git a/core/src/OCP/collaboration.js b/core/src/OCP/collaboration.js index efc495b8bf..162fe8e2a7 100644 --- a/core/src/OCP/collaboration.js +++ b/core/src/OCP/collaboration.js @@ -34,16 +34,21 @@ let types = {}; /** * Those translations will be used by the vue component but they should be shipped with the server - * t('core', 'Add to a project') - * t('core', 'Show details') - * t('core', 'Hide details') - * t('core', 'Rename project') - * t('core', 'Failed to rename the project') - * t('core', 'Failed to create a project') - * t('core', 'Failed to add the item to the project') - * t('core', 'Connect items to a project to make them easier to find') - * t('core', 'Type to search for existing projects') + * FIXME: Those translations should be added to the library */ +const l10nProjects = () => { + return [ + t('core', 'Add to a project'), + t('core', 'Show details'), + t('core', 'Hide details'), + t('core', 'Rename project'), + t('core', 'Failed to rename the project'), + t('core', 'Failed to create a project'), + t('core', 'Failed to add the item to the project'), + t('core', 'Connect items to a project to make them easier to find'), + t('core', 'Type to search for existing projects') + ]; +} export default { /**