summaryrefslogtreecommitdiffstats
path: root/core/src/OCP
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-06-07 10:27:09 +0200
committerJulius Härtl <jus@bitgrid.net>2019-06-11 19:12:33 +0200
commite76a926ea7ed387df73cbb69badf768c7aaaff74 (patch)
treee58849405de6b298213efbe5e646e9f84b8d4fd5 /core/src/OCP
parenta53ebdb53d966dc3b3bef9a096d8c2387083413d (diff)
downloadnextcloud-server-e76a926ea7ed387df73cbb69badf768c7aaaff74.tar.gz
nextcloud-server-e76a926ea7ed387df73cbb69badf768c7aaaff74.zip
Temporary fix for project translations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/src/OCP')
-rw-r--r--core/src/OCP/collaboration.js23
1 files changed, 14 insertions, 9 deletions
diff --git a/core/src/OCP/collaboration.js b/core/src/OCP/collaboration.js
index efc495b8bf2..162fe8e2a75 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 {
/**