forked from friendica/deprecated-addons
deprecated the BUFFER addon
This commit is contained in:
parent
e0cd6b99a1
commit
12274063bb
8
buffer/README.md
Normal file
8
buffer/README.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
The addon uses the library from [https://github.com/thewebguy/bufferapp-php](https://github.com/thewebguy/bufferapp-php)
|
||||||
|
|
||||||
|
Please register an app at [http://bufferapp.com/developers/api](http://bufferapp.com/developers/api)
|
||||||
|
|
||||||
|
Please use (your server address)/buffer/connect as Callback URL.
|
||||||
|
|
||||||
|
After the registration please enter the values for "Client ID" and "Client Secret" in the
|
||||||
|
[administration](admin/addons/buffer).
|
15
buffer/buffer.css
Normal file
15
buffer/buffer.css
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#buffer-enable-label, #buffer-bydefault-label, #buffer-delete-label {
|
||||||
|
float: left;
|
||||||
|
width: 200px;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#buffer-checkbox, #buffer-bydefault, #buffer-delete {
|
||||||
|
float: left;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#buffer-submit {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
399
buffer/buffer.php
Normal file
399
buffer/buffer.php
Normal file
|
@ -0,0 +1,399 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Name: Buffer Post Connector
|
||||||
|
* Description: Post to Buffer (Facebook Pages, LinkedIn, Twitter)
|
||||||
|
* Version: 0.2
|
||||||
|
* Author: Michael Vogel <http://pirati.ca/profile/heluecht>
|
||||||
|
* Status: Unsupported
|
||||||
|
*/
|
||||||
|
require 'addon/buffer/bufferapp.php';
|
||||||
|
|
||||||
|
use Friendica\App;
|
||||||
|
use Friendica\Content\Text\Plaintext;
|
||||||
|
use Friendica\Core\Hook;
|
||||||
|
use Friendica\Core\Logger;
|
||||||
|
use Friendica\Core\Protocol;
|
||||||
|
use Friendica\Core\Renderer;
|
||||||
|
use Friendica\Database\DBA;
|
||||||
|
use Friendica\DI;
|
||||||
|
use Friendica\Util\Proxy as ProxyUtils;
|
||||||
|
|
||||||
|
function buffer_install()
|
||||||
|
{
|
||||||
|
Hook::register('hook_fork', 'addon/buffer/buffer.php', 'buffer_hook_fork');
|
||||||
|
Hook::register('post_local', 'addon/buffer/buffer.php', 'buffer_post_local');
|
||||||
|
Hook::register('notifier_normal', 'addon/buffer/buffer.php', 'buffer_send');
|
||||||
|
Hook::register('jot_networks', 'addon/buffer/buffer.php', 'buffer_jot_nets');
|
||||||
|
Hook::register('connector_settings', 'addon/buffer/buffer.php', 'buffer_settings');
|
||||||
|
Hook::register('connector_settings_post', 'addon/buffer/buffer.php', 'buffer_settings_post');
|
||||||
|
}
|
||||||
|
|
||||||
|
function buffer_module()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
function buffer_content(App $a)
|
||||||
|
{
|
||||||
|
if (! local_user()) {
|
||||||
|
notice(DI::l10n()->t('Permission denied.') . EOL);
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
require_once "mod/settings.php";
|
||||||
|
settings_init($a);
|
||||||
|
|
||||||
|
if (isset(DI::args()->getArgv()[1])) {
|
||||||
|
switch (DI::args()->getArgv()[1]) {
|
||||||
|
case "connect":
|
||||||
|
$o = buffer_connect($a);
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
$o = print_r(DI::args()->getArgv(), true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$o = buffer_connect($a);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $o;
|
||||||
|
}
|
||||||
|
|
||||||
|
function buffer_addon_admin(App $a, &$o)
|
||||||
|
{
|
||||||
|
$t = Renderer::getMarkupTemplate("admin.tpl", "addon/buffer/");
|
||||||
|
|
||||||
|
$o = Renderer::replaceMacros($t, [
|
||||||
|
'$submit' => DI::l10n()->t('Save Settings'),
|
||||||
|
// name, label, value, help, [extra values]
|
||||||
|
'$client_id' => ['client_id', DI::l10n()->t('Client ID'), DI::config()->get('buffer', 'client_id'), ''],
|
||||||
|
'$client_secret' => ['client_secret', DI::l10n()->t('Client Secret'), DI::config()->get('buffer', 'client_secret'), ''],
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
function buffer_addon_admin_post(App $a)
|
||||||
|
{
|
||||||
|
$client_id = trim($_POST['client_id'] ?? '');
|
||||||
|
$client_secret = trim($_POST['client_secret'] ?? '');
|
||||||
|
|
||||||
|
DI::config()->set('buffer', 'client_id' , $client_id);
|
||||||
|
DI::config()->set('buffer', 'client_secret', $client_secret);
|
||||||
|
}
|
||||||
|
|
||||||
|
function buffer_connect(App $a)
|
||||||
|
{
|
||||||
|
if (isset($_REQUEST["error"])) {
|
||||||
|
$o = DI::l10n()->t('Error when registering buffer connection:')." ".$_REQUEST["error"];
|
||||||
|
return $o;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Start a session. This is necessary to hold on to a few keys the callback script will also need
|
||||||
|
session_start();
|
||||||
|
|
||||||
|
// Define the needed keys
|
||||||
|
$client_id = DI::config()->get('buffer','client_id');
|
||||||
|
$client_secret = DI::config()->get('buffer','client_secret');
|
||||||
|
|
||||||
|
// The callback URL is the script that gets called after the user authenticates with buffer
|
||||||
|
$callback_url = DI::baseUrl()->get()."/buffer/connect";
|
||||||
|
|
||||||
|
$buffer = new BufferApp($client_id, $client_secret, $callback_url);
|
||||||
|
|
||||||
|
if (!$buffer->ok) {
|
||||||
|
$o = '<a href="' . $buffer->get_login_url() . '">Connect to Buffer!</a>';
|
||||||
|
} else {
|
||||||
|
Logger::notice("buffer_connect: authenticated");
|
||||||
|
$o = DI::l10n()->t("You are now authenticated to buffer. ");
|
||||||
|
$o .= '<br /><a href="' . DI::baseUrl()->get() . '/settings/connectors">' . DI::l10n()->t("return to the connector page") . '</a>';
|
||||||
|
DI::pConfig()->set(local_user(), 'buffer','access_token', $buffer->access_token);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $o;
|
||||||
|
}
|
||||||
|
|
||||||
|
function buffer_jot_nets(App $a, array &$jotnets_fields)
|
||||||
|
{
|
||||||
|
if (!local_user()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (DI::pConfig()->get(local_user(), 'buffer', 'post')) {
|
||||||
|
$jotnets_fields[] = [
|
||||||
|
'type' => 'checkbox',
|
||||||
|
'field' => [
|
||||||
|
'buffer_enable',
|
||||||
|
DI::l10n()->t('Post to Buffer'),
|
||||||
|
DI::pConfig()->get(local_user(), 'buffer', 'post_by_default')
|
||||||
|
]
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function buffer_settings(App $a, &$s)
|
||||||
|
{
|
||||||
|
if (! local_user()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Add our stylesheet to the page so we can make our settings look nice */
|
||||||
|
|
||||||
|
DI::page()['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl()->get() . '/addon/buffer/buffer.css' . '" media="all" />' . "\r\n";
|
||||||
|
|
||||||
|
/* Get the current state of our config variables */
|
||||||
|
|
||||||
|
$enabled = DI::pConfig()->get(local_user(),'buffer','post');
|
||||||
|
$checked = (($enabled) ? ' checked="checked" ' : '');
|
||||||
|
$css = (($enabled) ? '' : '-disabled');
|
||||||
|
|
||||||
|
$def_enabled = DI::pConfig()->get(local_user(),'buffer','post_by_default');
|
||||||
|
$def_checked = (($def_enabled) ? ' checked="checked" ' : '');
|
||||||
|
|
||||||
|
/* Add some HTML to the existing form */
|
||||||
|
|
||||||
|
$s .= '<span id="settings_buffer_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_buffer_expanded\'); openClose(\'settings_buffer_inflated\');">';
|
||||||
|
$s .= '<img class="connector'.$css.'" src="images/buffer.png" /><h3 class="connector">'. DI::l10n()->t('Buffer Export').'</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
$s .= '<div id="settings_buffer_expanded" class="settings-block" style="display: none;">';
|
||||||
|
$s .= '<span class="fakelink" onclick="openClose(\'settings_buffer_expanded\'); openClose(\'settings_buffer_inflated\');">';
|
||||||
|
$s .= '<img class="connector'.$css.'" src="images/buffer.png" /><h3 class="connector">'. DI::l10n()->t('Buffer Export').'</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
|
||||||
|
$client_id = DI::config()->get("buffer", "client_id");
|
||||||
|
$client_secret = DI::config()->get("buffer", "client_secret");
|
||||||
|
$access_token = DI::pConfig()->get(local_user(), "buffer", "access_token");
|
||||||
|
|
||||||
|
$s .= '<div id="buffer-password-wrapper">';
|
||||||
|
|
||||||
|
if ($access_token == "") {
|
||||||
|
$s .= '<div id="buffer-authenticate-wrapper">';
|
||||||
|
$s .= '<a href="'.DI::baseUrl()->get().'/buffer/connect">'.DI::l10n()->t("Authenticate your Buffer connection").'</a>';
|
||||||
|
$s .= '</div><div class="clear"></div>';
|
||||||
|
} else {
|
||||||
|
$s .= '<div id="buffer-enable-wrapper">';
|
||||||
|
$s .= '<label id="buffer-enable-label" for="buffer-checkbox">' . DI::l10n()->t('Enable Buffer Post Addon') . '</label>';
|
||||||
|
$s .= '<input id="buffer-checkbox" type="checkbox" name="buffer" value="1" ' . $checked . '/>';
|
||||||
|
$s .= '</div><div class="clear"></div>';
|
||||||
|
|
||||||
|
$s .= '<div id="buffer-bydefault-wrapper">';
|
||||||
|
$s .= '<label id="buffer-bydefault-label" for="buffer-bydefault">' . DI::l10n()->t('Post to Buffer by default') . '</label>';
|
||||||
|
$s .= '<input id="buffer-bydefault" type="checkbox" name="buffer_bydefault" value="1" ' . $def_checked . '/>';
|
||||||
|
$s .= '</div><div class="clear"></div>';
|
||||||
|
|
||||||
|
$s .= '<div id="buffer-delete-wrapper">';
|
||||||
|
$s .= '<label id="buffer-delete-label" for="buffer-delete">' . DI::l10n()->t('Check to delete this preset') . '</label>';
|
||||||
|
$s .= '<input id="buffer-delete" type="checkbox" name="buffer_delete" value="1" />';
|
||||||
|
$s .= '</div><div class="clear"></div>';
|
||||||
|
|
||||||
|
// The callback URL is the script that gets called after the user authenticates with buffer
|
||||||
|
$callback_url = DI::baseUrl()->get() . '/buffer/connect';
|
||||||
|
|
||||||
|
$buffer = new BufferApp($client_id, $client_secret, $callback_url, $access_token);
|
||||||
|
|
||||||
|
$profiles = $buffer->go('/profiles');
|
||||||
|
if (is_array($profiles)) {
|
||||||
|
$s .= '<div id="buffer-accounts-wrapper">';
|
||||||
|
$s .= DI::l10n()->t("Posts are going to all accounts that are enabled by default:");
|
||||||
|
$s .= "<ul>";
|
||||||
|
foreach ($profiles as $profile) {
|
||||||
|
if (!$profile->default)
|
||||||
|
continue;
|
||||||
|
$s .= "<li>";
|
||||||
|
//$s .= "<img src='".$profile->avatar_https."' width='16' />";
|
||||||
|
$s .= " ".$profile->formatted_username." (".$profile->formatted_service.")";
|
||||||
|
$s .= "</li>";
|
||||||
|
}
|
||||||
|
$s .= "</ul>";
|
||||||
|
$s .= '</div><div class="clear"></div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$s .= '</div><div class="clear"></div>';
|
||||||
|
|
||||||
|
/* provide a submit button */
|
||||||
|
|
||||||
|
$s .= '<div class="settings-submit-wrapper" ><input type="submit" id="buffer-submit" name="buffer-submit" class="settings-submit" value="' . DI::l10n()->t('Save Settings') . '" /></div></div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function buffer_settings_post(App $a, array &$b)
|
||||||
|
{
|
||||||
|
if (!empty($_POST['buffer-submit'])) {
|
||||||
|
if (!empty($_POST['buffer_delete'])) {
|
||||||
|
DI::pConfig()->set(local_user(), 'buffer', 'access_token' , '');
|
||||||
|
DI::pConfig()->set(local_user(), 'buffer', 'post' , false);
|
||||||
|
DI::pConfig()->set(local_user(), 'buffer', 'post_by_default', false);
|
||||||
|
} else {
|
||||||
|
DI::pConfig()->set(local_user(), 'buffer', 'post' , intval($_POST['buffer'] ?? false));
|
||||||
|
DI::pConfig()->set(local_user(), 'buffer', 'post_by_default', intval($_POST['buffer_bydefault'] ?? false));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function buffer_post_local(App $a, array &$b)
|
||||||
|
{
|
||||||
|
if (!local_user() || (local_user() != $b['uid'])) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$buffer_post = intval(DI::pConfig()->get(local_user(),'buffer','post'));
|
||||||
|
|
||||||
|
$buffer_enable = (($buffer_post && !empty($_REQUEST['buffer_enable'])) ? intval($_REQUEST['buffer_enable']) : 0);
|
||||||
|
|
||||||
|
if ($b['api_source'] && intval(DI::pConfig()->get(local_user(),'buffer','post_by_default'))) {
|
||||||
|
$buffer_enable = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$buffer_enable) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strlen($b['postopts'])) {
|
||||||
|
$b['postopts'] .= ',';
|
||||||
|
}
|
||||||
|
|
||||||
|
$b['postopts'] .= 'buffer';
|
||||||
|
}
|
||||||
|
|
||||||
|
function buffer_hook_fork(&$a, &$b)
|
||||||
|
{
|
||||||
|
if ($b['name'] != 'notifier_normal') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$post = $b['data'];
|
||||||
|
|
||||||
|
if ($post['deleted'] || $post['private'] || ($post['created'] !== $post['edited']) ||
|
||||||
|
!strstr($post['postopts'], 'buffer') || ($post['parent'] != $post['id'])) {
|
||||||
|
$b['execute'] = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function buffer_send(App $a, array &$b)
|
||||||
|
{
|
||||||
|
if ($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited'])) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!strstr($b['postopts'],'buffer')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($b['parent'] != $b['id']) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Dont't post if the post doesn't belong to us.
|
||||||
|
// This is a check for forum postings
|
||||||
|
$self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
|
||||||
|
if ($b['contact-id'] != $self['id']) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// if post comes from buffer don't send it back
|
||||||
|
//if($b['app'] == "Buffer")
|
||||||
|
// return;
|
||||||
|
|
||||||
|
$client_id = DI::config()->get("buffer", "client_id");
|
||||||
|
$client_secret = DI::config()->get("buffer", "client_secret");
|
||||||
|
$access_token = DI::pConfig()->get($b['uid'], "buffer","access_token");
|
||||||
|
$callback_url = "";
|
||||||
|
|
||||||
|
if ($access_token) {
|
||||||
|
$buffer = new BufferApp($client_id, $client_secret, $callback_url, $access_token);
|
||||||
|
|
||||||
|
$profiles = $buffer->go('/profiles');
|
||||||
|
if (is_array($profiles)) {
|
||||||
|
Logger::info("Will send these parameter ".print_r($b, true));
|
||||||
|
|
||||||
|
foreach ($profiles as $profile) {
|
||||||
|
if (!$profile->default)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
$send = false;
|
||||||
|
|
||||||
|
switch ($profile->service) {
|
||||||
|
case 'facebook':
|
||||||
|
$send = ($b["extid"] != Protocol::FACEBOOK);
|
||||||
|
$limit = 0;
|
||||||
|
$includedlinks = false;
|
||||||
|
$htmlmode = 9;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'twitter':
|
||||||
|
$send = ($b["extid"] != Protocol::TWITTER);
|
||||||
|
$limit = 280;
|
||||||
|
$includedlinks = true;
|
||||||
|
$htmlmode = 8;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'linkedin':
|
||||||
|
$send = ($b["extid"] != Protocol::LINKEDIN);
|
||||||
|
$limit = 700;
|
||||||
|
$includedlinks = true;
|
||||||
|
$htmlmode = 2;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$send)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
$item = $b;
|
||||||
|
|
||||||
|
$post = Plaintext::getPost($item, $limit, $includedlinks, $htmlmode);
|
||||||
|
Logger::info("buffer_send: converted message ".$b["id"]." result: ".print_r($post, true));
|
||||||
|
|
||||||
|
// The image proxy is used as a sanitizer. Buffer seems to be really picky about pictures
|
||||||
|
if (isset($post["image"])) {
|
||||||
|
$post["image"] = ProxyUtils::proxifyUrl($post["image"]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($post["preview"])) {
|
||||||
|
$post["preview"] = ProxyUtils::proxifyUrl($post["preview"]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Seems like a bug to me
|
||||||
|
// Buffer doesn't add links to Twitter (but pictures)
|
||||||
|
if (($profile->service == "twitter") && isset($post["url"]) && ($post["type"] != "photo")) {
|
||||||
|
$post["text"] .= " " . $post["url"];
|
||||||
|
}
|
||||||
|
|
||||||
|
$message = [];
|
||||||
|
$message["text"] = $post["text"];
|
||||||
|
$message["profile_ids[]"] = $profile->id;
|
||||||
|
$message["shorten"] = false;
|
||||||
|
$message["now"] = true;
|
||||||
|
|
||||||
|
if (isset($post["title"])) {
|
||||||
|
$message["media[title]"] = $post["title"];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($post["description"])) {
|
||||||
|
$message["media[description]"] = $post["description"];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($post["url"]) && ($post["type"] != "photo")) {
|
||||||
|
$message["media[link]"] = $post["url"];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($post["image"])) {
|
||||||
|
$message["media[picture]"] = $post["image"];
|
||||||
|
|
||||||
|
if ($post["type"] == "photo") {
|
||||||
|
$message["media[thumbnail]"] = $post["image"];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($post["preview"])) {
|
||||||
|
$message["media[thumbnail]"] = $post["preview"];
|
||||||
|
}
|
||||||
|
|
||||||
|
//print_r($message);
|
||||||
|
Logger::info("buffer_send: data for message " . $b["id"] . ": " . print_r($message, true));
|
||||||
|
$ret = $buffer->go('/updates/create', $message);
|
||||||
|
Logger::info("buffer_send: send message " . $b["id"] . " result: " . print_r($ret, true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
207
buffer/bufferapp.php
Normal file
207
buffer/bufferapp.php
Normal file
|
@ -0,0 +1,207 @@
|
||||||
|
<?php
|
||||||
|
class BufferApp {
|
||||||
|
private $client_id;
|
||||||
|
private $client_secret;
|
||||||
|
private $code;
|
||||||
|
public $access_token;
|
||||||
|
|
||||||
|
private $callback_url;
|
||||||
|
private $authorize_url = 'https://bufferapp.com/oauth2/authorize';
|
||||||
|
private $access_token_url = 'https://api.bufferapp.com/1/oauth2/token.json';
|
||||||
|
private $buffer_url = 'https://api.bufferapp.com/1';
|
||||||
|
|
||||||
|
public $ok = false;
|
||||||
|
|
||||||
|
private $endpoints = [
|
||||||
|
'/user' => 'get',
|
||||||
|
|
||||||
|
'/profiles' => 'get',
|
||||||
|
'/profiles/:id' => 'get',
|
||||||
|
'/profiles/:id/schedules' => 'get',
|
||||||
|
'/profiles/:id/schedules/update' => 'post', // Array schedules [0][days][]=mon, [0][times][]=12:00
|
||||||
|
|
||||||
|
'/updates/:id' => 'get',
|
||||||
|
'/profiles/:id/updates/pending' => 'get',
|
||||||
|
'/profiles/:id/updates/sent' => 'get',
|
||||||
|
'/updates/:id/interactions' => 'get',
|
||||||
|
|
||||||
|
'/profiles/:id/updates/reorder' => 'post', // Array order, int offset, bool utc
|
||||||
|
'/profiles/:id/updates/shuffle' => 'post',
|
||||||
|
'/updates/create' => 'post', // String text, Array profile_ids, Aool shorten, Bool now, Array media ['link'], ['description'], ['picture']
|
||||||
|
'/updates/:id/update' => 'post', // String text, Bool now, Array media ['link'], ['description'], ['picture'], Bool utc
|
||||||
|
'/updates/:id/share' => 'post',
|
||||||
|
'/updates/:id/destroy' => 'post',
|
||||||
|
'/updates/:id/move_to_top' => 'post',
|
||||||
|
|
||||||
|
'/links/shares' => 'get',
|
||||||
|
|
||||||
|
'/info/configuration' => 'get',
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
|
public $errors = [
|
||||||
|
'invalid-endpoint' => 'The endpoint you supplied does not appear to be valid.',
|
||||||
|
|
||||||
|
'401' => 'Unauthorized.',
|
||||||
|
'403' => 'Permission denied.',
|
||||||
|
'404' => 'Endpoint not found.',
|
||||||
|
'405' => 'Method not allowed.',
|
||||||
|
'504' => 'Gateway timeout server response timeout.',
|
||||||
|
'1000' => 'An unknown error occurred.',
|
||||||
|
'1001' => 'Access token required.',
|
||||||
|
'1002' => 'Not within application scope.',
|
||||||
|
'1003' => 'Parameter not recognized.',
|
||||||
|
'1004' => 'Required parameter missing.',
|
||||||
|
'1005' => 'Unsupported response format.',
|
||||||
|
'1006' => 'Parameter value not within bounds.',
|
||||||
|
'1010' => 'Profile could not be found.',
|
||||||
|
'1011' => 'No authorization to access profile.',
|
||||||
|
'1012' => 'Profile did not save successfully.',
|
||||||
|
'1013' => 'Profile schedule limit reached.',
|
||||||
|
'1014' => 'Profile limit for user has been reached.',
|
||||||
|
'1015' => 'Profile could not be destroyed.',
|
||||||
|
'1016' => 'Profile buffer could not be emptied.',
|
||||||
|
'1020' => 'Update could not be found.',
|
||||||
|
'1021' => 'No authorization to access update.',
|
||||||
|
'1022' => 'Update did not save successfully.',
|
||||||
|
'1023' => 'Update limit for profile has been reached.',
|
||||||
|
'1024' => 'Update limit for team profile has been reached.',
|
||||||
|
'1025' => "Update was recently posted, can't post duplicate content.",
|
||||||
|
'1026' => 'Update must be in error status to requeue.',
|
||||||
|
'1027' => 'Update must be in buffer and not custom scheduled in order to move to top.',
|
||||||
|
'1028' => 'Update soft limit for profile reached.',
|
||||||
|
'1029' => 'Event type not supported.',
|
||||||
|
'1030' => 'Media filetype not supported.',
|
||||||
|
'1031' => 'Media filesize out of acceptable range.',
|
||||||
|
'1032' => 'Unable to post image to LinkedIn group(s).',
|
||||||
|
'1033' => 'Comments can only be posted to Facebook at this time.',
|
||||||
|
'1034' => 'Cannot schedule updates in the past.',
|
||||||
|
'1042' => 'User did not save successfully.',
|
||||||
|
'1050' => 'Client could not be found.',
|
||||||
|
'1051' => 'No authorization to access client.',
|
||||||
|
];
|
||||||
|
|
||||||
|
function __construct($client_id = '', $client_secret = '', $callback_url = '', $access_token = '') {
|
||||||
|
if ($client_id) $this->set_client_id($client_id);
|
||||||
|
if ($client_secret) $this->set_client_secret($client_secret);
|
||||||
|
if ($callback_url) $this->set_callback_url($callback_url);
|
||||||
|
if ($access_token) $this->access_token = $access_token;
|
||||||
|
|
||||||
|
if (isset($_GET['code']) && $_GET['code']) {
|
||||||
|
$this->code = $_GET['code'];
|
||||||
|
$this->create_access_token_url();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$access_token)
|
||||||
|
$this->retrieve_access_token();
|
||||||
|
}
|
||||||
|
|
||||||
|
function go($endpoint = '', $data = '') {
|
||||||
|
if (in_array($endpoint, array_keys($this->endpoints))) {
|
||||||
|
$done_endpoint = $endpoint;
|
||||||
|
} else {
|
||||||
|
$ok = false;
|
||||||
|
|
||||||
|
foreach (array_keys($this->endpoints) as $done_endpoint) {
|
||||||
|
if (preg_match('/' . preg_replace('/(\:\w+)/i', '(\w+)', str_replace('/', '\/', $done_endpoint)) . '/i', $endpoint, $match)) {
|
||||||
|
$ok = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$ok) return $this->error('invalid-endpoint');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$data || !is_array($data)) $data = [];
|
||||||
|
$data['access_token'] = $this->access_token;
|
||||||
|
|
||||||
|
$method = $this->endpoints[$done_endpoint]; //get() or post()
|
||||||
|
return $this->$method($this->buffer_url . $endpoint . '.json', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
function store_access_token() {
|
||||||
|
$_SESSION['oauth']['buffer']['access_token'] = $this->access_token;
|
||||||
|
}
|
||||||
|
|
||||||
|
function retrieve_access_token() {
|
||||||
|
$this->access_token = $_SESSION['oauth']['buffer']['access_token'];
|
||||||
|
|
||||||
|
if ($this->access_token) {
|
||||||
|
$this->ok = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function error($error) {
|
||||||
|
return (object) ['error' => $this->errors[$error]];
|
||||||
|
}
|
||||||
|
|
||||||
|
function create_access_token_url() {
|
||||||
|
$data = [
|
||||||
|
'code' => $this->code,
|
||||||
|
'grant_type' => 'authorization_code',
|
||||||
|
'client_id' => $this->client_id,
|
||||||
|
'client_secret' => $this->client_secret,
|
||||||
|
'redirect_uri' => $this->callback_url,
|
||||||
|
];
|
||||||
|
|
||||||
|
$obj = $this->post($this->access_token_url, $data);
|
||||||
|
$this->access_token = $obj->access_token;
|
||||||
|
|
||||||
|
$this->store_access_token();
|
||||||
|
}
|
||||||
|
|
||||||
|
function req($url = '', $data = '', $post = true) {
|
||||||
|
if (!$url) return false;
|
||||||
|
if (!$data || !is_array($data)) $data = [];
|
||||||
|
|
||||||
|
$options = [CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false];
|
||||||
|
|
||||||
|
if ($post) {
|
||||||
|
$options += [
|
||||||
|
CURLOPT_POST => $post,
|
||||||
|
CURLOPT_POSTFIELDS => $data
|
||||||
|
];
|
||||||
|
} else {
|
||||||
|
$url .= '?' . http_build_query($data);
|
||||||
|
}
|
||||||
|
|
||||||
|
$ch = curl_init($url);
|
||||||
|
curl_setopt_array($ch, $options);
|
||||||
|
$rs = curl_exec($ch);
|
||||||
|
|
||||||
|
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
|
||||||
|
if ($code >= 400) {
|
||||||
|
return $this->error($code);
|
||||||
|
}
|
||||||
|
|
||||||
|
return json_decode($rs);
|
||||||
|
}
|
||||||
|
|
||||||
|
function get($url = '', $data = '') {
|
||||||
|
return $this->req($url, $data, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
function post($url = '', $data = '') {
|
||||||
|
return $this->req($url, $data, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_login_url() {
|
||||||
|
return $this->authorize_url . '?'
|
||||||
|
. 'client_id=' . $this->client_id
|
||||||
|
. '&redirect_uri=' . urlencode($this->callback_url)
|
||||||
|
. '&response_type=code';
|
||||||
|
}
|
||||||
|
|
||||||
|
function set_client_id($client_id) {
|
||||||
|
$this->client_id = $client_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
function set_client_secret($client_secret) {
|
||||||
|
$this->client_secret = $client_secret;
|
||||||
|
}
|
||||||
|
|
||||||
|
function set_callback_url($callback_url) {
|
||||||
|
$this->callback_url = $callback_url;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
74
buffer/lang/C/messages.po
Normal file
74
buffer/lang/C/messages.po
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2021-07-25 13:17+0000\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"Language: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#: buffer.php:39
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:68 buffer.php:216
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:70
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:71
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:107
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:108
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:126
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:155 buffer.php:159
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:170
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:174
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:179
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:184
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:196
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr ""
|
77
buffer/lang/ar/messages.po
Normal file
77
buffer/lang/ar/messages.po
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# abidin toumi <abidin24@tutanota.com>, 2021
|
||||||
|
# Farida Khalaf <faridakhalaf@hotmail.com>, 2021
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2021-07-25 13:17+0000\n"
|
||||||
|
"PO-Revision-Date: 2021-10-29 08:25+0000\n"
|
||||||
|
"Last-Translator: abidin toumi <abidin24@tutanota.com>\n"
|
||||||
|
"Language-Team: Arabic (http://www.transifex.com/Friendica/friendica/language/ar/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: ar\n"
|
||||||
|
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
||||||
|
|
||||||
|
#: buffer.php:39
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "رُفض الإذن."
|
||||||
|
|
||||||
|
#: buffer.php:68 buffer.php:216
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "احفظ الإعدادات"
|
||||||
|
|
||||||
|
#: buffer.php:70
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "معرف العميل"
|
||||||
|
|
||||||
|
#: buffer.php:71
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "الرمز السري للعميل"
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "خطأ عند تسجيل اتصال بافر:"
|
||||||
|
|
||||||
|
#: buffer.php:107
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "خولت بافر."
|
||||||
|
|
||||||
|
#: buffer.php:108
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "ارجع إلى صفحة الموصل"
|
||||||
|
|
||||||
|
#: buffer.php:126
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "شارك في بافر"
|
||||||
|
|
||||||
|
#: buffer.php:155 buffer.php:159
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "تصدير بافر"
|
||||||
|
|
||||||
|
#: buffer.php:170
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "استوثق اتصال بافر"
|
||||||
|
|
||||||
|
#: buffer.php:174
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "تفعيل إضافة مشركة بافر"
|
||||||
|
|
||||||
|
#: buffer.php:179
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "شارك في بافر افتراضيا"
|
||||||
|
|
||||||
|
#: buffer.php:184
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "تحقق لحذف هذا الإعداد المسبق"
|
||||||
|
|
||||||
|
#: buffer.php:196
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr " جميع المشاركات ستنتقل إلى الحسابات التي تم تمكينها افتراضيًا:"
|
21
buffer/lang/ar/strings.php
Normal file
21
buffer/lang/ar/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_ar")) {
|
||||||
|
function string_plural_select_ar($n){
|
||||||
|
$n = intval($n);
|
||||||
|
if ($n==0) { return 0; } else if ($n==1) { return 1; } else if ($n==2) { return 2; } else if ($n%100>=3 && $n%100<=10) { return 3; } else if ($n%100>=11 && $n%100<=99) { return 4; } else { return 5; }
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'رُفض الإذن.';
|
||||||
|
$a->strings['Save Settings'] = 'احفظ الإعدادات';
|
||||||
|
$a->strings['Client ID'] = 'معرف العميل';
|
||||||
|
$a->strings['Client Secret'] = 'الرمز السري للعميل';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'خطأ عند تسجيل اتصال بافر:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'خولت بافر.';
|
||||||
|
$a->strings['return to the connector page'] = 'ارجع إلى صفحة الموصل';
|
||||||
|
$a->strings['Post to Buffer'] = 'شارك في بافر';
|
||||||
|
$a->strings['Buffer Export'] = 'تصدير بافر';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'استوثق اتصال بافر';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'تفعيل إضافة مشركة بافر';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'شارك في بافر افتراضيا';
|
||||||
|
$a->strings['Check to delete this preset'] = 'تحقق لحذف هذا الإعداد المسبق';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = ' جميع المشاركات ستنتقل إلى الحسابات التي تم تمكينها افتراضيًا:';
|
76
buffer/lang/ca/messages.po
Normal file
76
buffer/lang/ca/messages.po
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Joan Bar <friendica@tutanota.com>, 2019
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2019-10-14 18:57+0000\n"
|
||||||
|
"Last-Translator: Joan Bar <friendica@tutanota.com>\n"
|
||||||
|
"Language-Team: Catalan (http://www.transifex.com/Friendica/friendica/language/ca/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: ca\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Permís denegat."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Desa la configuració"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "Identificador de client"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Secret del client"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Error al registrar la connexió del buffer:"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Ara esteu autenticats com a buffer."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "Torna a la pàgina del connector"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Publica a Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Exportació de buffer"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Autentiqueu la vostra connexió buffer"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Activa l’addició de missatges de buffer"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Publica a Buffer de manera predeterminada"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Comproveu suprimir aquesta configuració"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "Les publicacions aniran a tots els comptes que estan habilitats de manera predeterminada:"
|
21
buffer/lang/ca/strings.php
Normal file
21
buffer/lang/ca/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_ca")) {
|
||||||
|
function string_plural_select_ca($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n != 1);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Permís denegat.';
|
||||||
|
$a->strings['Save Settings'] = 'Desa la configuració';
|
||||||
|
$a->strings['Client ID'] = 'Identificador de client';
|
||||||
|
$a->strings['Client Secret'] = 'Secret del client';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Error al registrar la connexió del buffer:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Ara esteu autenticats com a buffer.';
|
||||||
|
$a->strings['return to the connector page'] = 'Torna a la pàgina del connector';
|
||||||
|
$a->strings['Post to Buffer'] = 'Publica a Buffer';
|
||||||
|
$a->strings['Buffer Export'] = 'Exportació de buffer';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Autentiqueu la vostra connexió buffer';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Activa l’addició de missatges de buffer';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Publica a Buffer de manera predeterminada';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Comproveu suprimir aquesta configuració';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'Les publicacions aniran a tots els comptes que estan habilitats de manera predeterminada:';
|
78
buffer/lang/cs/messages.po
Normal file
78
buffer/lang/cs/messages.po
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Aditoo, 2018
|
||||||
|
# Aditoo, 2018
|
||||||
|
# michal_s <msupler@gmail.com>, 2014
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2018-09-12 09:43+0000\n"
|
||||||
|
"Last-Translator: Aditoo\n"
|
||||||
|
"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: cs\n"
|
||||||
|
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Přístup odmítnut."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Uložit Nastavení"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "Client ID"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Client Secret"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Chyba při registraci připojení na buffer:"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Nyní jste přihlášen/a na buffer."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "zpět ke stránce konektoru"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Posílat na Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Buffer Export"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Autentikujte své připojení na Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Povolit doplněk Buffer Post"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Ve výchozím stavu posílat na Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Zaškrtnutím smažete toto nastavení"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "Příspěvky budou posílány na všechny účty, které jsou ve výchozím stavu povoleny:"
|
21
buffer/lang/cs/strings.php
Normal file
21
buffer/lang/cs/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_cs")) {
|
||||||
|
function string_plural_select_cs($n){
|
||||||
|
$n = intval($n);
|
||||||
|
if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; }
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Přístup odmítnut.';
|
||||||
|
$a->strings['Save Settings'] = 'Uložit Nastavení';
|
||||||
|
$a->strings['Client ID'] = 'Client ID';
|
||||||
|
$a->strings['Client Secret'] = 'Client Secret';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Chyba při registraci připojení na buffer:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Nyní jste přihlášen/a na buffer.';
|
||||||
|
$a->strings['return to the connector page'] = 'zpět ke stránce konektoru';
|
||||||
|
$a->strings['Post to Buffer'] = 'Posílat na Buffer';
|
||||||
|
$a->strings['Buffer Export'] = 'Buffer Export';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Autentikujte své připojení na Buffer';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Povolit doplněk Buffer Post';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Ve výchozím stavu posílat na Buffer';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Zaškrtnutím smažete toto nastavení';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'Příspěvky budou posílány na všechny účty, které jsou ve výchozím stavu povoleny:';
|
79
buffer/lang/de/messages.po
Normal file
79
buffer/lang/de/messages.po
Normal file
|
@ -0,0 +1,79 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2014
|
||||||
|
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2018
|
||||||
|
# Ulf Rompe <transifex.com@rompe.org>, 2019
|
||||||
|
# Vinzenz Vietzke <vinz@vinzv.de>, 2019
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2019-08-19 10:15+0000\n"
|
||||||
|
"Last-Translator: Vinzenz Vietzke <vinz@vinzv.de>\n"
|
||||||
|
"Language-Team: German (http://www.transifex.com/Friendica/friendica/language/de/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: de\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Zugriff verweigert."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Einstellungen speichern"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "Client ID"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Client Secret"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Fehler beim Registrieren des Buffer-Connectors."
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Du bist nun auf Buffer authentifiziert."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "zurück zur Connector-Seite"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Auf Buffer veröffentlichen"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Buffer Export"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Authentifiziere deine Verbindung zu Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Buffer-Post-Addon aktivieren"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Standardmäßig auf Buffer veröffentlichen"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Markieren, um diese Voreinstellung zu löschen"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "Beiträge werden an alle Accounts geschickt, die standardmäßig aktiviert sind."
|
21
buffer/lang/de/strings.php
Normal file
21
buffer/lang/de/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_de")) {
|
||||||
|
function string_plural_select_de($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n != 1);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Zugriff verweigert.';
|
||||||
|
$a->strings['Save Settings'] = 'Einstellungen speichern';
|
||||||
|
$a->strings['Client ID'] = 'Client ID';
|
||||||
|
$a->strings['Client Secret'] = 'Client Secret';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Fehler beim Registrieren des Buffer-Connectors.';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Du bist nun auf Buffer authentifiziert.';
|
||||||
|
$a->strings['return to the connector page'] = 'zurück zur Connector-Seite';
|
||||||
|
$a->strings['Post to Buffer'] = 'Auf Buffer veröffentlichen';
|
||||||
|
$a->strings['Buffer Export'] = 'Buffer Export';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Authentifiziere deine Verbindung zu Buffer';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Buffer-Post-Addon aktivieren';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Standardmäßig auf Buffer veröffentlichen';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Markieren, um diese Voreinstellung zu löschen';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'Beiträge werden an alle Accounts geschickt, die standardmäßig aktiviert sind.';
|
76
buffer/lang/es/messages.po
Normal file
76
buffer/lang/es/messages.po
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Albert, 2018
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2018-05-21 14:28+0000\n"
|
||||||
|
"Last-Translator: Albert\n"
|
||||||
|
"Language-Team: Spanish (http://www.transifex.com/Friendica/friendica/language/es/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: es\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Permiso denegado"
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Guardar ajustes"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "ID de cliente"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Secreto de cliente"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Error al registrar cunexión de buffer"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Ahora está autenticado al fufer"
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "Vuelva a la página de conexión"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Publique en Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Exportar Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Autenticar su conexión de Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Habilitar el complemento de publicación de Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Publicar en Buffer por defecto"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Verificar para eliminar este preajuste"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "Las publicaciones van a todas las cuentas que estén habilitadas por defecto"
|
21
buffer/lang/es/strings.php
Normal file
21
buffer/lang/es/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_es")) {
|
||||||
|
function string_plural_select_es($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n != 1);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Permiso denegado';
|
||||||
|
$a->strings['Save Settings'] = 'Guardar ajustes';
|
||||||
|
$a->strings['Client ID'] = 'ID de cliente';
|
||||||
|
$a->strings['Client Secret'] = 'Secreto de cliente';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Error al registrar cunexión de buffer';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Ahora está autenticado al fufer';
|
||||||
|
$a->strings['return to the connector page'] = 'Vuelva a la página de conexión';
|
||||||
|
$a->strings['Post to Buffer'] = 'Publique en Buffer';
|
||||||
|
$a->strings['Buffer Export'] = 'Exportar Buffer';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Autenticar su conexión de Buffer';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Habilitar el complemento de publicación de Buffer';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Publicar en Buffer por defecto';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Verificar para eliminar este preajuste';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'Las publicaciones van a todas las cuentas que estén habilitadas por defecto';
|
77
buffer/lang/fi-fi/messages.po
Normal file
77
buffer/lang/fi-fi/messages.po
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Kris, 2018
|
||||||
|
# Kris, 2018
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2018-04-18 14:49+0000\n"
|
||||||
|
"Last-Translator: Kris\n"
|
||||||
|
"Language-Team: Finnish (Finland) (http://www.transifex.com/Friendica/friendica/language/fi_FI/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: fi_FI\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Lupa kielletty."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Tallenna asetukset"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Virhe Buffer-yhteyden rekisteröimisessä:"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Buffer-yhteydesi on todennettu."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Julkaise Bufferiin"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Buffer Export"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Todenna Buffer-yhteydesi"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Ota Buffer-viestilisäosa käyttöön"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Julkaise Bufferiin oletuksena"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr ""
|
16
buffer/lang/fi-fi/strings.php
Normal file
16
buffer/lang/fi-fi/strings.php
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_fi_fi")) {
|
||||||
|
function string_plural_select_fi_fi($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n != 1);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Lupa kielletty.';
|
||||||
|
$a->strings['Save Settings'] = 'Tallenna asetukset';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Virhe Buffer-yhteyden rekisteröimisessä:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Buffer-yhteydesi on todennettu.';
|
||||||
|
$a->strings['Post to Buffer'] = 'Julkaise Bufferiin';
|
||||||
|
$a->strings['Buffer Export'] = 'Buffer Export';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Todenna Buffer-yhteydesi';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Ota Buffer-viestilisäosa käyttöön';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Julkaise Bufferiin oletuksena';
|
79
buffer/lang/fr/messages.po
Normal file
79
buffer/lang/fr/messages.po
Normal file
|
@ -0,0 +1,79 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Hypolite Petovan <hypolite@mrpetovan.com>, 2016
|
||||||
|
# Marie Olive <lacellule101@gmail.com>, 2018
|
||||||
|
# RyDroid <inactive+RyDroid@transifex.com>, 2015
|
||||||
|
# StefOfficiel <pichard.stephane@free.fr>, 2015
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2018-11-13 12:56+0000\n"
|
||||||
|
"Last-Translator: Marie Olive <lacellule101@gmail.com>\n"
|
||||||
|
"Language-Team: French (http://www.transifex.com/Friendica/friendica/language/fr/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: fr\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Permission refusée."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Enregistrer les Paramètres"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "Identifiant client"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Secret Client"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Une erreur est survenue lors de la connexion à Buffer :"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Vous êtes maintenant authentifié sur Buffer."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "revenir à la page du connecteur"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Publier sur Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Export Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Authentifier votre connexion à Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Activer l'extension de publication Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Publier sur Buffer par défaut"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Cocher pour supprimer ce préréglage"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "Les posts sont envoyés à tous les comptes activés par défault:"
|
21
buffer/lang/fr/strings.php
Normal file
21
buffer/lang/fr/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_fr")) {
|
||||||
|
function string_plural_select_fr($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n > 1);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Permission refusée.';
|
||||||
|
$a->strings['Save Settings'] = 'Enregistrer les Paramètres';
|
||||||
|
$a->strings['Client ID'] = 'Identifiant client';
|
||||||
|
$a->strings['Client Secret'] = 'Secret Client';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Une erreur est survenue lors de la connexion à Buffer :';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Vous êtes maintenant authentifié sur Buffer.';
|
||||||
|
$a->strings['return to the connector page'] = 'revenir à la page du connecteur';
|
||||||
|
$a->strings['Post to Buffer'] = 'Publier sur Buffer';
|
||||||
|
$a->strings['Buffer Export'] = 'Export Buffer';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Authentifier votre connexion à Buffer';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Activer l\'extension de publication Buffer';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Publier sur Buffer par défaut';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Cocher pour supprimer ce préréglage';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'Les posts sont envoyés à tous les comptes activés par défault:';
|
76
buffer/lang/hu/messages.po
Normal file
76
buffer/lang/hu/messages.po
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Balázs Úr, 2020
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2020-12-23 00:50+0000\n"
|
||||||
|
"Last-Translator: Balázs Úr\n"
|
||||||
|
"Language-Team: Hungarian (http://www.transifex.com/Friendica/friendica/language/hu/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: hu\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Hozzáférés megtagadva."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Beállítások mentése"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "Ügyfél-azonosító"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Ügyféltitok"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Hiba a Buffer-kapcsolat regisztrálásakor:"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Most már hitelesítve van a Bufferhez."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "Visszatérés az összekötő oldalra"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Beküldés a Bufferre"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Buffer exportálás"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "A Buffer-kapcsolatának hitelesítése"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "A Buffer-beküldő bővítmény engedélyezése"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Beküldés a Bufferre alapértelmezetten"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Jelölje be az előbeállítás törléséhez"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "A bejegyzések az összes olyan fiókba mennek, amelyek alapértelmezetten engedélyezve vannak:"
|
21
buffer/lang/hu/strings.php
Normal file
21
buffer/lang/hu/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_hu")) {
|
||||||
|
function string_plural_select_hu($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n != 1);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Hozzáférés megtagadva.';
|
||||||
|
$a->strings['Save Settings'] = 'Beállítások mentése';
|
||||||
|
$a->strings['Client ID'] = 'Ügyfél-azonosító';
|
||||||
|
$a->strings['Client Secret'] = 'Ügyféltitok';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Hiba a Buffer-kapcsolat regisztrálásakor:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Most már hitelesítve van a Bufferhez.';
|
||||||
|
$a->strings['return to the connector page'] = 'Visszatérés az összekötő oldalra';
|
||||||
|
$a->strings['Post to Buffer'] = 'Beküldés a Bufferre';
|
||||||
|
$a->strings['Buffer Export'] = 'Buffer exportálás';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'A Buffer-kapcsolatának hitelesítése';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'A Buffer-beküldő bővítmény engedélyezése';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Beküldés a Bufferre alapértelmezetten';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Jelölje be az előbeállítás törléséhez';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'A bejegyzések az összes olyan fiókba mennek, amelyek alapértelmezetten engedélyezve vannak:';
|
76
buffer/lang/is/messages.po
Normal file
76
buffer/lang/is/messages.po
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Sveinn í Felli <sv1@fellsnet.is>, 2018
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2018-05-24 15:15+0000\n"
|
||||||
|
"Last-Translator: Sveinn í Felli <sv1@fellsnet.is>\n"
|
||||||
|
"Language-Team: Icelandic (http://www.transifex.com/Friendica/friendica/language/is/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: is\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Heimild ekki veitt."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr ""
|
8
buffer/lang/is/strings.php
Normal file
8
buffer/lang/is/strings.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_is")) {
|
||||||
|
function string_plural_select_is($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n % 10 != 1 || $n % 100 == 11);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Heimild ekki veitt.';
|
77
buffer/lang/it/messages.po
Normal file
77
buffer/lang/it/messages.po
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
|
||||||
|
# Sandro Santilli <strk@kbt.io>, 2015
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2018-03-19 13:21+0000\n"
|
||||||
|
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
|
||||||
|
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: it\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Permesso negato."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Salva Impostazioni"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "Client ID"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Client Secret"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Errore registrando la connessione a buffer:"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Sei autenticato su buffer."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "ritorna alla pagina del connettore"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Invia a Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Esporta Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Autentica la tua connessione a Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Abilita il componente aggiuntivo di invio a Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Invia sempre a Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Seleziona per eliminare questo preset"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "I messaggi andranno a tutti gli account che sono abilitati:"
|
21
buffer/lang/it/strings.php
Normal file
21
buffer/lang/it/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_it")) {
|
||||||
|
function string_plural_select_it($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n != 1);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Permesso negato.';
|
||||||
|
$a->strings['Save Settings'] = 'Salva Impostazioni';
|
||||||
|
$a->strings['Client ID'] = 'Client ID';
|
||||||
|
$a->strings['Client Secret'] = 'Client Secret';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Errore registrando la connessione a buffer:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Sei autenticato su buffer.';
|
||||||
|
$a->strings['return to the connector page'] = 'ritorna alla pagina del connettore';
|
||||||
|
$a->strings['Post to Buffer'] = 'Invia a Buffer';
|
||||||
|
$a->strings['Buffer Export'] = 'Esporta Buffer';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Autentica la tua connessione a Buffer';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Abilita il componente aggiuntivo di invio a Buffer';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Invia sempre a Buffer';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Seleziona per eliminare questo preset';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'I messaggi andranno a tutti gli account che sono abilitati:';
|
77
buffer/lang/nl/messages.po
Normal file
77
buffer/lang/nl/messages.po
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# AgnesElisa <agneselisa@disroot.org>, 2018
|
||||||
|
# Jeroen De Meerleer <me@jeroened.be>, 2018
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2018-08-24 13:04+0000\n"
|
||||||
|
"Last-Translator: Jeroen De Meerleer <me@jeroened.be>\n"
|
||||||
|
"Language-Team: Dutch (http://www.transifex.com/Friendica/friendica/language/nl/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: nl\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Toegang geweigerd."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Instellingen opslaan"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "Cliënt ID"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Cliënt geheim"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Fout bij het registreren van de buffer verbinding:"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Je bent nu aangemeld bij Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "ga terug naar de verbindingspagina"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Plaats bericht op Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Buffer Exporteren"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Verbinding met Buffer goedkeuren"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Buffer Post Addon inschakelen"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Plaatsen op Buffer als standaard instellen"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Vink aan om deze vooraf ingestelde opties te verwijderen "
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "Berichten gaan naar alle accounts die als standaard zijn ingeschakeld: "
|
21
buffer/lang/nl/strings.php
Normal file
21
buffer/lang/nl/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_nl")) {
|
||||||
|
function string_plural_select_nl($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n != 1);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Toegang geweigerd.';
|
||||||
|
$a->strings['Save Settings'] = 'Instellingen opslaan';
|
||||||
|
$a->strings['Client ID'] = 'Cliënt ID';
|
||||||
|
$a->strings['Client Secret'] = 'Cliënt geheim';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Fout bij het registreren van de buffer verbinding:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Je bent nu aangemeld bij Buffer';
|
||||||
|
$a->strings['return to the connector page'] = 'ga terug naar de verbindingspagina';
|
||||||
|
$a->strings['Post to Buffer'] = 'Plaats bericht op Buffer';
|
||||||
|
$a->strings['Buffer Export'] = 'Buffer Exporteren';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Verbinding met Buffer goedkeuren';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Buffer Post Addon inschakelen';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Plaatsen op Buffer als standaard instellen';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Vink aan om deze vooraf ingestelde opties te verwijderen ';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'Berichten gaan naar alle accounts die als standaard zijn ingeschakeld: ';
|
76
buffer/lang/pl/messages.po
Normal file
76
buffer/lang/pl/messages.po
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Waldemar Stoczkowski <waldemar.stoczkowski@gmail.com>, 2018
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2018-03-31 17:10+0000\n"
|
||||||
|
"Last-Translator: Waldemar Stoczkowski <waldemar.stoczkowski@gmail.com>\n"
|
||||||
|
"Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: pl\n"
|
||||||
|
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Odmowa uprawnień."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Zapisz ustawienia"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "Identyfikator ID klienta"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr " Tajny klucz klienta"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Błąd podczas rejestrowania połączenia z buforem:"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Jesteś teraz uwierzytelniony w buforze."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "powrót do strony połączenia"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Opublikuj w buforze"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Eksportuj Bufor"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Uwierzytelnij swoje połączenie z buforem"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Włącz dodatek bufora pocztowego"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Wyślij domyślnie post do bufora"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Zaznacz, aby usunąć to ustawienie wstępne"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "Wpisy są wysyłane na wszystkie konta, które są domyślnie włączone:"
|
21
buffer/lang/pl/strings.php
Normal file
21
buffer/lang/pl/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_pl")) {
|
||||||
|
function string_plural_select_pl($n){
|
||||||
|
$n = intval($n);
|
||||||
|
if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; }
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Odmowa uprawnień.';
|
||||||
|
$a->strings['Save Settings'] = 'Zapisz ustawienia';
|
||||||
|
$a->strings['Client ID'] = 'Identyfikator ID klienta';
|
||||||
|
$a->strings['Client Secret'] = ' Tajny klucz klienta';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Błąd podczas rejestrowania połączenia z buforem:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Jesteś teraz uwierzytelniony w buforze.';
|
||||||
|
$a->strings['return to the connector page'] = 'powrót do strony połączenia';
|
||||||
|
$a->strings['Post to Buffer'] = 'Opublikuj w buforze';
|
||||||
|
$a->strings['Buffer Export'] = 'Eksportuj Bufor';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Uwierzytelnij swoje połączenie z buforem';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Włącz dodatek bufora pocztowego';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Wyślij domyślnie post do bufora';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Zaznacz, aby usunąć to ustawienie wstępne';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'Wpisy są wysyłane na wszystkie konta, które są domyślnie włączone:';
|
77
buffer/lang/pt-br/messages.po
Normal file
77
buffer/lang/pt-br/messages.po
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# André Alves <and2099@riseup.net>, 2016
|
||||||
|
# Rui Andrada <shingonoide@gmail.com>, 2015
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2016-01-03 06:19+0000\n"
|
||||||
|
"Last-Translator: André Alves <and2099@riseup.net>\n"
|
||||||
|
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/Friendica/friendica/language/pt_BR/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: pt_BR\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Permissão negada."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Salvar configurações"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Erro ao registrar conexão de buffer:"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Você está autenticado no buffer."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "Volte a página de conectores."
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Publicar no Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Exportar Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Autenticar sua conexão de Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Habilita addon para publicar no Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Publica no Buffer por padrão"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Marque para excluir este perfil"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr ""
|
18
buffer/lang/pt-br/strings.php
Normal file
18
buffer/lang/pt-br/strings.php
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_pt_br")) {
|
||||||
|
function string_plural_select_pt_br($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n > 1);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Permissão negada.';
|
||||||
|
$a->strings['Save Settings'] = 'Salvar configurações';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Erro ao registrar conexão de buffer:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Você está autenticado no buffer.';
|
||||||
|
$a->strings['return to the connector page'] = 'Volte a página de conectores.';
|
||||||
|
$a->strings['Post to Buffer'] = 'Publicar no Buffer';
|
||||||
|
$a->strings['Buffer Export'] = 'Exportar Buffer';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Autenticar sua conexão de Buffer';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Habilita addon para publicar no Buffer';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Publica no Buffer por padrão';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Marque para excluir este perfil';
|
75
buffer/lang/ro/messages.po
Normal file
75
buffer/lang/ro/messages.po
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2014-07-08 11:45+0000\n"
|
||||||
|
"Last-Translator: Arian - Cazare Muncitori <arianserv@gmail.com>\n"
|
||||||
|
"Language-Team: Romanian (Romania) (http://www.transifex.com/projects/p/friendica/language/ro_RO/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: ro_RO\n"
|
||||||
|
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Permisiune refuzată."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Salvare Configurări"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "ID Client"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Cheia Secretă Client"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Eroare la înregistrarea conexiunii Buffer:"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Acum sunteți autentificat pe Buffer."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "revenire la pagina de conectare"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Postați pe Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Export pe Buffer "
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Autentificați-vă conectarea la Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Activare Modul Postare pe Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Postați implicit pe Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Bifați pentru a șterge această presetare"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "Posturile merg către toate conturile care sunt activate implicit:"
|
21
buffer/lang/ro/strings.php
Normal file
21
buffer/lang/ro/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_ro")) {
|
||||||
|
function string_plural_select_ro($n){
|
||||||
|
$n = intval($n);
|
||||||
|
if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; }
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Permisiune refuzată.';
|
||||||
|
$a->strings['Save Settings'] = 'Salvare Configurări';
|
||||||
|
$a->strings['Client ID'] = 'ID Client';
|
||||||
|
$a->strings['Client Secret'] = 'Cheia Secretă Client';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Eroare la înregistrarea conexiunii Buffer:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Acum sunteți autentificat pe Buffer.';
|
||||||
|
$a->strings['return to the connector page'] = 'revenire la pagina de conectare';
|
||||||
|
$a->strings['Post to Buffer'] = 'Postați pe Buffer';
|
||||||
|
$a->strings['Buffer Export'] = 'Export pe Buffer ';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Autentificați-vă conectarea la Buffer';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Activare Modul Postare pe Buffer';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Postați implicit pe Buffer';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Bifați pentru a șterge această presetare';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'Posturile merg către toate conturile care sunt activate implicit:';
|
76
buffer/lang/ru/messages.po
Normal file
76
buffer/lang/ru/messages.po
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Stanislav N. <pztrn@pztrn.name>, 2017-2018
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2018-05-25 00:01+0000\n"
|
||||||
|
"Last-Translator: Stanislav N. <pztrn@pztrn.name>\n"
|
||||||
|
"Language-Team: Russian (http://www.transifex.com/Friendica/friendica/language/ru/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: ru\n"
|
||||||
|
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Доступ запрещен."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Сохранить настройки"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "Client ID"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Client Secret"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Ошибка при регистрации соединения Buffer:"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Вы аутентифицированы на Buffer."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "вернуться на страницу коннектора"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Написать в Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Экспорт в Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Аутентифицируйте свое соединение с Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Включить аддон Buffer Post"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Отправлять в Buffer по умолчанию"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Отметьте для удаления этих настроек"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "Сообщения уходят во все учетные записи по умолчанию:"
|
21
buffer/lang/ru/strings.php
Normal file
21
buffer/lang/ru/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_ru")) {
|
||||||
|
function string_plural_select_ru($n){
|
||||||
|
$n = intval($n);
|
||||||
|
if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; }
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Доступ запрещен.';
|
||||||
|
$a->strings['Save Settings'] = 'Сохранить настройки';
|
||||||
|
$a->strings['Client ID'] = 'Client ID';
|
||||||
|
$a->strings['Client Secret'] = 'Client Secret';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Ошибка при регистрации соединения Buffer:';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Вы аутентифицированы на Buffer.';
|
||||||
|
$a->strings['return to the connector page'] = 'вернуться на страницу коннектора';
|
||||||
|
$a->strings['Post to Buffer'] = 'Написать в Buffer';
|
||||||
|
$a->strings['Buffer Export'] = 'Экспорт в Buffer';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Аутентифицируйте свое соединение с Buffer';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Включить аддон Buffer Post';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Отправлять в Buffer по умолчанию';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Отметьте для удаления этих настроек';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'Сообщения уходят во все учетные записи по умолчанию:';
|
77
buffer/lang/sv/messages.po
Normal file
77
buffer/lang/sv/messages.po
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
# ADDON buffer
|
||||||
|
# Copyright (C)
|
||||||
|
# This file is distributed under the same license as the Friendica buffer addon package.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Hypolite Petovan <hypolite@mrpetovan.com>, 2019
|
||||||
|
# Bjoessi <torbjorn.andersson@syte.se>, 2019
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: friendica\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
|
||||||
|
"PO-Revision-Date: 2019-08-20 08:07+0000\n"
|
||||||
|
"Last-Translator: Bjoessi <torbjorn.andersson@syte.se>\n"
|
||||||
|
"Language-Team: Swedish (http://www.transifex.com/Friendica/friendica/language/sv/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: sv\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#: buffer.php:31
|
||||||
|
msgid "Permission denied."
|
||||||
|
msgstr "Åtkomst nekad."
|
||||||
|
|
||||||
|
#: buffer.php:57 buffer.php:185
|
||||||
|
msgid "Save Settings"
|
||||||
|
msgstr "Spara inställningar"
|
||||||
|
|
||||||
|
#: buffer.php:59
|
||||||
|
msgid "Client ID"
|
||||||
|
msgstr "Klient-ID"
|
||||||
|
|
||||||
|
#: buffer.php:60
|
||||||
|
msgid "Client Secret"
|
||||||
|
msgstr "Klient hemlig nyckel"
|
||||||
|
|
||||||
|
#: buffer.php:67
|
||||||
|
msgid "Error when registering buffer connection:"
|
||||||
|
msgstr "Fel vid anslutning till Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:86
|
||||||
|
msgid "You are now authenticated to buffer. "
|
||||||
|
msgstr "Du är nu autentiserad mot Buffer."
|
||||||
|
|
||||||
|
#: buffer.php:87
|
||||||
|
msgid "return to the connector page"
|
||||||
|
msgstr "återgå till anslutningssida"
|
||||||
|
|
||||||
|
#: buffer.php:103
|
||||||
|
msgid "Post to Buffer"
|
||||||
|
msgstr "Inlägg till Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:128 buffer.php:132
|
||||||
|
msgid "Buffer Export"
|
||||||
|
msgstr "Export till Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:142
|
||||||
|
msgid "Authenticate your Buffer connection"
|
||||||
|
msgstr "Validera din anslutning mot Buffer"
|
||||||
|
|
||||||
|
#: buffer.php:146
|
||||||
|
msgid "Enable Buffer Post Addon"
|
||||||
|
msgstr "Aktivera tillägg för Buffer-inlägg"
|
||||||
|
|
||||||
|
#: buffer.php:151
|
||||||
|
msgid "Post to Buffer by default"
|
||||||
|
msgstr "Lägg in på Buffer som standard"
|
||||||
|
|
||||||
|
#: buffer.php:156
|
||||||
|
msgid "Check to delete this preset"
|
||||||
|
msgstr "Markera för att ta bort förinställning"
|
||||||
|
|
||||||
|
#: buffer.php:165
|
||||||
|
msgid "Posts are going to all accounts that are enabled by default:"
|
||||||
|
msgstr "Inlägg skickas som standard till alla konton som är aktiverade:"
|
21
buffer/lang/sv/strings.php
Normal file
21
buffer/lang/sv/strings.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(! function_exists("string_plural_select_sv")) {
|
||||||
|
function string_plural_select_sv($n){
|
||||||
|
$n = intval($n);
|
||||||
|
return intval($n != 1);
|
||||||
|
}}
|
||||||
|
$a->strings['Permission denied.'] = 'Åtkomst nekad.';
|
||||||
|
$a->strings['Save Settings'] = 'Spara inställningar';
|
||||||
|
$a->strings['Client ID'] = 'Klient-ID';
|
||||||
|
$a->strings['Client Secret'] = 'Klient hemlig nyckel';
|
||||||
|
$a->strings['Error when registering buffer connection:'] = 'Fel vid anslutning till Buffer';
|
||||||
|
$a->strings['You are now authenticated to buffer. '] = 'Du är nu autentiserad mot Buffer.';
|
||||||
|
$a->strings['return to the connector page'] = 'återgå till anslutningssida';
|
||||||
|
$a->strings['Post to Buffer'] = 'Inlägg till Buffer';
|
||||||
|
$a->strings['Buffer Export'] = 'Export till Buffer';
|
||||||
|
$a->strings['Authenticate your Buffer connection'] = 'Validera din anslutning mot Buffer';
|
||||||
|
$a->strings['Enable Buffer Post Addon'] = 'Aktivera tillägg för Buffer-inlägg';
|
||||||
|
$a->strings['Post to Buffer by default'] = 'Lägg in på Buffer som standard';
|
||||||
|
$a->strings['Check to delete this preset'] = 'Markera för att ta bort förinställning';
|
||||||
|
$a->strings['Posts are going to all accounts that are enabled by default:'] = 'Inlägg skickas som standard till alla konton som är aktiverade:';
|
3
buffer/templates/admin.tpl
Normal file
3
buffer/templates/admin.tpl
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{{include file="field_input.tpl" field=$client_id}}
|
||||||
|
{{include file="field_input.tpl" field=$client_secret}}
|
||||||
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
Loading…
Reference in a new issue