mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Update strings
update strings to contain addon
This commit is contained in:
parent
c71f7b0e1a
commit
96c41e5623
519 changed files with 829 additions and 829 deletions
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* This plugin provides Authentication for a WebDAV server.
|
||||
* This addon provides Authentication for a WebDAV server.
|
||||
*
|
||||
* It relies on a Backend object, which provides user information.
|
||||
*
|
||||
|
@ -52,7 +52,7 @@ class Sabre_DAV_Auth_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Initializes the plugin. This function is automatically called by the server
|
||||
* Initializes the addon. This function is automatically called by the server
|
||||
*
|
||||
* @param Sabre_DAV_Server $server
|
||||
* @return void
|
||||
|
@ -65,9 +65,9 @@ class Sabre_DAV_Auth_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a plugin name.
|
||||
* Returns a addon name.
|
||||
*
|
||||
* Using this name other plugins will be able to access other plugins
|
||||
* Using this name other addons will be able to access other addons
|
||||
* using Sabre_DAV_Server::getPlugin
|
||||
*
|
||||
* @return string
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* GuessContentType plugin
|
||||
* GuessContentType addon
|
||||
*
|
||||
* A lot of the built-in File objects just return application/octet-stream
|
||||
* as a content-type by default. This is a problem for some clients, because
|
||||
|
@ -43,7 +43,7 @@ class Sabre_DAV_Browser_GuessContentType extends Sabre_DAV_ServerPlugin {
|
|||
);
|
||||
|
||||
/**
|
||||
* Initializes the plugin
|
||||
* Initializes the addon
|
||||
*
|
||||
* @param Sabre_DAV_Server $server
|
||||
* @return void
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* This is a simple plugin that will map any GET request for non-files to
|
||||
* This is a simple addon that will map any GET request for non-files to
|
||||
* PROPFIND allprops-requests.
|
||||
*
|
||||
* This should allow easy debugging of PROPFIND
|
||||
|
@ -22,7 +22,7 @@ class Sabre_DAV_Browser_MapGetToPropFind extends Sabre_DAV_ServerPlugin {
|
|||
protected $server;
|
||||
|
||||
/**
|
||||
* Initializes the plugin and subscribes to events
|
||||
* Initializes the addon and subscribes to events
|
||||
*
|
||||
* @param Sabre_DAV_Server $server
|
||||
* @return void
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/**
|
||||
* Browser Plugin
|
||||
*
|
||||
* This plugin provides a html representation, so that a WebDAV server may be accessed
|
||||
* This addon provides a html representation, so that a WebDAV server may be accessed
|
||||
* using a browser.
|
||||
*
|
||||
* The class intercepts GET requests to collection resources and generates a simple
|
||||
|
@ -60,7 +60,7 @@ class Sabre_DAV_Browser_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
protected $enablePost = true;
|
||||
|
||||
/**
|
||||
* By default the browser plugin will generate a favicon and other images.
|
||||
* By default the browser addon will generate a favicon and other images.
|
||||
* To turn this off, set this property to false.
|
||||
*
|
||||
* @var bool
|
||||
|
@ -84,7 +84,7 @@ class Sabre_DAV_Browser_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Initializes the plugin and subscribes to events
|
||||
* Initializes the addon and subscribes to events
|
||||
*
|
||||
* @param Sabre_DAV_Server $server
|
||||
* @return void
|
||||
|
@ -122,7 +122,7 @@ class Sabre_DAV_Browser_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
$node = $this->server->tree->getNodeForPath($uri);
|
||||
} catch (Sabre_DAV_Exception_NotFound $e) {
|
||||
// We're simply stopping when the file isn't found to not interfere
|
||||
// with other plugins.
|
||||
// with other addons.
|
||||
return;
|
||||
}
|
||||
if ($node instanceof Sabre_DAV_IFile)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Locking plugin
|
||||
* Locking addon
|
||||
*
|
||||
* This plugin provides locking support to a WebDAV server.
|
||||
* This addon provides locking support to a WebDAV server.
|
||||
* The easiest way to get started, is by hooking it up as such:
|
||||
*
|
||||
* $lockBackend = new Sabre_DAV_Locks_Backend_File('./mylockdb');
|
||||
|
@ -44,7 +44,7 @@ class Sabre_DAV_Locks_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Initializes the plugin
|
||||
* Initializes the addon
|
||||
*
|
||||
* This method is automatically called by the Server class after addPlugin.
|
||||
*
|
||||
|
@ -61,9 +61,9 @@ class Sabre_DAV_Locks_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a plugin name.
|
||||
* Returns a addon name.
|
||||
*
|
||||
* Using this name other plugins will be able to access other plugins
|
||||
* Using this name other addons will be able to access other addons
|
||||
* using Sabre_DAV_Server::getPlugin
|
||||
*
|
||||
* @return string
|
||||
|
@ -78,7 +78,7 @@ class Sabre_DAV_Locks_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
* This method is called by the Server if the user used an HTTP method
|
||||
* the server didn't recognize.
|
||||
*
|
||||
* This plugin intercepts the LOCK and UNLOCK methods.
|
||||
* This addon intercepts the LOCK and UNLOCK methods.
|
||||
*
|
||||
* @param string $method
|
||||
* @param string $uri
|
||||
|
@ -134,7 +134,7 @@ class Sabre_DAV_Locks_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
* This method is called before the logic for any HTTP method is
|
||||
* handled.
|
||||
*
|
||||
* This plugin uses that feature to intercept access to locked resources.
|
||||
* This addon uses that feature to intercept access to locked resources.
|
||||
*
|
||||
* @param string $method
|
||||
* @param string $uri
|
||||
|
@ -179,7 +179,7 @@ class Sabre_DAV_Locks_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Use this method to tell the server this plugin defines additional
|
||||
* Use this method to tell the server this addon defines additional
|
||||
* HTTP methods.
|
||||
*
|
||||
* This method is passed a uri. It should only return HTTP methods that are
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* This plugin provides support for RFC4709: Mounting WebDAV servers
|
||||
* This addon provides support for RFC4709: Mounting WebDAV servers
|
||||
*
|
||||
* Simply append ?mount to any collection to generate the davmount response.
|
||||
*
|
||||
|
@ -20,7 +20,7 @@ class Sabre_DAV_Mount_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
private $server;
|
||||
|
||||
/**
|
||||
* Initializes the plugin and registers event handles
|
||||
* Initializes the addon and registers event handles
|
||||
*
|
||||
* @param Sabre_DAV_Server $server
|
||||
* @return void
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
/**
|
||||
* Partial update plugin (Patch method)
|
||||
* Partial update addon (Patch method)
|
||||
*
|
||||
* This plugin provides a way to modify only part of a target resource
|
||||
* This addon provides a way to modify only part of a target resource
|
||||
* It may bu used to update a file chunk, upload big a file into smaller
|
||||
* chunks or resume an upload.
|
||||
*
|
||||
|
@ -25,7 +25,7 @@ class Sabre_DAV_PartialUpdate_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
protected $server;
|
||||
|
||||
/**
|
||||
* Initializes the plugin
|
||||
* Initializes the addon
|
||||
*
|
||||
* This method is automatically called by the Server class after addPlugin.
|
||||
*
|
||||
|
@ -40,9 +40,9 @@ class Sabre_DAV_PartialUpdate_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a plugin name.
|
||||
* Returns a addon name.
|
||||
*
|
||||
* Using this name other plugins will be able to access other plugins
|
||||
* Using this name other addons will be able to access other addons
|
||||
* using Sabre_DAV_Server::getPlugin
|
||||
*
|
||||
* @return string
|
||||
|
@ -57,7 +57,7 @@ class Sabre_DAV_PartialUpdate_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
* This method is called by the Server if the user used an HTTP method
|
||||
* the server didn't recognize.
|
||||
*
|
||||
* This plugin intercepts the PATCH methods.
|
||||
* This addon intercepts the PATCH methods.
|
||||
*
|
||||
* @param string $method
|
||||
* @param string $uri
|
||||
|
@ -75,7 +75,7 @@ class Sabre_DAV_PartialUpdate_Plugin extends Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Use this method to tell the server this plugin defines additional
|
||||
* Use this method to tell the server this addon defines additional
|
||||
* HTTP methods.
|
||||
*
|
||||
* This method is passed a uri. It should only return HTTP methods that are
|
||||
|
|
|
@ -60,7 +60,7 @@ class Sabre_DAV_Server {
|
|||
public $httpRequest;
|
||||
|
||||
/**
|
||||
* The list of plugins
|
||||
* The list of addons
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
|
@ -324,7 +324,7 @@ class Sabre_DAV_Server {
|
|||
}
|
||||
|
||||
/**
|
||||
* Adds a plugin to the server
|
||||
* Adds a addon to the server
|
||||
*
|
||||
* For more information, console the documentation of Sabre_DAV_ServerPlugin
|
||||
*
|
||||
|
@ -339,9 +339,9 @@ class Sabre_DAV_Server {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns an initialized plugin by it's name.
|
||||
* Returns an initialized addon by it's name.
|
||||
*
|
||||
* This function returns null if the plugin was not found.
|
||||
* This function returns null if the addon was not found.
|
||||
*
|
||||
* @param string $name
|
||||
* @return Sabre_DAV_ServerPlugin
|
||||
|
@ -361,7 +361,7 @@ class Sabre_DAV_Server {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns all plugins
|
||||
* Returns all addons
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
@ -379,7 +379,7 @@ class Sabre_DAV_Server {
|
|||
* It is possible to control the order of the callbacks through the
|
||||
* priority argument.
|
||||
*
|
||||
* This is for example used to make sure that the authentication plugin
|
||||
* This is for example used to make sure that the authentication addon
|
||||
* is triggered before anything else. If it's not needed to change this
|
||||
* number, it is recommended to ommit.
|
||||
*
|
||||
|
@ -1050,7 +1050,7 @@ class Sabre_DAV_Server {
|
|||
$methods[] = 'MKCOL';
|
||||
}
|
||||
|
||||
// We're also checking if any of the plugins register any new methods
|
||||
// We're also checking if any of the addons register any new methods
|
||||
foreach($this->plugins as $plugin) $methods = array_merge($methods, $plugin->getHTTPMethods($uri));
|
||||
array_unique($methods);
|
||||
|
||||
|
@ -1464,7 +1464,7 @@ class Sabre_DAV_Server {
|
|||
*
|
||||
* Currently this is done by HTTP PUT and HTTP LOCK (in the Locks_Plugin).
|
||||
* It was important to get this done through a centralized function,
|
||||
* allowing plugins to intercept this using the beforeCreateFile event.
|
||||
* allowing addons to intercept this using the beforeCreateFile event.
|
||||
*
|
||||
* This method will return true if the file was actually created
|
||||
*
|
||||
|
@ -1654,7 +1654,7 @@ class Sabre_DAV_Server {
|
|||
}
|
||||
|
||||
if (!$hasError) {
|
||||
// Allowing plugins to take care of property updating
|
||||
// Allowing addons to take care of property updating
|
||||
$hasError = !$this->broadcastEvent('updateProperties',array(
|
||||
&$remainingProperties,
|
||||
&$result,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* The baseclass for all server plugins.
|
||||
* The baseclass for all server addons.
|
||||
*
|
||||
* Plugins can modify or extend the servers behaviour.
|
||||
*
|
||||
|
@ -14,7 +14,7 @@
|
|||
abstract class Sabre_DAV_ServerPlugin {
|
||||
|
||||
/**
|
||||
* This initializes the plugin.
|
||||
* This initializes the addon.
|
||||
*
|
||||
* This function is called by Sabre_DAV_Server, after
|
||||
* addPlugin is called.
|
||||
|
@ -41,7 +41,7 @@ abstract class Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Use this method to tell the server this plugin defines additional
|
||||
* Use this method to tell the server this addon defines additional
|
||||
* HTTP methods.
|
||||
*
|
||||
* This method is passed a uri. It should only return HTTP methods that are
|
||||
|
@ -57,9 +57,9 @@ abstract class Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a plugin name.
|
||||
* Returns a addon name.
|
||||
*
|
||||
* Using this name other plugins will be able to access other plugins
|
||||
* Using this name other addons will be able to access other addons
|
||||
* using Sabre_DAV_Server::getPlugin
|
||||
*
|
||||
* @return string
|
||||
|
@ -71,7 +71,7 @@ abstract class Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a list of reports this plugin supports.
|
||||
* Returns a list of reports this addon supports.
|
||||
*
|
||||
* This will be used in the {DAV:}supported-report-set property.
|
||||
* Note that you still need to subscribe to the 'report' event to actually
|
||||
|
|
|
@ -45,7 +45,7 @@ class Sabre_DAV_TemporaryFileFilterPlugin extends Sabre_DAV_ServerPlugin {
|
|||
);
|
||||
|
||||
/**
|
||||
* This is the directory where this plugin
|
||||
* This is the directory where this addon
|
||||
* will store it's files.
|
||||
*
|
||||
* @var string
|
||||
|
@ -60,7 +60,7 @@ class Sabre_DAV_TemporaryFileFilterPlugin extends Sabre_DAV_ServerPlugin {
|
|||
private $server;
|
||||
|
||||
/**
|
||||
* Creates the plugin.
|
||||
* Creates the addon.
|
||||
*
|
||||
* Make sure you specify a directory for your files. If you don't, we
|
||||
* will use PHP's directory for session-storage instead, and you might
|
||||
|
@ -77,9 +77,9 @@ class Sabre_DAV_TemporaryFileFilterPlugin extends Sabre_DAV_ServerPlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* Initialize the plugin
|
||||
* Initialize the addon
|
||||
*
|
||||
* This is called automatically be the Server class after this plugin is
|
||||
* This is called automatically be the Server class after this addon is
|
||||
* added with Sabre_DAV_Server::addPlugin()
|
||||
*
|
||||
* @param Sabre_DAV_Server $server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue