forked from friendica/friendica-addons
Compare commits
292 commits
develop
...
mat/2023.1
Author | SHA1 | Date | |
---|---|---|---|
29fce8b7af | |||
a30d850ff1 | |||
2728f8a839 | |||
45557455e4 | |||
a99a0050e3 | |||
f0e1c25c81 | |||
972ca553e4 | |||
61d6b97ff9 | |||
ca8724618d | |||
da050ad7ed | |||
2ef545dc2f | |||
3ae851298c | |||
Michael | 5c274c49ea | ||
14ccd5819c | |||
ae312dd1d2 | |||
7d2fab95a2 | |||
f9b608ded3 | |||
202f4d7d3e | |||
a635c5b40c | |||
c142f78666 | |||
531d949f9b | |||
8caf67196e | |||
375380c481 | |||
1749ee4d00 | |||
a71e247af8 | |||
ae9435d14f | |||
598a2b7173 | |||
bee61caa69 | |||
3bb542fd34 | |||
34959e6b7a | |||
8b7850f06b | |||
d12c4672e0 | |||
02f09b4d62 | |||
48936be5d9 | |||
2294a6ae07 | |||
2b82f4a157 | |||
014dc97262 | |||
d40c00c87c | |||
79c59b8774 | |||
b3856f74d4 | |||
2185399ace | |||
43ef2c384d | |||
aae5c928bb | |||
c09c5dafab | |||
a69973c2f8 | |||
f49acac141 | |||
920649ae54 | |||
df75544041 | |||
c175129dba | |||
a8dbf18806 | |||
2abbf2ecea | |||
7276bef313 | |||
b4da069277 | |||
c9179879b3 | |||
88c572033c | |||
f776f4620b | |||
e0d2c0055b | |||
d356f455b4 | |||
f9709ff0b0 | |||
bb038a2010 | |||
a3d0b0d5e0 | |||
ca7f028c4b | |||
4e8b58f6c3 | |||
534315cb97 | |||
ed6b82e95e | |||
319d569a4c | |||
6fff252845 | |||
d0166e9083 | |||
6d0c547a44 | |||
7ed51175f3 | |||
49e1b771de | |||
5a336b4776 | |||
a080cd84ab | |||
f1b253f222 | |||
67f881e8d1 | |||
7202f2d500 | |||
525dd5a918 | |||
85ef79d017 | |||
e15089c762 | |||
7720775c52 | |||
7b07411491 | |||
58f0b71ba9 | |||
262fb8d1d7 | |||
f11d24c42f | |||
ca960d75f6 | |||
fac75634a9 | |||
3776d01be7 | |||
205e685e8e | |||
52c298d609 | |||
77ae6b3d09 | |||
ddbba2f360 | |||
d9d02946f5 | |||
006569b67f | |||
eb7ff8553e | |||
32e4bd0b25 | |||
62314370da | |||
5a4db5c9cd | |||
1a3538619b | |||
60e6cd8944 | |||
1a03a37ce8 | |||
28dbe07eae | |||
Hypolite Petovan | b87588e371 | ||
Michael | 96c70489f5 | ||
Hypolite Petovan | 77ad52d1f4 | ||
Michael | 96a354bc65 | ||
heluecht | f32c90dc9f | ||
Hypolite Petovan | 3e74af9775 | ||
Hypolite Petovan | 9daa11eb10 | ||
Hypolite Petovan | 011edb711c | ||
Michael | cabdd924d0 | ||
Michael | 8ba44cf5c6 | ||
heluecht | dad3d477d3 | ||
Tobias Diekershoff | 3a063f999d | ||
Hypolite Petovan | fa01357445 | ||
Michael | a41a676bfb | ||
Hypolite Petovan | 3b518462ab | ||
loma-one | d53ad98af2 | ||
loma-one | 372e75a91c | ||
loma-one | f45f6ba992 | ||
loma-one | 26983977c4 | ||
loma-one | 90d897f4fa | ||
loma-one | 668ea972cc | ||
loma-one | dc2d00b6c6 | ||
loma-one | 0f65c23490 | ||
loma-one | c98caaf417 | ||
loma-one | f46980c736 | ||
loma-one | ebf5ff1276 | ||
loma-one | 9d932e6fa0 | ||
loma-one | 46fdcc1c0e | ||
loma-one | eadbcc069f | ||
loma-one | 2c2a813324 | ||
loma-one | 9315b185e8 | ||
loma-one | d685663ac0 | ||
loma-one | 727eca1ce7 | ||
Hypolite Petovan | 3b5e8901dc | ||
Michael | 50d8d44489 | ||
Hypolite Petovan | b6d575c37f | ||
Michael | 397282cbb3 | ||
Hypolite Petovan | 2c6add7aa1 | ||
Michael | 22bf23b833 | ||
Hypolite Petovan | ed8c5945da | ||
Michael | 14fd900628 | ||
Michael | 48cde643f6 | ||
Michael | e62f6a9586 | ||
Hypolite Petovan | c2dfda5d72 | ||
Michael | 9595760800 | ||
Hypolite Petovan | 1c91ee200e | ||
Michael | 00e30b5c2b | ||
heluecht | 5f5c53ab49 | ||
6a46d05bca | |||
Hypolite Petovan | 8d3d0f267b | ||
Michael | 66fdd31915 | ||
Hypolite Petovan | 607cc9238c | ||
Michael | 2a782b512e | ||
Hypolite Petovan | a75c9ba373 | ||
Michael | 77765ff6ed | ||
heluecht | 9c53c0c8d1 | ||
Hypolite Petovan | 43c46ae6d9 | ||
Hypolite Petovan | c7e06bfa53 | ||
Michael | 6948a15f1c | ||
Hypolite Petovan | 74c56c32b0 | ||
Philipp Holzer | 9bdaa8092e | ||
Hypolite Petovan | b11538d195 | ||
Michael | 73c6a0ff0c | ||
Hypolite Petovan | fbafa80815 | ||
Michael | 92251f4a6c | ||
Michael | 18266ea6ef | ||
Michael | 80ce855189 | ||
Michael | 0eda161e04 | ||
Michael | 981e6821d0 | ||
Philipp Holzer | a5ed02ed23 | ||
Philipp Holzer | 7a8f8fcbd2 | ||
Philipp Holzer | 30b9f73f5e | ||
Hypolite Petovan | be8d8b9c10 | ||
Michael | 16d99dbdfc | ||
Hypolite Petovan | 410613d7a0 | ||
Michael | af31a988aa | ||
heluecht | 187ba8383d | ||
Hypolite Petovan | c89abdb74c | ||
Hypolite Petovan | b76f143e60 | ||
loma-one | 94a4c93368 | ||
loma-one | dfbf8d4acf | ||
loma-one | 983d334ef5 | ||
loma-one | 2fa030aa65 | ||
loma-one | 7ef59da623 | ||
loma-one | 476fdd1bb7 | ||
loma-one | 9786b605b6 | ||
loma-one | a26c2c9758 | ||
loma-one | 8ef6fafdaa | ||
loma-one | c93e6840fa | ||
loma-one | 65d8e467fe | ||
loma-one | 38460a4cff | ||
loma-one | db218ac4f6 | ||
loma-one | e391a65695 | ||
loma-one | a3dc032a51 | ||
loma-one | 9035144e5b | ||
loma-one | 4e17f3c9db | ||
loma-one | 630f4ab991 | ||
loma-one | effa19c467 | ||
Hypolite Petovan | 6d200dd419 | ||
Michael | 340f3f41d7 | ||
Hypolite Petovan | 886638f8a5 | ||
Michael | 339c88353b | ||
Michael | a3e24a55ec | ||
Michael | 3d6748eaf7 | ||
Hypolite Petovan | fb9e6e5df6 | ||
Michael | 8b66b3a194 | ||
Hypolite Petovan | f39b25b437 | ||
Michael | 15ea39d830 | ||
Michael | 21006aec74 | ||
Michael | 603c8defb1 | ||
Michael | e004e20352 | ||
Michael | c0eac366fe | ||
Michael | 34f0fa7dc8 | ||
Michael | a97b3f690c | ||
Hypolite Petovan | 5d13889f2c | ||
Philipp Holzer | dc55b89e02 | ||
Philipp Holzer | d76b6b50c3 | ||
Philipp Holzer | 546841e3a2 | ||
Philipp Holzer | bd405ec98a | ||
Hypolite Petovan | 923437e8b6 | ||
Philipp Holzer | d9c5419351 | ||
Philipp Holzer | e315abc788 | ||
Philipp Holzer | 745f9c1e5f | ||
Tobias Diekershoff | f328dc2b83 | ||
Michael | 3377ef3ba3 | ||
Hypolite Petovan | 5d666fbd1e | ||
Michael | f4110880a1 | ||
Hypolite Petovan | a52fa4dfb0 | ||
Michael | cf435277a7 | ||
Hypolite Petovan | 61a5973937 | ||
Michael | d80d376762 | ||
Hypolite Petovan | 463f5eb7e0 | ||
csolisr | e91fa307d0 | ||
Hypolite Petovan | aa0d829de6 | ||
Michael | 7795a53cb3 | ||
Michael | c85b559f69 | ||
Michael | 9f0857af1d | ||
Hypolite Petovan | ba1af2b73e | ||
Michael | e67097e0e8 | ||
Hypolite Petovan | 2183bace8a | ||
Tobias Diekershoff | c740573b99 | ||
Tobias Diekershoff | db4546c190 | ||
Michael | 2a4bfae9b3 | ||
Hypolite Petovan | aa9f0c2281 | ||
Michael | 5d614bc6d3 | ||
heluecht | 9557b5e000 | ||
Hypolite Petovan | 49d308c44b | ||
Hypolite Petovan | aa0f74832a | ||
Tobias Diekershoff | 941b8c5a14 | ||
Hypolite Petovan | 9bfb5e879d | ||
Hypolite Petovan | 54f4a054c7 | ||
9832fa6c45 | |||
Hypolite Petovan | 2ce14fb2ff | ||
Andy H | 82c2f8e37f | ||
Hypolite Petovan | 5c45c05cdb | ||
Michael | c45c163471 | ||
Hypolite Petovan | cd7cec1de2 | ||
Michael | d8fe3bd119 | ||
Michael | e19fafa918 | ||
Tobias Diekershoff | 421964b406 | ||
Michael | 6ade40efae | ||
Michael | 435a993502 | ||
Michael | 16a5a895bb | ||
Hypolite Petovan | f2cc0312ca | ||
heluecht | e3ca7c73ce | ||
Michael | 654a9da297 | ||
Michael | 1fe81df15d | ||
Tobias Diekershoff | 7a1af5fb5b | ||
Hypolite Petovan | a4b91826ba | ||
Michael | a7ea815642 | ||
Michael | ea6e79448d | ||
Michael | 77813a2acd | ||
Michael | dff48c3295 | ||
heluecht | e91962b0b6 | ||
Hypolite Petovan | e0778d2bdd | ||
631bfd83e9 | |||
Hypolite Petovan | 4b31588484 | ||
8886c90d1e | |||
Hypolite Petovan | f5d8604e59 | ||
Hypolite Petovan | a0574ab045 | ||
Hypolite Petovan | e1de842ffb | ||
Tobias Diekershoff | ca134e9ed3 | ||
Tobias Diekershoff | 1a2554fe95 | ||
Tobias Diekershoff | 13da605435 | ||
Hypolite Petovan | df2e9863ed | ||
Entropy Engineer | 199205a07c | ||
Hypolite Petovan | 94eb2ec197 | ||
Michael | 58fce248c1 | ||
Michael | dcd097b5b0 | ||
Hypolite Petovan | 040c735243 | ||
4eedc9423a |
113
.woodpecker/.phpunit.yml
Normal file
113
.woodpecker/.phpunit.yml
Normal file
|
@ -0,0 +1,113 @@
|
|||
matrix:
|
||||
include:
|
||||
- PHP_MAJOR_VERSION: 7.4
|
||||
PHP_VERSION: 7.4.33
|
||||
- PHP_MAJOR_VERSION: 8.0
|
||||
PHP_VERSION: 8.0.30
|
||||
- PHP_MAJOR_VERSION: 8.1
|
||||
PHP_VERSION: 8.1.23
|
||||
- PHP_MAJOR_VERSION: 8.2
|
||||
PHP_VERSION: 8.2.11
|
||||
|
||||
# This forces PHP Unit executions at the "opensocial" labeled location (because of much more power...)
|
||||
labels:
|
||||
location: opensocial
|
||||
|
||||
skip_clone: true
|
||||
|
||||
pipeline:
|
||||
clone_friendica_base:
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone https://github.com/friendica/friendica.git .
|
||||
- git checkout $CI_COMMIT_BRANCH
|
||||
clone_friendica_addon:
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git config --global user.email "no-reply@friendi.ca"
|
||||
- git config --global user.name "Friendica"
|
||||
- git clone $CI_REPO_LINK addon
|
||||
- cd addon/
|
||||
- git checkout $CI_COMMIT_BRANCH
|
||||
- git fetch origin $CI_COMMIT_REF
|
||||
- git merge $CI_COMMIT_SHA
|
||||
restore_cache:
|
||||
image: meltwater/drone-cache:dev
|
||||
settings:
|
||||
backend: "filesystem"
|
||||
restore: true
|
||||
cache_key: "{{ .Repo.Name }}_php${PHP_MAJOR_VERSION}_{{ arch }}_{{ os }}"
|
||||
archive_format: "gzip"
|
||||
mount:
|
||||
- '.composer'
|
||||
volumes:
|
||||
- /tmp/drone-cache:/tmp/cache
|
||||
composer_install:
|
||||
image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
|
||||
commands:
|
||||
- export COMPOSER_HOME=.composer
|
||||
- ./bin/composer.phar validate
|
||||
- ./bin/composer.phar install --prefer-dist
|
||||
volumes:
|
||||
- /etc/hosts:/etc/hosts
|
||||
rebuild_cache:
|
||||
image: meltwater/drone-cache:dev
|
||||
settings:
|
||||
backend: "filesystem"
|
||||
rebuild: true
|
||||
cache_key: "{{ .Repo.Name }}_php${PHP_MAJOR_VERSION}_{{ arch }}_{{ os }}"
|
||||
archive_format: "gzip"
|
||||
mount:
|
||||
- '.composer'
|
||||
volumes:
|
||||
- /tmp/drone-cache:/tmp/cache
|
||||
test:
|
||||
image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
|
||||
environment:
|
||||
MYSQL_HOST: "mariadb"
|
||||
MYSQL_PORT: "3306"
|
||||
MYSQL_DATABASE: "test"
|
||||
MYSQL_PASSWORD: "test"
|
||||
MYSQL_USER: "test"
|
||||
REDIS_HOST: "redis"
|
||||
MEMCACHED_HOST: "memcached"
|
||||
MEMCACHE_HOST: "memcached"
|
||||
commands:
|
||||
- cp config/local-sample.config.php config/local.config.php
|
||||
- if ! bin/wait-for-connection $MYSQL_HOST $MYSQL_PORT 300; then echo "[ERROR] Waited 300 seconds, no response" >&2; exit 1; fi
|
||||
- mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
|
||||
- if [ "${PHP_MAJOR_VERSION}" = "7.4" -a "${CI_REPO}" = "friendica/friendica-addons" ]; then
|
||||
phpenmod xdebug;
|
||||
export XDEBUG_MODE=coverage;
|
||||
phpunit --configuration tests/phpunit-addons.xml --coverage-clover clover.xml;
|
||||
else
|
||||
phpunit --configuration tests/phpunit-addons.xml;
|
||||
fi
|
||||
codecov:
|
||||
image: friendicaci/codecov
|
||||
when:
|
||||
matrix:
|
||||
PHP_MAJOR_VERSION: 7.4
|
||||
PHP_VERSION: 7.4.33
|
||||
repo:
|
||||
- friendica/friendica-addons
|
||||
commands:
|
||||
- codecov -R '.' -Z -f 'clover.xml'
|
||||
secrets:
|
||||
- source: codecov-token
|
||||
target: codecov_token
|
||||
|
||||
services:
|
||||
mariadb:
|
||||
image: mariadb:latest
|
||||
environment:
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
|
||||
MYSQL_DATABASE: "test"
|
||||
MYSQL_PASSWORD: "test"
|
||||
MYSQL_USER: "test"
|
||||
|
||||
memcached:
|
||||
image: memcached
|
||||
|
||||
redis:
|
||||
image: redis
|
|
@ -455,7 +455,7 @@ function advancedcontentfilter_prepare_item_row(array $item_row): array
|
|||
$item_row['tags'] = $tags['tags'];
|
||||
$item_row['hashtags'] = $tags['hashtags'];
|
||||
$item_row['mentions'] = $tags['mentions'];
|
||||
$item_row['attachments'] = Post\Media::splitAttachments($item_row['uri-id']);
|
||||
$item_row['attachments'] = DI::postMediaRepository()->splitAttachments($item_row['uri-id']);
|
||||
|
||||
return $item_row;
|
||||
}
|
||||
|
|
6
audon/README.md
Normal file
6
audon/README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
Audon Addon
|
||||
=============
|
||||
|
||||
This is a quick and dirty addon to add a [Audon][1] website as an app. This Addon based on webrtc. Audon is a service of realtime audio chat
|
||||
|
||||
[1]: https://codeberg.org/nmkj/audon
|
69
audon/audon.php
Normal file
69
audon/audon.php
Normal file
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
/*
|
||||
* Name: Audon Application
|
||||
* Description: add a Audon instance. Based on webRTC Addon
|
||||
* Version: 0.1
|
||||
* Author: Stephen Mahood <https://friends.mayfirst.org/profile/marxistvegan>
|
||||
* Author: Tobias Diekershoff <https://f.diekershoff.de/profile/tobias>
|
||||
* Author: Matthias Ebers <https://loma.ml/profile/feb>
|
||||
*/
|
||||
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\DI;
|
||||
|
||||
function audon_install()
|
||||
{
|
||||
Hook::register('app_menu', __FILE__, 'audon_app_menu');
|
||||
}
|
||||
|
||||
function audon_app_menu(array &$b)
|
||||
{
|
||||
$b['app_menu'][] = '<div class="app-title"><a href="audon">' . DI::l10n()->t('Audon Audiochat') . '</a></div>';
|
||||
}
|
||||
|
||||
function audon_addon_admin(string &$o)
|
||||
{
|
||||
$t = Renderer::getMarkupTemplate('admin.tpl', 'addon/audon/');
|
||||
$o = Renderer::replaceMacros($t, [
|
||||
'$submit' => DI::l10n()->t('Save Settings'),
|
||||
'$audonurl' => [
|
||||
'audonurl',
|
||||
DI::l10n()->t('Audon Base URL'),
|
||||
DI::config()->get('audon','audonurl'),
|
||||
DI::l10n()->t('Page your users will create an Audon audio chat room on. For example you could use https://audon.space.'),
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
function audon_addon_admin_post()
|
||||
{
|
||||
DI::config()->set('audon', 'audonurl', trim($_POST['audonurl'] ?? ''));
|
||||
}
|
||||
|
||||
/**
|
||||
* This is a statement rather than an actual function definition. The simple
|
||||
* existence of this method is checked to figure out if the addon offers a
|
||||
* module.
|
||||
*/
|
||||
function audon_module() {}
|
||||
|
||||
function audon_content(): string
|
||||
{
|
||||
$o = '';
|
||||
|
||||
/* landingpage to create chatrooms */
|
||||
$audonurl = DI::config()->get('audon', 'audonurl');
|
||||
|
||||
|
||||
/* embedd the landing page in an iframe */
|
||||
$o .= '<h2>' . DI::l10n()->t('Audio Chat') . '</h2>';
|
||||
$o .= '<p>' . DI::l10n()->t('Audon is an audio conferencing tool. Connect your account to Audon and create a room. Share the generated link to talk to other participants.') . '</p>';
|
||||
if ($audonurl == '') {
|
||||
$o .= '<p>' . DI::l10n()->t('Please contact your Friendica administrator to remind them to configure the Audon addon.') . '</p>';
|
||||
} else {
|
||||
$o .= '<iframe src="' . $audonurl . '" width="740px" height="600px"></iframe>';
|
||||
}
|
||||
|
||||
return $o;
|
||||
}
|
52
audon/lang/C/messages.po
Normal file
52
audon/lang/C/messages.po
Normal file
|
@ -0,0 +1,52 @@
|
|||
# ADDON audon
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica audon addon package.
|
||||
#
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-08-18 18:23+0200\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"
|
||||
|
||||
#: audon.php:22
|
||||
msgid "Audon Audiochat"
|
||||
msgstr ""
|
||||
|
||||
#: audon.php:29
|
||||
msgid "Save Settings"
|
||||
msgstr ""
|
||||
|
||||
#: audon.php:32
|
||||
msgid "Audon Base URL"
|
||||
msgstr ""
|
||||
|
||||
#: audon.php:34
|
||||
msgid ""
|
||||
"Page your users will create an Audon audio chat room on. For example you "
|
||||
"could use https://audon.space."
|
||||
msgstr ""
|
||||
|
||||
#: audon.php:60
|
||||
msgid "Audio Chat"
|
||||
msgstr ""
|
||||
|
||||
#: audon.php:61
|
||||
msgid ""
|
||||
"Audon is an audio conferencing tool. Connect your account to Audon and "
|
||||
"create a room. Share the generated link to talk to other participants."
|
||||
msgstr ""
|
||||
|
||||
#: audon.php:63
|
||||
msgid ""
|
||||
"Please contact your Friendica administrator to remind them to configure the "
|
||||
"Audon addon."
|
||||
msgstr ""
|
2
audon/templates/admin.tpl
Normal file
2
audon/templates/admin.tpl
Normal file
|
@ -0,0 +1,2 @@
|
|||
{{include file="field_input.tpl" field=$audonurl}}
|
||||
<button type="submit">{{$submit}}</button>
|
|
@ -1,230 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Name: blockem
|
||||
* Description: Allows users to hide content by collapsing posts and replies.
|
||||
* Version: 1.0
|
||||
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
|
||||
* Author: Roland Haeder <https://f.haeder.net/roland>
|
||||
* Status: unsupported
|
||||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\DI;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
global $blockem_words;
|
||||
|
||||
function blockem_install()
|
||||
{
|
||||
Hook::register('prepare_body_content_filter', 'addon/blockem/blockem.php', 'blockem_prepare_body_content_filter');
|
||||
Hook::register('display_item' , 'addon/blockem/blockem.php', 'blockem_display_item');
|
||||
Hook::register('addon_settings' , 'addon/blockem/blockem.php', 'blockem_addon_settings');
|
||||
Hook::register('addon_settings_post' , 'addon/blockem/blockem.php', 'blockem_addon_settings_post');
|
||||
Hook::register('conversation_start' , 'addon/blockem/blockem.php', 'blockem_conversation_start');
|
||||
Hook::register('item_photo_menu' , 'addon/blockem/blockem.php', 'blockem_item_photo_menu');
|
||||
Hook::register('enotify_store' , 'addon/blockem/blockem.php', 'blockem_enotify_store');
|
||||
}
|
||||
|
||||
function blockem_addon_settings(array &$data)
|
||||
{
|
||||
if (!DI::userSession()->getLocalUserId()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$words = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'blockem', 'words', '');
|
||||
|
||||
$t = Renderer::getMarkupTemplate('settings.tpl', 'addon/blockem/');
|
||||
$html = Renderer::replaceMacros($t, [
|
||||
'$info' => DI::l10n()->t("Hides user's content by collapsing posts. Also replaces their avatar with generic image."),
|
||||
'$words' => ['blockem-words', DI::l10n()->t('Comma separated profile URLS:'), $words],
|
||||
]);
|
||||
|
||||
$data = [
|
||||
'addon' => 'blockem',
|
||||
'title' => DI::l10n()->t('Blockem'),
|
||||
'html' => $html,
|
||||
];
|
||||
}
|
||||
|
||||
function blockem_addon_settings_post(array &$b)
|
||||
{
|
||||
if (!DI::userSession()->getLocalUserId()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!empty($_POST['blockem-submit'])) {
|
||||
DI::pConfig()->set(DI::userSession()->getLocalUserId(), 'blockem', 'words', trim($_POST['blockem-words']));
|
||||
}
|
||||
}
|
||||
|
||||
function blockem_enotify_store(array &$b)
|
||||
{
|
||||
$words = DI::pConfig()->get($b['uid'], 'blockem', 'words');
|
||||
|
||||
if ($words) {
|
||||
$arr = explode(',', $words);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
$found = false;
|
||||
|
||||
if (count($arr)) {
|
||||
foreach ($arr as $word) {
|
||||
if (!strlen(trim($word))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (Strings::compareLink($b['url'], $word)) {
|
||||
$found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($found) {
|
||||
// empty out the fields
|
||||
$b = [];
|
||||
}
|
||||
}
|
||||
|
||||
function blockem_prepare_body_content_filter(array &$hook_data)
|
||||
{
|
||||
if (!DI::userSession()->getLocalUserId()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$profiles_string = null;
|
||||
|
||||
if (DI::userSession()->getLocalUserId()) {
|
||||
$profiles_string = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'blockem', 'words');
|
||||
}
|
||||
|
||||
if ($profiles_string) {
|
||||
$profiles_array = explode(',', $profiles_string);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
$found = false;
|
||||
|
||||
foreach ($profiles_array as $word) {
|
||||
if (Strings::compareLink($hook_data['item']['author-link'], trim($word))) {
|
||||
$found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ($found) {
|
||||
$hook_data['filter_reasons'][] = DI::l10n()->t('Filtered user: %s', $hook_data['item']['author-name']);
|
||||
}
|
||||
}
|
||||
|
||||
function blockem_display_item(array &$b = null)
|
||||
{
|
||||
if (!empty($b['output']['body']) && strstr($b['output']['body'], 'id="blockem-wrap-')) {
|
||||
$b['output']['thumb'] = DI::baseUrl() . "/images/person-80.jpg";
|
||||
}
|
||||
}
|
||||
|
||||
function blockem_conversation_start(array &$b)
|
||||
{
|
||||
global $blockem_words;
|
||||
|
||||
if (!DI::userSession()->getLocalUserId()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$words = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'blockem', 'words');
|
||||
|
||||
if ($words) {
|
||||
$blockem_words = explode(',', $words);
|
||||
}
|
||||
|
||||
DI::page()['htmlhead'] .= <<< EOT
|
||||
|
||||
<script>
|
||||
function blockemBlock(author) {
|
||||
$.get('blockem?block=' +author, function(data) {
|
||||
location.reload(true);
|
||||
});
|
||||
}
|
||||
function blockemUnblock(author) {
|
||||
$.get('blockem?unblock=' +author, function(data) {
|
||||
location.reload(true);
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
EOT;
|
||||
}
|
||||
|
||||
function blockem_item_photo_menu(array &$b)
|
||||
{
|
||||
global $blockem_words;
|
||||
|
||||
if (!DI::userSession()->getLocalUserId() || $b['item']['self']) {
|
||||
return;
|
||||
}
|
||||
|
||||
$blocked = false;
|
||||
$author = $b['item']['author-link'];
|
||||
|
||||
if (!empty($blockem_words)) {
|
||||
foreach($blockem_words as $bloke) {
|
||||
if (Strings::compareLink($bloke,$author)) {
|
||||
$blocked = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($blocked) {
|
||||
$b['menu'][DI::l10n()->t('Unblock Author')] = 'javascript:blockemUnblock(\'' . $author . '\');';
|
||||
} else {
|
||||
$b['menu'][DI::l10n()->t('Block Author')] = 'javascript:blockemBlock(\'' . $author . '\');';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This is a statement rather than an actual function definition. The simple
|
||||
* existence of this method is checked to figure out if the addon offers a
|
||||
* module.
|
||||
*/
|
||||
function blockem_module() {}
|
||||
|
||||
function blockem_init()
|
||||
{
|
||||
if (!DI::userSession()->getLocalUserId()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$words = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'blockem', 'words');
|
||||
|
||||
if (array_key_exists('block', $_GET) && $_GET['block']) {
|
||||
if (strlen($words)) {
|
||||
$words .= ',';
|
||||
}
|
||||
|
||||
$words .= trim($_GET['block']);
|
||||
}
|
||||
|
||||
if (array_key_exists('unblock', $_GET) && $_GET['unblock']) {
|
||||
$arr = explode(',',$words);
|
||||
$newarr = [];
|
||||
|
||||
if (count($arr)) {
|
||||
foreach ($arr as $x) {
|
||||
if (!Strings::compareLink(trim($x), trim($_GET['unblock']))) {
|
||||
$newarr[] = $x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$words = implode(',', $newarr);
|
||||
}
|
||||
|
||||
DI::pConfig()->set(DI::userSession()->getLocalUserId(), 'blockem', 'words', $words);
|
||||
exit();
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:13-0500\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"
|
||||
|
||||
#: blockem.php:39
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr ""
|
||||
|
||||
#: blockem.php:40
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr ""
|
||||
|
||||
#: blockem.php:45
|
||||
msgid "Blockem"
|
||||
msgstr ""
|
||||
|
||||
#: blockem.php:120
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr ""
|
||||
|
||||
#: blockem.php:183
|
||||
msgid "Unblock Author"
|
||||
msgstr ""
|
||||
|
||||
#: blockem.php:185
|
||||
msgid "Block Author"
|
||||
msgstr ""
|
|
@ -1,52 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem 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-02-01 18:15+0100\n"
|
||||
"PO-Revision-Date: 2021-10-29 08:15+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"
|
||||
|
||||
#: blockem.php:42 blockem.php:46
|
||||
msgid "Blockem"
|
||||
msgstr "احجبه<br>"
|
||||
|
||||
#: blockem.php:50
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "إخفاء محتوى المستخدم عن طريق تصغير المشاركات. و استبدال الصورة الرمزية الخاصة بهم بصورة عامة."
|
||||
|
||||
#: blockem.php:51
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "عناوين الملفات الشخصية مفصولة بفواصل:"
|
||||
|
||||
#: blockem.php:55
|
||||
msgid "Save Settings"
|
||||
msgstr "احفظ الإعدادات"
|
||||
|
||||
#: blockem.php:131
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "ترشيح المستخدم :1%s"
|
||||
|
||||
#: blockem.php:190
|
||||
msgid "Unblock Author"
|
||||
msgstr "ألغ الحجب عن المدون"
|
||||
|
||||
#: blockem.php:192
|
||||
msgid "Block Author"
|
||||
msgstr "احجب المدون"
|
|
@ -1,14 +0,0 @@
|
|||
<?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['Blockem'] = 'احجبه<br>';
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'إخفاء محتوى المستخدم عن طريق تصغير المشاركات. و استبدال الصورة الرمزية الخاصة بهم بصورة عامة.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'عناوين الملفات الشخصية مفصولة بفواصل:';
|
||||
$a->strings['Save Settings'] = 'احفظ الإعدادات';
|
||||
$a->strings['Filtered user: %s'] = 'ترشيح المستخدم :1%s';
|
||||
$a->strings['Unblock Author'] = 'ألغ الحجب عن المدون';
|
||||
$a->strings['Block Author'] = 'احجب المدون';
|
|
@ -1,59 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Joan Bar <friendica@tutanota.com>, 2019
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-08-17 10:23+0200\n"
|
||||
"PO-Revision-Date: 2019-10-14 11:50+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"
|
||||
|
||||
#: blockem.php:54 blockem.php:58
|
||||
msgid "Blockem"
|
||||
msgstr "Blockem"
|
||||
|
||||
#: blockem.php:62
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Amaga el contingut de l'usuari mitjançant la publicació col·lapsada. També substitueix el seu avatar per una imatge genèrica"
|
||||
|
||||
#: blockem.php:63
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "URL de perfil separats per comes:"
|
||||
|
||||
#: blockem.php:67
|
||||
msgid "Save Settings"
|
||||
msgstr "Desa la configuració"
|
||||
|
||||
#: blockem.php:81
|
||||
msgid "BLOCKEM Settings saved."
|
||||
msgstr "S'ha desat la configuració de BLOCKEM."
|
||||
|
||||
#: blockem.php:143
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Usuari filtrat:%s"
|
||||
|
||||
#: blockem.php:202
|
||||
msgid "Unblock Author"
|
||||
msgstr "Desbloca l'autor"
|
||||
|
||||
#: blockem.php:204
|
||||
msgid "Block Author"
|
||||
msgstr "Autor de bloc"
|
||||
|
||||
#: blockem.php:244
|
||||
msgid "blockem settings updated"
|
||||
msgstr "S'ha actualitzat la configuració de blockem"
|
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_ca")) {
|
||||
function string_plural_select_ca($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Blockem'] = 'Blockem';
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Amaga el contingut de l\'usuari mitjançant la publicació col·lapsada. També substitueix el seu avatar per una imatge genèrica';
|
||||
$a->strings['Comma separated profile URLS:'] = 'URL de perfil separats per comes:';
|
||||
$a->strings['Save Settings'] = 'Desa la configuració';
|
||||
$a->strings['BLOCKEM Settings saved.'] = 'S\'ha desat la configuració de BLOCKEM.';
|
||||
$a->strings['Filtered user: %s'] = 'Usuari filtrat:%s';
|
||||
$a->strings['Unblock Author'] = 'Desbloca l\'autor';
|
||||
$a->strings['Block Author'] = 'Autor de bloc';
|
||||
$a->strings['blockem settings updated'] = 'S\'ha actualitzat la configuració de blockem';
|
|
@ -1,60 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Aditoo, 2018
|
||||
# michal_s <msupler@gmail.com>, 2014
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-08-17 10:23+0200\n"
|
||||
"PO-Revision-Date: 2018-08-18 12:25+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"
|
||||
|
||||
#: blockem.php:54 blockem.php:58
|
||||
msgid "Blockem"
|
||||
msgstr "Blockem"
|
||||
|
||||
#: blockem.php:62
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Skrývá uživatelský obsah zabalením příspěvků. Navíc nahrazuje avatar generickým obrázkem."
|
||||
|
||||
#: blockem.php:63
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "URL adresy profilů, oddělené čárkami:"
|
||||
|
||||
#: blockem.php:67
|
||||
msgid "Save Settings"
|
||||
msgstr "Uložit nastavení"
|
||||
|
||||
#: blockem.php:81
|
||||
msgid "BLOCKEM Settings saved."
|
||||
msgstr "Nastavení BLOCKEM uložena."
|
||||
|
||||
#: blockem.php:143
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Filtrovaný uživatel: %s"
|
||||
|
||||
#: blockem.php:202
|
||||
msgid "Unblock Author"
|
||||
msgstr "Odblokovat autora"
|
||||
|
||||
#: blockem.php:204
|
||||
msgid "Block Author"
|
||||
msgstr "Zablokovat autora"
|
||||
|
||||
#: blockem.php:244
|
||||
msgid "blockem settings updated"
|
||||
msgstr "nastavení blockem aktualizována"
|
|
@ -1,16 +0,0 @@
|
|||
<?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['Blockem'] = 'Blockem';
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Skrývá uživatelský obsah zabalením příspěvků. Navíc nahrazuje avatar generickým obrázkem.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'URL adresy profilů, oddělené čárkami:';
|
||||
$a->strings['Save Settings'] = 'Uložit nastavení';
|
||||
$a->strings['BLOCKEM Settings saved.'] = 'Nastavení BLOCKEM uložena.';
|
||||
$a->strings['Filtered user: %s'] = 'Filtrovaný uživatel: %s';
|
||||
$a->strings['Unblock Author'] = 'Odblokovat autora';
|
||||
$a->strings['Block Author'] = 'Zablokovat autora';
|
||||
$a->strings['blockem settings updated'] = 'nastavení blockem aktualizována';
|
|
@ -1,47 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Anton <dev@atjn.dk>, 2022
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:13-0500\n"
|
||||
"PO-Revision-Date: 2014-06-22 11:20+0000\n"
|
||||
"Last-Translator: Anton <dev@atjn.dk>, 2022\n"
|
||||
"Language-Team: Danish (Denmark) (http://www.transifex.com/Friendica/friendica/language/da_DK/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: da_DK\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: blockem.php:39
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Skjul brugers indhold ved at kollapse deres opslag. Erstatter også deres avatar med et generisk billede."
|
||||
|
||||
#: blockem.php:40
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "Kommasepareret liste over profil-URL's:"
|
||||
|
||||
#: blockem.php:45
|
||||
msgid "Blockem"
|
||||
msgstr "Blokdem"
|
||||
|
||||
#: blockem.php:120
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Filtreret bruger: %s"
|
||||
|
||||
#: blockem.php:183
|
||||
msgid "Unblock Author"
|
||||
msgstr "Fjern blokering af forfatter"
|
||||
|
||||
#: blockem.php:185
|
||||
msgid "Block Author"
|
||||
msgstr "Blokér forfatter"
|
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_da_dk")) {
|
||||
function string_plural_select_da_dk($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Skjul brugers indhold ved at kollapse deres opslag. Erstatter også deres avatar med et generisk billede.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'Kommasepareret liste over profil-URL\'s:';
|
||||
$a->strings['Blockem'] = 'Blokdem';
|
||||
$a->strings['Filtered user: %s'] = 'Filtreret bruger: %s';
|
||||
$a->strings['Unblock Author'] = 'Fjern blokering af forfatter';
|
||||
$a->strings['Block Author'] = 'Blokér forfatter';
|
|
@ -1,50 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Andreas H., 2018
|
||||
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2014
|
||||
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2018
|
||||
# Ulf Rompe <transifex.com@rompe.org>, 2019
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:13-0500\n"
|
||||
"PO-Revision-Date: 2021-12-22 15:27+0000\n"
|
||||
"Last-Translator: Transifex Bot <>\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"
|
||||
|
||||
#: blockem.php:39
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Verbirgt Inhalte von Benutzern durch Zusammenklappen der Beiträge. Des Weiteren wird das Profilbild durch einen generischen Avatar ersetzt."
|
||||
|
||||
#: blockem.php:40
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "Komma-separierte Liste von Profil-URLs"
|
||||
|
||||
#: blockem.php:45
|
||||
msgid "Blockem"
|
||||
msgstr "Blockem"
|
||||
|
||||
#: blockem.php:120
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Gefilterte Person: %s"
|
||||
|
||||
#: blockem.php:183
|
||||
msgid "Unblock Author"
|
||||
msgstr "Autor freischalten"
|
||||
|
||||
#: blockem.php:185
|
||||
msgid "Block Author"
|
||||
msgstr "Autor blockieren"
|
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_de")) {
|
||||
function string_plural_select_de($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Verbirgt Inhalte von Benutzern durch Zusammenklappen der Beiträge. Des Weiteren wird das Profilbild durch einen generischen Avatar ersetzt.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'Komma-separierte Liste von Profil-URLs';
|
||||
$a->strings['Blockem'] = 'Blockem';
|
||||
$a->strings['Filtered user: %s'] = 'Gefilterte Person: %s';
|
||||
$a->strings['Unblock Author'] = 'Autor freischalten';
|
||||
$a->strings['Block Author'] = 'Autor blockieren';
|
|
@ -1,59 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Andy H3 <andy@hubup.pro>, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-02-09 13:00+0100\n"
|
||||
"PO-Revision-Date: 2018-03-15 14:10+0000\n"
|
||||
"Last-Translator: Andy H3 <andy@hubup.pro>\n"
|
||||
"Language-Team: English (United Kingdom) (http://www.transifex.com/Friendica/friendica/language/en_GB/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: en_GB\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: blockem.php:51 blockem.php:55
|
||||
msgid "\"Blockem\""
|
||||
msgstr "\"Blockem\""
|
||||
|
||||
#: blockem.php:59
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Hides user's content by collapsing posts. Also replaces their avatar with generic image."
|
||||
|
||||
#: blockem.php:60
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "Comma separated profile URLs:"
|
||||
|
||||
#: blockem.php:64
|
||||
msgid "Save Settings"
|
||||
msgstr "Save settings"
|
||||
|
||||
#: blockem.php:77
|
||||
msgid "BLOCKEM Settings saved."
|
||||
msgstr "Blockem settings saved."
|
||||
|
||||
#: blockem.php:140
|
||||
#, php-format
|
||||
msgid "Hidden content by %s - Click to open/close"
|
||||
msgstr "Hidden content by %s - Reveal/hide"
|
||||
|
||||
#: blockem.php:193
|
||||
msgid "Unblock Author"
|
||||
msgstr "Unblock author"
|
||||
|
||||
#: blockem.php:195
|
||||
msgid "Block Author"
|
||||
msgstr "Block author"
|
||||
|
||||
#: blockem.php:227
|
||||
msgid "blockem settings updated"
|
||||
msgstr "Blockem settings updated"
|
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_en_gb")) {
|
||||
function string_plural_select_en_gb($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['"Blockem"'] = '"Blockem"';
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'Comma separated profile URLs:';
|
||||
$a->strings['Save Settings'] = 'Save settings';
|
||||
$a->strings['BLOCKEM Settings saved.'] = 'Blockem settings saved.';
|
||||
$a->strings['Hidden content by %s - Click to open/close'] = 'Hidden content by %s - Reveal/hide';
|
||||
$a->strings['Unblock Author'] = 'Unblock author';
|
||||
$a->strings['Block Author'] = 'Block author';
|
||||
$a->strings['blockem settings updated'] = 'Blockem settings updated';
|
|
@ -1,61 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Adam Clark <adam@isurf.ca>, 2018
|
||||
# Andy H3 <andy@hubup.pro>, 2018
|
||||
# R C <miqrogroove@gmail.com>, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-04-01 11:11-0400\n"
|
||||
"PO-Revision-Date: 2018-06-13 02:40+0000\n"
|
||||
"Last-Translator: R C <miqrogroove@gmail.com>\n"
|
||||
"Language-Team: English (United States) (http://www.transifex.com/Friendica/friendica/language/en_US/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: en_US\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: blockem.php:52 blockem.php:56
|
||||
msgid "\"Blockem\""
|
||||
msgstr "Blockem"
|
||||
|
||||
#: blockem.php:60
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Hides user's content by collapsing posts. Also replaces their avatar with generic image."
|
||||
|
||||
#: blockem.php:61
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "Comma-separated profile URLs:"
|
||||
|
||||
#: blockem.php:65
|
||||
msgid "Save Settings"
|
||||
msgstr "Save settings"
|
||||
|
||||
#: blockem.php:78
|
||||
msgid "BLOCKEM Settings saved."
|
||||
msgstr "Blockem settings saved."
|
||||
|
||||
#: blockem.php:136
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Filtered user: %s"
|
||||
|
||||
#: blockem.php:189
|
||||
msgid "Unblock Author"
|
||||
msgstr "Unblock author"
|
||||
|
||||
#: blockem.php:191
|
||||
msgid "Block Author"
|
||||
msgstr "Block author"
|
||||
|
||||
#: blockem.php:223
|
||||
msgid "blockem settings updated"
|
||||
msgstr "Blockem settings updated"
|
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_en_us")) {
|
||||
function string_plural_select_en_us($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['"Blockem"'] = 'Blockem';
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'Comma-separated profile URLs:';
|
||||
$a->strings['Save Settings'] = 'Save settings';
|
||||
$a->strings['BLOCKEM Settings saved.'] = 'Blockem settings saved.';
|
||||
$a->strings['Filtered user: %s'] = 'Filtered user: %s';
|
||||
$a->strings['Unblock Author'] = 'Unblock author';
|
||||
$a->strings['Block Author'] = 'Block author';
|
||||
$a->strings['blockem settings updated'] = 'Blockem settings updated';
|
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
|
||||
$a->strings["\"Blockem\" Settings"] = "\"Blockem\" Agordoj";
|
||||
$a->strings["Comma separated profile URLS to block"] = "Blokotaj URL adresoj, disigita per komo";
|
||||
$a->strings["Submit"] = "Sendi";
|
||||
$a->strings["BLOCKEM Settings saved."] = "Konservis Agordojn de BLOCKEM.";
|
||||
$a->strings["Blocked %s - Click to open/close"] = "%s blokita - Klaku por malfermi/fermi";
|
||||
$a->strings["Unblock Author"] = "Malbloki Aŭtoron";
|
||||
$a->strings["Block Author"] = "Bloki Aŭtoron";
|
||||
$a->strings["blockem settings updated"] = "Ĝisdatigis la blockem agordojn";
|
|
@ -1,53 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Albert, 2018
|
||||
# Senex Petrovic <javierruizo@hotmail.com>, 2021
|
||||
# Tupambae.org, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-01 18:15+0100\n"
|
||||
"PO-Revision-Date: 2021-04-01 09:45+0000\n"
|
||||
"Last-Translator: Senex Petrovic <javierruizo@hotmail.com>\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"
|
||||
|
||||
#: blockem.php:42 blockem.php:46
|
||||
msgid "Blockem"
|
||||
msgstr "Blockem (Bloquealos)"
|
||||
|
||||
#: blockem.php:50
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Oculta el contenido del usuario al colapsar las publicaciones. También reemplaza su avatar con una imagen genérica."
|
||||
|
||||
#: blockem.php:51
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "URLs de perfil separadas por comas:"
|
||||
|
||||
#: blockem.php:55
|
||||
msgid "Save Settings"
|
||||
msgstr "Guardar configuración"
|
||||
|
||||
#: blockem.php:131
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Usuario filtrado: %s"
|
||||
|
||||
#: blockem.php:190
|
||||
msgid "Unblock Author"
|
||||
msgstr "Desbloquear autor"
|
||||
|
||||
#: blockem.php:192
|
||||
msgid "Block Author"
|
||||
msgstr "Bloquear autor"
|
|
@ -1,14 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_es")) {
|
||||
function string_plural_select_es($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Blockem'] = 'Blockem (Bloquealos)';
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Oculta el contenido del usuario al colapsar las publicaciones. También reemplaza su avatar con una imagen genérica.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'URLs de perfil separadas por comas:';
|
||||
$a->strings['Save Settings'] = 'Guardar configuración';
|
||||
$a->strings['Filtered user: %s'] = 'Usuario filtrado: %s';
|
||||
$a->strings['Unblock Author'] = 'Desbloquear autor';
|
||||
$a->strings['Block Author'] = 'Bloquear autor';
|
|
@ -1,60 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Kris, 2018
|
||||
# Kris, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-04-01 11:11-0400\n"
|
||||
"PO-Revision-Date: 2018-04-18 14:44+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"
|
||||
|
||||
#: blockem.php:52 blockem.php:56
|
||||
msgid "\"Blockem\""
|
||||
msgstr "\"Blockem\""
|
||||
|
||||
#: blockem.php:60
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr ""
|
||||
|
||||
#: blockem.php:61
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "Profiilien URL-osoitteet pilkulla erotettuina:"
|
||||
|
||||
#: blockem.php:65
|
||||
msgid "Save Settings"
|
||||
msgstr "Tallenna asetukset"
|
||||
|
||||
#: blockem.php:78
|
||||
msgid "BLOCKEM Settings saved."
|
||||
msgstr "Blockem -asetukset tallennettu"
|
||||
|
||||
#: blockem.php:136
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Suodatettu käyttäjä: %s"
|
||||
|
||||
#: blockem.php:189
|
||||
msgid "Unblock Author"
|
||||
msgstr "Poista kirjoittaja estolistalta"
|
||||
|
||||
#: blockem.php:191
|
||||
msgid "Block Author"
|
||||
msgstr "Lisää kirjoittaja estolistalle"
|
||||
|
||||
#: blockem.php:223
|
||||
msgid "blockem settings updated"
|
||||
msgstr "blockem -asetukset päivitetty"
|
|
@ -1,15 +0,0 @@
|
|||
<?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['"Blockem"'] = '"Blockem"';
|
||||
$a->strings['Comma separated profile URLS:'] = 'Profiilien URL-osoitteet pilkulla erotettuina:';
|
||||
$a->strings['Save Settings'] = 'Tallenna asetukset';
|
||||
$a->strings['BLOCKEM Settings saved.'] = 'Blockem -asetukset tallennettu';
|
||||
$a->strings['Filtered user: %s'] = 'Suodatettu käyttäjä: %s';
|
||||
$a->strings['Unblock Author'] = 'Poista kirjoittaja estolistalta';
|
||||
$a->strings['Block Author'] = 'Lisää kirjoittaja estolistalle';
|
||||
$a->strings['blockem settings updated'] = 'blockem -asetukset päivitetty';
|
|
@ -1,50 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Hypolite Petovan <hypolite@mrpetovan.com>, 2016
|
||||
# Marie Olive <lacellule101@gmail.com>, 2018
|
||||
# StefOfficiel <pichard.stephane@free.fr>, 2015
|
||||
# Vladimir Núñez <lapoubelle111@gmail.com>, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:13-0500\n"
|
||||
"PO-Revision-Date: 2014-06-22 11:20+0000\n"
|
||||
"Last-Translator: Vladimir Núñez <lapoubelle111@gmail.com>, 2018\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=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
||||
|
||||
#: blockem.php:39
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Cache le contenu de l'utilisateur en contractant les publications. Remplace aussi leur avatar par une image générique."
|
||||
|
||||
#: blockem.php:40
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "URLs de profil séparées par des virgules:"
|
||||
|
||||
#: blockem.php:45
|
||||
msgid "Blockem"
|
||||
msgstr "Bloquez-les"
|
||||
|
||||
#: blockem.php:120
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Utilisateur filtré:%s"
|
||||
|
||||
#: blockem.php:183
|
||||
msgid "Unblock Author"
|
||||
msgstr "Débloquer l'Auteur"
|
||||
|
||||
#: blockem.php:185
|
||||
msgid "Block Author"
|
||||
msgstr "Bloquer l'Auteur"
|
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_fr")) {
|
||||
function string_plural_select_fr($n){
|
||||
$n = intval($n);
|
||||
if (($n == 0 || $n == 1)) { return 0; } else if ($n != 0 && $n % 1000000 == 0) { return 1; } else { return 2; }
|
||||
}}
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Cache le contenu de l\'utilisateur en contractant les publications. Remplace aussi leur avatar par une image générique.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'URLs de profil séparées par des virgules:';
|
||||
$a->strings['Blockem'] = 'Bloquez-les';
|
||||
$a->strings['Filtered user: %s'] = 'Utilisateur filtré:%s';
|
||||
$a->strings['Unblock Author'] = 'Débloquer l\'Auteur';
|
||||
$a->strings['Block Author'] = 'Bloquer l\'Auteur';
|
|
@ -1,47 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Balázs Úr, 2020
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:13-0500\n"
|
||||
"PO-Revision-Date: 2014-06-22 11:20+0000\n"
|
||||
"Last-Translator: Balázs Úr, 2020\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"
|
||||
|
||||
#: blockem.php:39
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Elrejti a felhasználók tartalmát a bejegyzések összecsukásával. Ezenkívül lecseréli a profilképeiket egy általános képre."
|
||||
|
||||
#: blockem.php:40
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "Profil URL-ek vesszővel elválasztva:"
|
||||
|
||||
#: blockem.php:45
|
||||
msgid "Blockem"
|
||||
msgstr "Blockem"
|
||||
|
||||
#: blockem.php:120
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Kiszűrt felhasználó: %s"
|
||||
|
||||
#: blockem.php:183
|
||||
msgid "Unblock Author"
|
||||
msgstr "Szerző tiltásának feloldása"
|
||||
|
||||
#: blockem.php:185
|
||||
msgid "Block Author"
|
||||
msgstr "Szerző tiltása"
|
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_hu")) {
|
||||
function string_plural_select_hu($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Elrejti a felhasználók tartalmát a bejegyzések összecsukásával. Ezenkívül lecseréli a profilképeiket egy általános képre.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'Profil URL-ek vesszővel elválasztva:';
|
||||
$a->strings['Blockem'] = 'Blockem';
|
||||
$a->strings['Filtered user: %s'] = 'Kiszűrt felhasználó: %s';
|
||||
$a->strings['Unblock Author'] = 'Szerző tiltásának feloldása';
|
||||
$a->strings['Block Author'] = 'Szerző tiltása';
|
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
|
||||
$a->strings["\"Blockem\" Settings"] = "\"Blockem\" stillingar";
|
||||
$a->strings["Comma separated profile URLS to block"] = "Banna lista af forsíðum (komma á milli)";
|
||||
$a->strings["Submit"] = "Senda inn";
|
||||
$a->strings["BLOCKEM Settings saved."] = "BLOCKEM stillingar vistaðar.";
|
||||
$a->strings["Blocked %s - Click to open/close"] = "%s sett í straff - Smella til að taka úr/setja á";
|
||||
$a->strings["Unblock Author"] = "Leyfa notanda";
|
||||
$a->strings["Block Author"] = "Banna notanda";
|
||||
$a->strings["blockem settings updated"] = "";
|
|
@ -1,59 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018-2019
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-08-17 10:23+0200\n"
|
||||
"PO-Revision-Date: 2019-03-11 14: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"
|
||||
|
||||
#: blockem.php:54 blockem.php:58
|
||||
msgid "Blockem"
|
||||
msgstr "Blockem"
|
||||
|
||||
#: blockem.php:62
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Nascondi il contenuto degli utenti collassando i messaggi. Sostituisce anche gli avatar con un'immagine generica."
|
||||
|
||||
#: blockem.php:63
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "URL profili separati da virgola:"
|
||||
|
||||
#: blockem.php:67
|
||||
msgid "Save Settings"
|
||||
msgstr "Salva Impostazioni"
|
||||
|
||||
#: blockem.php:81
|
||||
msgid "BLOCKEM Settings saved."
|
||||
msgstr "Impostazioni BLOCKEM salvate."
|
||||
|
||||
#: blockem.php:143
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Utente filtrato: %s"
|
||||
|
||||
#: blockem.php:202
|
||||
msgid "Unblock Author"
|
||||
msgstr "Sblocca autore"
|
||||
|
||||
#: blockem.php:204
|
||||
msgid "Block Author"
|
||||
msgstr "Blocca autore"
|
||||
|
||||
#: blockem.php:244
|
||||
msgid "blockem settings updated"
|
||||
msgstr "Impostazioni 'blockem' aggiornate."
|
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_it")) {
|
||||
function string_plural_select_it($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Blockem'] = 'Blockem';
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Nascondi il contenuto degli utenti collassando i messaggi. Sostituisce anche gli avatar con un\'immagine generica.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'URL profili separati da virgola:';
|
||||
$a->strings['Save Settings'] = 'Salva Impostazioni';
|
||||
$a->strings['BLOCKEM Settings saved.'] = 'Impostazioni BLOCKEM salvate.';
|
||||
$a->strings['Filtered user: %s'] = 'Utente filtrato: %s';
|
||||
$a->strings['Unblock Author'] = 'Sblocca autore';
|
||||
$a->strings['Block Author'] = 'Blocca autore';
|
||||
$a->strings['blockem settings updated'] = 'Impostazioni \'blockem\' aggiornate.';
|
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
|
||||
$a->strings["\"Blockem\" Settings"] = "";
|
||||
$a->strings["Comma separated profile URLS to block"] = "";
|
||||
$a->strings["Submit"] = "Lagre";
|
||||
$a->strings["BLOCKEM Settings saved."] = "";
|
||||
$a->strings["Blocked %s - Click to open/close"] = "";
|
||||
$a->strings["Unblock Author"] = "";
|
||||
$a->strings["Block Author"] = "";
|
||||
$a->strings["blockem settings updated"] = "";
|
|
@ -1,60 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem 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: 2018-08-17 10:23+0200\n"
|
||||
"PO-Revision-Date: 2018-08-24 13:49+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"
|
||||
|
||||
#: blockem.php:54 blockem.php:58
|
||||
msgid "Blockem"
|
||||
msgstr "Blockem"
|
||||
|
||||
#: blockem.php:62
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Verbergt de inhoud van het bericht van de gebruiker. Daarnaast vervangt het de avatar door een standaardafbeelding."
|
||||
|
||||
#: blockem.php:63
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "Profiel URLs (kommagescheiden):"
|
||||
|
||||
#: blockem.php:67
|
||||
msgid "Save Settings"
|
||||
msgstr "Instellingen opslaan"
|
||||
|
||||
#: blockem.php:81
|
||||
msgid "BLOCKEM Settings saved."
|
||||
msgstr "BLOCKEM instellingen opgeslagen."
|
||||
|
||||
#: blockem.php:143
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Gefilterde gebruiker: %s"
|
||||
|
||||
#: blockem.php:202
|
||||
msgid "Unblock Author"
|
||||
msgstr "Deblokkeer Auteur"
|
||||
|
||||
#: blockem.php:204
|
||||
msgid "Block Author"
|
||||
msgstr "Auteur blokkeren"
|
||||
|
||||
#: blockem.php:244
|
||||
msgid "blockem settings updated"
|
||||
msgstr "blockem instellingen opgeslagen"
|
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_nl")) {
|
||||
function string_plural_select_nl($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Blockem'] = 'Blockem';
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Verbergt de inhoud van het bericht van de gebruiker. Daarnaast vervangt het de avatar door een standaardafbeelding.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'Profiel URLs (kommagescheiden):';
|
||||
$a->strings['Save Settings'] = 'Instellingen opslaan';
|
||||
$a->strings['BLOCKEM Settings saved.'] = 'BLOCKEM instellingen opgeslagen.';
|
||||
$a->strings['Filtered user: %s'] = 'Gefilterde gebruiker: %s';
|
||||
$a->strings['Unblock Author'] = 'Deblokkeer Auteur';
|
||||
$a->strings['Block Author'] = 'Auteur blokkeren';
|
||||
$a->strings['blockem settings updated'] = 'blockem instellingen opgeslagen';
|
|
@ -1,47 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Waldemar Stoczkowski, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:13-0500\n"
|
||||
"PO-Revision-Date: 2014-06-22 11:20+0000\n"
|
||||
"Last-Translator: Waldemar Stoczkowski, 2018\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"
|
||||
|
||||
#: blockem.php:39
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Ukrywa zawartość użytkownika, zwijając posty. Zastępuje również awatar wygenerowanym obrazem."
|
||||
|
||||
#: blockem.php:40
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "Rozdzielone przecinkami adresy URL profilu:"
|
||||
|
||||
#: blockem.php:45
|
||||
msgid "Blockem"
|
||||
msgstr "Zablokowanie"
|
||||
|
||||
#: blockem.php:120
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Użytkownik filtrowany: %s"
|
||||
|
||||
#: blockem.php:183
|
||||
msgid "Unblock Author"
|
||||
msgstr "Odblokuj autora"
|
||||
|
||||
#: blockem.php:185
|
||||
msgid "Block Author"
|
||||
msgstr "Zablokuj autora"
|
|
@ -1,13 +0,0 @@
|
|||
<?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['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Ukrywa zawartość użytkownika, zwijając posty. Zastępuje również awatar wygenerowanym obrazem.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'Rozdzielone przecinkami adresy URL profilu:';
|
||||
$a->strings['Blockem'] = 'Zablokowanie';
|
||||
$a->strings['Filtered user: %s'] = 'Użytkownik filtrowany: %s';
|
||||
$a->strings['Unblock Author'] = 'Odblokuj autora';
|
||||
$a->strings['Block Author'] = 'Zablokuj autora';
|
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
|
||||
$a->strings["\"Blockem\" Settings"] = "Configurações \"Blockem\"";
|
||||
$a->strings["Comma separated profile URLS to block"] = "URLS de perfis separados por vírgulas a serem bloqueados";
|
||||
$a->strings["Submit"] = "Enviar";
|
||||
$a->strings["BLOCKEM Settings saved."] = "Configurações BLOCKEM armazenadas.";
|
||||
$a->strings["Blocked %s - Click to open/close"] = "Bloqueado %s - Clique para abrir/fechar";
|
||||
$a->strings["Unblock Author"] = "Desbloqueie Autor";
|
||||
$a->strings["Block Author"] = "Bloqueie Autor";
|
||||
$a->strings["blockem settings updated"] = "configurações blockem atualizadas";
|
|
@ -1,52 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem 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:43+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"
|
||||
|
||||
#: blockem.php:53 blockem.php:57
|
||||
msgid "\"Blockem\""
|
||||
msgstr "\"Blockem\""
|
||||
|
||||
#: blockem.php:61
|
||||
msgid "Comma separated profile URLS to block"
|
||||
msgstr "Adresele URL de profil, de blocat, separate prin virgulă"
|
||||
|
||||
#: blockem.php:65
|
||||
msgid "Save Settings"
|
||||
msgstr "Salvare Configurări"
|
||||
|
||||
#: blockem.php:78
|
||||
msgid "BLOCKEM Settings saved."
|
||||
msgstr "Configurările BLOCKEM au fost salvate."
|
||||
|
||||
#: blockem.php:142
|
||||
#, php-format
|
||||
msgid "Blocked %s - Click to open/close"
|
||||
msgstr "%s Blocate - Apăsați pentru a deschide/închide"
|
||||
|
||||
#: blockem.php:197
|
||||
msgid "Unblock Author"
|
||||
msgstr "Deblocare Autor"
|
||||
|
||||
#: blockem.php:199
|
||||
msgid "Block Author"
|
||||
msgstr "Blocare Autor"
|
||||
|
||||
#: blockem.php:231
|
||||
msgid "blockem settings updated"
|
||||
msgstr "Configurările blockem au fost actualizate"
|
|
@ -1,15 +0,0 @@
|
|||
<?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['"Blockem"'] = '"Blockem"';
|
||||
$a->strings['Comma separated profile URLS to block'] = 'Adresele URL de profil, de blocat, separate prin virgulă';
|
||||
$a->strings['Save Settings'] = 'Salvare Configurări';
|
||||
$a->strings['BLOCKEM Settings saved.'] = 'Configurările BLOCKEM au fost salvate.';
|
||||
$a->strings['Blocked %s - Click to open/close'] = '%s Blocate - Apăsați pentru a deschide/închide';
|
||||
$a->strings['Unblock Author'] = 'Deblocare Autor';
|
||||
$a->strings['Block Author'] = 'Blocare Autor';
|
||||
$a->strings['blockem settings updated'] = 'Configurările blockem au fost actualizate';
|
|
@ -1,60 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Alexander An <ravnina@gmail.com>, 2020
|
||||
# Stanislav N. <pztrn@pztrn.name>, 2017-2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-08-17 10:23+0200\n"
|
||||
"PO-Revision-Date: 2020-04-23 14:13+0000\n"
|
||||
"Last-Translator: Alexander An <ravnina@gmail.com>\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"
|
||||
|
||||
#: blockem.php:54 blockem.php:58
|
||||
msgid "Blockem"
|
||||
msgstr "Blockem"
|
||||
|
||||
#: blockem.php:62
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Скрыть контент пользователя. Также заменяет его аватар изображением по-умолчанию."
|
||||
|
||||
#: blockem.php:63
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "URL профилей, разделенные запятыми:"
|
||||
|
||||
#: blockem.php:67
|
||||
msgid "Save Settings"
|
||||
msgstr "Сохранить настройки"
|
||||
|
||||
#: blockem.php:81
|
||||
msgid "BLOCKEM Settings saved."
|
||||
msgstr "BLOCKEM Настройки сохранены."
|
||||
|
||||
#: blockem.php:143
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Отфильтрованный пользователь: %s"
|
||||
|
||||
#: blockem.php:202
|
||||
msgid "Unblock Author"
|
||||
msgstr "Разблокировать автора"
|
||||
|
||||
#: blockem.php:204
|
||||
msgid "Block Author"
|
||||
msgstr "Блокировать автора"
|
||||
|
||||
#: blockem.php:244
|
||||
msgid "blockem settings updated"
|
||||
msgstr "Настройки Blockem обновлены"
|
|
@ -1,16 +0,0 @@
|
|||
<?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['Blockem'] = 'Blockem';
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Скрыть контент пользователя. Также заменяет его аватар изображением по-умолчанию.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'URL профилей, разделенные запятыми:';
|
||||
$a->strings['Save Settings'] = 'Сохранить настройки';
|
||||
$a->strings['BLOCKEM Settings saved.'] = 'BLOCKEM Настройки сохранены.';
|
||||
$a->strings['Filtered user: %s'] = 'Отфильтрованный пользователь: %s';
|
||||
$a->strings['Unblock Author'] = 'Разблокировать автора';
|
||||
$a->strings['Block Author'] = 'Блокировать автора';
|
||||
$a->strings['blockem settings updated'] = 'Настройки Blockem обновлены';
|
|
@ -1,47 +0,0 @@
|
|||
# ADDON blockem
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica blockem addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Bjoessi <torbjorn.andersson@syte.se>, 2019
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:13-0500\n"
|
||||
"PO-Revision-Date: 2021-12-22 15:27+0000\n"
|
||||
"Last-Translator: Transifex Bot <>\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"
|
||||
|
||||
#: blockem.php:39
|
||||
msgid ""
|
||||
"Hides user's content by collapsing posts. Also replaces their avatar with "
|
||||
"generic image."
|
||||
msgstr "Döljer användares inlägg genom sammanslagning nedåt. Användarens profilbild ersätts med en standardbild."
|
||||
|
||||
#: blockem.php:40
|
||||
msgid "Comma separated profile URLS:"
|
||||
msgstr "Kommaseparerade profiladresser:"
|
||||
|
||||
#: blockem.php:45
|
||||
msgid "Blockem"
|
||||
msgstr "BLOCKEM"
|
||||
|
||||
#: blockem.php:120
|
||||
#, php-format
|
||||
msgid "Filtered user: %s"
|
||||
msgstr "Filtrerat på användare:%s"
|
||||
|
||||
#: blockem.php:183
|
||||
msgid "Unblock Author"
|
||||
msgstr "Avblockera författare"
|
||||
|
||||
#: blockem.php:185
|
||||
msgid "Block Author"
|
||||
msgstr "Blockera författare"
|
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_sv")) {
|
||||
function string_plural_select_sv($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Hides user\'s content by collapsing posts. Also replaces their avatar with generic image.'] = 'Döljer användares inlägg genom sammanslagning nedåt. Användarens profilbild ersätts med en standardbild.';
|
||||
$a->strings['Comma separated profile URLS:'] = 'Kommaseparerade profiladresser:';
|
||||
$a->strings['Blockem'] = 'BLOCKEM';
|
||||
$a->strings['Filtered user: %s'] = 'Filtrerat på användare:%s';
|
||||
$a->strings['Unblock Author'] = 'Avblockera författare';
|
||||
$a->strings['Block Author'] = 'Blockera författare';
|
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
|
||||
$a->strings["\"Blockem\" Settings"] = "「Blockem」配置";
|
||||
$a->strings["Comma separated profile URLS to block"] = "逗号分简介URL为栏";
|
||||
$a->strings["Submit"] = "提交";
|
||||
$a->strings["BLOCKEM Settings saved."] = "「Blockem」配置保存了。";
|
||||
$a->strings["Blocked %s - Click to open/close"] = "%s拦了-点击为开关";
|
||||
$a->strings["Unblock Author"] = "不拦作家";
|
||||
$a->strings["Block Author"] = "拦作家";
|
||||
$a->strings["blockem settings updated"] = "blockem设置更新了";
|
|
@ -1 +0,0 @@
|
|||
{{include file="field_textarea.tpl" field=$words}}
|
9
bluesky/README.md
Normal file
9
bluesky/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
Bluesky Addon
|
||||
==============
|
||||
|
||||
This addon supports posting to and receiving posts from Bluesky.
|
||||
|
||||
No setup is needed for the admins to make it work for their users.
|
||||
|
||||
Bluesky itself is under development as well. It is planned to make it decentral.
|
||||
The addon is prepared to support different servers. But it isn't enabled yet.
|
1775
bluesky/bluesky.php
Normal file
1775
bluesky/bluesky.php
Normal file
File diff suppressed because it is too large
Load diff
16
bluesky/bluesky_feed.php
Normal file
16
bluesky/bluesky_feed.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
|
||||
function bluesky_feed_run($argv, $argc)
|
||||
{
|
||||
require_once 'addon/bluesky/bluesky.php';
|
||||
|
||||
if ($argc != 4) {
|
||||
return;
|
||||
}
|
||||
|
||||
Logger::debug('Importing feed - start', ['user' => $argv[1], 'feed' => $argv[2], 'last_poll' => $argv[3]]);
|
||||
bluesky_fetch_feed($argv[1], $argv[2], $argv[3]);
|
||||
Logger::debug('Importing feed - done', ['user' => $argv[1], 'feed' => $argv[2], 'last_poll' => $argv[3]]);
|
||||
}
|
16
bluesky/bluesky_notifications.php
Normal file
16
bluesky/bluesky_notifications.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
|
||||
function bluesky_notifications_run($argv, $argc)
|
||||
{
|
||||
require_once 'addon/bluesky/bluesky.php';
|
||||
|
||||
if ($argc != 3) {
|
||||
return;
|
||||
}
|
||||
|
||||
Logger::notice('importing notifications - start', ['user' => $argv[1], 'last_poll' => $argv[2]]);
|
||||
bluesky_fetch_notifications($argv[1], $argv[2]);
|
||||
Logger::notice('importing notifications - done', ['user' => $argv[1], 'last_poll' => $argv[2]]);
|
||||
}
|
16
bluesky/bluesky_timeline.php
Normal file
16
bluesky/bluesky_timeline.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
|
||||
function bluesky_timeline_run($argv, $argc)
|
||||
{
|
||||
require_once 'addon/bluesky/bluesky.php';
|
||||
|
||||
if ($argc != 3) {
|
||||
return;
|
||||
}
|
||||
|
||||
Logger::notice('importing timeline - start', ['user' => $argv[1], 'last_poll' => $argv[2]]);
|
||||
bluesky_fetch_timeline($argv[1], $argv[2]);
|
||||
Logger::notice('importing timeline - done', ['user' => $argv[1], 'last_poll' => $argv[2]]);
|
||||
}
|
116
bluesky/lang/C/messages.po
Normal file
116
bluesky/lang/C/messages.po
Normal file
|
@ -0,0 +1,116 @@
|
|||
# ADDON bluesky
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica bluesky addon package.
|
||||
#
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-12-06 06:30+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"
|
||||
|
||||
#: bluesky.php:336
|
||||
msgid "Enable Bluesky Post Addon"
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:337
|
||||
msgid "Post to Bluesky by default"
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:338
|
||||
msgid "Import the remote timeline"
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:339
|
||||
msgid "Import the pinned feeds"
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:339
|
||||
msgid ""
|
||||
"When activated, Posts will be imported from all the feeds that you pinned in "
|
||||
"Bluesky."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:340
|
||||
msgid "Personal Data Server"
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:340
|
||||
msgid "The personal data server (PDS) is the system that hosts your profile."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:341
|
||||
msgid "Bluesky handle"
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:342
|
||||
msgid "Bluesky DID"
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:342
|
||||
msgid ""
|
||||
"This is the unique identifier. It will be fetched automatically, when the "
|
||||
"handle is entered."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:343
|
||||
msgid "Bluesky app password"
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:343
|
||||
msgid ""
|
||||
"Please don't add your real password here, but instead create a specific app "
|
||||
"password in the Bluesky settings."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:349
|
||||
msgid "Bluesky Import/Export"
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:359
|
||||
msgid ""
|
||||
"You are not authenticated. Please enter your handle and the app password."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:379
|
||||
msgid ""
|
||||
"You are authenticated to Bluesky. For security reasons the password isn't "
|
||||
"stored."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:381
|
||||
msgid ""
|
||||
"The communication with the personal data server service (PDS) is established."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:383
|
||||
msgid "Communication issues with the personal data server service (PDS)."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:385
|
||||
msgid ""
|
||||
"The DID for the provided handle could not be detected. Please check if you "
|
||||
"entered the correct handle."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:387
|
||||
msgid "The personal data server service (PDS) could not be detected."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:389
|
||||
msgid ""
|
||||
"The authentication with the provided handle and password failed. Please "
|
||||
"check if you entered the correct password."
|
||||
msgstr ""
|
||||
|
||||
#: bluesky.php:457
|
||||
msgid "Post to Bluesky"
|
||||
msgstr ""
|
89
bluesky/lang/de/messages.po
Normal file
89
bluesky/lang/de/messages.po
Normal file
|
@ -0,0 +1,89 @@
|
|||
# ADDON bluesky
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica bluesky addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2023
|
||||
# haheute <haheute@posteo.de>, 2023
|
||||
# Raroun, 2023
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-24 05:52+0000\n"
|
||||
"PO-Revision-Date: 2023-05-24 06:02+0000\n"
|
||||
"Last-Translator: Raroun, 2023\n"
|
||||
"Language-Team: German (https://app.transifex.com/Friendica/teams/12172/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"
|
||||
|
||||
#: bluesky.php:100
|
||||
msgid ""
|
||||
"You are authenticated to Bluesky. For security reasons the password isn't "
|
||||
"stored."
|
||||
msgstr ""
|
||||
"Du bist auf Bluesky authentifiziert. Aus Sicherheitsgründen wird das "
|
||||
"Passwort nicht gespeichert."
|
||||
|
||||
#: bluesky.php:100
|
||||
msgid "You are not authenticated. Please enter the app password."
|
||||
msgstr ""
|
||||
"Du bist derzeit nicht authentifiziert. Bitte gib dein App Passwort ein."
|
||||
|
||||
#: bluesky.php:104
|
||||
msgid "Enable Bluesky Post Addon"
|
||||
msgstr "Bluesky Post Addon aktivieren"
|
||||
|
||||
#: bluesky.php:105
|
||||
msgid "Post to Bluesky by default"
|
||||
msgstr "Standardmäßig auf Bluesky veröffentlichen"
|
||||
|
||||
#: bluesky.php:106
|
||||
msgid "Import the remote timeline"
|
||||
msgstr "Importiere die entfernte Timeline"
|
||||
|
||||
#: bluesky.php:107
|
||||
msgid "Bluesky host"
|
||||
msgstr "Bluesky Host"
|
||||
|
||||
#: bluesky.php:108
|
||||
msgid "Bluesky handle"
|
||||
msgstr "Bluesky Handle"
|
||||
|
||||
#: bluesky.php:109
|
||||
msgid "Bluesky DID"
|
||||
msgstr "Bluesky DID"
|
||||
|
||||
#: bluesky.php:109
|
||||
msgid ""
|
||||
"This is the unique identifier. It will be fetched automatically, when the "
|
||||
"handle is entered."
|
||||
msgstr ""
|
||||
"Sobald das Handle eingegeben ist, wird diese einzigartige Kennung "
|
||||
"automatisch abgerufen."
|
||||
|
||||
#: bluesky.php:110
|
||||
msgid "Bluesky app password"
|
||||
msgstr "Bluesky App Passwort"
|
||||
|
||||
#: bluesky.php:110
|
||||
msgid ""
|
||||
"Please don't add your real password here, but instead create a specific app "
|
||||
"password in the Bluesky settings."
|
||||
msgstr ""
|
||||
"Bitte verwende hier nicht dein echtes Passwort, sondern stattdessen ein "
|
||||
"speziell für diese App in den Bluesky Einstellungen festgelegtes Passwort."
|
||||
|
||||
#: bluesky.php:116
|
||||
msgid "Bluesky Import/Export"
|
||||
msgstr "Bluesky Import/Export"
|
||||
|
||||
#: bluesky.php:167
|
||||
msgid "Post to Bluesky"
|
||||
msgstr "Auf Bluesky veröffentlichen"
|
20
bluesky/lang/de/strings.php
Normal file
20
bluesky/lang/de/strings.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_de")) {
|
||||
function string_plural_select_de($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['You are authenticated to Bluesky. For security reasons the password isn\'t stored.'] = 'Du bist auf Bluesky authentifiziert. Aus Sicherheitsgründen wird das Passwort nicht gespeichert.';
|
||||
$a->strings['You are not authenticated. Please enter the app password.'] = 'Du bist derzeit nicht authentifiziert. Bitte gib dein App Passwort ein.';
|
||||
$a->strings['Enable Bluesky Post Addon'] = 'Bluesky Post Addon aktivieren';
|
||||
$a->strings['Post to Bluesky by default'] = 'Standardmäßig auf Bluesky veröffentlichen';
|
||||
$a->strings['Import the remote timeline'] = 'Importiere die entfernte Timeline';
|
||||
$a->strings['Bluesky host'] = 'Bluesky Host';
|
||||
$a->strings['Bluesky handle'] = 'Bluesky Handle';
|
||||
$a->strings['Bluesky DID'] = 'Bluesky DID';
|
||||
$a->strings['This is the unique identifier. It will be fetched automatically, when the handle is entered.'] = 'Sobald das Handle eingegeben ist, wird diese einzigartige Kennung automatisch abgerufen.';
|
||||
$a->strings['Bluesky app password'] = 'Bluesky App Passwort';
|
||||
$a->strings['Please don\'t add your real password here, but instead create a specific app password in the Bluesky settings.'] = 'Bitte verwende hier nicht dein echtes Passwort, sondern stattdessen ein speziell für diese App in den Bluesky Einstellungen festgelegtes Passwort.';
|
||||
$a->strings['Bluesky Import/Export'] = 'Bluesky Import/Export';
|
||||
$a->strings['Post to Bluesky'] = 'Auf Bluesky veröffentlichen';
|
80
bluesky/lang/zh-cn/messages.po
Normal file
80
bluesky/lang/zh-cn/messages.po
Normal file
|
@ -0,0 +1,80 @@
|
|||
# ADDON bluesky
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica bluesky addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# tslmuun, 2023
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-24 05:52+0000\n"
|
||||
"PO-Revision-Date: 2023-05-24 06:02+0000\n"
|
||||
"Last-Translator: tslmuun, 2023\n"
|
||||
"Language-Team: Chinese (China) (https://app.transifex.com/Friendica/teams/12172/zh_CN/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: zh_CN\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: bluesky.php:100
|
||||
msgid ""
|
||||
"You are authenticated to Bluesky. For security reasons the password isn't "
|
||||
"stored."
|
||||
msgstr "您已通过 Bluesky 的身份验证。 出于安全原因,不存储密码。"
|
||||
|
||||
#: bluesky.php:100
|
||||
msgid "You are not authenticated. Please enter the app password."
|
||||
msgstr "您未通过身份验证。 请输入应用密码。"
|
||||
|
||||
#: bluesky.php:104
|
||||
msgid "Enable Bluesky Post Addon"
|
||||
msgstr "启用Bluesky插件"
|
||||
|
||||
#: bluesky.php:105
|
||||
msgid "Post to Bluesky by default"
|
||||
msgstr "默认发布到Bluesky"
|
||||
|
||||
#: bluesky.php:106
|
||||
msgid "Import the remote timeline"
|
||||
msgstr "导入远程时间线"
|
||||
|
||||
#: bluesky.php:107
|
||||
msgid "Bluesky host"
|
||||
msgstr "Bluesky地址"
|
||||
|
||||
#: bluesky.php:108
|
||||
msgid "Bluesky handle"
|
||||
msgstr "Bluesky handle"
|
||||
|
||||
#: bluesky.php:109
|
||||
msgid "Bluesky DID"
|
||||
msgstr "Bluesky DID"
|
||||
|
||||
#: bluesky.php:109
|
||||
msgid ""
|
||||
"This is the unique identifier. It will be fetched automatically, when the "
|
||||
"handle is entered."
|
||||
msgstr "这是唯一标识符。 输入句柄时,它将自动获取。"
|
||||
|
||||
#: bluesky.php:110
|
||||
msgid "Bluesky app password"
|
||||
msgstr "Bluesky 应用密码"
|
||||
|
||||
#: bluesky.php:110
|
||||
msgid ""
|
||||
"Please don't add your real password here, but instead create a specific app "
|
||||
"password in the Bluesky settings."
|
||||
msgstr "请不要在此处填写您的真实密码,而是在 Bluesky 设置中创建一个特定的应用程序密码。"
|
||||
|
||||
#: bluesky.php:116
|
||||
msgid "Bluesky Import/Export"
|
||||
msgstr "Bluesky 导入/导出"
|
||||
|
||||
#: bluesky.php:167
|
||||
msgid "Post to Bluesky"
|
||||
msgstr "发布到Bluesky"
|
20
bluesky/lang/zh-cn/strings.php
Normal file
20
bluesky/lang/zh-cn/strings.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_zh_cn")) {
|
||||
function string_plural_select_zh_cn($n){
|
||||
$n = intval($n);
|
||||
return intval(0);
|
||||
}}
|
||||
$a->strings['You are authenticated to Bluesky. For security reasons the password isn\'t stored.'] = '您已通过 Bluesky 的身份验证。 出于安全原因,不存储密码。';
|
||||
$a->strings['You are not authenticated. Please enter the app password.'] = '您未通过身份验证。 请输入应用密码。';
|
||||
$a->strings['Enable Bluesky Post Addon'] = '启用Bluesky插件';
|
||||
$a->strings['Post to Bluesky by default'] = '默认发布到Bluesky';
|
||||
$a->strings['Import the remote timeline'] = '导入远程时间线';
|
||||
$a->strings['Bluesky host'] = 'Bluesky地址';
|
||||
$a->strings['Bluesky handle'] = 'Bluesky handle';
|
||||
$a->strings['Bluesky DID'] = 'Bluesky DID';
|
||||
$a->strings['This is the unique identifier. It will be fetched automatically, when the handle is entered.'] = '这是唯一标识符。 输入句柄时,它将自动获取。';
|
||||
$a->strings['Bluesky app password'] = 'Bluesky 应用密码';
|
||||
$a->strings['Please don\'t add your real password here, but instead create a specific app password in the Bluesky settings.'] = '请不要在此处填写您的真实密码,而是在 Bluesky 设置中创建一个特定的应用程序密码。';
|
||||
$a->strings['Bluesky Import/Export'] = 'Bluesky 导入/导出';
|
||||
$a->strings['Post to Bluesky'] = '发布到Bluesky';
|
9
bluesky/templates/connector_settings.tpl
Normal file
9
bluesky/templates/connector_settings.tpl
Normal file
|
@ -0,0 +1,9 @@
|
|||
<p>{{$status}}</p>
|
||||
{{include file="field_checkbox.tpl" field=$enable}}
|
||||
{{include file="field_checkbox.tpl" field=$bydefault}}
|
||||
{{include file="field_checkbox.tpl" field=$import}}
|
||||
{{include file="field_checkbox.tpl" field=$import_feeds}}
|
||||
{{include file="field_input.tpl" field=$pds}}
|
||||
{{include file="field_input.tpl" field=$handle}}
|
||||
{{include file="field_input.tpl" field=$did}}
|
||||
{{include file="field_input.tpl" field=$password}}
|
|
@ -5,8 +5,7 @@
|
|||
#
|
||||
# Translators:
|
||||
# Vladimir Núñez <lapoubelle111@gmail.com>, 2019
|
||||
# Walter Bulbazor, 2021
|
||||
# Hypolite Petovan <hypolite@mrpetovan.com>, 2022
|
||||
# Florent C., 2023
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
|
@ -15,8 +14,8 @@ msgstr ""
|
|||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:14-0500\n"
|
||||
"PO-Revision-Date: 2018-04-07 05:23+0000\n"
|
||||
"Last-Translator: Hypolite Petovan <hypolite@mrpetovan.com>, 2022\n"
|
||||
"Language-Team: French (https://www.transifex.com/Friendica/teams/12172/fr/)\n"
|
||||
"Last-Translator: Florent C., 2023\n"
|
||||
"Language-Team: French (https://app.transifex.com/Friendica/teams/12172/fr/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
@ -25,7 +24,7 @@ msgstr ""
|
|||
|
||||
#: catavatar.php:48
|
||||
msgid "Set default profile avatar or randomize the cat."
|
||||
msgstr "Mettre l'avatar par défaut ou tirer au sort le Chat."
|
||||
msgstr "Mettre l'avatar par défaut ou tirer au sort le chat."
|
||||
|
||||
#: catavatar.php:53
|
||||
msgid "Cat Avatar Settings"
|
||||
|
@ -33,15 +32,15 @@ msgstr "Paramètres de Chat avatar"
|
|||
|
||||
#: catavatar.php:56
|
||||
msgid "Use Cat as Avatar"
|
||||
msgstr "Utiliser Chat comme avatar"
|
||||
msgstr "Utiliser ce Chat"
|
||||
|
||||
#: catavatar.php:57
|
||||
msgid "Another random Cat!"
|
||||
msgstr "Un autre chat aléatoire !"
|
||||
msgstr "Un autre Chat aléatoire !"
|
||||
|
||||
#: catavatar.php:58
|
||||
msgid "Reset to email Cat"
|
||||
msgstr "Réinitialiser à Chat courriel"
|
||||
msgstr "Revenir au Chat par défaut"
|
||||
|
||||
#: catavatar.php:77
|
||||
msgid "The cat hadn't found itself."
|
||||
|
|
|
@ -5,11 +5,11 @@ function string_plural_select_fr($n){
|
|||
$n = intval($n);
|
||||
if (($n == 0 || $n == 1)) { return 0; } else if ($n != 0 && $n % 1000000 == 0) { return 1; } else { return 2; }
|
||||
}}
|
||||
$a->strings['Set default profile avatar or randomize the cat.'] = 'Mettre l\'avatar par défaut ou tirer au sort le Chat.';
|
||||
$a->strings['Set default profile avatar or randomize the cat.'] = 'Mettre l\'avatar par défaut ou tirer au sort le chat.';
|
||||
$a->strings['Cat Avatar Settings'] = 'Paramètres de Chat avatar';
|
||||
$a->strings['Use Cat as Avatar'] = 'Utiliser Chat comme avatar';
|
||||
$a->strings['Another random Cat!'] = 'Un autre chat aléatoire !';
|
||||
$a->strings['Reset to email Cat'] = 'Réinitialiser à Chat courriel';
|
||||
$a->strings['Use Cat as Avatar'] = 'Utiliser ce Chat';
|
||||
$a->strings['Another random Cat!'] = 'Un autre Chat aléatoire !';
|
||||
$a->strings['Reset to email Cat'] = 'Revenir au Chat par défaut';
|
||||
$a->strings['The cat hadn\'t found itself.'] = 'Le Chat ne s\'y est pas retrouvé';
|
||||
$a->strings['There was an error, the cat ran away.'] = 'Il y a eu une erreur et le chat s\'est enfui';
|
||||
$a->strings['Profile Photos'] = 'Photos de profil';
|
||||
|
|
64
circle_text/group_text.php
Normal file
64
circle_text/group_text.php
Normal file
|
@ -0,0 +1,64 @@
|
|||
<?php
|
||||
/**
|
||||
* Name: Circle Text
|
||||
* Description: Disable images in circle edit menu
|
||||
* Version: 1.0
|
||||
* Author: Thomas Willingham <https://kakste.com/profile/beardyunixer>
|
||||
*/
|
||||
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\DI;
|
||||
|
||||
function circle_text_install()
|
||||
{
|
||||
Hook::register('addon_settings', __FILE__, 'circle_text_settings');
|
||||
Hook::register('addon_settings_post', __FILE__, 'circle_text_settings_post');
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Callback from the settings post function.
|
||||
* $post contains the $_POST array.
|
||||
* We will make sure we've got a valid user account
|
||||
* and if so set our configuration setting for this person.
|
||||
*
|
||||
*/
|
||||
|
||||
function circle_text_settings_post(array $post)
|
||||
{
|
||||
if (!DI::userSession()->getLocalUserId() || empty($post['circle_text-submit'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
DI::pConfig()->set(DI::userSession()->getLocalUserId(), 'system', 'circle_edit_image_limit', intval($post['circle_text']));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Called from the Addon Setting form.
|
||||
* Add our own settings info to the page.
|
||||
*
|
||||
*/
|
||||
|
||||
function circle_text_settings(array &$data)
|
||||
{
|
||||
if (!DI::userSession()->getLocalUserId()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$enabled = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'circle_edit_image_limit') ??
|
||||
DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'groupedit_image_limit');
|
||||
|
||||
$t = Renderer::getMarkupTemplate('settings.tpl', 'addon/circle_text/');
|
||||
$html = Renderer::replaceMacros($t, [
|
||||
'$enabled' => ['circle_text', DI::l10n()->t('Use a text only (non-image) circle selector in the "circle edit" menu'), $enabled],
|
||||
]);
|
||||
|
||||
$data = [
|
||||
'addon' => 'circle_text',
|
||||
'title' => DI::l10n()->t('Circle Text'),
|
||||
'html' => $html,
|
||||
];
|
||||
}
|
26
circle_text/lang/C/messages.po
Normal file
26
circle_text/lang/C/messages.po
Normal file
|
@ -0,0 +1,26 @@
|
|||
# ADDON circle_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica circle_text addon package.
|
||||
#
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-03 15:48-0400\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"
|
||||
|
||||
#: group_text.php:56
|
||||
msgid "Use a text only (non-image) circle selector in the \"circle edit\" menu"
|
||||
msgstr ""
|
||||
|
||||
#: group_text.php:61
|
||||
msgid "Circle Text"
|
||||
msgstr ""
|
32
circle_text/lang/ar/messages.po
Normal file
32
circle_text/lang/ar/messages.po
Normal file
|
@ -0,0 +1,32 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Farida Khalaf <faridakhalaf@hotmail.com>, 2021
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-01 18:15+0100\n"
|
||||
"PO-Revision-Date: 2021-02-21 02:59+0000\n"
|
||||
"Last-Translator: Farida Khalaf <faridakhalaf@hotmail.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"
|
||||
|
||||
#: group_text.php:62
|
||||
msgid "Group Text"
|
||||
msgstr "نص المجموعة:"
|
||||
|
||||
#: group_text.php:64
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "استخدم محدد نصي للمجموعة فقط (غير مصور) في قائمة \"تعديل المجموعة\""
|
||||
|
||||
#: group_text.php:70
|
||||
msgid "Save Settings"
|
||||
msgstr "حفظ الإعدادات"
|
10
circle_text/lang/ar/strings.php
Normal file
10
circle_text/lang/ar/strings.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?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['Group Text'] = 'نص المجموعة:';
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'استخدم محدد نصي للمجموعة فقط (غير مصور) في قائمة "تعديل المجموعة"';
|
||||
$a->strings['Save Settings'] = 'حفظ الإعدادات';
|
36
circle_text/lang/ca/messages.po
Normal file
36
circle_text/lang/ca/messages.po
Normal file
|
@ -0,0 +1,36 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Joan Bar <friendica@tutanota.com>, 2019
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
|
||||
"PO-Revision-Date: 2019-10-14 00:45+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"
|
||||
|
||||
#: group_text.php:46
|
||||
msgid "Group Text settings updated."
|
||||
msgstr "La configuració del text del grup s'ha actualitzat."
|
||||
|
||||
#: group_text.php:76
|
||||
msgid "Group Text"
|
||||
msgstr "Missatge del grup"
|
||||
|
||||
#: group_text.php:78
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Utilitzeu un selector de grup de només text (que no sigui una imatge) al menú 'Edita grup'"
|
||||
|
||||
#: group_text.php:84
|
||||
msgid "Submit"
|
||||
msgstr "sotmetre's"
|
11
circle_text/lang/ca/strings.php
Normal file
11
circle_text/lang/ca/strings.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_ca")) {
|
||||
function string_plural_select_ca($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Group Text settings updated.'] = 'La configuració del text del grup s\'ha actualitzat.';
|
||||
$a->strings['Group Text'] = 'Missatge del grup';
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Utilitzeu un selector de grup de només text (que no sigui una imatge) al menú \'Edita grup\'';
|
||||
$a->strings['Submit'] = 'sotmetre\'s';
|
37
circle_text/lang/cs/messages.po
Normal file
37
circle_text/lang/cs/messages.po
Normal file
|
@ -0,0 +1,37 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Aditoo, 2018
|
||||
# michal_s <msupler@gmail.com>, 2014-2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
|
||||
"PO-Revision-Date: 2018-09-12 09:47+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"
|
||||
|
||||
#: group_text.php:46
|
||||
msgid "Group Text settings updated."
|
||||
msgstr "Nastavení Group Text aktualizována."
|
||||
|
||||
#: group_text.php:76
|
||||
msgid "Group Text"
|
||||
msgstr "Skupinový text"
|
||||
|
||||
#: group_text.php:78
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Použijte pouze textový (bezobrázkový) výběr skupiny v menu úpravy skupin."
|
||||
|
||||
#: group_text.php:84
|
||||
msgid "Submit"
|
||||
msgstr "Odeslat"
|
11
circle_text/lang/cs/strings.php
Normal file
11
circle_text/lang/cs/strings.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?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['Group Text settings updated.'] = 'Nastavení Group Text aktualizována.';
|
||||
$a->strings['Group Text'] = 'Skupinový text';
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Použijte pouze textový (bezobrázkový) výběr skupiny v menu úpravy skupin.';
|
||||
$a->strings['Submit'] = 'Odeslat';
|
28
circle_text/lang/da-dk/messages.po
Normal file
28
circle_text/lang/da-dk/messages.po
Normal file
|
@ -0,0 +1,28 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Anton <dev@atjn.dk>, 2022
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:14-0500\n"
|
||||
"PO-Revision-Date: 2014-06-23 08:35+0000\n"
|
||||
"Last-Translator: Anton <dev@atjn.dk>, 2022\n"
|
||||
"Language-Team: Danish (Denmark) (http://www.transifex.com/Friendica/friendica/language/da_DK/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: da_DK\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: group_text.php:58
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Brug en kun-tekst (intet billede) gruppevælger i grupperedigeringsmenuen"
|
||||
|
||||
#: group_text.php:63
|
||||
msgid "Group Text"
|
||||
msgstr "Gruppebesked"
|
9
circle_text/lang/da-dk/strings.php
Normal file
9
circle_text/lang/da-dk/strings.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_da_dk")) {
|
||||
function string_plural_select_da_dk($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Brug en kun-tekst (intet billede) gruppevælger i grupperedigeringsmenuen';
|
||||
$a->strings['Group Text'] = 'Gruppebesked';
|
31
circle_text/lang/de/messages.po
Normal file
31
circle_text/lang/de/messages.po
Normal file
|
@ -0,0 +1,31 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Andreas H., 2014
|
||||
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2014
|
||||
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2021
|
||||
# Ulf Rompe <transifex.com@rompe.org>, 2019
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:14-0500\n"
|
||||
"PO-Revision-Date: 2014-06-23 08:35+0000\n"
|
||||
"Last-Translator: Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2021\n"
|
||||
"Language-Team: German (http://app.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"
|
||||
|
||||
#: group_text.php:58
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Beim Bearbeiten von Gruppen Text statt Bilder anzeigen"
|
||||
|
||||
#: group_text.php:63
|
||||
msgid "Group Text"
|
||||
msgstr "Gruppen als Text"
|
9
circle_text/lang/de/strings.php
Normal file
9
circle_text/lang/de/strings.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_de")) {
|
||||
function string_plural_select_de($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Beim Bearbeiten von Gruppen Text statt Bilder anzeigen';
|
||||
$a->strings['Group Text'] = 'Gruppen als Text';
|
5
circle_text/lang/eo/strings.php
Normal file
5
circle_text/lang/eo/strings.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
$a->strings["Group Text"] = "";
|
||||
$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = "";
|
||||
$a->strings["Submit"] = "Sendi";
|
33
circle_text/lang/es/messages.po
Normal file
33
circle_text/lang/es/messages.po
Normal file
|
@ -0,0 +1,33 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Albert, 2016
|
||||
# Senex Petrovic <javierruizo@hotmail.com>, 2021
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-01 18:15+0100\n"
|
||||
"PO-Revision-Date: 2021-04-01 09:56+0000\n"
|
||||
"Last-Translator: Senex Petrovic <javierruizo@hotmail.com>\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"
|
||||
|
||||
#: group_text.php:62
|
||||
msgid "Group Text"
|
||||
msgstr "Grupo de Texto"
|
||||
|
||||
#: group_text.php:64
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Utilice sólo el selector de grupo de texto (no imagen) en el menú \"edición de grupo\""
|
||||
|
||||
#: group_text.php:70
|
||||
msgid "Save Settings"
|
||||
msgstr "Guardar Ajustes"
|
10
circle_text/lang/es/strings.php
Normal file
10
circle_text/lang/es/strings.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_es")) {
|
||||
function string_plural_select_es($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Group Text'] = 'Grupo de Texto';
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Utilice sólo el selector de grupo de texto (no imagen) en el menú "edición de grupo"';
|
||||
$a->strings['Save Settings'] = 'Guardar Ajustes';
|
37
circle_text/lang/fi-fi/messages.po
Normal file
37
circle_text/lang/fi-fi/messages.po
Normal file
|
@ -0,0 +1,37 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Kris, 2018
|
||||
# Kris, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
|
||||
"PO-Revision-Date: 2018-04-08 15:51+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"
|
||||
|
||||
#: group_text.php:46
|
||||
msgid "Group Text settings updated."
|
||||
msgstr "Group Text -asetukset päivitetty."
|
||||
|
||||
#: group_text.php:76
|
||||
msgid "Group Text"
|
||||
msgstr "Group Text"
|
||||
|
||||
#: group_text.php:78
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr ""
|
||||
|
||||
#: group_text.php:84
|
||||
msgid "Submit"
|
||||
msgstr "Lähetä"
|
10
circle_text/lang/fi-fi/strings.php
Normal file
10
circle_text/lang/fi-fi/strings.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?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['Group Text settings updated.'] = 'Group Text -asetukset päivitetty.';
|
||||
$a->strings['Group Text'] = 'Group Text';
|
||||
$a->strings['Submit'] = 'Lähetä';
|
29
circle_text/lang/fr/messages.po
Normal file
29
circle_text/lang/fr/messages.po
Normal file
|
@ -0,0 +1,29 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# bob lebonche <lebonche@tutanota.com>, 2021
|
||||
# Hypolite Petovan <hypolite@mrpetovan.com>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:14-0500\n"
|
||||
"PO-Revision-Date: 2014-06-23 08:35+0000\n"
|
||||
"Last-Translator: bob lebonche <lebonche@tutanota.com>, 2021\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=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
||||
|
||||
#: group_text.php:58
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Utiliser uniquement un groupe de texte (pas d'image) dans le menu \"groupedit\""
|
||||
|
||||
#: group_text.php:63
|
||||
msgid "Group Text"
|
||||
msgstr "Groupe de texte"
|
9
circle_text/lang/fr/strings.php
Normal file
9
circle_text/lang/fr/strings.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_fr")) {
|
||||
function string_plural_select_fr($n){
|
||||
$n = intval($n);
|
||||
if (($n == 0 || $n == 1)) { return 0; } else if ($n != 0 && $n % 1000000 == 0) { return 1; } else { return 2; }
|
||||
}}
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Utiliser uniquement un groupe de texte (pas d\'image) dans le menu "groupedit"';
|
||||
$a->strings['Group Text'] = 'Groupe de texte';
|
28
circle_text/lang/hu/messages.po
Normal file
28
circle_text/lang/hu/messages.po
Normal file
|
@ -0,0 +1,28 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Balázs Úr, 2020-2021
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:14-0500\n"
|
||||
"PO-Revision-Date: 2014-06-23 08:35+0000\n"
|
||||
"Last-Translator: Balázs Úr, 2020-2021\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"
|
||||
|
||||
#: group_text.php:58
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Csak szöveges (kép nélküli) csoportválasztó használata a „csoportszerkesztés” menüben"
|
||||
|
||||
#: group_text.php:63
|
||||
msgid "Group Text"
|
||||
msgstr "Csoportszöveg"
|
9
circle_text/lang/hu/strings.php
Normal file
9
circle_text/lang/hu/strings.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_hu")) {
|
||||
function string_plural_select_hu($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Csak szöveges (kép nélküli) csoportválasztó használata a „csoportszerkesztés” menüben';
|
||||
$a->strings['Group Text'] = 'Csoportszöveg';
|
5
circle_text/lang/is/strings.php
Normal file
5
circle_text/lang/is/strings.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
$a->strings["Group Text"] = "";
|
||||
$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = "";
|
||||
$a->strings["Submit"] = "Senda inn";
|
33
circle_text/lang/it/messages.po
Normal file
33
circle_text/lang/it/messages.po
Normal file
|
@ -0,0 +1,33 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
|
||||
# Sylke Vicious <silkevicious@gmail.com>, 2021
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-01 18:15+0100\n"
|
||||
"PO-Revision-Date: 2021-02-16 12:48+0000\n"
|
||||
"Last-Translator: Sylke Vicious <silkevicious@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"
|
||||
|
||||
#: group_text.php:62
|
||||
msgid "Group Text"
|
||||
msgstr "Editor Gruppi Testuale"
|
||||
|
||||
#: group_text.php:64
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Usa un selettore testuale (senza immagini) nella pagina \"modifica gruppo\""
|
||||
|
||||
#: group_text.php:70
|
||||
msgid "Save Settings"
|
||||
msgstr "Salva Impostazioni"
|
10
circle_text/lang/it/strings.php
Normal file
10
circle_text/lang/it/strings.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_it")) {
|
||||
function string_plural_select_it($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Group Text'] = 'Editor Gruppi Testuale';
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Usa un selettore testuale (senza immagini) nella pagina "modifica gruppo"';
|
||||
$a->strings['Save Settings'] = 'Salva Impostazioni';
|
5
circle_text/lang/nb-no/strings.php
Normal file
5
circle_text/lang/nb-no/strings.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
$a->strings["Group Text"] = "";
|
||||
$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = "";
|
||||
$a->strings["Submit"] = "Lagre";
|
36
circle_text/lang/nl/messages.po
Normal file
36
circle_text/lang/nl/messages.po
Normal file
|
@ -0,0 +1,36 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Jeroen De Meerleer <me@jeroened.be>, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
|
||||
"PO-Revision-Date: 2018-08-24 13:48+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"
|
||||
|
||||
#: group_text.php:46
|
||||
msgid "Group Text settings updated."
|
||||
msgstr "Groupsberichten instellingen opgeslagen"
|
||||
|
||||
#: group_text.php:76
|
||||
msgid "Group Text"
|
||||
msgstr "Groepsbericht"
|
||||
|
||||
#: group_text.php:78
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr ""
|
||||
|
||||
#: group_text.php:84
|
||||
msgid "Submit"
|
||||
msgstr ""
|
9
circle_text/lang/nl/strings.php
Normal file
9
circle_text/lang/nl/strings.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_nl")) {
|
||||
function string_plural_select_nl($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Group Text settings updated.'] = 'Groupsberichten instellingen opgeslagen';
|
||||
$a->strings['Group Text'] = 'Groepsbericht';
|
28
circle_text/lang/pl/messages.po
Normal file
28
circle_text/lang/pl/messages.po
Normal file
|
@ -0,0 +1,28 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Waldemar Stoczkowski, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:14-0500\n"
|
||||
"PO-Revision-Date: 2014-06-23 08:35+0000\n"
|
||||
"Last-Translator: Waldemar Stoczkowski, 2018\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"
|
||||
|
||||
#: group_text.php:58
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Użyj tylko tekst (bez obrazu) selektor grupy w menu \"Edycja grupy\""
|
||||
|
||||
#: group_text.php:63
|
||||
msgid "Group Text"
|
||||
msgstr "Grupuj tekst"
|
9
circle_text/lang/pl/strings.php
Normal file
9
circle_text/lang/pl/strings.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?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['Use a text only (non-image) group selector in the "group edit" menu'] = 'Użyj tylko tekst (bez obrazu) selektor grupy w menu "Edycja grupy"';
|
||||
$a->strings['Group Text'] = 'Grupuj tekst';
|
5
circle_text/lang/pt-br/strings.php
Normal file
5
circle_text/lang/pt-br/strings.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
$a->strings["Group Text"] = "";
|
||||
$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = "";
|
||||
$a->strings["Submit"] = "Enviar";
|
36
circle_text/lang/ro/messages.po
Normal file
36
circle_text/lang/ro/messages.po
Normal file
|
@ -0,0 +1,36 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Doru DEACONU <dumitrudeaconu@yahoo.com>, 2014
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
|
||||
"PO-Revision-Date: 2014-11-27 14:15+0000\n"
|
||||
"Last-Translator: Doru DEACONU <dumitrudeaconu@yahoo.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"
|
||||
|
||||
#: group_text.php:46
|
||||
msgid "Group Text settings updated."
|
||||
msgstr "Configurările Text Grup, au fost actualizate."
|
||||
|
||||
#: group_text.php:76
|
||||
msgid "Group Text"
|
||||
msgstr "Text Grup"
|
||||
|
||||
#: group_text.php:78
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Folosiți în meniul \"editare grup\" un selector de grup strict textual (fără-imagine)"
|
||||
|
||||
#: group_text.php:84
|
||||
msgid "Submit"
|
||||
msgstr "Trimite"
|
11
circle_text/lang/ro/strings.php
Normal file
11
circle_text/lang/ro/strings.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?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['Group Text settings updated.'] = 'Configurările Text Grup, au fost actualizate.';
|
||||
$a->strings['Group Text'] = 'Text Grup';
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Folosiți în meniul "editare grup" un selector de grup strict textual (fără-imagine)';
|
||||
$a->strings['Submit'] = 'Trimite';
|
36
circle_text/lang/ru/messages.po
Normal file
36
circle_text/lang/ru/messages.po
Normal file
|
@ -0,0 +1,36 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Stanislav N. <pztrn@pztrn.name>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
|
||||
"PO-Revision-Date: 2017-04-08 17:26+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"
|
||||
|
||||
#: group_text.php:46
|
||||
msgid "Group Text settings updated."
|
||||
msgstr "Настройки Group Text обновлены."
|
||||
|
||||
#: group_text.php:76
|
||||
msgid "Group Text"
|
||||
msgstr "Group Text"
|
||||
|
||||
#: group_text.php:78
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr "Используйте текстовый (не изображение) селектор группы в режиме редактирования группы"
|
||||
|
||||
#: group_text.php:84
|
||||
msgid "Submit"
|
||||
msgstr "Добавить"
|
11
circle_text/lang/ru/strings.php
Normal file
11
circle_text/lang/ru/strings.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?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['Group Text settings updated.'] = 'Настройки Group Text обновлены.';
|
||||
$a->strings['Group Text'] = 'Group Text';
|
||||
$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Используйте текстовый (не изображение) селектор группы в режиме редактирования группы';
|
||||
$a->strings['Submit'] = 'Добавить';
|
28
circle_text/lang/sv/messages.po
Normal file
28
circle_text/lang/sv/messages.po
Normal file
|
@ -0,0 +1,28 @@
|
|||
# ADDON group_text
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica group_text addon package.
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Kristoffer Grundström <lovaren@gmail.com>, 2022
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-11-21 19:14-0500\n"
|
||||
"PO-Revision-Date: 2022-01-16 00:35+0000\n"
|
||||
"Last-Translator: Kristoffer Grundström <lovaren@gmail.com>\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"
|
||||
|
||||
#: group_text.php:58
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr ""
|
||||
|
||||
#: group_text.php:63
|
||||
msgid "Group Text"
|
||||
msgstr "Grupptext"
|
8
circle_text/lang/sv/strings.php
Normal file
8
circle_text/lang/sv/strings.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_sv")) {
|
||||
function string_plural_select_sv($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Group Text'] = 'Grupptext';
|
6
circle_text/lang/zh-cn/strings.php
Normal file
6
circle_text/lang/zh-cn/strings.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
|
||||
$a->strings["Group Text settings updated."] = "组正文设置更新了。";
|
||||
$a->strings["Group Text"] = "组正文";
|
||||
$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = "用光正文(无图片)组选择器在「组编辑」单";
|
||||
$a->strings["Submit"] = "提交";
|
1
circle_text/templates/settings.tpl
Normal file
1
circle_text/templates/settings.tpl
Normal file
|
@ -0,0 +1 @@
|
|||
{{include file="field_checkbox.tpl" field=$enabled}}
|
85
cld/README.md
Normal file
85
cld/README.md
Normal file
|
@ -0,0 +1,85 @@
|
|||
Compact Language Detector
|
||||
===
|
||||
CLD2 is an advanced language dectection library with a high reliability.
|
||||
|
||||
This addon depends on the CLD PHP module which is not included in any Linux distribution.
|
||||
It needs to be built and installed by hand, which is not totally straightforward.
|
||||
|
||||
Prerequisite
|
||||
---
|
||||
To be able to build the extension, you need the CLD module and the files for the PHP module development.
|
||||
On Debian you install the packages php-dev, libcld2-dev and libcld2-0.
|
||||
Make sure to have installed the correct PHP version.
|
||||
Means: When you have got both PHP 8.0 and 8.2 on your system, you have to install php8.0-dev as well.
|
||||
|
||||
Installation
|
||||
---
|
||||
The original PHP extension is https://github.com/fntlnz/cld2-php-ext.
|
||||
However, it doesn't support PHP8.
|
||||
So https://github.com/hiteule/cld2-php-ext/tree/support-php8 has to be used.
|
||||
|
||||
Download the source code:
|
||||
```
|
||||
wget https://github.com/hiteule/cld2-php-ext/archive/refs/heads/support-php8.zip
|
||||
```
|
||||
|
||||
Unzip it:
|
||||
```
|
||||
unzip support-php8.zip
|
||||
```
|
||||
|
||||
Change into the folder:
|
||||
```
|
||||
cd cld2-php-ext-support-php8/
|
||||
```
|
||||
|
||||
Configure for the PHP Api version:
|
||||
```
|
||||
phpize
|
||||
```
|
||||
(if you have got several PHP versions on your system, execute the command with the version that you run Friendica with, e.g. `phpize8.0`)
|
||||
|
||||
Create the Makefile:
|
||||
```
|
||||
./configure --with-cld2=/usr/include/cld2
|
||||
```
|
||||
|
||||
Have a look at the line `checking for PHP includes`.
|
||||
When the output (for example `/usr/include/php/20220829` doesn't match the API version that you got from `phpize`, then you have to change all the version codes in your `Makefile` afterwards)
|
||||
|
||||
Create the module:
|
||||
```
|
||||
make -j
|
||||
```
|
||||
|
||||
Install it:
|
||||
```
|
||||
sudo make install
|
||||
```
|
||||
|
||||
Change to the folder with the available modules. When you use PHP 8.2 on Debian it is:
|
||||
```
|
||||
cd /etc/php/8.2/mods-available
|
||||
```
|
||||
|
||||
Create the file `cld2.ini` with this content:
|
||||
```
|
||||
; configuration for php cld2 module
|
||||
; priority=20
|
||||
extension=cld2.so
|
||||
```
|
||||
|
||||
Enable the module for all versions and all sapi:
|
||||
```
|
||||
phpenmod -v ALL -s ALL cld2
|
||||
```
|
||||
|
||||
Then restart the apache or fpm (or whatever you use) to load the changed configuration.
|
||||
|
||||
Call `/admin/phpinfo` on your webserver.
|
||||
You then see the PHP Info.
|
||||
Search for "cld2".
|
||||
The module is installed, when you find it here.
|
||||
**Only proceed when the module is installed**
|
||||
|
||||
Now you can enable the addon.
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue