add dictionary.js

This commit is contained in:
JanAckermann
2021-05-03 09:57:30 +02:00
parent 14ac8e5748
commit 115f03df43
5 changed files with 42 additions and 35 deletions
File diff suppressed because one or more lines are too long
+16
View File
@@ -0,0 +1,16 @@
/**
* This file contains strings that should be synced to transifex but not exist in the UI directly,
* moreover, they get loaded for example by API requests
*/
// just a dummy function to trick gettext tools
function $gettext (msg) {
return msg
}
// eslint-disable-next-line no-unused-vars
const dictionary = [
$gettext('Guest'),
$gettext('Admin'),
$gettext('User')
]
@@ -0,0 +1,6 @@
Enhancement: Added dictionary files
Added the dictionary.js file for package settings and accounts which contains strings
that should be synced to transifex but not exist in the UI directly.
https://github.com/owncloud/ocis/pull/2003
File diff suppressed because one or more lines are too long
+14
View File
@@ -0,0 +1,14 @@
/**
* This file contains strings that should be synced to transifex but not exist in the UI directly,
* moreover, they get loaded for example by API requests
*/
// just a dummy function to trick gettext tools
function $gettext (msg) {
return msg
}
// eslint-disable-next-line no-unused-vars
const dictionary = [
$gettext('Language')
]