Move some translation stings around to enable xgettext to detect them
This commit is contained in:
parent
f5c5f45572
commit
a5a48ae65c
|
@ -35,16 +35,6 @@ var MOUNT_OPTIONS_DROPDOWN_TEMPLATE =
|
||||||
' </div>' +
|
' </div>' +
|
||||||
'</div>';
|
'</div>';
|
||||||
|
|
||||||
/* TODO the current l10n extrator can't handle JS functions within handlebar
|
|
||||||
templates therefore they are duplicated here
|
|
||||||
t("files_external", "Enable encryption")
|
|
||||||
t("files_external", "Enable previews")
|
|
||||||
t("files_external", "Enable sharing")
|
|
||||||
t("files_external", "Check for changes")
|
|
||||||
t("files_external", "Never")
|
|
||||||
t("files_external", "Once every direct access")
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the selection of applicable users in the given configuration row
|
* Returns the selection of applicable users in the given configuration row
|
||||||
*
|
*
|
||||||
|
|
|
@ -3,11 +3,19 @@
|
||||||
use \OCA\Files_External\Lib\DefinitionParameter;
|
use \OCA\Files_External\Lib\DefinitionParameter;
|
||||||
use \OCA\Files_External\Service\BackendService;
|
use \OCA\Files_External\Service\BackendService;
|
||||||
|
|
||||||
|
$l->t("Enable encryption");
|
||||||
|
$l->t("Enable previews");
|
||||||
|
$l->t("Enable sharing");
|
||||||
|
$l->t("Check for changes");
|
||||||
|
$l->t("Never");
|
||||||
|
$l->t("Once every direct access");
|
||||||
|
|
||||||
script('files_external', 'settings');
|
script('files_external', 'settings');
|
||||||
style('files_external', 'settings');
|
style('files_external', 'settings');
|
||||||
|
|
||||||
// load custom JS
|
// load custom JS
|
||||||
foreach ($_['backends'] as $backend) {
|
foreach ($_['backends'] as $backend) {
|
||||||
|
/** @var Backend $backend */
|
||||||
if ($backend->getCustomJs()) {
|
if ($backend->getCustomJs()) {
|
||||||
script('files_external', $backend->getCustomJs());
|
script('files_external', $backend->getCustomJs());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue