From e76a926ea7ed387df73cbb69badf768c7aaaff74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 7 Jun 2019 10:27:09 +0200 Subject: [PATCH] Temporary fix for project translations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/src/OCP/collaboration.js | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) 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 { /**