aboutsummaryrefslogtreecommitdiffstats
path: root/l10n/th_TH/files_encryption.po
blob: 5c89237280ed898e6ddee1d499e88ca34d45a089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# 
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: ownCloud\n"
"Report-Msgid-Bugs-To: http://bugs.owncloud.org/\n"
"POT-Creation-Date: 2013-05-25 02:01+0200\n"
"PO-Revision-Date: 2013-05-25 00:02+0000\n"
"Last-Translator: I Robot <owncloud-bot@tmit.eu>\n"
"Language-Team: Thai (Thailand) (http://www.transifex.com/projects/p/owncloud/language/th_TH/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: th_TH\n"
"Plural-Forms: nplurals=1; plural=0;\n"

#: ajax/adminrecovery.php:40
msgid "Recovery key successfully "
msgstr ""

#: ajax/adminrecovery.php:42
msgid "Could not "
msgstr ""

#: ajax/changeRecoveryPassword.php:49
msgid "Password successfully changed."
msgstr ""

#: ajax/changeRecoveryPassword.php:51
msgid "Could not change the password. Maybe the old password was not correct."
msgstr ""

#: js/settings-admin.js:11
msgid "Saving..."
msgstr ""

#: templates/settings-admin.php:5 templates/settings-personal.php:4
msgid "Encryption"
msgstr "การเข้ารหัส"

#: templates/settings-admin.php:9
msgid ""
"Enable encryption passwords recovery key (allow sharing to recovery key):"
msgstr ""

#: templates/settings-admin.php:13
msgid "Recovery account password"
msgstr ""

#: templates/settings-admin.php:20 templates/settings-personal.php:18
msgid "Enabled"
msgstr ""

#: templates/settings-admin.php:28 templates/settings-personal.php:26
msgid "Disabled"
msgstr ""

#: templates/settings-admin.php:32
msgid "Change encryption passwords recovery key:"
msgstr ""

#: templates/settings-admin.php:39
msgid "Old Recovery account password"
msgstr ""

#: templates/settings-admin.php:46
msgid "New Recovery account password"
msgstr ""

#: templates/settings-admin.php:51
msgid "Change Password"
msgstr ""

#: templates/settings-personal.php:9
msgid "Enable password recovery by sharing all files with your administrator:"
msgstr ""

#: templates/settings-personal.php:11
msgid ""
"Enabling this option will allow you to reobtain access to your encrypted "
"files if your password is lost"
msgstr ""

#: templates/settings-personal.php:27
msgid "File recovery settings updated"
msgstr ""

#: templates/settings-personal.php:28
msgid "Could not update file recovery"
msgstr ""
; use OCP\IPreview; use OCP\IRequest; use OCP\ITagManager; use OCP\IUserSession; use Sabre\DAV\Auth\Backend\BackendInterface; class ServerFactory { /** @var IConfig */ private $config; /** @var ILogger */ private $logger; /** @var IDBConnection */ private $databaseConnection; /** @var IUserSession */ private $userSession; /** @var IMountManager */ private $mountManager; /** @var ITagManager */ private $tagManager; /** @var IRequest */ private $request; /** @var IPreview */ private $previewManager; /** * @param IConfig $config * @param ILogger $logger * @param IDBConnection $databaseConnection * @param IUserSession $userSession * @param IMountManager $mountManager * @param ITagManager $tagManager * @param IRequest $request * @param IPreview $previewManager */ public function __construct( IConfig $config, ILogger $logger, IDBConnection $databaseConnection, IUserSession $userSession, IMountManager $mountManager, ITagManager $tagManager, IRequest $request, IPreview $previewManager ) { $this->config = $config; $this->logger = $logger; $this->databaseConnection = $databaseConnection; $this->userSession = $userSession; $this->mountManager = $mountManager; $this->tagManager = $tagManager; $this->request = $request; $this->previewManager = $previewManager; } /** * @param string $baseUri * @param string $requestUri * @param BackendInterface $authBackend * @param callable $viewCallBack callback that should return the view for the dav endpoint * @return Server */ public function createServer($baseUri, $requestUri, BackendInterface $authBackend, callable $viewCallBack) { // Fire up server $objectTree = new \OCA\DAV\Connector\Sabre\ObjectTree(); $server = new \OCA\DAV\Connector\Sabre\Server($objectTree); // Set URL explicitly due to reverse-proxy situations $server->httpRequest->setUrl($requestUri); $server->setBaseUri($baseUri); // Load plugins $server->addPlugin(new \OCA\DAV\Connector\Sabre\MaintenancePlugin($this->config)); $server->addPlugin(new \OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin($this->config)); $server->addPlugin(new \Sabre\DAV\Auth\Plugin($authBackend)); // FIXME: The following line is a workaround for legacy components relying on being able to send a GET to / $server->addPlugin(new \OCA\DAV\Connector\Sabre\DummyGetResponsePlugin()); $server->addPlugin(new \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin('webdav', $this->logger)); $server->addPlugin(new \OCA\DAV\Connector\Sabre\LockPlugin()); // Some WebDAV clients do require Class 2 WebDAV support (locking), since // we do not provide locking we emulate it using a fake locking plugin. if($this->request->isUserAgent([ '/WebDAVFS/', '/Microsoft Office OneNote 2013/', '/Microsoft-WebDAV-MiniRedir/', ])) { $server->addPlugin(new \OCA\DAV\Connector\Sabre\FakeLockerPlugin()); } if (BrowserErrorPagePlugin::isBrowserRequest($this->request)) { $server->addPlugin(new BrowserErrorPagePlugin()); } // wait with registering these until auth is handled and the filesystem is setup $server->on('beforeMethod', function () use ($server, $objectTree, $viewCallBack) { // ensure the skeleton is copied $userFolder = \OC::$server->getUserFolder(); /** @var \OC\Files\View $view */ $view = $viewCallBack($server); if ($userFolder instanceof Folder && $userFolder->getPath() === $view->getRoot()) { $rootInfo = $userFolder; } else { $rootInfo = $view->getFileInfo(''); } // Create ownCloud Dir if ($rootInfo->getType() === 'dir') { $root = new \OCA\DAV\Connector\Sabre\Directory($view, $rootInfo, $objectTree); } else { $root = new \OCA\DAV\Connector\Sabre\File($view, $rootInfo); } $objectTree->init($root, $view, $this->mountManager); $server->addPlugin( new \OCA\DAV\Connector\Sabre\FilesPlugin( $objectTree, $this->config, $this->request, $this->previewManager, false, !$this->config->getSystemValue('debug', false) ) ); $server->addPlugin(new \OCA\DAV\Connector\Sabre\QuotaPlugin($view)); if($this->userSession->isLoggedIn()) { $server->addPlugin(new \OCA\DAV\Connector\Sabre\TagsPlugin($objectTree, $this->tagManager)); $server->addPlugin(new \OCA\DAV\Connector\Sabre\SharesPlugin( $objectTree, $this->userSession, $userFolder, \OC::$server->getShareManager() )); $server->addPlugin(new \OCA\DAV\Connector\Sabre\CommentPropertiesPlugin(\OC::$server->getCommentsManager(), $this->userSession)); $server->addPlugin(new \OCA\DAV\Connector\Sabre\FilesReportPlugin( $objectTree, $view, \OC::$server->getSystemTagManager(), \OC::$server->getSystemTagObjectMapper(), \OC::$server->getTagManager(), $this->userSession, \OC::$server->getGroupManager(), $userFolder )); // custom properties plugin must be the last one $server->addPlugin( new \Sabre\DAV\PropertyStorage\Plugin( new \OCA\DAV\Connector\Sabre\CustomPropertiesBackend( $objectTree, $this->databaseConnection, $this->userSession->getUser() ) ) ); } $server->addPlugin(new \OCA\DAV\Connector\Sabre\CopyEtagHeaderPlugin()); }, 30); // priority 30: after auth (10) and acl(20), before lock(50) and handling the request return $server; } }