Compare commits
137 commits
Author | SHA1 | Date | |
---|---|---|---|
cfff03f6e2 | |||
4524ad166b | |||
2ffb047736 | |||
f4bff37432 | |||
62c6c0f1cc | |||
5f79768a6b | |||
08950be588 | |||
9d77067e79 | |||
13b95e22da | |||
9d296b9f5d | |||
bf85c8f986 | |||
064fd922e7 | |||
95ffadb19f | |||
8bd1cb11ae | |||
aade2ec534 | |||
f854d7d5f7 | |||
|
230f17ef36 | ||
30f6e6f5de | |||
d1a72232b3 | |||
9ff681a460 | |||
0ee5bf55b1 | |||
5829108c0e | |||
91aa66ed77 | |||
7fdbaa3678 | |||
df660b66c9 | |||
|
3f38b3adea | ||
e65bb660ce | |||
a5700cb2c9 | |||
2627b54349 | |||
8988ad9f9d | |||
7d5012e72e | |||
b0142f6ab2 | |||
cd809f7646 | |||
2aba91d42c | |||
2e84f5aa7b | |||
1ebddb042f | |||
0344c77336 | |||
5a16bcb57c | |||
146d4e6374 | |||
ef91f43be0 | |||
a3a5bd8ab4 | |||
c34fcd11f8 | |||
1356001334 | |||
b344935edc | |||
5de396bc67 | |||
fe9b12164d | |||
6ccbeef59c | |||
4e3dcaf331 | |||
ca605b8f23 | |||
13733e2f6c | |||
d22b656a46 | |||
|
b3a8ea85f1 | ||
2a747cbb06 | |||
ffea0fcbdb | |||
1507bfdcf8 | |||
b8332ac785 | |||
f707df488b | |||
|
750e369f57 | ||
4d7067b381 | |||
7112c65166 | |||
193b01cccd | |||
9b4961e2cc | |||
cb0bfae1ab | |||
16d1962324 | |||
e68b68110b | |||
a1921c999d | |||
959f526cb4 | |||
72d5e68c96 | |||
aa83091458 | |||
|
4205323d31 | ||
7b906d5e33 | |||
35194f8110 | |||
520ddf5a8c | |||
a24a7d866c | |||
f1b960c4eb | |||
0ce9dda5f6 | |||
360c421796 | |||
b7eab197b5 | |||
3939800068 | |||
|
96dec7c4df | ||
d6bf75ae04 | |||
4621ae2001 | |||
|
7780d3af09 | ||
e873d62e2c | |||
8e6aa14704 | |||
|
751a45fd3c | ||
|
b48c436141 | ||
ca0bb09f81 | |||
c21642d705 | |||
c8fa6ef3dc | |||
ffa16d1935 | |||
|
69b2356a1b | ||
|
1ca13876fb | ||
fad8939cb4 | |||
896a07f9cb | |||
1451b18460 | |||
d04b50d2b9 | |||
c41ce95f4e | |||
776851b84f | |||
|
937fedc2c7 | ||
0c203131b9 | |||
7799fb99ed | |||
b6933785dd | |||
83aa5152aa | |||
9ee72bb382 | |||
ad6db150c5 | |||
30bdf306ba | |||
5c9432dd57 | |||
19631ef206 | |||
685772e24e | |||
deabe4da49 | |||
|
d509dfbbfd | ||
aeb0a67b12 | |||
|
2eca458ec1 | ||
b0a258cd0e | |||
e082c0535d | |||
|
b030cfd4e3 | ||
6cdbcbddb1 | |||
476f7ae832 | |||
57dd610e73 | |||
0cdbd3af2d | |||
230ceeab29 | |||
f47f263fc3 | |||
a402fbdf5d | |||
10edbea99e | |||
c18551c44c | |||
|
dfd1a14300 | ||
|
778168e0c4 | ||
1e3dab7c10 | |||
8c602d3566 | |||
2e1812a369 | |||
a0cfd33521 | |||
942de39e6d | |||
6ada08b8f7 | |||
a7a9001f5e | |||
c0ff5c1cba | |||
2324c4836f |
139 changed files with 8146 additions and 1301 deletions
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
1. Fork the repository
|
1. Fork the repository
|
||||||
2. Create a new branch for each feature or improvement
|
2. Create a new branch for each feature or improvement
|
||||||
3. Send a pull request from each feature branch to the master branch
|
3. Send a pull request from each feature branch to the stable branch
|
||||||
|
|
||||||
It is very important to separate new features or improvements into separate feature branches, and to send a
|
It is very important to separate new features or improvements into separate feature branches, and to send a
|
||||||
pull request for each branch. This allows us to review and pull in new features or improvements individually.
|
pull request for each branch. This allows us to review and pull in new features or improvements individually.
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
2.2.0
|
2.4.2
|
||||||
|
|
BIN
bin/composer.phar
Normal file
BIN
bin/composer.phar
Normal file
Binary file not shown.
|
@ -15,9 +15,9 @@ require __DIR__ . '/../src/dependencies.php';
|
||||||
|
|
||||||
(new \Friendica\Directory\Controllers\Cron(
|
(new \Friendica\Directory\Controllers\Cron(
|
||||||
$container->get('atlas'),
|
$container->get('atlas'),
|
||||||
$container->get('\Friendica\Directory\Pollers\Profile'),
|
$container->get(\Friendica\Directory\Pollers\Profile::class),
|
||||||
$container->get('\Friendica\Directory\Pollers\Server'),
|
$container->get(\Friendica\Directory\Pollers\Server::class),
|
||||||
$container->get('\Friendica\Directory\Pollers\Directory'),
|
$container->get(\Friendica\Directory\Pollers\Directory::class),
|
||||||
$container->get('logger')
|
$container->get('logger')
|
||||||
))->execute();
|
))->execute();
|
||||||
|
|
||||||
|
|
|
@ -16,21 +16,24 @@
|
||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
"ext-gd": "*",
|
"ext-gd": "*",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
|
"ext-pdo": "*",
|
||||||
"asika/simple-console": "^1.0",
|
"asika/simple-console": "^1.0",
|
||||||
"atlas/pdo": "^1.1",
|
"atlas/pdo": "^1.1",
|
||||||
"boronczyk/localization-middleware": "^1.4",
|
"boronczyk/localization-middleware": "^1.4",
|
||||||
"byjg/migration": "^4.0",
|
"byjg/migration": "^4.0",
|
||||||
"byjg/webrequest": "^1.0",
|
"byjg/uri": "^1.0.4",
|
||||||
"gettext/gettext": "^4.6",
|
"gettext/gettext": "^4.6",
|
||||||
"gofabian/negotiation-middleware": "^0.1.3",
|
"gofabian/negotiation-middleware": "dev-master",
|
||||||
|
"guzzlehttp/guzzle": "^6.5",
|
||||||
|
"laminas/laminas-escaper": "^2.6",
|
||||||
|
"laminas/laminas-zendframework-bridge": "^1.4",
|
||||||
"masterminds/html5": "^2.3",
|
"masterminds/html5": "^2.3",
|
||||||
"monolog/monolog": "^1.17",
|
"monolog/monolog": "^1.17",
|
||||||
"mrpetovan/net_ping": "^1.0",
|
"mrpetovan/net_ping": "^1.2",
|
||||||
"sarahman/simple-filesystem-cache": "dev-master",
|
"sarahman/simple-filesystem-cache": "^1.0",
|
||||||
"seld/cli-prompt": "^1.0",
|
"seld/cli-prompt": "^1.0",
|
||||||
"slim/slim": "^3.1",
|
"slim/slim": "^3.1",
|
||||||
"slim/php-view": "^2.0",
|
"slim/php-view": "^2.0",
|
||||||
"zendframework/zend-escaper": "^2.6",
|
|
||||||
"fxp/composer-asset-plugin": "^1.4",
|
"fxp/composer-asset-plugin": "^1.4",
|
||||||
"bower-asset/bootstrap.native": "^2.0",
|
"bower-asset/bootstrap.native": "^2.0",
|
||||||
"bower-asset/fontawesome": "^5.5"
|
"bower-asset/fontawesome": "^5.5"
|
||||||
|
@ -38,8 +41,8 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"bower-asset/bootstrap": "^4.1",
|
"bower-asset/bootstrap": "^4.1",
|
||||||
"phpunit/phpunit": ">=4.8 < 6.0",
|
"phpunit/phpunit": ">=4.8 < 6.0",
|
||||||
"vimeo/psalm": "^2.0",
|
"scssphp/scssphp": "^1.1",
|
||||||
"leafo/scssphp": "^0.7.7"
|
"vimeo/psalm": "^2.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
@ -52,6 +55,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
"platform": {
|
||||||
|
"php": "7.3.0"
|
||||||
|
},
|
||||||
"process-timeout" : 0,
|
"process-timeout" : 0,
|
||||||
"autoloader-suffix": "FriendicaDirectory",
|
"autoloader-suffix": "FriendicaDirectory",
|
||||||
"optimize-autoloader": true,
|
"optimize-autoloader": true,
|
||||||
|
|
1972
composer.lock
generated
1972
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -11,14 +11,16 @@ Redirects to the base URL of a random server with open registration policy and a
|
||||||
## Search
|
## Search
|
||||||
|
|
||||||
```
|
```
|
||||||
GET /search[/account_type]?q=...
|
GET /search[/account_type]?q=...[&page=...][&limit=...]
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
```
|
```
|
||||||
|
|
||||||
Parameters:
|
URI Parameter:
|
||||||
|
- `account_type` (optional): An arbitrary account type string. Expected values are `all`, `people`, `news`, `organization` and `group`. Default is `all`.
|
||||||
|
Query parameters:
|
||||||
- `q`: The search query.
|
- `q`: The search query.
|
||||||
- `account_type` (optional): An arbitrary account type string. Currently supported are `all`, `people` and `forum`. Default is `all`.
|
|
||||||
- `page` (optional): The page number, default is 1.
|
- `page` (optional): The page number, default is 1.
|
||||||
|
- `limit` (optional): The page size, default is 20, max is 100.
|
||||||
|
|
||||||
Returns a JSON structure containing a paginated list profiles matching the search query and the optional account type.
|
Returns a JSON structure containing a paginated list profiles matching the search query and the optional account type.
|
||||||
|
|
||||||
|
@ -42,10 +44,11 @@ Example:
|
||||||
"region": "New York",
|
"region": "New York",
|
||||||
"country": "USA",
|
"country": "USA",
|
||||||
"profile_url": "https://friendica.mrpetovan.com/profile/hypolite",
|
"profile_url": "https://friendica.mrpetovan.com/profile/hypolite",
|
||||||
"dfrn_request": "https://friendica.mrpetovan.com/dfrn_request/hypolite",
|
|
||||||
"photo": "https://friendica.mrpetovan.com/photo/27330388315ae4ed2b03e3c116980490-4.jpg?ts=1541567135",
|
"photo": "https://friendica.mrpetovan.com/photo/27330388315ae4ed2b03e3c116980490-4.jpg?ts=1541567135",
|
||||||
"tags": "videogame gaming boardgame politics philosophy development programming php",
|
"tags": "videogame gaming boardgame politics philosophy development programming php",
|
||||||
"last_activity": "2018-45"
|
"last_activity": "2018-45",
|
||||||
|
"remote_follow": "https://friendica.mrpetovan.com/remote_follow/hypolite",
|
||||||
|
"subscribe": null
|
||||||
},
|
},
|
||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 325 B After Width: | Height: | Size: 2.6 KiB |
|
@ -5,7 +5,7 @@ namespace Friendica\Directory\Content;
|
||||||
/**
|
/**
|
||||||
* The Pager has two very different output, Minimal and Full, see renderMinimal() and renderFull() for more details.
|
* The Pager has two very different output, Minimal and Full, see renderMinimal() and renderFull() for more details.
|
||||||
*
|
*
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Pager
|
class Pager
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,14 +7,10 @@ use Psr\Http\Message\ResponseInterface;
|
||||||
use Psr\Http\Message\ServerRequestInterface;
|
use Psr\Http\Message\ServerRequestInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class MatchSearch
|
class MatchSearch
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var \Atlas\Pdo\Connection
|
|
||||||
*/
|
|
||||||
private $atlas;
|
|
||||||
/**
|
/**
|
||||||
* @var \Friendica\Directory\Models\Profile
|
* @var \Friendica\Directory\Models\Profile
|
||||||
*/
|
*/
|
||||||
|
@ -25,12 +21,10 @@ class MatchSearch
|
||||||
private $l10n;
|
private $l10n;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\Atlas\Pdo\Connection $atlas,
|
|
||||||
\Friendica\Directory\Models\Profile $profileModel,
|
\Friendica\Directory\Models\Profile $profileModel,
|
||||||
\Gettext\TranslatorInterface $l10n
|
\Gettext\TranslatorInterface $l10n
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
$this->atlas = $atlas;
|
|
||||||
$this->profileModel = $profileModel;
|
$this->profileModel = $profileModel;
|
||||||
$this->l10n = $l10n;
|
$this->l10n = $l10n;
|
||||||
}
|
}
|
||||||
|
@ -48,10 +42,18 @@ class MatchSearch
|
||||||
$pager->setPage(filter_input(INPUT_POST, 'p', FILTER_SANITIZE_NUMBER_INT));
|
$pager->setPage(filter_input(INPUT_POST, 'p', FILTER_SANITIZE_NUMBER_INT));
|
||||||
|
|
||||||
$sql_where = "MATCH (p.`tags`) AGAINST (:query)";
|
$sql_where = "MATCH (p.`tags`) AGAINST (:query)";
|
||||||
|
// At sign (@) is a reserved symbol in InnoDB full-text search, it can't be escaped
|
||||||
|
$query = str_replace('@', ' ', $query);
|
||||||
|
|
||||||
$values = ['query' => $query];
|
$values = ['query' => $query];
|
||||||
|
|
||||||
$profiles = $this->profileModel->getListForDisplay($pager->getItemsPerPage(), $pager->getStart(), $sql_where, $values);
|
$profiles = $this->profileModel->getListForDisplay(
|
||||||
|
null,
|
||||||
|
$pager->getItemsPerPage(),
|
||||||
|
$pager->getStart(),
|
||||||
|
$sql_where,
|
||||||
|
$values,
|
||||||
|
);
|
||||||
|
|
||||||
$results = [];
|
$results = [];
|
||||||
foreach ($profiles as $profile) {
|
foreach ($profiles as $profile) {
|
||||||
|
|
|
@ -6,7 +6,7 @@ use Slim\Http\Request;
|
||||||
use Slim\Http\Response;
|
use Slim\Http\Response;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Photo
|
class Photo
|
||||||
{
|
{
|
||||||
|
@ -14,12 +14,18 @@ class Photo
|
||||||
* @var \Atlas\Pdo\Connection
|
* @var \Atlas\Pdo\Connection
|
||||||
*/
|
*/
|
||||||
private $atlas;
|
private $atlas;
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $defaultProfilePictureSmallPath;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\Atlas\Pdo\Connection $atlas
|
\Atlas\Pdo\Connection $atlas,
|
||||||
|
string $defaultProfilePictureSmallPath
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
$this->atlas = $atlas;
|
$this->atlas = $atlas;
|
||||||
|
$this->defaultProfilePictureSmallPath = $defaultProfilePictureSmallPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function render(Request $request, Response $response, array $args): Response
|
public function render(Request $request, Response $response, array $args): Response
|
||||||
|
@ -30,7 +36,7 @@ class Photo
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!$data) {
|
if (!$data) {
|
||||||
$data = file_get_contents('public/images/default-profile-sm.jpg');
|
$data = file_get_contents($this->defaultProfilePictureSmallPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Try and cache our result.
|
//Try and cache our result.
|
||||||
|
|
|
@ -7,14 +7,10 @@ use Psr\Http\Message\ResponseInterface;
|
||||||
use Psr\Http\Message\ServerRequestInterface;
|
use Psr\Http\Message\ServerRequestInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Search
|
class Search
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var \Atlas\Pdo\Connection
|
|
||||||
*/
|
|
||||||
private $atlas;
|
|
||||||
/**
|
/**
|
||||||
* @var \Friendica\Directory\Models\Profile
|
* @var \Friendica\Directory\Models\Profile
|
||||||
*/
|
*/
|
||||||
|
@ -25,19 +21,19 @@ class Search
|
||||||
private $l10n;
|
private $l10n;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\Atlas\Pdo\Connection $atlas,
|
|
||||||
\Friendica\Directory\Models\Profile $profileModel,
|
\Friendica\Directory\Models\Profile $profileModel,
|
||||||
\Gettext\TranslatorInterface $l10n
|
\Gettext\TranslatorInterface $l10n
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
$this->atlas = $atlas;
|
|
||||||
$this->profileModel = $profileModel;
|
$this->profileModel = $profileModel;
|
||||||
$this->l10n = $l10n;
|
$this->l10n = $l10n;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function render(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
public function render(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
||||||
{
|
{
|
||||||
$pager = new Pager($this->l10n, $request, 20);
|
$limit = min(100, filter_input(INPUT_GET, 'limit', FILTER_SANITIZE_NUMBER_INT) ?: 20);
|
||||||
|
|
||||||
|
$pager = new Pager($this->l10n, $request, $limit);
|
||||||
|
|
||||||
$originalQuery = $query = filter_input(INPUT_GET, 'q');
|
$originalQuery = $query = filter_input(INPUT_GET, 'q');
|
||||||
|
|
||||||
|
@ -47,8 +43,10 @@ class Search
|
||||||
$query .= '%';
|
$query .= '%';
|
||||||
$sql_where = '`' . $field . '` LIKE :query';
|
$sql_where = '`' . $field . '` LIKE :query';
|
||||||
} else {
|
} else {
|
||||||
$sql_where = "MATCH (p.`name`, p.`pdesc`, p.`profile_url`, p.`locality`, p.`region`, p.`country`, p.`tags` )
|
$sql_where = "MATCH (p.`name`, p.`pdesc`, p.`username`, p.`locality`, p.`region`, p.`country`, p.`tags` )
|
||||||
AGAINST (:query IN BOOLEAN MODE)";
|
AGAINST (:query IN BOOLEAN MODE)";
|
||||||
|
// At sign (@) is a reserved symbol in InnoDB full-text search, it can't be escaped
|
||||||
|
$query = str_replace('@', ' ', $query);
|
||||||
}
|
}
|
||||||
|
|
||||||
$values = ['query' => $query];
|
$values = ['query' => $query];
|
||||||
|
@ -60,7 +58,13 @@ AND `account_type` = :account_type';
|
||||||
$values['account_type'] = $account_type;
|
$values['account_type'] = $account_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
$profiles = $this->profileModel->getListForDisplay($pager->getItemsPerPage(), $pager->getStart(), $sql_where, $values);
|
$profiles = $this->profileModel->getListForDisplay(
|
||||||
|
null,
|
||||||
|
$pager->getItemsPerPage(),
|
||||||
|
$pager->getStart(),
|
||||||
|
$sql_where,
|
||||||
|
$values,
|
||||||
|
);
|
||||||
|
|
||||||
$count = $this->profileModel->getCountForDisplay($sql_where, $values);
|
$count = $this->profileModel->getCountForDisplay($sql_where, $values);
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ use Slim\Http\Request;
|
||||||
use Slim\Http\Response;
|
use Slim\Http\Response;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Submit
|
class Submit
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@ use Psr\Http\Message\ResponseInterface;
|
||||||
use Psr\Http\Message\ServerRequestInterface;
|
use Psr\Http\Message\ServerRequestInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Surprise
|
class Surprise
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@ use Slim\Http\Request;
|
||||||
use Slim\Http\Response;
|
use Slim\Http\Response;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class SyncPull
|
class SyncPull
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@ use Monolog\Logger;
|
||||||
/**
|
/**
|
||||||
* Description of Console
|
* Description of Console
|
||||||
*
|
*
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Console extends \Asika\SimpleConsole\Console
|
class Console extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Controllers\Console;
|
namespace Friendica\Directory\Controllers\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class DirectoryAdd extends \Asika\SimpleConsole\Console
|
class DirectoryAdd extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Controllers\Console;
|
namespace Friendica\Directory\Controllers\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class DirectoryPoll extends \Asika\SimpleConsole\Console
|
class DirectoryPoll extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,12 +2,11 @@
|
||||||
|
|
||||||
namespace Friendica\Directory\Controllers\Console;
|
namespace Friendica\Directory\Controllers\Console;
|
||||||
|
|
||||||
use Friendica\Directory\Utils\L10n;
|
|
||||||
use Gettext\Merge;
|
use Gettext\Merge;
|
||||||
use Gettext\Translations;
|
use Gettext\Translations;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ExtractStrings extends \Asika\SimpleConsole\Console
|
class ExtractStrings extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@ use Monolog\Logger;
|
||||||
use Seld\CliPrompt\CliPrompt;
|
use Seld\CliPrompt\CliPrompt;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Install extends \Asika\SimpleConsole\Console
|
class Install extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,9 @@ class Install extends \Asika\SimpleConsole\Console
|
||||||
protected function getHelp()
|
protected function getHelp()
|
||||||
{
|
{
|
||||||
$help = <<<HELP
|
$help = <<<HELP
|
||||||
console install - Install directory
|
console install - Install wizard
|
||||||
Usage
|
Usage
|
||||||
bin/console install <server_url> [-h|--help|-?] [-v]
|
bin/console install [-h|--help|-?] [-v]
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Install directory
|
Install directory
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace Friendica\Directory\Controllers\Console;
|
||||||
use Friendica\Directory\Models\ProfilePollQueue;
|
use Friendica\Directory\Models\ProfilePollQueue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ProfileAdd extends \Asika\SimpleConsole\Console
|
class ProfileAdd extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace Friendica\Directory\Controllers\Console;
|
||||||
use Friendica\Directory\Models\Profile;
|
use Friendica\Directory\Models\Profile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ProfileHide extends \Asika\SimpleConsole\Console
|
class ProfileHide extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Controllers\Console;
|
namespace Friendica\Directory\Controllers\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ProfilePoll extends \Asika\SimpleConsole\Console
|
class ProfilePoll extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Controllers\Console;
|
namespace Friendica\Directory\Controllers\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ServerHide extends \Asika\SimpleConsole\Console
|
class ServerHide extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Controllers\Console;
|
namespace Friendica\Directory\Controllers\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ServerPoll extends \Asika\SimpleConsole\Console
|
class ServerPoll extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace Friendica\Directory\Controllers\Console;
|
||||||
use Monolog\Logger;
|
use Monolog\Logger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class UpdateDb extends \Asika\SimpleConsole\Console
|
class UpdateDb extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
@ -37,12 +37,14 @@ class UpdateDb extends \Asika\SimpleConsole\Console
|
||||||
$help = <<<HELP
|
$help = <<<HELP
|
||||||
console updatedb - Update database schema
|
console updatedb - Update database schema
|
||||||
Usage
|
Usage
|
||||||
bin/console updatedb <server_url> [-h|--help|-?] [-v]
|
bin/console updatedb [<version>] [-h|--help|-?] [-v]
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Update database schema
|
Update database schema
|
||||||
|
|
||||||
Options
|
Options
|
||||||
|
<version> Optional target version number, default is the latest version.
|
||||||
|
Do not use this parameter if you're not sure what you're doing, it will result in data loss!
|
||||||
-h|--help|-? Show help information
|
-h|--help|-? Show help information
|
||||||
-v Show more debug information.
|
-v Show more debug information.
|
||||||
HELP;
|
HELP;
|
||||||
|
@ -56,16 +58,38 @@ HELP;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($this->args) > 1) {
|
if (count($this->args) > 2) {
|
||||||
throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments');
|
throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->out('Updating database schema to latest version...');
|
$currentVersion = $this->migration->getCurrentVersion()['version'];
|
||||||
|
|
||||||
$this->migration->up();
|
$this->out('Database schema currently in version ' . $currentVersion);
|
||||||
|
|
||||||
$this->out('Database schema migrated to version ' . $this->migration->getCurrentVersion()['version']);
|
if (count($this->args) == 1) {
|
||||||
|
$this->out('Updating database schema to latest version...');
|
||||||
|
$this->migration->up();
|
||||||
|
$this->out('Database schema migrated to version ' . $this->migration->getCurrentVersion()['version']);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
$target = $this->getArgument(1);
|
||||||
|
|
||||||
|
if ($target > $currentVersion) {
|
||||||
|
$this->out('Updating database schema to version ' . $target);
|
||||||
|
$this->migration->up($target);
|
||||||
|
$this->out('Database schema migrated up to version ' . $this->migration->getCurrentVersion()['version']);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($target < $currentVersion) {
|
||||||
|
$this->out('Downgrading database schema to version ' . $target);
|
||||||
|
$this->migration->down($target);
|
||||||
|
$this->out('Database schema migrated down to version ' . $this->migration->getCurrentVersion()['version']);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->out('Target version equal to current version, exiting.');
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Controllers;
|
namespace Friendica\Directory\Controllers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Cron
|
class Cron
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,13 +4,13 @@ namespace Friendica\Directory\Controllers\Web;
|
||||||
|
|
||||||
use Friendica\Directory\Content\Pager;
|
use Friendica\Directory\Content\Pager;
|
||||||
use Friendica\Directory\Views\Widget\PopularCountries;
|
use Friendica\Directory\Views\Widget\PopularCountries;
|
||||||
use Friendica\Directory\Views\Widget\PopularLanguages;
|
use Friendica\Directory\Views\Widget\PopularProfileLanguages;
|
||||||
use Friendica\Directory\Views\Widget\PopularTags;
|
use Friendica\Directory\Views\Widget\PopularTags;
|
||||||
use Slim\Http\Request;
|
use Slim\Http\Request;
|
||||||
use Slim\Http\Response;
|
use Slim\Http\Response;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Directory extends BaseController
|
class Directory extends BaseController
|
||||||
{
|
{
|
||||||
|
@ -18,6 +18,10 @@ class Directory extends BaseController
|
||||||
* @var \Atlas\Pdo\Connection
|
* @var \Atlas\Pdo\Connection
|
||||||
*/
|
*/
|
||||||
private $atlas;
|
private $atlas;
|
||||||
|
/**
|
||||||
|
* @var \Friendica\Directory\Models\Server
|
||||||
|
*/
|
||||||
|
private $serverModel;
|
||||||
/**
|
/**
|
||||||
* @var \Friendica\Directory\Models\Profile
|
* @var \Friendica\Directory\Models\Profile
|
||||||
*/
|
*/
|
||||||
|
@ -37,6 +41,7 @@ class Directory extends BaseController
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\Atlas\Pdo\Connection $atlas,
|
\Atlas\Pdo\Connection $atlas,
|
||||||
|
\Friendica\Directory\Models\Server $serverModel,
|
||||||
\Friendica\Directory\Models\Profile $profileModel,
|
\Friendica\Directory\Models\Profile $profileModel,
|
||||||
\Friendica\Directory\Views\Widget\AccountTypeTabs $accountTypeTabs,
|
\Friendica\Directory\Views\Widget\AccountTypeTabs $accountTypeTabs,
|
||||||
\Friendica\Directory\Views\PhpRenderer $renderer,
|
\Friendica\Directory\Views\PhpRenderer $renderer,
|
||||||
|
@ -44,6 +49,7 @@ class Directory extends BaseController
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
$this->atlas = $atlas;
|
$this->atlas = $atlas;
|
||||||
|
$this->serverModel = $serverModel;
|
||||||
$this->profileModel = $profileModel;
|
$this->profileModel = $profileModel;
|
||||||
$this->accountTypeTabs = $accountTypeTabs;
|
$this->accountTypeTabs = $accountTypeTabs;
|
||||||
$this->renderer = $renderer;
|
$this->renderer = $renderer;
|
||||||
|
@ -54,20 +60,26 @@ class Directory extends BaseController
|
||||||
{
|
{
|
||||||
$popularTags = new PopularTags($this->atlas, $this->renderer);
|
$popularTags = new PopularTags($this->atlas, $this->renderer);
|
||||||
$popularCountries = new PopularCountries($this->atlas, $this->renderer);
|
$popularCountries = new PopularCountries($this->atlas, $this->renderer);
|
||||||
$popularLanguages = new PopularLanguages($this->atlas, $this->renderer);
|
$popularLanguages = new PopularProfileLanguages($this->atlas, $this->renderer);
|
||||||
|
|
||||||
$pager = new Pager($this->l10n, $request, 20);
|
$pager = new Pager($this->l10n, $request, 20);
|
||||||
|
|
||||||
$condition = '';
|
$sql_where = '';
|
||||||
$values = [];
|
$values = [];
|
||||||
if (!empty($args['account_type'])) {
|
if (!empty($args['account_type'])) {
|
||||||
$condition = '`account_type` = :account_type';
|
$sql_where = '`account_type` = :account_type';
|
||||||
$values = ['account_type' => $args['account_type']];
|
$values = ['account_type' => $args['account_type']];
|
||||||
}
|
}
|
||||||
|
|
||||||
$profiles = $this->profileModel->getListForDisplay($pager->getItemsPerPage(), $pager->getStart(), $condition, $values);
|
$profiles = $this->profileModel->getListForDisplay(
|
||||||
|
$this->serverModel->getSubscribeUrlByProfile($request->getQueryParam('zrl', '')),
|
||||||
|
$pager->getItemsPerPage(),
|
||||||
|
$pager->getStart(),
|
||||||
|
$sql_where,
|
||||||
|
$values,
|
||||||
|
);
|
||||||
|
|
||||||
$count = $this->profileModel->getCountForDisplay($condition, $values);
|
$count = $this->profileModel->getCountForDisplay($sql_where, $values);
|
||||||
|
|
||||||
$vars = [
|
$vars = [
|
||||||
'title' => $this->l10n->gettext('People'),
|
'title' => $this->l10n->gettext('People'),
|
||||||
|
@ -82,7 +94,6 @@ class Directory extends BaseController
|
||||||
|
|
||||||
$content = $this->renderer->fetch('directory.phtml', $vars);
|
$content = $this->renderer->fetch('directory.phtml', $vars);
|
||||||
|
|
||||||
// Render index view
|
|
||||||
return ['content' => $content];
|
return ['content' => $content];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Controllers\Web;
|
namespace Friendica\Directory\Controllers\Web;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Page extends BaseController
|
class Page extends BaseController
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace Friendica\Directory\Controllers\Web;
|
||||||
use \Friendica\Directory\Content\Pager;
|
use \Friendica\Directory\Content\Pager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Search extends BaseController
|
class Search extends BaseController
|
||||||
{
|
{
|
||||||
|
@ -13,6 +13,10 @@ class Search extends BaseController
|
||||||
* @var \Atlas\Pdo\Connection
|
* @var \Atlas\Pdo\Connection
|
||||||
*/
|
*/
|
||||||
private $atlas;
|
private $atlas;
|
||||||
|
/**
|
||||||
|
* @var \Friendica\Directory\Models\Server
|
||||||
|
*/
|
||||||
|
private $serverModel;
|
||||||
/**
|
/**
|
||||||
* @var \Friendica\Directory\Models\Profile
|
* @var \Friendica\Directory\Models\Profile
|
||||||
*/
|
*/
|
||||||
|
@ -32,6 +36,7 @@ class Search extends BaseController
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\Atlas\Pdo\Connection $atlas,
|
\Atlas\Pdo\Connection $atlas,
|
||||||
|
\Friendica\Directory\Models\Server $serverModel,
|
||||||
\Friendica\Directory\Models\Profile $profileModel,
|
\Friendica\Directory\Models\Profile $profileModel,
|
||||||
\Friendica\Directory\Views\Widget\AccountTypeTabs $accountTypeTabs,
|
\Friendica\Directory\Views\Widget\AccountTypeTabs $accountTypeTabs,
|
||||||
\Friendica\Directory\Views\PhpRenderer $renderer,
|
\Friendica\Directory\Views\PhpRenderer $renderer,
|
||||||
|
@ -39,6 +44,7 @@ class Search extends BaseController
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
$this->atlas = $atlas;
|
$this->atlas = $atlas;
|
||||||
|
$this->serverModel = $serverModel;
|
||||||
$this->profileModel = $profileModel;
|
$this->profileModel = $profileModel;
|
||||||
$this->accountTypeTabs = $accountTypeTabs;
|
$this->accountTypeTabs = $accountTypeTabs;
|
||||||
$this->renderer = $renderer;
|
$this->renderer = $renderer;
|
||||||
|
@ -47,7 +53,9 @@ class Search extends BaseController
|
||||||
|
|
||||||
public function render(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): array
|
public function render(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): array
|
||||||
{
|
{
|
||||||
$pager = new Pager($this->l10n, $request, 20);
|
$limit = min(100, filter_input(INPUT_GET, 'limit', FILTER_SANITIZE_NUMBER_INT) ?: 20);
|
||||||
|
|
||||||
|
$pager = new Pager($this->l10n, $request, $limit);
|
||||||
|
|
||||||
$originalQuery = $query = $request->getParam('q', '');
|
$originalQuery = $query = $request->getParam('q', '');
|
||||||
$field = $request->getParam('field', '');
|
$field = $request->getParam('field', '');
|
||||||
|
@ -69,8 +77,10 @@ class Search extends BaseController
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$sql_where = "MATCH (p.`name`, p.`pdesc`, p.`profile_url`, p.`locality`, p.`region`, p.`country`, p.`tags` )
|
$sql_where = "MATCH (p.`name`, p.`pdesc`, p.`username`, p.`locality`, p.`region`, p.`country`, p.`tags` )
|
||||||
AGAINST (:query IN BOOLEAN MODE)";
|
AGAINST (:query IN BOOLEAN MODE)";
|
||||||
|
// At sign (@) is a reserved symbol in InnoDB full-text search, it can't be escaped
|
||||||
|
$query = str_replace('@', ' ', $query);
|
||||||
}
|
}
|
||||||
|
|
||||||
$values = ['query' => $query];
|
$values = ['query' => $query];
|
||||||
|
@ -85,7 +95,13 @@ AND `account_type` = :account_type';
|
||||||
$values['account_type'] = $account_type;
|
$values['account_type'] = $account_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
$profiles = $this->profileModel->getListForDisplay($pager->getItemsPerPage(), $pager->getStart(), $sql_where, $values);
|
$profiles = $this->profileModel->getListForDisplay(
|
||||||
|
$this->serverModel->getSubscribeUrlByProfile($request->getQueryParam('zrl', '')),
|
||||||
|
$pager->getItemsPerPage(),
|
||||||
|
$pager->getStart(),
|
||||||
|
$sql_where,
|
||||||
|
$values,
|
||||||
|
);
|
||||||
|
|
||||||
$count = $this->profileModel->getCountForDisplay($sql_where, $values);
|
$count = $this->profileModel->getCountForDisplay($sql_where, $values);
|
||||||
|
|
||||||
|
@ -102,7 +118,6 @@ AND `account_type` = :account_type';
|
||||||
|
|
||||||
$content = $this->renderer->fetch('search.phtml', $vars);
|
$content = $this->renderer->fetch('search.phtml', $vars);
|
||||||
|
|
||||||
// Render index view
|
|
||||||
return ['content' => $content, 'noNavSearch' => true];
|
return ['content' => $content, 'noNavSearch' => true];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,13 +2,14 @@
|
||||||
|
|
||||||
namespace Friendica\Directory\Controllers\Web;
|
namespace Friendica\Directory\Controllers\Web;
|
||||||
|
|
||||||
use \Friendica\Directory\Content\Pager;
|
use Friendica\Directory\Content\Pager;
|
||||||
|
use Friendica\Directory\Views\Widget\PopularServerLanguages;
|
||||||
use PDO;
|
use PDO;
|
||||||
use Slim\Http\Request;
|
use Slim\Http\Request;
|
||||||
use Slim\Http\Response;
|
use Slim\Http\Response;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Servers extends BaseController
|
class Servers extends BaseController
|
||||||
{
|
{
|
||||||
|
@ -46,7 +47,7 @@ class Servers extends BaseController
|
||||||
{
|
{
|
||||||
$stable_version = $this->simplecache->get('stable_version');
|
$stable_version = $this->simplecache->get('stable_version');
|
||||||
if (!$stable_version) {
|
if (!$stable_version) {
|
||||||
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/master/VERSION'));
|
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/stable/VERSION'));
|
||||||
$this->simplecache->set('stable_version', $stable_version);
|
$this->simplecache->set('stable_version', $stable_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,19 +59,32 @@ class Servers extends BaseController
|
||||||
|
|
||||||
$rc_version = str_replace('-dev', '-rc', $dev_version);
|
$rc_version = str_replace('-dev', '-rc', $dev_version);
|
||||||
|
|
||||||
|
$popularLanguages = new PopularServerLanguages($this->atlas, $this->renderer);
|
||||||
|
|
||||||
$pager = new Pager($this->l10n, $request, 20);
|
$pager = new Pager($this->l10n, $request, 20);
|
||||||
|
|
||||||
|
$sql_where = '';
|
||||||
|
$values = [];
|
||||||
|
|
||||||
|
if (!empty($args['language'])) {
|
||||||
|
$sql_where .= '
|
||||||
|
AND LEFT(`language`, 2) = LEFT(:language, 2)';
|
||||||
|
$values['language'] = $args['language'];
|
||||||
|
}
|
||||||
|
|
||||||
$stmt = 'SELECT *
|
$stmt = 'SELECT *
|
||||||
FROM `server` s
|
FROM `server` s
|
||||||
WHERE `reg_policy` = "REGISTER_OPEN"
|
WHERE `reg_policy` != "REGISTER_CLOSED"
|
||||||
AND `available`
|
AND `available`
|
||||||
AND NOT `hidden`
|
AND NOT `hidden`
|
||||||
|
' . $sql_where . '
|
||||||
ORDER BY `health_score` DESC, `ssl_state` DESC, `info` != "" DESC, `last_seen` DESC
|
ORDER BY `health_score` DESC, `ssl_state` DESC, `info` != "" DESC, `last_seen` DESC
|
||||||
LIMIT :start, :limit';
|
LIMIT :start, :limit';
|
||||||
$servers = $this->atlas->fetchAll($stmt, [
|
$listValues = array_merge($values, [
|
||||||
'start' => [$pager->getStart(), PDO::PARAM_INT],
|
'start' => [$pager->getStart(), PDO::PARAM_INT],
|
||||||
'limit' => [$pager->getItemsPerPage(), PDO::PARAM_INT]
|
'limit' => [$pager->getItemsPerPage(), PDO::PARAM_INT]
|
||||||
]);
|
]);
|
||||||
|
$servers = $this->atlas->fetchAll($stmt, $listValues);
|
||||||
|
|
||||||
foreach ($servers as $key => $server) {
|
foreach ($servers as $key => $server) {
|
||||||
$servers[$key]['user_count'] = $this->atlas->fetchValue(
|
$servers[$key]['user_count'] = $this->atlas->fetchValue(
|
||||||
|
@ -81,18 +95,22 @@ LIMIT :start, :limit';
|
||||||
|
|
||||||
$stmt = 'SELECT COUNT(*)
|
$stmt = 'SELECT COUNT(*)
|
||||||
FROM `server` s
|
FROM `server` s
|
||||||
WHERE `reg_policy` = "REGISTER_OPEN"
|
WHERE `reg_policy` != "REGISTER_CLOSED"
|
||||||
AND `available`
|
AND `available`
|
||||||
AND NOT `hidden`';
|
AND NOT `hidden`
|
||||||
$count = $this->atlas->fetchValue($stmt);
|
' . $sql_where;
|
||||||
|
$count = $this->atlas->fetchValue($stmt, $values);
|
||||||
|
|
||||||
$vars = [
|
$vars = [
|
||||||
'title' => $this->l10n->gettext('Public Servers'),
|
'title' => $this->l10n->gettext('Public Servers'),
|
||||||
|
'total' => $count,
|
||||||
|
'language' => $args['language'] ?? null,
|
||||||
'servers' => $servers,
|
'servers' => $servers,
|
||||||
'pager' => $pager->renderFull($count),
|
'pager' => $pager->renderFull($count),
|
||||||
'stable_version' => $stable_version,
|
'stable_version' => $stable_version,
|
||||||
'rc_version' => $rc_version,
|
'rc_version' => $rc_version,
|
||||||
'dev_version' => $dev_version,
|
'dev_version' => $dev_version,
|
||||||
|
'popularLanguages' => $popularLanguages->render(),
|
||||||
];
|
];
|
||||||
|
|
||||||
$content = $this->renderer->fetch('servers.phtml', $vars);
|
$content = $this->renderer->fetch('servers.phtml', $vars);
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Controllers\Web;
|
namespace Friendica\Directory\Controllers\Web;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Statistics extends BaseController
|
class Statistics extends BaseController
|
||||||
{
|
{
|
||||||
|
@ -49,13 +49,13 @@ class Statistics extends BaseController
|
||||||
AND `available`
|
AND `available`
|
||||||
AND NOT `hidden`
|
AND NOT `hidden`
|
||||||
GROUP BY `language`
|
GROUP BY `language`
|
||||||
ORDER BY COUNT(*) DESC';
|
ORDER BY `total` DESC';
|
||||||
|
|
||||||
$profileLanguages = $this->connection->fetchAll($stmt, ['total' => $profileCounts['language']]);
|
$profileLanguages = $this->connection->fetchAll($stmt, ['total' => $profileCounts['language']]);
|
||||||
|
|
||||||
$stable_version = $this->simplecache->get('stable_version');
|
$stable_version = $this->simplecache->get('stable_version');
|
||||||
if (!$stable_version) {
|
if (!$stable_version) {
|
||||||
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/master/VERSION'));
|
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/stable/VERSION'));
|
||||||
$this->simplecache->set('stable_version', $stable_version);
|
$this->simplecache->set('stable_version', $stable_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ class Statistics extends BaseController
|
||||||
COUNT(*) AS `total`,
|
COUNT(*) AS `total`,
|
||||||
SUM(CASE WHEN `available` THEN 1 ELSE 0 END) AS `available`,
|
SUM(CASE WHEN `available` THEN 1 ELSE 0 END) AS `available`,
|
||||||
SUM(CASE WHEN `available` AND `language` IS NOT NULL THEN 1 ELSE 0 END) AS `language`,
|
SUM(CASE WHEN `available` AND `language` IS NOT NULL THEN 1 ELSE 0 END) AS `language`,
|
||||||
SUM(CASE WHEN `available` AND `reg_policy` = "REGISTER_OPEN" THEN 1 ELSE 0 END) AS `open`,
|
SUM(CASE WHEN `available` AND `reg_policy` != "REGISTER_CLOSED" THEN 1 ELSE 0 END) AS `open`,
|
||||||
SUM(CASE WHEN `available` AND `version` IS NOT NULL THEN 1 ELSE 0 END) AS `version`,
|
SUM(CASE WHEN `available` AND `version` IS NOT NULL THEN 1 ELSE 0 END) AS `version`,
|
||||||
SUM(CASE WHEN `available` AND (`version` = :dev_version OR `version` = :rc_version) THEN 1 ELSE 0 END) AS `dev_version`,
|
SUM(CASE WHEN `available` AND (`version` = :dev_version OR `version` = :rc_version) THEN 1 ELSE 0 END) AS `dev_version`,
|
||||||
SUM(CASE WHEN `available` AND `version` = :stable_version THEN 1 ELSE 0 END) AS `stable_version`,
|
SUM(CASE WHEN `available` AND `version` = :stable_version THEN 1 ELSE 0 END) AS `stable_version`,
|
||||||
|
@ -88,7 +88,7 @@ class Statistics extends BaseController
|
||||||
AND `available`
|
AND `available`
|
||||||
AND NOT `hidden`
|
AND NOT `hidden`
|
||||||
GROUP BY LEFT(`language`, 2)
|
GROUP BY LEFT(`language`, 2)
|
||||||
ORDER BY COUNT(*) DESC';
|
ORDER BY `total` DESC';
|
||||||
|
|
||||||
$serverLanguages = $this->connection->fetchAll($stmt, ['total' => $serverCounts['language']]);
|
$serverLanguages = $this->connection->fetchAll($stmt, ['total' => $serverCounts['language']]);
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ class Statistics extends BaseController
|
||||||
AND `available`
|
AND `available`
|
||||||
AND NOT `hidden`
|
AND NOT `hidden`
|
||||||
GROUP BY `version`
|
GROUP BY `version`
|
||||||
ORDER BY COUNT(*) DESC';
|
ORDER BY `total` DESC';
|
||||||
|
|
||||||
$serverVersions = $this->connection->fetchAll($stmt, ['total' => $serverCounts['version']]);
|
$serverVersions = $this->connection->fetchAll($stmt, ['total' => $serverCounts['version']]);
|
||||||
|
|
||||||
|
|
40
src/classes/Middleware/ZrlMiddleware.php
Normal file
40
src/classes/Middleware/ZrlMiddleware.php
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Friendica\Directory\Middleware;
|
||||||
|
|
||||||
|
use Friendica\Directory\Views\PhpRenderer;
|
||||||
|
use Psr\Http\Message\ResponseInterface;
|
||||||
|
use Psr\Http\Message\ServerRequestInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The ZRL middleware ensures the Renderer ZRL attribute is set if the query string parameter is present
|
||||||
|
*
|
||||||
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
|
* @package Friendica\Directory\Middleware
|
||||||
|
*/
|
||||||
|
class ZrlMiddleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var PhpRenderer
|
||||||
|
*/
|
||||||
|
private $phpRenderer;
|
||||||
|
|
||||||
|
public function __construct(PhpRenderer $phpRenderer)
|
||||||
|
{
|
||||||
|
$this->phpRenderer = $phpRenderer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param ServerRequestInterface $request PSR7 request
|
||||||
|
* @param ResponseInterface $response PSR7 response
|
||||||
|
* @param callable $next Next middleware
|
||||||
|
*
|
||||||
|
* @return ResponseInterface
|
||||||
|
*/
|
||||||
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next)
|
||||||
|
{
|
||||||
|
$this->phpRenderer->addAttribute('zrl', $request->getQueryParams()['zrl'] ?? null);
|
||||||
|
|
||||||
|
return $next($request, $response);
|
||||||
|
}
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory;
|
namespace Friendica\Directory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Model
|
class Model
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,10 +3,17 @@
|
||||||
namespace Friendica\Directory\Models;
|
namespace Friendica\Directory\Models;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Profile extends \Friendica\Directory\Model
|
class Profile extends \Friendica\Directory\Model
|
||||||
{
|
{
|
||||||
|
const ACCOUNT_TYPE_PERSON = 0;
|
||||||
|
const ACCOUNT_TYPE_ORGANISATION = 1;
|
||||||
|
const ACCOUNT_TYPE_NEWS = 2;
|
||||||
|
const ACCOUNT_TYPE_COMMUNITY = 3;
|
||||||
|
const ACCOUNT_TYPE_RELAY = 4;
|
||||||
|
const ACCOUNT_TYPE_DELETED = 127;
|
||||||
|
|
||||||
public function deleteById(int $profile_id): bool
|
public function deleteById(int $profile_id): bool
|
||||||
{
|
{
|
||||||
$this->atlas->perform('DELETE FROM `photo` WHERE `profile_id` = :profile_id',
|
$this->atlas->perform('DELETE FROM `photo` WHERE `profile_id` = :profile_id',
|
||||||
|
@ -74,7 +81,7 @@ class Profile extends \Friendica\Directory\Model
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getListForDisplay(int $limit = 30, int $start = 0, string $condition = '', array $values = []): array
|
public function getListForDisplay(string $subscribeUrl = null, int $limit = 30, int $start = 0, string $condition = '', array $values = []): array
|
||||||
{
|
{
|
||||||
if ($condition) {
|
if ($condition) {
|
||||||
$condition = 'AND ' . $condition;
|
$condition = 'AND ' . $condition;
|
||||||
|
@ -86,18 +93,24 @@ class Profile extends \Friendica\Directory\Model
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$stmt = 'SELECT p.`id`, p.`name`, p.`username`, p.`addr`, p.`account_type`, p.`language`,
|
$stmt = 'SELECT p.`id`, p.`name`, p.`username`, p.`addr`, p.`account_type`, p.`language`,
|
||||||
p.`pdesc`, p.`locality`, p.`region`, p.`country`, p.`profile_url`, p.`dfrn_request`,
|
p.`pdesc`, p.`locality`, p.`region`, p.`country`, p.`profile_url`,
|
||||||
p.`photo`, p.`tags`, p.`last_activity`
|
p.`photo`, p.`tags`, p.`last_activity`, s.`version`
|
||||||
FROM `profile` p
|
FROM `profile` p
|
||||||
JOIN `server` s ON s.`id` = p.`server_id` AND s.`available` AND NOT s.`hidden`
|
JOIN `server` s ON s.`id` = p.`server_id` AND s.`available` AND NOT s.`hidden`
|
||||||
WHERE p.`available`
|
WHERE p.`available`
|
||||||
AND NOT p.`hidden`
|
AND NOT p.`hidden`
|
||||||
' . $condition . '
|
' . $condition . '
|
||||||
GROUP BY p.`id`
|
GROUP BY p.`id`, `filled_fields`, `last_activity`, `updated`
|
||||||
ORDER BY `filled_fields` DESC, `last_activity` DESC, `updated` DESC
|
ORDER BY `filled_fields` DESC, `last_activity` DESC, `updated` DESC
|
||||||
LIMIT :start, :limit';
|
LIMIT :start, :limit';
|
||||||
$profiles = $this->atlas->fetchAll($stmt, $values);
|
$profiles = $this->atlas->fetchAll($stmt, $values);
|
||||||
|
|
||||||
|
array_walk($profiles, function (array &$profile) use ($subscribeUrl) {
|
||||||
|
$profile['remote_follow'] = version_compare($profile['version'], '2020.03', '>=') ? str_replace('/profile/', '/remote_follow/', $profile['profile_url']) : null;
|
||||||
|
$profile['subscribe'] = $subscribeUrl ? str_replace('{uri}', urlencode($profile['profile_url']), $subscribeUrl): null;
|
||||||
|
unset($profile['version']);
|
||||||
|
});
|
||||||
|
|
||||||
return $profiles;
|
return $profiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace Friendica\Directory\Models;
|
||||||
use Friendica\Directory\Utils\Network;
|
use Friendica\Directory\Utils\Network;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ProfilePollQueue extends \Friendica\Directory\Model
|
class ProfilePollQueue extends \Friendica\Directory\Model
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Models;
|
namespace Friendica\Directory\Models;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Server extends \Friendica\Directory\Model
|
class Server extends \Friendica\Directory\Model
|
||||||
{
|
{
|
||||||
|
@ -33,10 +33,28 @@ class Server extends \Friendica\Directory\Model
|
||||||
SET `server_id` = :server_id,
|
SET `server_id` = :server_id,
|
||||||
`alias` = :alias,
|
`alias` = :alias,
|
||||||
`timestamp` = NOW()
|
`timestamp` = NOW()
|
||||||
ON DUPLICATE KEY UPDATE `timestamp` = NOW()',
|
ON DUPLICATE KEY UPDATE
|
||||||
|
`server_id` = :server_id,
|
||||||
|
`timestamp` = NOW()',
|
||||||
[
|
[
|
||||||
'server_id' => $server_id,
|
'server_id' => $server_id,
|
||||||
'alias' => strtolower($server_alias)
|
'alias' => strtolower($server_alias)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the complete subscribe URL of the given profile URL if we have it for the related server
|
||||||
|
*
|
||||||
|
* @param string $profile_url
|
||||||
|
* @return mixed|null
|
||||||
|
*/
|
||||||
|
public function getSubscribeUrlByProfile(string $profile_url)
|
||||||
|
{
|
||||||
|
if (preg_match('#^(.+)/profile/#', $profile_url, $matches)) {
|
||||||
|
$server = $this->getByUrlAlias($matches[1]);
|
||||||
|
return $server['subscribe_url'] ?? null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,15 +2,17 @@
|
||||||
|
|
||||||
namespace Friendica\Directory\Pollers;
|
namespace Friendica\Directory\Pollers;
|
||||||
|
|
||||||
|
use Friendica\Directory\Utils\Network;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Directory
|
class Directory
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var \Atlas\Pdo\Connection
|
* @var \GuzzleHttp\ClientInterface
|
||||||
*/
|
*/
|
||||||
private $atlas;
|
private $http;
|
||||||
/**
|
/**
|
||||||
* @var \Friendica\Directory\Models\ProfilePollQueue
|
* @var \Friendica\Directory\Models\ProfilePollQueue
|
||||||
*/
|
*/
|
||||||
|
@ -28,12 +30,12 @@ class Directory
|
||||||
];
|
];
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\Atlas\Pdo\Connection $atlas,
|
\GuzzleHttp\ClientInterface $http,
|
||||||
\Friendica\Directory\Models\ProfilePollQueue $profilePollQueueModel,
|
\Friendica\Directory\Models\ProfilePollQueue $profilePollQueueModel,
|
||||||
\Psr\Log\LoggerInterface $logger,
|
\Psr\Log\LoggerInterface $logger,
|
||||||
array $settings)
|
array $settings)
|
||||||
{
|
{
|
||||||
$this->atlas = $atlas;
|
$this->http = $http;
|
||||||
$this->profilePollQueueModel = $profilePollQueueModel;
|
$this->profilePollQueueModel = $profilePollQueueModel;
|
||||||
$this->logger = $logger;
|
$this->logger = $logger;
|
||||||
$this->settings = array_merge($this->settings, $settings);
|
$this->settings = array_merge($this->settings, $settings);
|
||||||
|
@ -80,35 +82,7 @@ class Directory
|
||||||
$path = '/sync/pull/since/' . $last_polled;
|
$path = '/sync/pull/since/' . $last_polled;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Prepare the CURL call.
|
$pull_data = $this->http->get($directory_url . $path, ['timeout' => max($this->settings['probe_timeout'], 1)])->getBody()->getContents();
|
||||||
$handle = curl_init();
|
|
||||||
$options = array(
|
|
||||||
//Timeouts
|
|
||||||
CURLOPT_TIMEOUT => max($this->settings['probe_timeout'], 1), //Minimum of 1 second timeout.
|
|
||||||
CURLOPT_CONNECTTIMEOUT => 1,
|
|
||||||
//Redirecting
|
|
||||||
CURLOPT_FOLLOWLOCATION => true,
|
|
||||||
CURLOPT_MAXREDIRS => 8,
|
|
||||||
//SSL
|
|
||||||
CURLOPT_SSL_VERIFYPEER => true,
|
|
||||||
// CURLOPT_VERBOSE => true,
|
|
||||||
// CURLOPT_CERTINFO => true,
|
|
||||||
CURLOPT_SSL_VERIFYHOST => 2,
|
|
||||||
CURLOPT_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS,
|
|
||||||
//Basic request
|
|
||||||
CURLOPT_USERAGENT => 'friendica-directory-probe-1.0',
|
|
||||||
CURLOPT_RETURNTRANSFER => true,
|
|
||||||
CURLOPT_URL => $directory_url . $path
|
|
||||||
);
|
|
||||||
curl_setopt_array($handle, $options);
|
|
||||||
|
|
||||||
$this->logger->info('Pulling profiles from directory URL: ' . $directory_url . $path);
|
|
||||||
|
|
||||||
//Probe the site.
|
|
||||||
$pull_data = curl_exec($handle);
|
|
||||||
|
|
||||||
//Done with CURL now.
|
|
||||||
curl_close($handle);
|
|
||||||
|
|
||||||
$data = json_decode($pull_data, true);
|
$data = json_decode($pull_data, true);
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,18 @@
|
||||||
|
|
||||||
namespace Friendica\Directory\Pollers;
|
namespace Friendica\Directory\Pollers;
|
||||||
|
|
||||||
use Friendica\Directory\Utils\Network;
|
use Friendica\Directory\Models;
|
||||||
|
use Friendica\Directory\Utils;
|
||||||
|
use GuzzleHttp\Exception\RequestException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Profile
|
class Profile
|
||||||
{
|
{
|
||||||
|
const PROFILE_MISSING_CONFIRM = 2;
|
||||||
|
const PROFILE_MISSING_NOTIFY = 4;
|
||||||
|
const PROFILE_MISSING_POLL = 8;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Atlas\Pdo\Connection
|
* @var \Atlas\Pdo\Connection
|
||||||
|
@ -16,12 +21,17 @@ class Profile
|
||||||
private $atlas;
|
private $atlas;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Friendica\Directory\Models\Server
|
* @var \GuzzleHttp\ClientInterface
|
||||||
|
*/
|
||||||
|
private $http;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var Models\Server
|
||||||
*/
|
*/
|
||||||
private $serverModel;
|
private $serverModel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Friendica\Directory\Models\Profile
|
* @var Models\Profile
|
||||||
*/
|
*/
|
||||||
private $profileModel;
|
private $profileModel;
|
||||||
|
|
||||||
|
@ -40,13 +50,15 @@ class Profile
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\Atlas\Pdo\Connection $atlas,
|
\Atlas\Pdo\Connection $atlas,
|
||||||
\Friendica\Directory\Models\Server $serverModel,
|
\GuzzleHttp\ClientInterface $http,
|
||||||
\Friendica\Directory\Models\Profile $profileModel,
|
Models\Server $serverModel,
|
||||||
|
Models\Profile $profileModel,
|
||||||
\Psr\Log\LoggerInterface $logger,
|
\Psr\Log\LoggerInterface $logger,
|
||||||
array $settings
|
array $settings
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
$this->atlas = $atlas;
|
$this->atlas = $atlas;
|
||||||
|
$this->http = $http;
|
||||||
$this->serverModel = $serverModel;
|
$this->serverModel = $serverModel;
|
||||||
$this->profileModel = $profileModel;
|
$this->profileModel = $profileModel;
|
||||||
$this->logger = $logger;
|
$this->logger = $logger;
|
||||||
|
@ -71,12 +83,12 @@ class Profile
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!\Friendica\Directory\Utils\Network::isPublicHost($host)) {
|
if (!Utils\Network::isPublicHost($host)) {
|
||||||
$this->logger->warning('Private/reserved IP in polled profile URL: ' . $profile_uri);
|
$this->logger->warning('Private/reserved IP in polled profile URL: ' . $profile_uri);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$profileUriInfo = \Friendica\Directory\Models\Profile::extractInfoFromProfileUrl($profile_uri);
|
$profileUriInfo = Models\Profile::extractInfoFromProfileUrl($profile_uri);
|
||||||
if (!$profileUriInfo) {
|
if (!$profileUriInfo) {
|
||||||
$this->logger->warning('Profile URI invalid');
|
$this->logger->warning('Profile URI invalid');
|
||||||
return false;
|
return false;
|
||||||
|
@ -119,29 +131,42 @@ class Profile
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Skip the profile scrape?
|
$available = false;
|
||||||
$noscrape = $server['noscrape_url'];
|
|
||||||
|
|
||||||
$params = [];
|
$params = [];
|
||||||
if ($noscrape) {
|
|
||||||
|
//Skip the profile scrape?
|
||||||
|
if ($server['noscrape_url']) {
|
||||||
$this->logger->debug('Calling ' . $server['noscrape_url'] . '/' . $username);
|
$this->logger->debug('Calling ' . $server['noscrape_url'] . '/' . $username);
|
||||||
$params = \Friendica\Directory\Utils\Scrape::retrieveNoScrapeData($server['noscrape_url'] . '/' . $username);
|
try {
|
||||||
$noscrape = !!$params; //If the result was false, do a scrape after all.
|
$params = Utils\Scrape::retrieveNoScrapeData($this->http, $server['noscrape_url'] . '/' . $username);
|
||||||
|
} catch (RequestException $e) {
|
||||||
|
$this->logger->info('Request failed with error code ' . $e->getCode());
|
||||||
|
} catch (\Throwable $e) {
|
||||||
|
$this->logger->warning('Request failed with exception ' . get_class($e));
|
||||||
|
$this->logger->warning(var_export($e, true));
|
||||||
|
}
|
||||||
|
|
||||||
|
$available = !!$params; //If the result was false, do a scrape after all.
|
||||||
}
|
}
|
||||||
|
|
||||||
$available = true;
|
if (!$available) {
|
||||||
|
$this->logger->info('Parsing profile page ' . $profile_uri);
|
||||||
if ($noscrape) {
|
try {
|
||||||
$available = Network::testURL($profile_uri);
|
$params = Utils\Scrape::retrieveProfileData($this->http, $profile_uri);
|
||||||
$this->logger->debug('Testing ' . $profile_uri . ': ' . ($available?'Success':'Failure'));
|
} catch (RequestException $e) {
|
||||||
} else {
|
$this->logger->info('Request failed with error code ' . $e->getCode());
|
||||||
$this->logger->notice('Parsing profile page ' . $profile_uri);
|
} catch (\Throwable $e) {
|
||||||
$params = \Friendica\Directory\Utils\Scrape::retrieveProfileData($profile_uri);
|
$this->logger->warning('Request failed with exception ' . get_class($e));
|
||||||
|
$this->logger->warning(var_export($e, true));
|
||||||
|
}
|
||||||
$params['language'] = $server['language'];
|
$params['language'] = $server['language'];
|
||||||
|
|
||||||
|
$available = !empty($params['fn']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Empty result is due to an offline site.
|
// Empty result is due to an offline site.
|
||||||
if (count($params) < 2) {
|
if (empty($params) || count($params) < 2) {
|
||||||
//But for sites that are already in bad status. Do a cleanup now.
|
//But for sites that are already in bad status. Do a cleanup now.
|
||||||
if ($profile_id && $server['health_score'] < $this->settings['remove_profile_health_threshold']) {
|
if ($profile_id && $server['health_score'] < $this->settings['remove_profile_health_threshold']) {
|
||||||
$this->profileModel->deleteById($profile_id);
|
$this->profileModel->deleteById($profile_id);
|
||||||
|
@ -171,14 +196,37 @@ class Profile
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is most likely a problem with the site configuration. Ignore.
|
// This is most likely a problem with the site configuration. Ignore.
|
||||||
if (self::validateParams($params)) {
|
if ($error = self::validateParams($params)) {
|
||||||
$this->logger->warning('Poll aborted, parameters invalid.', ['params' => $params]);
|
$this->logger->warning('Poll aborted, parameters invalid.', ['params' => $params]);
|
||||||
|
if ($error & Profile::PROFILE_MISSING_CONFIRM) {
|
||||||
|
$this->logger->notice('dfrn-confirm parameter is empty.');
|
||||||
|
}
|
||||||
|
if ($error & Profile::PROFILE_MISSING_NOTIFY) {
|
||||||
|
$this->logger->notice('dfrn-notify parameter is empty.');
|
||||||
|
}
|
||||||
|
if ($error & Profile::PROFILE_MISSING_POLL) {
|
||||||
|
$this->logger->notice('dfrn-poll parameter is empty.');
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$account_type = 'People';
|
switch ($params['account-type'] ?? Models\Profile::ACCOUNT_TYPE_PERSON) {
|
||||||
if (!empty($params['comm'])) {
|
case Models\Profile::ACCOUNT_TYPE_ORGANISATION: $account_type = 'Organization'; break;
|
||||||
$account_type = 'Forum';
|
case Models\Profile::ACCOUNT_TYPE_NEWS : $account_type = 'News'; break;
|
||||||
|
case Models\Profile::ACCOUNT_TYPE_COMMUNITY : $account_type = 'Group'; break;
|
||||||
|
case Models\Profile::ACCOUNT_TYPE_RELAY : $account_type = 'Relay'; break;
|
||||||
|
case Models\Profile::ACCOUNT_TYPE_DELETED : $account_type = 'Deleted'; break;
|
||||||
|
|
||||||
|
case Models\Profile::ACCOUNT_TYPE_PERSON: {
|
||||||
|
$account_type = 'People';
|
||||||
|
if (!empty($params['comm'])) {
|
||||||
|
$account_type = 'Group';
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
default: $account_type = 'Unknown'; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$tags = [];
|
$tags = [];
|
||||||
|
@ -208,7 +256,6 @@ class Profile
|
||||||
'region' => $params['region'] ?? '',
|
'region' => $params['region'] ?? '',
|
||||||
'country' => $params['country-name'] ?? '',
|
'country' => $params['country-name'] ?? '',
|
||||||
'profile_url' => $profile_uri,
|
'profile_url' => $profile_uri,
|
||||||
'dfrn_request' => $params['dfrn-request'] ?? null,
|
|
||||||
'photo' => $params['photo'],
|
'photo' => $params['photo'],
|
||||||
'tags' => implode(' ', $tags),
|
'tags' => implode(' ', $tags),
|
||||||
'addr' => $addr,
|
'addr' => $addr,
|
||||||
|
@ -216,7 +263,7 @@ class Profile
|
||||||
'language' => $params['language'] ?? null,
|
'language' => $params['language'] ?? null,
|
||||||
'filled_fields'=> $filled_fields,
|
'filled_fields'=> $filled_fields,
|
||||||
'last_activity'=> $params['last-activity'] ?? null,
|
'last_activity'=> $params['last-activity'] ?? null,
|
||||||
'available' => $available,
|
'available' => [$available, \PDO::PARAM_BOOL],
|
||||||
];
|
];
|
||||||
|
|
||||||
$this->logger->debug(var_export($values, true));
|
$this->logger->debug(var_export($values, true));
|
||||||
|
@ -230,7 +277,6 @@ class Profile
|
||||||
`region` = :region,
|
`region` = :region,
|
||||||
`country` = :country,
|
`country` = :country,
|
||||||
`profile_url` = :profile_url,
|
`profile_url` = :profile_url,
|
||||||
`dfrn_request` = :dfrn_request,
|
|
||||||
`photo` = :photo,
|
`photo` = :photo,
|
||||||
`tags` = :tags,
|
`tags` = :tags,
|
||||||
`addr` = :addr,
|
`addr` = :addr,
|
||||||
|
@ -250,7 +296,6 @@ class Profile
|
||||||
`region` = :region,
|
`region` = :region,
|
||||||
`country` = :country,
|
`country` = :country,
|
||||||
`profile_url` = :profile_url,
|
`profile_url` = :profile_url,
|
||||||
`dfrn_request` = :dfrn_request,
|
|
||||||
`photo` = :photo,
|
`photo` = :photo,
|
||||||
`tags` = :tags,
|
`tags` = :tags,
|
||||||
`addr` = :addr,
|
`addr` = :addr,
|
||||||
|
@ -284,23 +329,27 @@ class Profile
|
||||||
$status = false;
|
$status = false;
|
||||||
|
|
||||||
if ($profile_id) {
|
if ($profile_id) {
|
||||||
$img_str = \Friendica\Directory\Utils\Network::fetchURL($params['photo'], true);
|
try {
|
||||||
$img = new \Friendica\Directory\Utils\Photo($img_str);
|
$img_str = $this->http->get($params['photo'])->getBody()->getContents();
|
||||||
if ($img->getImage()) {
|
$img = new Utils\Photo($img_str);
|
||||||
$img->scaleImageSquare(80);
|
if ($img->getImage()) {
|
||||||
|
$img->scaleImageSquare(80);
|
||||||
|
|
||||||
$this->atlas->perform('INSERT INTO `photo` SET
|
$this->atlas->perform('INSERT INTO `photo` SET
|
||||||
`profile_id` = :profile_id,
|
`profile_id` = :profile_id,
|
||||||
`data` = :data
|
`data` = :data
|
||||||
ON DUPLICATE KEY UPDATE
|
ON DUPLICATE KEY UPDATE
|
||||||
`data` = :data',
|
`data` = :data',
|
||||||
[
|
[
|
||||||
'profile_id' => $profile_id,
|
'profile_id' => $profile_id,
|
||||||
'data' => $img->imageString()
|
'data' => $img->imageString()
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
$status = true;
|
||||||
|
} catch (RequestException $e) {
|
||||||
|
$this->logger->info('Photo retrieval unsuccessful', ['url' => $params['photo'], 'code' => $e->getCode()]);
|
||||||
}
|
}
|
||||||
$status = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$submit_end = microtime(true);
|
$submit_end = microtime(true);
|
||||||
|
@ -330,23 +379,21 @@ class Profile
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param array $params
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
private static function validateParams(array $params): int
|
private static function validateParams(array $params): int
|
||||||
{
|
{
|
||||||
$errors = 0;
|
$errors = 0;
|
||||||
if (empty($params['key'])) {
|
|
||||||
$errors++;
|
|
||||||
}
|
|
||||||
if (empty($params['dfrn-request'])) {
|
|
||||||
$errors++;
|
|
||||||
}
|
|
||||||
if (empty($params['dfrn-confirm'])) {
|
if (empty($params['dfrn-confirm'])) {
|
||||||
$errors++;
|
$errors &= self::PROFILE_MISSING_CONFIRM;
|
||||||
}
|
}
|
||||||
if (empty($params['dfrn-notify'])) {
|
if (empty($params['dfrn-notify'])) {
|
||||||
$errors++;
|
$errors &= self::PROFILE_MISSING_NOTIFY;
|
||||||
}
|
}
|
||||||
if (empty($params['dfrn-poll'])) {
|
if (empty($params['dfrn-poll'])) {
|
||||||
$errors++;
|
$errors &= self::PROFILE_MISSING_POLL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $errors;
|
return $errors;
|
||||||
|
|
|
@ -2,10 +2,12 @@
|
||||||
|
|
||||||
namespace Friendica\Directory\Pollers;
|
namespace Friendica\Directory\Pollers;
|
||||||
|
|
||||||
use ByJG\Util\WebRequest;
|
use GuzzleHttp\Psr7\Uri;
|
||||||
|
use GuzzleHttp\Exception\RequestException;
|
||||||
|
use GuzzleHttp\TransferStats;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Server
|
class Server
|
||||||
{
|
{
|
||||||
|
@ -13,6 +15,10 @@ class Server
|
||||||
* @var \Atlas\Pdo\Connection
|
* @var \Atlas\Pdo\Connection
|
||||||
*/
|
*/
|
||||||
private $atlas;
|
private $atlas;
|
||||||
|
/**
|
||||||
|
* @var \GuzzleHttp\ClientInterface
|
||||||
|
*/
|
||||||
|
private $http;
|
||||||
/**
|
/**
|
||||||
* @var \Friendica\Directory\Models\ProfilePollQueue
|
* @var \Friendica\Directory\Models\ProfilePollQueue
|
||||||
*/
|
*/
|
||||||
|
@ -40,6 +46,7 @@ class Server
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\Atlas\Pdo\Connection $atlas,
|
\Atlas\Pdo\Connection $atlas,
|
||||||
|
\GuzzleHttp\ClientInterface $http,
|
||||||
\Friendica\Directory\Models\ProfilePollQueue $profilePollQueueModel,
|
\Friendica\Directory\Models\ProfilePollQueue $profilePollQueueModel,
|
||||||
\Friendica\Directory\Models\Server $serverModel,
|
\Friendica\Directory\Models\Server $serverModel,
|
||||||
\Psr\SimpleCache\CacheInterface $simplecache,
|
\Psr\SimpleCache\CacheInterface $simplecache,
|
||||||
|
@ -47,6 +54,7 @@ class Server
|
||||||
array $settings)
|
array $settings)
|
||||||
{
|
{
|
||||||
$this->atlas = $atlas;
|
$this->atlas = $atlas;
|
||||||
|
$this->http = $http;
|
||||||
$this->profilePollQueueModel = $profilePollQueueModel;
|
$this->profilePollQueueModel = $profilePollQueueModel;
|
||||||
$this->serverModel = $serverModel;
|
$this->serverModel = $serverModel;
|
||||||
$this->simplecache = $simplecache;
|
$this->simplecache = $simplecache;
|
||||||
|
@ -89,6 +97,8 @@ class Server
|
||||||
|
|
||||||
$parse_success = !empty($probe_result['data']['url']);
|
$parse_success = !empty($probe_result['data']['url']);
|
||||||
|
|
||||||
|
$avg_ping = null;
|
||||||
|
|
||||||
if ($parse_success) {
|
if ($parse_success) {
|
||||||
$base_url = $probe_result['data']['url'];
|
$base_url = $probe_result['data']['url'];
|
||||||
|
|
||||||
|
@ -144,6 +154,10 @@ class Server
|
||||||
$addons = $probe_result['data']['plugins'];
|
$addons = $probe_result['data']['plugins'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($probe_result['data']['admin']['profile'])) {
|
||||||
|
$subscribe = $this->getSubscribeUrl($probe_result['data']['url'], $probe_result['data']['admin']['profile']);
|
||||||
|
}
|
||||||
|
|
||||||
$this->atlas->perform(
|
$this->atlas->perform(
|
||||||
'UPDATE `server`
|
'UPDATE `server`
|
||||||
SET `available` = 1,
|
SET `available` = 1,
|
||||||
|
@ -158,20 +172,22 @@ class Server
|
||||||
`admin_name` = :admin_name,
|
`admin_name` = :admin_name,
|
||||||
`admin_profile` = :admin_profile,
|
`admin_profile` = :admin_profile,
|
||||||
`noscrape_url` = :noscrape_url,
|
`noscrape_url` = :noscrape_url,
|
||||||
|
`subscribe_url` = :subscribe_url,
|
||||||
`ssl_state` = :ssl_state
|
`ssl_state` = :ssl_state
|
||||||
WHERE `id` = :server_id',
|
WHERE `id` = :server_id',
|
||||||
[
|
[
|
||||||
'server_id' => $server['id'],
|
'server_id' => $server['id'],
|
||||||
'base_url' => strtolower($probe_result['data']['url']),
|
'base_url' => strtolower($probe_result['data']['url']),
|
||||||
'name' => $probe_result['data']['site_name'],
|
'name' => substr($probe_result['data']['site_name'], 0, 255),
|
||||||
'language' => $probe_result['data']['language'] ?? null,
|
'language' => $probe_result['data']['language'] ?? null,
|
||||||
'version' => $probe_result['data']['version'],
|
'version' => $probe_result['data']['version'],
|
||||||
'addons' => implode(',', $addons),
|
'addons' => implode(',', $addons),
|
||||||
'reg_policy' => $probe_result['data']['register_policy'],
|
'reg_policy' => $probe_result['data']['register_policy'],
|
||||||
'info' => $probe_result['data']['info'],
|
'info' => $probe_result['data']['info'],
|
||||||
'admin_name' => $probe_result['data']['admin']['name'],
|
'admin_name' => $probe_result['data']['admin']['name'] ?? null,
|
||||||
'admin_profile' => $probe_result['data']['admin']['profile'],
|
'admin_profile' => $probe_result['data']['admin']['profile'] ?? null,
|
||||||
'noscrape_url' => $probe_result['data']['no_scrape_url'] ?? null,
|
'noscrape_url' => $probe_result['data']['no_scrape_url'] ?? null,
|
||||||
|
'subscribe_url' => $subscribe ?? null,
|
||||||
'ssl_state' => $probe_result['ssl_state']
|
'ssl_state' => $probe_result['ssl_state']
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -183,12 +199,22 @@ class Server
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->discoverPoco($base_url);
|
$this->discoverPoco($base_url);
|
||||||
|
} else {
|
||||||
|
$this->logger->debug('Parse unsuccessful', ['$polled_url' => $polled_url, '$probe_result' => $probe_result]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($server) {
|
if ($server) {
|
||||||
//Get the new health.
|
//Get the new health.
|
||||||
$version = $parse_success ? $probe_result['data']['version'] : '';
|
$version = $parse_success ? $probe_result['data']['version'] : '';
|
||||||
$health_score = $this->computeHealthScore($server['health_score'], $parse_success, $probe_result['time'], $version, $probe_result['ssl_state']);
|
$health_score = $this->computeHealthScore(
|
||||||
|
$server['health_score'],
|
||||||
|
$parse_success,
|
||||||
|
$probe_result['time'],
|
||||||
|
$version,
|
||||||
|
$probe_result['ssl_state'],
|
||||||
|
$avg_ping,
|
||||||
|
$probe_result['data']['info'] ?? null
|
||||||
|
);
|
||||||
|
|
||||||
$this->atlas->perform(
|
$this->atlas->perform(
|
||||||
'UPDATE `server` SET `health_score` = :health_score WHERE `id` = :server_id',
|
'UPDATE `server` SET `health_score` = :health_score WHERE `id` = :server_id',
|
||||||
|
@ -228,65 +254,50 @@ class Server
|
||||||
|
|
||||||
private function getProbeResult(string $base_url): array
|
private function getProbeResult(string $base_url): array
|
||||||
{
|
{
|
||||||
//Prepare the CURL call.
|
$curl_info = null;
|
||||||
$handle = curl_init();
|
|
||||||
$options = array(
|
$options = [
|
||||||
//Timeouts
|
'timeout' => max($this->settings['probe_timeout'], 1),
|
||||||
CURLOPT_TIMEOUT => max($this->settings['probe_timeout'], 1), //Minimum of 1 second timeout.
|
'on_stats' => function (TransferStats $transferStats) use (&$curl_info) {
|
||||||
CURLOPT_CONNECTTIMEOUT => 1,
|
$curl_info = $transferStats->getHandlerStats();
|
||||||
//Redirecting
|
}
|
||||||
CURLOPT_FOLLOWLOCATION => true,
|
];
|
||||||
CURLOPT_MAXREDIRS => 8,
|
|
||||||
//SSL
|
$sslcert_issues = false;
|
||||||
CURLOPT_SSL_VERIFYPEER => true,
|
|
||||||
// CURLOPT_VERBOSE => true,
|
|
||||||
// CURLOPT_CERTINFO => true,
|
|
||||||
CURLOPT_SSL_VERIFYHOST => 2,
|
|
||||||
CURLOPT_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS,
|
|
||||||
//Basic request
|
|
||||||
CURLOPT_USERAGENT => 'friendica-directory-probe-1.0',
|
|
||||||
CURLOPT_RETURNTRANSFER => true,
|
|
||||||
CURLOPT_URL => $base_url . '/friendica/json'
|
|
||||||
);
|
|
||||||
curl_setopt_array($handle, $options);
|
|
||||||
|
|
||||||
//Probe the site.
|
|
||||||
$probe_start = microtime(true);
|
$probe_start = microtime(true);
|
||||||
$probe_data = curl_exec($handle);
|
$probe_data = null;
|
||||||
$probe_end = microtime(true);
|
try {
|
||||||
|
//Probe the site.
|
||||||
|
$probe_data = $this->http->get($base_url . '/friendica/json', $options)->getBody()->getContents();
|
||||||
|
} catch (RequestException $e) {
|
||||||
|
if (in_array($e->getHandlerContext()['errno'] ?? 0, [
|
||||||
|
60, //Could not authenticate certificate with known CA's
|
||||||
|
83 //Issuer check failed
|
||||||
|
])) {
|
||||||
|
$sslcert_issues = true;
|
||||||
|
|
||||||
//Check for SSL problems.
|
//When it's the certificate that doesn't work, we probe again without strict SSL.
|
||||||
$curl_statuscode = curl_errno($handle);
|
$options['verify'] = false;
|
||||||
$sslcert_issues = in_array($curl_statuscode, array(
|
|
||||||
60, //Could not authenticate certificate with known CA's
|
|
||||||
83 //Issuer check failed
|
|
||||||
));
|
|
||||||
|
|
||||||
//When it's the certificate that doesn't work.
|
$probe_start = microtime(true);
|
||||||
if ($sslcert_issues) {
|
try {
|
||||||
//Probe again, without strict SSL.
|
$probe_data = $this->http->get($base_url . '/friendica/json', $options)->getBody()->getContents();
|
||||||
$options[CURLOPT_SSL_VERIFYPEER] = false;
|
} catch(RequestException $e) {
|
||||||
|
// Collects 404, 500 errors
|
||||||
//Replace the handle.
|
$this->logger->info('SSL-non-verified URL probe failed with error code: ' . $e->getCode());
|
||||||
curl_close($handle);
|
}
|
||||||
$handle = curl_init();
|
} else {
|
||||||
curl_setopt_array($handle, $options);
|
$this->logger->info('SSL-verified URL probe failed with error code: ' . $e->getCode());
|
||||||
|
}
|
||||||
//Probe.
|
} catch (\InvalidArgumentException $e) {
|
||||||
$probe_start = microtime(true);
|
$this->logger->error('Invalid argument provided to HTTP client', ['base_url' => $base_url, 'exception' => $e]);
|
||||||
$probe_data = curl_exec($handle);
|
return ['data' => false, 'time' => 0, 'curl_info' => [], 'ssl_state' => null];
|
||||||
$probe_end = microtime(true);
|
|
||||||
|
|
||||||
//Store new status.
|
|
||||||
$curl_statuscode = curl_errno($handle);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Gather more meta.
|
$probe_end = microtime(true);
|
||||||
$time = round(($probe_end - $probe_start) * 1000);
|
|
||||||
$curl_info = curl_getinfo($handle);
|
|
||||||
|
|
||||||
//Done with CURL now.
|
$time = round(($probe_end - $probe_start) * 1000);
|
||||||
curl_close($handle);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$data = json_decode($probe_data, true);
|
$data = json_decode($probe_data, true);
|
||||||
|
@ -306,7 +317,15 @@ class Server
|
||||||
return ['data' => $data, 'time' => $time, 'curl_info' => $curl_info, 'ssl_state' => $ssl_state];
|
return ['data' => $data, 'time' => $time, 'curl_info' => $curl_info, 'ssl_state' => $ssl_state];
|
||||||
}
|
}
|
||||||
|
|
||||||
private function computeHealthScore(int $original_health, bool $probe_success, int $time = null, string $version = null, int $ssl_state = null): int
|
private function computeHealthScore(
|
||||||
|
int $original_health,
|
||||||
|
bool $probe_success,
|
||||||
|
?int $time,
|
||||||
|
?string $version,
|
||||||
|
?int $ssl_state,
|
||||||
|
?float $avg_ping,
|
||||||
|
?string $description
|
||||||
|
): int
|
||||||
{
|
{
|
||||||
//Probe failed, costs you 30 points.
|
//Probe failed, costs you 30 points.
|
||||||
if (!$probe_success) {
|
if (!$probe_success) {
|
||||||
|
@ -355,7 +374,7 @@ class Server
|
||||||
} else {
|
} else {
|
||||||
$stable_version = $this->simplecache->get('stable_version');
|
$stable_version = $this->simplecache->get('stable_version');
|
||||||
if (!$stable_version) {
|
if (!$stable_version) {
|
||||||
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/master/VERSION'));
|
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/stable/VERSION'));
|
||||||
$this->simplecache->set('stable_version', $stable_version);
|
$this->simplecache->set('stable_version', $stable_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -368,39 +387,48 @@ class Server
|
||||||
$rc_version = str_replace('-dev', '-rc', $dev_version);
|
$rc_version = str_replace('-dev', '-rc', $dev_version);
|
||||||
|
|
||||||
if ($version == $dev_version || $version == $rc_version) {
|
if ($version == $dev_version || $version == $rc_version) {
|
||||||
$max_health = 95; //Develop/RC can be unstable
|
$old_max_health = $max_health;
|
||||||
|
$new_max_health = 95; //Develop/RC can be unstable
|
||||||
|
$max_health = min($old_max_health, $new_max_health);
|
||||||
} elseif ($version !== $stable_version) {
|
} elseif ($version !== $stable_version) {
|
||||||
$delta = min($delta, 0) - 10; // Losing score as time passes if node isn't updated
|
$delta = min($delta, 0) - 10; // Losing score as time passes if node isn't updated
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// No description available penalty
|
||||||
|
if (!$description) {
|
||||||
|
$max_health = min(75, $max_health);
|
||||||
|
}
|
||||||
|
|
||||||
|
// No ping penalty
|
||||||
|
if (!$avg_ping) {
|
||||||
|
$max_health -= 5;
|
||||||
|
}
|
||||||
|
|
||||||
return max(min($max_health, $original_health + $delta), -100);
|
return max(min($max_health, $original_health + $delta), -100);
|
||||||
}
|
}
|
||||||
|
|
||||||
function discoverPoco($base_url): void
|
function discoverPoco($base_url): void
|
||||||
{
|
{
|
||||||
$pocoUrl = $base_url . '/poco';
|
$uri = Uri::withQueryValues(new Uri($base_url . '/poco'), ['fields' => 'urls', 'count' => 1000]);
|
||||||
|
|
||||||
$webrequest = new WebRequest($pocoUrl);
|
try {
|
||||||
$pocoJsonData = $webrequest->get(['fields' => 'urls', 'count' => 1000]);
|
$response = $this->http->request('GET', $uri);
|
||||||
|
} catch (RequestException $e) {
|
||||||
$this->logger->debug('WebRequest: ' . $webrequest->getLastFetchedUrl() . ' Status: ' . $webrequest->getLastStatus());
|
$this->logger->info('Unsuccessful poco request: ' . $uri);
|
||||||
|
|
||||||
if ($webrequest->getLastStatus() != 200) {
|
|
||||||
$this->logger->info('Unsuccessful poco request: ' . $webrequest->getLastFetchedUrl());
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$pocoFetchData = json_decode($pocoJsonData);
|
$pocoFetchData = json_decode($response->getBody()->getContents());
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
$this->logger->notice('Invalid JSON string for PoCo URL: ' . $webrequest->getLastFetchedUrl());
|
$this->logger->notice('Invalid JSON string for PoCo URL: ' . $uri);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($pocoFetchData->entry)) {
|
if (!isset($pocoFetchData->entry)) {
|
||||||
$this->logger->notice('Invalid JSON structure for PoCo URL: ' . $webrequest->getLastFetchedUrl());
|
$this->logger->notice('Invalid JSON structure for PoCo URL: ' . $uri);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -419,4 +447,45 @@ class Server
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getSubscribeUrl($base_url, $profile)
|
||||||
|
{
|
||||||
|
$uri = Uri::withQueryValues(new Uri($base_url . '/xrd'), ['uri' => $profile]);
|
||||||
|
|
||||||
|
try {
|
||||||
|
$response = $this->http->request('GET', $uri, ['headers' => ['Accept' => 'application/jrd+json']]);
|
||||||
|
} catch (RequestException $e) {
|
||||||
|
$this->logger->info('Unsuccessful xrd request: ' . $uri);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$xrdJsonData = $response->getBody()->getContents();
|
||||||
|
|
||||||
|
$this->logger->debug('WebRequest: ' . $uri . ' Status: ' . $response->getStatusCode());
|
||||||
|
|
||||||
|
if ($response->getStatusCode() != 200) {
|
||||||
|
$this->logger->info('Unsuccessful XRD request: ' . $uri);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
$xrdData = json_decode($xrdJsonData);
|
||||||
|
} catch (\Throwable $e) {
|
||||||
|
$this->logger->notice('Invalid JSON string for XRD URL: ' . $uri);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!isset($xrdData->links)) {
|
||||||
|
$this->logger->notice('Invalid JSON structure for XRD URL: ' . $uri);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach ($xrdData->links as $link) {
|
||||||
|
if ($link->rel == 'http://ostatus.org/schema/1.0/subscribe') {
|
||||||
|
return $link->template ?? null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
abstract class BaseRoute
|
abstract class BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class DirectoryAdd extends BaseRoute
|
class DirectoryAdd extends BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class DirectoryPoll extends BaseRoute
|
class DirectoryPoll extends BaseRoute
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@ class DirectoryPoll extends BaseRoute
|
||||||
{
|
{
|
||||||
return (new \Friendica\Directory\Controllers\Console\DirectoryPoll(
|
return (new \Friendica\Directory\Controllers\Console\DirectoryPoll(
|
||||||
$this->container->get('atlas'),
|
$this->container->get('atlas'),
|
||||||
$this->container->get('\Friendica\Directory\Pollers\Directory'),
|
$this->container->get(\Friendica\Directory\Pollers\Directory::class),
|
||||||
$args
|
$args
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ExtractStrings extends BaseRoute
|
class ExtractStrings extends BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Install extends BaseRoute
|
class Install extends BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ProfileAdd extends BaseRoute
|
class ProfileAdd extends BaseRoute
|
||||||
{
|
{
|
||||||
public function __invoke(array $args)
|
public function __invoke(array $args)
|
||||||
{
|
{
|
||||||
return (new \Friendica\Directory\Controllers\Console\ProfileAdd(
|
return (new \Friendica\Directory\Controllers\Console\ProfileAdd(
|
||||||
$this->container->get('\Friendica\Directory\Models\ProfilePollQueue'),
|
$this->container->get(\Friendica\Directory\Models\ProfilePollQueue::class),
|
||||||
$args
|
$args
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ProfileHide extends BaseRoute
|
class ProfileHide extends BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ProfilePoll extends BaseRoute
|
class ProfilePoll extends BaseRoute
|
||||||
{
|
{
|
||||||
public function __invoke(array $args)
|
public function __invoke(array $args)
|
||||||
{
|
{
|
||||||
return (new \Friendica\Directory\Controllers\Console\ProfilePoll(
|
return (new \Friendica\Directory\Controllers\Console\ProfilePoll(
|
||||||
$this->container->get('\Friendica\Directory\Pollers\Profile'),
|
$this->container->get(\Friendica\Directory\Pollers\Profile::class),
|
||||||
$args
|
$args
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ServerHide extends BaseRoute
|
class ServerHide extends BaseRoute
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@ class ServerHide extends BaseRoute
|
||||||
{
|
{
|
||||||
return (new \Friendica\Directory\Controllers\Console\ServerHide(
|
return (new \Friendica\Directory\Controllers\Console\ServerHide(
|
||||||
$this->container->get('atlas'),
|
$this->container->get('atlas'),
|
||||||
$this->container->get('\Friendica\Directory\Models\Server'),
|
$this->container->get(\Friendica\Directory\Models\Server::class),
|
||||||
$args
|
$args
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class ServerPoll extends BaseRoute
|
class ServerPoll extends BaseRoute
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@ class ServerPoll extends BaseRoute
|
||||||
{
|
{
|
||||||
return (new \Friendica\Directory\Controllers\Console\ServerPoll(
|
return (new \Friendica\Directory\Controllers\Console\ServerPoll(
|
||||||
$this->container->get('atlas'),
|
$this->container->get('atlas'),
|
||||||
$this->container->get('\Friendica\Directory\Pollers\Server'),
|
$this->container->get(\Friendica\Directory\Pollers\Server::class),
|
||||||
$args
|
$args
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Console;
|
namespace Friendica\Directory\Routes\Console;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class UpdateDb extends BaseRoute
|
class UpdateDb extends BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Http;
|
namespace Friendica\Directory\Routes\Http;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
abstract class BaseRoute
|
abstract class BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,15 +3,14 @@
|
||||||
namespace Friendica\Directory\Routes\Http;
|
namespace Friendica\Directory\Routes\Http;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class MatchSearch extends BaseRoute
|
class MatchSearch extends BaseRoute
|
||||||
{
|
{
|
||||||
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
||||||
{
|
{
|
||||||
return (new \Friendica\Directory\Controllers\Api\MatchSearch(
|
return (new \Friendica\Directory\Controllers\Api\MatchSearch(
|
||||||
$this->container->atlas,
|
$this->container->get(\Friendica\Directory\Models\Profile::class),
|
||||||
$this->container->get('\Friendica\Directory\Models\Profile'),
|
|
||||||
$this->container->l10n
|
$this->container->l10n
|
||||||
))->render($request, $response, $args);
|
))->render($request, $response, $args);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,14 +3,15 @@
|
||||||
namespace Friendica\Directory\Routes\Http;
|
namespace Friendica\Directory\Routes\Http;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Photo extends BaseRoute
|
class Photo extends BaseRoute
|
||||||
{
|
{
|
||||||
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
||||||
{
|
{
|
||||||
return (new \Friendica\Directory\Controllers\Api\Photo(
|
return (new \Friendica\Directory\Controllers\Api\Photo(
|
||||||
$this->container->atlas
|
$this->container->atlas,
|
||||||
|
$this->container->get('defaultProfilePictureSmallPath')
|
||||||
))->render($request, $response, $args);
|
))->render($request, $response, $args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,15 +3,14 @@
|
||||||
namespace Friendica\Directory\Routes\Http;
|
namespace Friendica\Directory\Routes\Http;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Search extends BaseRoute
|
class Search extends BaseRoute
|
||||||
{
|
{
|
||||||
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
||||||
{
|
{
|
||||||
return (new \Friendica\Directory\Controllers\Api\Search(
|
return (new \Friendica\Directory\Controllers\Api\Search(
|
||||||
$this->container->atlas,
|
$this->container->get(\Friendica\Directory\Models\Profile::class),
|
||||||
$this->container->get('\Friendica\Directory\Models\Profile'),
|
|
||||||
$this->container->l10n
|
$this->container->l10n
|
||||||
))->render($request, $response, $args);
|
))->render($request, $response, $args);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Http;
|
namespace Friendica\Directory\Routes\Http;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Submit extends BaseRoute
|
class Submit extends BaseRoute
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@ class Submit extends BaseRoute
|
||||||
{
|
{
|
||||||
return (new \Friendica\Directory\Controllers\Api\Submit(
|
return (new \Friendica\Directory\Controllers\Api\Submit(
|
||||||
$this->container->atlas,
|
$this->container->atlas,
|
||||||
$this->container->get('\Friendica\Directory\Models\ProfilePollQueue'),
|
$this->container->get(\Friendica\Directory\Models\ProfilePollQueue::class),
|
||||||
$this->container->logger
|
$this->container->logger
|
||||||
))->execute($request, $response);
|
))->execute($request, $response);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Http;
|
namespace Friendica\Directory\Routes\Http;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Surprise extends BaseRoute
|
class Surprise extends BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Http;
|
namespace Friendica\Directory\Routes\Http;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class SyncPull extends BaseRoute
|
class SyncPull extends BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace Friendica\Directory\Routes\Web;
|
||||||
use Friendica\Directory\Controllers\Web\BaseController;
|
use Friendica\Directory\Controllers\Web\BaseController;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
abstract class BaseRoute
|
abstract class BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Web;
|
namespace Friendica\Directory\Routes\Web;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Directory extends BaseRoute
|
class Directory extends BaseRoute
|
||||||
{
|
{
|
||||||
|
@ -13,8 +13,9 @@ class Directory extends BaseRoute
|
||||||
|
|
||||||
$this->controller = new \Friendica\Directory\Controllers\Web\Directory(
|
$this->controller = new \Friendica\Directory\Controllers\Web\Directory(
|
||||||
$this->container->atlas,
|
$this->container->atlas,
|
||||||
$this->container->get('\Friendica\Directory\Models\Profile'),
|
$this->container->get(\Friendica\Directory\Models\Server::class),
|
||||||
$this->container->get('\Friendica\Directory\Views\Widget\AccountTypeTabs'),
|
$this->container->get(\Friendica\Directory\Models\Profile::class),
|
||||||
|
$this->container->get(\Friendica\Directory\Views\Widget\AccountTypeTabs::class),
|
||||||
$this->container->renderer,
|
$this->container->renderer,
|
||||||
$this->container->l10n
|
$this->container->l10n
|
||||||
);
|
);
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Web;
|
namespace Friendica\Directory\Routes\Web;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Pages extends BaseRoute
|
class Pages extends BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Web;
|
namespace Friendica\Directory\Routes\Web;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Search extends BaseRoute
|
class Search extends BaseRoute
|
||||||
{
|
{
|
||||||
|
@ -13,8 +13,9 @@ class Search extends BaseRoute
|
||||||
|
|
||||||
$this->controller = new \Friendica\Directory\Controllers\Web\Search(
|
$this->controller = new \Friendica\Directory\Controllers\Web\Search(
|
||||||
$this->container->atlas,
|
$this->container->atlas,
|
||||||
$this->container->get('\Friendica\Directory\Models\Profile'),
|
$this->container->get(\Friendica\Directory\Models\Server::class),
|
||||||
$this->container->get('\Friendica\Directory\Views\Widget\AccountTypeTabs'),
|
$this->container->get(\Friendica\Directory\Models\Profile::class),
|
||||||
|
$this->container->get(\Friendica\Directory\Views\Widget\AccountTypeTabs::class),
|
||||||
$this->container->renderer,
|
$this->container->renderer,
|
||||||
$this->container->l10n
|
$this->container->l10n
|
||||||
);
|
);
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Web;
|
namespace Friendica\Directory\Routes\Web;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Servers extends BaseRoute
|
class Servers extends BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Routes\Web;
|
namespace Friendica\Directory\Routes\Web;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Statistics extends BaseRoute
|
class Statistics extends BaseRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@ use Gettext\Languages\Language;
|
||||||
use Gettext\Translator;
|
use Gettext\Translator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class L10n
|
class L10n
|
||||||
{
|
{
|
||||||
|
@ -165,12 +165,12 @@ class L10n
|
||||||
$foundLang = $language;
|
$foundLang = $language;
|
||||||
}
|
}
|
||||||
if (strtolower($key) == strtolower(str_replace('-', '_', $locale))) {
|
if (strtolower($key) == strtolower(str_replace('-', '_', $locale))) {
|
||||||
$foundLocale = true;
|
$foundLocale = $language;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $foundLocale ? $language : $foundLang ?: $locale;
|
return $foundLocale ?: $foundLang ?: $locale;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -11,56 +11,10 @@ namespace Friendica\Directory\Utils;
|
||||||
/**
|
/**
|
||||||
* Description of Network
|
* Description of Network
|
||||||
*
|
*
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Network
|
class Network
|
||||||
{
|
{
|
||||||
public static function fetchURL(string $url, bool $binary = false, int $timeout = 20): string
|
|
||||||
{
|
|
||||||
$ch = curl_init($url);
|
|
||||||
if (!$ch) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
curl_setopt($ch, CURLOPT_HEADER, 0);
|
|
||||||
curl_setopt($ch, CURLOPT_TIMEOUT, max($timeout, 1)); //Minimum of 1 second timeout.
|
|
||||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
|
|
||||||
curl_setopt($ch, CURLOPT_MAXREDIRS, 8);
|
|
||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
|
||||||
if ($binary) {
|
|
||||||
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
|
|
||||||
}
|
|
||||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
|
||||||
$s = curl_exec($ch);
|
|
||||||
curl_close($ch);
|
|
||||||
return $s;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static function testURL(string $url, int $timeout = 20): bool
|
|
||||||
{
|
|
||||||
$ch = curl_init($url);
|
|
||||||
if (!$ch) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
curl_setopt($ch, CURLOPT_HEADER , 0);
|
|
||||||
curl_setopt($ch, CURLOPT_TIMEOUT , max($timeout, 1)); //Minimum of 1 second timeout.
|
|
||||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
|
|
||||||
curl_setopt($ch, CURLOPT_MAXREDIRS , 8);
|
|
||||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
|
|
||||||
curl_setopt($ch, CURLOPT_NOBODY , true);
|
|
||||||
|
|
||||||
curl_exec($ch);
|
|
||||||
|
|
||||||
$responseCode = intval(curl_getinfo($ch, CURLINFO_RESPONSE_CODE));
|
|
||||||
|
|
||||||
$testSuccess = curl_errno($ch) === 0 && $responseCode < 400;
|
|
||||||
|
|
||||||
curl_close($ch);
|
|
||||||
|
|
||||||
return $testSuccess;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a hostname is public and non-reserved
|
* Check if a hostname is public and non-reserved
|
||||||
*
|
*
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Utils;
|
namespace Friendica\Directory\Utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Photo
|
class Photo
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
|
|
||||||
namespace Friendica\Directory\Utils;
|
namespace Friendica\Directory\Utils;
|
||||||
|
|
||||||
|
use GuzzleHttp\ClientInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class Scrape
|
class Scrape
|
||||||
{
|
{
|
||||||
|
@ -12,10 +14,10 @@ class Scrape
|
||||||
* @param string $url
|
* @param string $url
|
||||||
* @return array|false
|
* @return array|false
|
||||||
*/
|
*/
|
||||||
public static function retrieveNoScrapeData(string $url)
|
public static function retrieveNoScrapeData(ClientInterface $http, string $url)
|
||||||
{
|
{
|
||||||
$submit_noscrape_start = microtime(true);
|
$submit_noscrape_start = microtime(true);
|
||||||
$data = Network::fetchURL($url);
|
$data = $http->get($url)->getBody()->getContents();
|
||||||
$submit_noscrape_request_end = microtime(true);
|
$submit_noscrape_request_end = microtime(true);
|
||||||
|
|
||||||
if (empty($data)) {
|
if (empty($data)) {
|
||||||
|
@ -23,7 +25,7 @@ class Scrape
|
||||||
}
|
}
|
||||||
|
|
||||||
$params = json_decode($data, true);
|
$params = json_decode($data, true);
|
||||||
if (!$params || !count($params)) {
|
if (empty($params) || !is_array($params)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +44,7 @@ class Scrape
|
||||||
return $params;
|
return $params;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function retrieveProfileData(string $url, int $max_nodes = 3500): array
|
public static function retrieveProfileData(ClientInterface $http, string $url, int $max_nodes = 3500): array
|
||||||
{
|
{
|
||||||
|
|
||||||
$minNodes = 100; //Lets do at least 100 nodes per type.
|
$minNodes = 100; //Lets do at least 100 nodes per type.
|
||||||
|
@ -56,7 +58,7 @@ class Scrape
|
||||||
$scrape_start = microtime(true);
|
$scrape_start = microtime(true);
|
||||||
|
|
||||||
$params = [];
|
$params = [];
|
||||||
$html = Network::fetchURL($url, false, $timeout);
|
$html = $http->get($url, ['timeout' => $timeout])->getBody()->getContents();;
|
||||||
|
|
||||||
$scrape_fetch_end = microtime(true);
|
$scrape_fetch_end = microtime(true);
|
||||||
|
|
||||||
|
@ -129,7 +131,7 @@ class Scrape
|
||||||
|
|
||||||
$nodes_left = max(intval($max_nodes), $minNodes);
|
$nodes_left = max(intval($max_nodes), $minNodes);
|
||||||
$items = $dom->getElementsByTagName('*');
|
$items = $dom->getElementsByTagName('*');
|
||||||
$targets = array('fn', 'pdesc', 'photo', 'key', 'locality', 'region', 'postal-code', 'country-name');
|
$targets = array('fn', 'pdesc', 'photo', 'locality', 'region', 'postal-code', 'country-name');
|
||||||
$targets_left = count($targets);
|
$targets_left = count($targets);
|
||||||
foreach ($items as $item) {
|
foreach ($items as $item) {
|
||||||
if (self::attributeContains($item->getAttribute('class'), 'vcard')) {
|
if (self::attributeContains($item->getAttribute('class'), 'vcard')) {
|
||||||
|
@ -147,10 +149,6 @@ class Scrape
|
||||||
$params['photo'] = $vcard_element->getAttribute('src');
|
$params['photo'] = $vcard_element->getAttribute('src');
|
||||||
$targets_left = self::popScrapeTarget($targets, 'photo');
|
$targets_left = self::popScrapeTarget($targets, 'photo');
|
||||||
}
|
}
|
||||||
if (self::attributeContains($vcard_element->getAttribute('class'), 'key')) {
|
|
||||||
$params['key'] = $vcard_element->textContent;
|
|
||||||
$targets_left = self::popScrapeTarget($targets, 'key');
|
|
||||||
}
|
|
||||||
if (self::attributeContains($vcard_element->getAttribute('class'), 'locality')) {
|
if (self::attributeContains($vcard_element->getAttribute('class'), 'locality')) {
|
||||||
$params['locality'] = $vcard_element->textContent;
|
$params['locality'] = $vcard_element->textContent;
|
||||||
$targets_left = self::popScrapeTarget($targets, 'locality');
|
$targets_left = self::popScrapeTarget($targets, 'locality');
|
||||||
|
|
|
@ -2,10 +2,12 @@
|
||||||
|
|
||||||
namespace Friendica\Directory\Views;
|
namespace Friendica\Directory\Views;
|
||||||
|
|
||||||
|
use Slim\Router;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Zend-Escaper wrapper for Slim PHP Renderer
|
* Zend-Escaper wrapper for Slim PHP Renderer
|
||||||
*
|
*
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*
|
*
|
||||||
* @method string escapeHtml(string $value)
|
* @method string escapeHtml(string $value)
|
||||||
* @method string escapeHtmlAttr(string $value)
|
* @method string escapeHtmlAttr(string $value)
|
||||||
|
@ -32,10 +34,15 @@ class PhpRenderer extends \Slim\Views\PhpRenderer
|
||||||
* @var \Gettext\TranslatorInterface
|
* @var \Gettext\TranslatorInterface
|
||||||
*/
|
*/
|
||||||
private $l10n;
|
private $l10n;
|
||||||
|
/**
|
||||||
|
* @var Router
|
||||||
|
*/
|
||||||
|
private $router;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\Zend\Escaper\Escaper $escaper,
|
\Zend\Escaper\Escaper $escaper,
|
||||||
\Gettext\TranslatorInterface $l10n,
|
\Gettext\TranslatorInterface $l10n,
|
||||||
|
Router $router,
|
||||||
string $templatePath = "",
|
string $templatePath = "",
|
||||||
array $attributes = array()
|
array $attributes = array()
|
||||||
)
|
)
|
||||||
|
@ -44,6 +51,7 @@ class PhpRenderer extends \Slim\Views\PhpRenderer
|
||||||
|
|
||||||
$this->escaper = $escaper;
|
$this->escaper = $escaper;
|
||||||
$this->l10n = $l10n;
|
$this->l10n = $l10n;
|
||||||
|
$this->router = $router;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function e(string $value): string
|
public function e(string $value): string
|
||||||
|
@ -58,7 +66,7 @@ class PhpRenderer extends \Slim\Views\PhpRenderer
|
||||||
} elseif (method_exists($this->l10n, $name)) {
|
} elseif (method_exists($this->l10n, $name)) {
|
||||||
return $this->l10n->$name(...$arguments);
|
return $this->l10n->$name(...$arguments);
|
||||||
} else {
|
} else {
|
||||||
throw new \Exception('Unknown PhpRendere magic method: ' . $name);
|
throw new \Exception('Unknown PhpRenderer magic method: ' . $name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,5 +180,36 @@ class PhpRenderer extends \Slim\Views\PhpRenderer
|
||||||
return !empty($args[1]) && is_array($args[1]) ? strtr($text, $args[1]) : vsprintf($text, $args);
|
return !empty($args[1]) && is_array($args[1]) ? strtr($text, $args[1]) : vsprintf($text, $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the URL of the provided route and parameters
|
||||||
|
*
|
||||||
|
* @param string $name
|
||||||
|
* @param array $data
|
||||||
|
* @param array $queryParams
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
function r(string $name, array $data = [], array $queryParams = [])
|
||||||
|
{
|
||||||
|
if ($this->getAttribute('zrl')) {
|
||||||
|
$queryParams['zrl'] = $this->getAttribute('zrl');
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->router->pathFor($name, $data, $queryParams);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add sitewide ZRL support for external URLs
|
||||||
|
*
|
||||||
|
* @param string $url
|
||||||
|
*/
|
||||||
|
function u(string $url)
|
||||||
|
{
|
||||||
|
if ($this->getAttribute('zrl')) {
|
||||||
|
$uri = new \ByJG\Util\Uri($url);
|
||||||
|
$uri->withQueryKeyValue('zrl', $this->getAttribute('zrl'), false);
|
||||||
|
$url = $uri->__toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
return $url;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Views\Widget;
|
namespace Friendica\Directory\Views\Widget;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class AccountTypeTabs
|
class AccountTypeTabs
|
||||||
{
|
{
|
||||||
|
@ -40,7 +40,7 @@ class AccountTypeTabs
|
||||||
AND NOT p.`hidden`
|
AND NOT p.`hidden`
|
||||||
' . $condition . '
|
' . $condition . '
|
||||||
GROUP BY p.`account_type`
|
GROUP BY p.`account_type`
|
||||||
ORDER BY `filled_fields` DESC, `last_activity` DESC, `updated` DESC';
|
ORDER BY `count` DESC';
|
||||||
$account_types = $this->connection->fetchAll($stmt, $values);
|
$account_types = $this->connection->fetchAll($stmt, $values);
|
||||||
|
|
||||||
$tabs = [
|
$tabs = [
|
||||||
|
@ -53,8 +53,12 @@ class AccountTypeTabs
|
||||||
|
|
||||||
foreach ($account_types as $account_type) {
|
foreach ($account_types as $account_type) {
|
||||||
switch ($account_type['account_type']) {
|
switch ($account_type['account_type']) {
|
||||||
case 'People': $title = $this->renderer->np__('account-type', 'People (%d)', 'People (%d)', $account_type['count']); break;
|
case 'People' : $title = $this->renderer->np__('account-type', 'People (%d)' , 'People (%d)' , $account_type['count']); break;
|
||||||
case 'Forum' : $title = $this->renderer->np__('account-type', 'Forum (%d)', 'Forums (%d)', $account_type['count']); break;
|
case 'News' : $title = $this->renderer->np__('account-type', 'News (%d)' , 'News (%d)' , $account_type['count']); break;
|
||||||
|
case 'Organization': $title = $this->renderer->np__('account-type', 'Organization (%d)', 'Organizations (%d)', $account_type['count']); break;
|
||||||
|
// Kept for backward compatibility
|
||||||
|
case 'Forum' :
|
||||||
|
case 'Group' : $title = $this->renderer->np__('account-type', 'Group (%d)' , 'Groups (%d)' , $account_type['count']); break;
|
||||||
default: $title = $this->renderer->np__('account-type', $account_type['account_type']. ' (%d)', $account_type['account_type']. ' (%d)', $account_type['count']);
|
default: $title = $this->renderer->np__('account-type', $account_type['account_type']. ' (%d)', $account_type['account_type']. ' (%d)', $account_type['count']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Views\Widget;
|
namespace Friendica\Directory\Views\Widget;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class PopularCountries
|
class PopularCountries
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,7 @@ FROM `profile`
|
||||||
WHERE `country` != ""
|
WHERE `country` != ""
|
||||||
AND `available`
|
AND `available`
|
||||||
GROUP BY `country`
|
GROUP BY `country`
|
||||||
ORDER BY COUNT(`country`) DESC
|
ORDER BY `total` DESC
|
||||||
LIMIT 10';
|
LIMIT 10';
|
||||||
$countries = $this->connection->fetchAll($stmt);
|
$countries = $this->connection->fetchAll($stmt);
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
namespace Friendica\Directory\Views\Widget;
|
namespace Friendica\Directory\Views\Widget;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class PopularLanguages
|
class PopularProfileLanguages
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var \Atlas\Pdo\Connection
|
* @var \Atlas\Pdo\Connection
|
||||||
|
@ -24,13 +24,18 @@ class PopularLanguages
|
||||||
|
|
||||||
public function render(): string
|
public function render(): string
|
||||||
{
|
{
|
||||||
$stmt = 'SELECT LEFT(`language`, 2) AS `language`, COUNT(*) AS `total` FROM `profile` WHERE `language` IS NOT NULL GROUP BY LEFT(`language`, 2) ORDER BY COUNT(*) DESC LIMIT 10';
|
$stmt = 'SELECT LEFT(`language`, 2) AS `language`, COUNT(*) AS `total`
|
||||||
|
FROM `profile`
|
||||||
|
WHERE `language` IS NOT NULL
|
||||||
|
GROUP BY LEFT(`language`, 2)
|
||||||
|
ORDER BY `total` DESC
|
||||||
|
LIMIT 10';
|
||||||
$languages = $this->connection->fetchAll($stmt);
|
$languages = $this->connection->fetchAll($stmt);
|
||||||
|
|
||||||
$vars = [
|
$vars = [
|
||||||
'languages' => $languages
|
'languages' => $languages
|
||||||
];
|
];
|
||||||
|
|
||||||
return $this->renderer->fetch('widget/popularlanguages.phtml', $vars);
|
return $this->renderer->fetch('widget/popularprofilelanguages.phtml', $vars);
|
||||||
}
|
}
|
||||||
}
|
}
|
44
src/classes/Views/Widget/PopularServerLanguages.php
Normal file
44
src/classes/Views/Widget/PopularServerLanguages.php
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Friendica\Directory\Views\Widget;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
|
*/
|
||||||
|
class PopularServerLanguages
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var \Atlas\Pdo\Connection
|
||||||
|
*/
|
||||||
|
private $connection;
|
||||||
|
/**
|
||||||
|
* @var \Friendica\Directory\Views\PhpRenderer
|
||||||
|
*/
|
||||||
|
private $renderer;
|
||||||
|
|
||||||
|
public function __construct(\Atlas\Pdo\Connection $connection, \Friendica\Directory\Views\PhpRenderer $renderer)
|
||||||
|
{
|
||||||
|
$this->connection = $connection;
|
||||||
|
$this->renderer = $renderer;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function render(): string
|
||||||
|
{
|
||||||
|
$stmt = 'SELECT LEFT(`language`, 2) AS `language`, COUNT(*) AS `total`
|
||||||
|
FROM `server`
|
||||||
|
WHERE `reg_policy` != "REGISTER_CLOSED"
|
||||||
|
AND `available`
|
||||||
|
AND NOT `hidden`
|
||||||
|
AND `language` IS NOT NULL
|
||||||
|
GROUP BY LEFT(`language`, 2)
|
||||||
|
ORDER BY `total` DESC
|
||||||
|
LIMIT 10';
|
||||||
|
$languages = $this->connection->fetchAll($stmt);
|
||||||
|
|
||||||
|
$vars = [
|
||||||
|
'languages' => $languages
|
||||||
|
];
|
||||||
|
|
||||||
|
return $this->renderer->fetch('widget/popularserverlanguages.phtml', $vars);
|
||||||
|
}
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Friendica\Directory\Views\Widget;
|
namespace Friendica\Directory\Views\Widget;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <hypolite@mrpetovan.com>
|
||||||
*/
|
*/
|
||||||
class PopularTags
|
class PopularTags
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,11 @@ class PopularTags
|
||||||
|
|
||||||
public function render(): string
|
public function render(): string
|
||||||
{
|
{
|
||||||
$stmt = 'SELECT `term`, COUNT(*) AS `total` FROM `tag` GROUP BY `term` ORDER BY COUNT(`term`) DESC LIMIT 10';
|
$stmt = 'SELECT `term`, COUNT(*) AS `total`
|
||||||
|
FROM `tag`
|
||||||
|
GROUP BY `term`
|
||||||
|
ORDER BY `total` DESC
|
||||||
|
LIMIT 10';
|
||||||
$tags = $this->connection->fetchAll($stmt);
|
$tags = $this->connection->fetchAll($stmt);
|
||||||
|
|
||||||
$vars = [
|
$vars = [
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Interop\Container\ContainerInterface;
|
use Psr\Container\ContainerInterface;
|
||||||
|
|
||||||
// DIC configuration
|
// DIC configuration
|
||||||
|
|
||||||
|
@ -25,7 +25,12 @@ $container['escaper'] = function (ContainerInterface $c): Zend\Escaper\Escaper {
|
||||||
// view renderer
|
// view renderer
|
||||||
$container['renderer'] = function (ContainerInterface $c): Friendica\Directory\Views\PhpRenderer {
|
$container['renderer'] = function (ContainerInterface $c): Friendica\Directory\Views\PhpRenderer {
|
||||||
$settings = $c->get('settings')['renderer'];
|
$settings = $c->get('settings')['renderer'];
|
||||||
return new Friendica\Directory\Views\PhpRenderer($c->get('escaper'), $c->get('l10n'), $settings['template_path']);
|
return new Friendica\Directory\Views\PhpRenderer(
|
||||||
|
$c->get('escaper'),
|
||||||
|
$c->get('l10n'),
|
||||||
|
$c->get('router'),
|
||||||
|
$settings['template_path']
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
// monolog
|
// monolog
|
||||||
|
@ -84,54 +89,68 @@ $container['migration'] = function (ContainerInterface $c): ByJG\DbMigration\Mig
|
||||||
return $migration;
|
return $migration;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$container['http'] = function (ContainerInterface $c): GuzzleHttp\ClientInterface {
|
||||||
|
$version = file_get_contents(__DIR__ . '/../VERSION');
|
||||||
|
|
||||||
|
if (!$version || !preg_match('/^\s*\d\.\d\.\d\s*$/', $version)) {
|
||||||
|
$version = '0.0.0';
|
||||||
|
}
|
||||||
|
|
||||||
|
return new GuzzleHttp\Client(['timeout' => 20, 'headers' => ['User-Agent' => 'FriendicaDirectory/' . trim($version) . ' ' . \GuzzleHttp\default_user_agent()]]);
|
||||||
|
};
|
||||||
|
|
||||||
|
$container['defaultProfilePictureSmallPath'] = __DIR__ . '/../public/assets/images/default-profile-sm.jpg';
|
||||||
|
|
||||||
// Internal Dependency Injection
|
// Internal Dependency Injection
|
||||||
|
|
||||||
$container['\Friendica\Directory\Models\Profile'] = function (ContainerInterface $c): Friendica\Directory\Models\Profile {
|
$container[\Friendica\Directory\Models\Profile::class] = function (ContainerInterface $c): Friendica\Directory\Models\Profile {
|
||||||
return new Friendica\Directory\Models\Profile($c->get('atlas'));
|
return new Friendica\Directory\Models\Profile($c->get('atlas'));
|
||||||
};
|
};
|
||||||
|
|
||||||
$container['\Friendica\Directory\Models\ProfilePollQueue'] = function (ContainerInterface $c): Friendica\Directory\Models\ProfilePollQueue {
|
$container[\Friendica\Directory\Models\ProfilePollQueue::class] = function (ContainerInterface $c): Friendica\Directory\Models\ProfilePollQueue {
|
||||||
return new Friendica\Directory\Models\ProfilePollQueue($c->get('atlas'));
|
return new Friendica\Directory\Models\ProfilePollQueue($c->get('atlas'));
|
||||||
};
|
};
|
||||||
|
|
||||||
$container['\Friendica\Directory\Models\Server'] = function (ContainerInterface $c): Friendica\Directory\Models\Server {
|
$container[\Friendica\Directory\Models\Server::class] = function (ContainerInterface $c): Friendica\Directory\Models\Server {
|
||||||
return new Friendica\Directory\Models\Server($c->get('atlas'));
|
return new Friendica\Directory\Models\Server($c->get('atlas'));
|
||||||
};
|
};
|
||||||
|
|
||||||
$container['\Friendica\Directory\Pollers\Directory'] = function (ContainerInterface $c): Friendica\Directory\Pollers\Directory {
|
$container[\Friendica\Directory\Pollers\Directory::class] = function (ContainerInterface $c): Friendica\Directory\Pollers\Directory {
|
||||||
$settings = $c->get('settings')['poller'];
|
$settings = $c->get('settings')['poller'];
|
||||||
return new Friendica\Directory\Pollers\Directory(
|
return new Friendica\Directory\Pollers\Directory(
|
||||||
$c->get('atlas'),
|
$c->get('http'),
|
||||||
$c->get('\Friendica\Directory\Models\ProfilePollQueue'),
|
$c->get(\Friendica\Directory\Models\ProfilePollQueue::class),
|
||||||
$c->get('logger'),
|
$c->get('logger'),
|
||||||
$settings ?: []
|
$settings ?: []
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
$container['\Friendica\Directory\Pollers\Profile'] = function (ContainerInterface $c): Friendica\Directory\Pollers\Profile {
|
$container[\Friendica\Directory\Pollers\Profile::class] = function (ContainerInterface $c): Friendica\Directory\Pollers\Profile {
|
||||||
$settings = $c->get('settings')['poller'];
|
$settings = $c->get('settings')['poller'];
|
||||||
return new Friendica\Directory\Pollers\Profile(
|
return new Friendica\Directory\Pollers\Profile(
|
||||||
$c->get('atlas'),
|
$c->get('atlas'),
|
||||||
$c->get('\Friendica\Directory\Models\Server'),
|
$c->get('http'),
|
||||||
$c->get('\Friendica\Directory\Models\Profile'),
|
$c->get(\Friendica\Directory\Models\Server::class),
|
||||||
|
$c->get(\Friendica\Directory\Models\Profile::class),
|
||||||
$c->get('logger'),
|
$c->get('logger'),
|
||||||
$settings ?: []
|
$settings ?: []
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
$container['\Friendica\Directory\Pollers\Server'] = function (ContainerInterface $c): Friendica\Directory\Pollers\Server {
|
$container[\Friendica\Directory\Pollers\Server::class] = function (ContainerInterface $c): Friendica\Directory\Pollers\Server {
|
||||||
$settings = $c->get('settings')['poller'];
|
$settings = $c->get('settings')['poller'];
|
||||||
return new Friendica\Directory\Pollers\Server(
|
return new Friendica\Directory\Pollers\Server(
|
||||||
$c->get('atlas'),
|
$c->get('atlas'),
|
||||||
$c->get('\Friendica\Directory\Models\ProfilePollQueue'),
|
$c->get('http'),
|
||||||
$c->get('\Friendica\Directory\Models\Server'),
|
$c->get(\Friendica\Directory\Models\ProfilePollQueue::class),
|
||||||
|
$c->get(\Friendica\Directory\Models\Server::class),
|
||||||
$c->get('simplecache'),
|
$c->get('simplecache'),
|
||||||
$c->get('logger'),
|
$c->get('logger'),
|
||||||
$settings ?: []
|
$settings ?: []
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
$container['\Friendica\Directory\Views\Widget\AccountTypeTabs'] = function (ContainerInterface $c): Friendica\Directory\Views\Widget\AccountTypeTabs {
|
$container[\Friendica\Directory\Views\Widget\AccountTypeTabs::class] = function (ContainerInterface $c): Friendica\Directory\Views\Widget\AccountTypeTabs {
|
||||||
return new Friendica\Directory\Views\Widget\AccountTypeTabs(
|
return new Friendica\Directory\Views\Widget\AccountTypeTabs(
|
||||||
$c->get('atlas'),
|
$c->get('atlas'),
|
||||||
$c->get('renderer'),
|
$c->get('renderer'),
|
||||||
|
|
BIN
src/lang/ar/LC_MESSAGES/strings.mo
Normal file
BIN
src/lang/ar/LC_MESSAGES/strings.mo
Normal file
Binary file not shown.
381
src/lang/ar/LC_MESSAGES/strings.po
Normal file
381
src/lang/ar/LC_MESSAGES/strings.po
Normal file
|
@ -0,0 +1,381 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: abidin toumi <abidin24@tutanota.com>, 2021\n"
|
||||||
|
"Language-Team: Arabic (https://www.transifex.com/Friendica/teams/12172/ar/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
|
"PO-Revision-Date: 2018-11-16 20:30+0000\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"
|
||||||
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
|
msgid "Previous"
|
||||||
|
msgstr "السابقة"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
|
msgid "Next"
|
||||||
|
msgstr "التالية"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:211
|
||||||
|
msgid "First"
|
||||||
|
msgstr "الأولى"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:278
|
||||||
|
msgid "Last"
|
||||||
|
msgstr "الأخيرة"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
|
msgid "People"
|
||||||
|
msgstr "أشخاص"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "اللغة"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Locality"
|
||||||
|
msgstr "المنطقة"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Region"
|
||||||
|
msgstr "الإقليم"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Country"
|
||||||
|
msgstr "البلد"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
|
msgid "Public Servers"
|
||||||
|
msgstr "الخوادم العمومية"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
|
msgid "Friendica Directory"
|
||||||
|
msgstr "دليل فرنديكا"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:23
|
||||||
|
#: src\templates\layout.phtml:25
|
||||||
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
|
msgid "Search terms"
|
||||||
|
msgstr "مصطلحات البحث"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:11
|
||||||
|
msgctxt "noun"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "ابحث"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
|
#: src\templates\search.phtml:14
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "ابحث"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:33
|
||||||
|
msgid "Toggle navigation"
|
||||||
|
msgstr "بدل التصفح"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:55
|
||||||
|
msgid "Directory"
|
||||||
|
msgstr "الدليل"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:60
|
||||||
|
msgid "Public servers"
|
||||||
|
msgstr "الخوادم العمومية"
|
||||||
|
|
||||||
|
#: src\templates\search.phtml:19
|
||||||
|
msgid "%d result for \"%s\""
|
||||||
|
msgid_plural "%d results for \"%s\""
|
||||||
|
msgstr[0] "%d نتائج لـ \"%s\""
|
||||||
|
msgstr[1] "نتيجة %d لـ \"%s\""
|
||||||
|
msgstr[2] "نتيجتان %d لـ \"%s\""
|
||||||
|
msgstr[3] "%d نتائج لـ \"%s\""
|
||||||
|
msgstr[4] "%d نتيجة لـ \"%s\""
|
||||||
|
msgstr[5] "%dنتيجة لـ \"%s\""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:7
|
||||||
|
msgid "Top servers pagination"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:17
|
||||||
|
msgid "Bottom servers pagination"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:5
|
||||||
|
msgid "Filter by locality"
|
||||||
|
msgstr "رشح حسب المنطقة"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:11
|
||||||
|
msgid "Filter by region"
|
||||||
|
msgstr "رشح حسب الإقليم"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:17
|
||||||
|
msgid "Filter by country"
|
||||||
|
msgstr "رشح حسب الدولة"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Follow"
|
||||||
|
msgstr "تابع"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "اللغة"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
|
msgid "Filter by language"
|
||||||
|
msgstr "رشح حسب اللغة"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:66
|
||||||
|
msgid "Location"
|
||||||
|
msgstr "الموقع"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:79
|
||||||
|
msgid "Search Tag"
|
||||||
|
msgstr "ابحث عن وسم"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:1
|
||||||
|
msgid "Account type tabs"
|
||||||
|
msgstr "ألسنة نوع الحساب"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
|
msgid "Top %s pagination"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
|
msgid "Bottom %s pagination"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
|
msgid "Stable Version"
|
||||||
|
msgstr "الإصدار المستقر"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
|
msgid "Develop Version"
|
||||||
|
msgstr "الإصدار الاختباري"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:19
|
||||||
|
msgid "Outdated Version"
|
||||||
|
msgstr "إصدار قديم"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:69
|
||||||
|
msgid "Admin"
|
||||||
|
msgstr "المدير"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:76
|
||||||
|
msgid "No description provided"
|
||||||
|
msgstr "لم يقدم أي وصف"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:79
|
||||||
|
msgid "Visit Server"
|
||||||
|
msgstr "زُر الخادم"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularcountries.phtml:2
|
||||||
|
msgid "Popular Countries"
|
||||||
|
msgstr "البلدان الشائعة"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
|
msgid "Popular Languages"
|
||||||
|
msgstr "اللغات الشائعة"
|
||||||
|
|
||||||
|
#: src\templates\widget\populartags.phtml:2
|
||||||
|
msgid "Popular Tags"
|
||||||
|
msgstr "الوسوم الشائعة"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
|
msgid "Default Language"
|
||||||
|
msgstr "اللغة الافتراضية"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:49
|
||||||
|
msgid "Known Users"
|
||||||
|
msgstr "المستخدِمون المعروفون"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "All"
|
||||||
|
msgstr "الكل"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "People (%d)"
|
||||||
|
msgid_plural "People (%d)"
|
||||||
|
msgstr[0] "أشخاص (%d)"
|
||||||
|
msgstr[1] "أشخاص (%d)"
|
||||||
|
msgstr[2] "أشخاص (%d)"
|
||||||
|
msgstr[3] "أشخاص (%d)"
|
||||||
|
msgstr[4] "أشخاص (%d)"
|
||||||
|
msgstr[5] "أشخاص (%d)"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:97
|
||||||
|
msgid "Stats"
|
||||||
|
msgstr "الإحصائيات"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:4
|
||||||
|
msgid "Directory statistics"
|
||||||
|
msgstr "إحصائيات الدليل"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:5
|
||||||
|
msgid "Profiles"
|
||||||
|
msgstr "الملفات الشخصية"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:6
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
|
msgid "Languages"
|
||||||
|
msgstr "اللغات"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr "من بين <strong>%s</strong> ملفا شخصيا عرف عن لغته هناك:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
|
msgid "Servers"
|
||||||
|
msgstr "الخوادم"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:33
|
||||||
|
msgid "Out of those, there are:"
|
||||||
|
msgstr "من بين هؤلاء هناك:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:47
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
msgstr "من بين <strong>%s</strong> خادما عرف عن لغته هناك:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:57
|
||||||
|
msgid "Versions"
|
||||||
|
msgstr "الإصدارات"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:58
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
msgstr "من بين <strong>%s</strong> خادما عرف عن إصداره هناك:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:7
|
||||||
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:35
|
||||||
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
|
msgstr "<strong>%s خادم متوفر (%s)</strong>"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:91
|
||||||
|
msgid "Friendica Directory version %s"
|
||||||
|
msgstr "إصدار دليل فرنديكا %s"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "يوجد <strong>%s خادم عمومي (%s)</strong> مفتوح للستجيل. <a href=\"%s\">ألق نظرة عليهم!</a>"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] "أخبار (%d)"
|
||||||
|
msgstr[1] "أخبار (%d)"
|
||||||
|
msgstr[2] "أخبار (%d)"
|
||||||
|
msgstr[3] "أخبار (%d)"
|
||||||
|
msgstr[4] "أخبار (%d)"
|
||||||
|
msgstr[5] "أخبار (%d)"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] "منظمات (%d)"
|
||||||
|
msgstr[1] "منظمات (%d)"
|
||||||
|
msgstr[2] "منظمات (%d)"
|
||||||
|
msgstr[3] "منظمات (%d)"
|
||||||
|
msgstr[4] "منظمات (%d)"
|
||||||
|
msgstr[5] "منظمات (%d)"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr "تقييم الصحة"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] "لا مستخدمين %s"
|
||||||
|
msgstr[1] "مستخدم %s"
|
||||||
|
msgstr[2] "مستخدمان %s"
|
||||||
|
msgstr[3] "%s مستخدمين"
|
||||||
|
msgstr[4] "%s مستخدما"
|
||||||
|
msgstr[5] "%s مستخدم"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr "لا شيء"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr "سياسة التسجيل"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr "يحتاج الموافقة"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr "مفتوح"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
msgstr[2] ""
|
||||||
|
msgstr[3] ""
|
||||||
|
msgstr[4] ""
|
||||||
|
msgstr[5] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:94
|
||||||
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
|
msgstr ""
|
BIN
src/lang/ca/LC_MESSAGES/strings.mo
Normal file
BIN
src/lang/ca/LC_MESSAGES/strings.mo
Normal file
Binary file not shown.
357
src/lang/ca/LC_MESSAGES/strings.po
Normal file
357
src/lang/ca/LC_MESSAGES/strings.po
Normal file
|
@ -0,0 +1,357 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: Joan Bar <friendica@tutanota.com>, 2019\n"
|
||||||
|
"Language-Team: Catalan (https://www.transifex.com/Friendica/teams/12172/ca/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
|
"Language: ca\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
|
msgid "Previous"
|
||||||
|
msgstr "prèvia"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
|
msgid "Next"
|
||||||
|
msgstr "següent"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:211
|
||||||
|
msgid "First"
|
||||||
|
msgstr "Primer"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:278
|
||||||
|
msgid "Last"
|
||||||
|
msgstr "Ultim"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
|
msgid "People"
|
||||||
|
msgstr "gent"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Llengua"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Locality"
|
||||||
|
msgstr "Localitat"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Region"
|
||||||
|
msgstr "Regió"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Country"
|
||||||
|
msgstr "País"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
|
msgid "Public Servers"
|
||||||
|
msgstr "Servidors públics"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
|
msgid "Friendica Directory"
|
||||||
|
msgstr "Directori de Friendica"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:23
|
||||||
|
#: src\templates\layout.phtml:25
|
||||||
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
|
msgid "Search terms"
|
||||||
|
msgstr "Termes de cerca"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:11
|
||||||
|
msgctxt "noun"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Buscar"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
|
#: src\templates\search.phtml:14
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Buscar"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:33
|
||||||
|
msgid "Toggle navigation"
|
||||||
|
msgstr "Commuta la navegació"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:55
|
||||||
|
msgid "Directory"
|
||||||
|
msgstr "Directori"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:60
|
||||||
|
msgid "Public servers"
|
||||||
|
msgstr "Servidors públics"
|
||||||
|
|
||||||
|
#: src\templates\search.phtml:19
|
||||||
|
msgid "%d result for \"%s\""
|
||||||
|
msgid_plural "%d results for \"%s\""
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:7
|
||||||
|
msgid "Top servers pagination"
|
||||||
|
msgstr "Paginació dels servidors principals"
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:17
|
||||||
|
msgid "Bottom servers pagination"
|
||||||
|
msgstr "Paginació dels servidors principals"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:5
|
||||||
|
msgid "Filter by locality"
|
||||||
|
msgstr "Filtra per localitat"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:11
|
||||||
|
msgid "Filter by region"
|
||||||
|
msgstr "Filtra per Regió"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:17
|
||||||
|
msgid "Filter by country"
|
||||||
|
msgstr "Filtra per País"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Follow"
|
||||||
|
msgstr "seguir"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Llenguatge "
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
|
msgid "Filter by language"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:66
|
||||||
|
msgid "Location"
|
||||||
|
msgstr "Localitat"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:79
|
||||||
|
msgid "Search Tag"
|
||||||
|
msgstr "Etiqueta de cerca"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:1
|
||||||
|
msgid "Account type tabs"
|
||||||
|
msgstr "Pestanyes tipus compte"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
|
msgid "Top %s pagination"
|
||||||
|
msgstr "Superior%s Paginació"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
|
msgid "Bottom %s pagination"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
|
msgid "Stable Version"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
|
msgid "Develop Version"
|
||||||
|
msgstr "Desenvolupar la versió"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:19
|
||||||
|
msgid "Outdated Version"
|
||||||
|
msgstr "Versió obsoleta"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:69
|
||||||
|
msgid "Admin"
|
||||||
|
msgstr "Administrador"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:76
|
||||||
|
msgid "No description provided"
|
||||||
|
msgstr "No es proporciona cap descripció"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:79
|
||||||
|
msgid "Visit Server"
|
||||||
|
msgstr "Visita servidor"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularcountries.phtml:2
|
||||||
|
msgid "Popular Countries"
|
||||||
|
msgstr "Països populars"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
|
msgid "Popular Languages"
|
||||||
|
msgstr "Idiomes populars"
|
||||||
|
|
||||||
|
#: src\templates\widget\populartags.phtml:2
|
||||||
|
msgid "Popular Tags"
|
||||||
|
msgstr "Etiquetes populars"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
|
msgid "Default Language"
|
||||||
|
msgstr "Idioma per defecte"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:49
|
||||||
|
msgid "Known Users"
|
||||||
|
msgstr "Usuaris coneguts"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "All"
|
||||||
|
msgstr "tots"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "People (%d)"
|
||||||
|
msgid_plural "People (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:97
|
||||||
|
msgid "Stats"
|
||||||
|
msgstr "Estadístiques"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:4
|
||||||
|
msgid "Directory statistics"
|
||||||
|
msgstr "Estadístiques del directori"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:5
|
||||||
|
msgid "Profiles"
|
||||||
|
msgstr "perfil"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:6
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
|
msgstr "Aquest directori en sap <strong>%s URL de perfil diferents</strong>."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
|
msgid "Languages"
|
||||||
|
msgstr "Idiomes"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr "Fora de<strong>%s</strong> Els perfils que informen el seu idioma hi ha:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
|
msgid "Servers"
|
||||||
|
msgstr "Servidors"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr "Aquest directori en sap <strong>%s URL de servidor diferents</strong>."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
msgstr "D’aquests, n’hi ha <strong>%s dominis (%s)</strong> que han estat un servidor Friendica com a mínim una vegada."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:33
|
||||||
|
msgid "Out of those, there are:"
|
||||||
|
msgstr "D'aquests, hi ha:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:47
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
msgstr "Fora de <strong>%s</strong> hi ha servidors que informen del seu idioma:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:57
|
||||||
|
msgid "Versions"
|
||||||
|
msgstr "Versions"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:58
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
msgstr "Fora de<strong>%s</strong> Hi ha servidors que informen de la seva versió:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:7
|
||||||
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
|
msgstr "D’aquests, n’hi ha <strong>%s perfil (%s)</strong> que va optar al directori públic almenys una vegada."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:35
|
||||||
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
|
msgstr "<strong>%s servidors disponibles (%s)</strong>"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:91
|
||||||
|
msgid "Friendica Directory version %s"
|
||||||
|
msgstr "Versió del directori Friendica"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:94
|
||||||
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
|
msgstr ""
|
Binary file not shown.
|
@ -2,22 +2,24 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"Last-Translator: Aditoo, 2018\n"
|
"Last-Translator: Aditoo, 2019\n"
|
||||||
"Language-Team: Czech (https://www.transifex.com/Friendica/teams/12172/cs/)\n"
|
"Language-Team: Czech (https://www.transifex.com/Friendica/teams/12172/cs/)\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
"PO-Revision-Date: 2019-01-27 08:51+0100\n"
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
"Language: cs\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"
|
"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"
|
||||||
"X-Generator: Poedit 2.0.6\n"
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
#: src\classes\Content\Pager.php:168 src\classes\Content\Pager.php:216
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
msgid "Previous"
|
msgid "Previous"
|
||||||
msgstr "Předchozí"
|
msgstr "Předchozí"
|
||||||
|
|
||||||
#: src\classes\Content\Pager.php:173 src\classes\Content\Pager.php:273
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
msgid "Next"
|
msgid "Next"
|
||||||
msgstr "Další"
|
msgstr "Další"
|
||||||
|
|
||||||
|
@ -29,51 +31,57 @@ msgstr "První"
|
||||||
msgid "Last"
|
msgid "Last"
|
||||||
msgstr "Poslední"
|
msgstr "Poslední"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Directory.php:73
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
msgid "People"
|
msgid "People"
|
||||||
msgstr "Lidé"
|
msgstr "Lidé"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:63
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Jazyk"
|
msgstr "Jazyk"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:64
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Locality"
|
msgid "Locality"
|
||||||
msgstr "Poloha"
|
msgstr "Poloha"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:65
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Region"
|
msgid "Region"
|
||||||
msgstr "Region/kraj"
|
msgstr "Region/kraj"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:66
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Country"
|
msgid "Country"
|
||||||
msgstr "Země"
|
msgstr "Země"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Servers.php:88
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
msgid "Public Servers"
|
msgid "Public Servers"
|
||||||
msgstr "Veřejné servery"
|
msgstr "Veřejné servery"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:4 src\templates\layout.phtml:18
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
msgid "Friendica Directory"
|
msgid "Friendica Directory"
|
||||||
msgstr "Adresář Friendica"
|
msgstr "Adresář Friendica"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:23 src\templates\layout.phtml:25
|
#: src\templates\layout.phtml:23
|
||||||
#: src\templates\layout.phtml:43 src\templates\layout.phtml:45
|
#: src\templates\layout.phtml:25
|
||||||
#: src\templates\search.phtml:4 src\templates\search.phtml:12
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
msgid "Search terms"
|
msgid "Search terms"
|
||||||
msgstr "Termíny vyhledávání"
|
msgstr "Termíny vyhledávání"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:24 src\templates\layout.phtml:45
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
#: src\templates\search.phtml:11
|
#: src\templates\search.phtml:11
|
||||||
msgctxt "noun"
|
msgctxt "noun"
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Hledání"
|
msgstr "Hledání"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:27 src\templates\layout.phtml:47
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
#: src\templates\search.phtml:14
|
#: src\templates\search.phtml:14
|
||||||
msgctxt "verb"
|
msgctxt "verb"
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
|
@ -99,11 +107,11 @@ msgstr[1] "%d výsledky pro „%s“"
|
||||||
msgstr[2] "%d výsledku pro „%s“"
|
msgstr[2] "%d výsledku pro „%s“"
|
||||||
msgstr[3] "%d výsledků pro „%s“"
|
msgstr[3] "%d výsledků pro „%s“"
|
||||||
|
|
||||||
#: src\templates\servers.phtml:2
|
#: src\templates\servers.phtml:7
|
||||||
msgid "Top servers pagination"
|
msgid "Top servers pagination"
|
||||||
msgstr "Horní stránkování serverů"
|
msgstr "Horní stránkování serverů"
|
||||||
|
|
||||||
#: src\templates\servers.phtml:12
|
#: src\templates\servers.phtml:17
|
||||||
msgid "Bottom servers pagination"
|
msgid "Bottom servers pagination"
|
||||||
msgstr "Spodní stránkování serverů"
|
msgstr "Spodní stránkování serverů"
|
||||||
|
|
||||||
|
@ -120,23 +128,27 @@ msgid "Filter by country"
|
||||||
msgstr "Filtrovat dle země"
|
msgstr "Filtrovat dle země"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:31
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
msgctxt "verb"
|
msgctxt "verb"
|
||||||
msgid "Follow"
|
msgid "Follow"
|
||||||
msgstr "Sledovat"
|
msgstr "Sledovat"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:65 src\templates\sub\profile.phtml:47
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Jazyk"
|
msgstr "Jazyk"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:50
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
msgid "Filter by language"
|
msgid "Filter by language"
|
||||||
msgstr "Filtrovat dle jazyka"
|
msgstr "Filtrovat dle jazyka"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:56
|
#: src\templates\sub\profile.phtml:66
|
||||||
msgid "Location"
|
msgid "Location"
|
||||||
msgstr "Poloha"
|
msgstr "Poloha"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:69
|
#: src\templates\sub\profile.phtml:79
|
||||||
msgid "Search Tag"
|
msgid "Search Tag"
|
||||||
msgstr "Hledat podle štítku"
|
msgstr "Hledat podle štítku"
|
||||||
|
|
||||||
|
@ -144,19 +156,23 @@ msgstr "Hledat podle štítku"
|
||||||
msgid "Account type tabs"
|
msgid "Account type tabs"
|
||||||
msgstr "Záložky typů účtů"
|
msgstr "Záložky typů účtů"
|
||||||
|
|
||||||
#: src\templates\sub\profiles.phtml:4 src\templates\sub\profiles.phtml:7
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
msgid "Top %s pagination"
|
msgid "Top %s pagination"
|
||||||
msgstr "Horní stránkování %s"
|
msgstr "Horní stránkování %s"
|
||||||
|
|
||||||
#: src\templates\sub\profiles.phtml:13 src\templates\sub\profiles.phtml:16
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
msgid "Bottom %s pagination"
|
msgid "Bottom %s pagination"
|
||||||
msgstr "Spodní stránkování %s"
|
msgstr "Spodní stránkování %s"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:64 src\templates\sub\server.phtml:15
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
msgid "Stable Version"
|
msgid "Stable Version"
|
||||||
msgstr "Stabilní verze"
|
msgstr "Stabilní verze"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:66 src\templates\sub\server.phtml:17
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
msgid "Develop Version"
|
msgid "Develop Version"
|
||||||
msgstr "Vývojová verze"
|
msgstr "Vývojová verze"
|
||||||
|
|
||||||
|
@ -164,15 +180,15 @@ msgstr "Vývojová verze"
|
||||||
msgid "Outdated Version"
|
msgid "Outdated Version"
|
||||||
msgstr "Neaktuální verze"
|
msgstr "Neaktuální verze"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:55
|
#: src\templates\sub\server.phtml:69
|
||||||
msgid "Admin"
|
msgid "Admin"
|
||||||
msgstr "Administrátor"
|
msgstr "Administrátor"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:62
|
#: src\templates\sub\server.phtml:76
|
||||||
msgid "No description provided"
|
msgid "No description provided"
|
||||||
msgstr "Není zadán žádný popis"
|
msgstr "Není zadán žádný popis"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:65
|
#: src\templates\sub\server.phtml:79
|
||||||
msgid "Visit Server"
|
msgid "Visit Server"
|
||||||
msgstr "Navštívit server"
|
msgstr "Navštívit server"
|
||||||
|
|
||||||
|
@ -180,7 +196,7 @@ msgstr "Navštívit server"
|
||||||
msgid "Popular Countries"
|
msgid "Popular Countries"
|
||||||
msgstr "Populární země"
|
msgstr "Populární země"
|
||||||
|
|
||||||
#: src\templates\widget\popularlanguages.phtml:2
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
msgid "Popular Languages"
|
msgid "Popular Languages"
|
||||||
msgstr "Populární jazyky"
|
msgstr "Populární jazyky"
|
||||||
|
|
||||||
|
@ -188,7 +204,8 @@ msgstr "Populární jazyky"
|
||||||
msgid "Popular Tags"
|
msgid "Popular Tags"
|
||||||
msgstr "Populární štítky"
|
msgstr "Populární štítky"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:44 src\templates\sub\server.phtml:45
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
msgid "Default Language"
|
msgid "Default Language"
|
||||||
msgstr "Výchozí jazyk"
|
msgstr "Výchozí jazyk"
|
||||||
|
|
||||||
|
@ -210,15 +227,6 @@ msgstr[1] "Lidé (%d)"
|
||||||
msgstr[2] "Lidé (%d)"
|
msgstr[2] "Lidé (%d)"
|
||||||
msgstr[3] "Lidé (%d)"
|
msgstr[3] "Lidé (%d)"
|
||||||
|
|
||||||
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
|
||||||
msgctxt "account-type"
|
|
||||||
msgid "Forum (%d)"
|
|
||||||
msgid_plural "Forums (%d)"
|
|
||||||
msgstr[0] "Fóra (%d)"
|
|
||||||
msgstr[1] "Fóra (%d)"
|
|
||||||
msgstr[2] "Fóra (%d)"
|
|
||||||
msgstr[3] "Fóra (%d)"
|
|
||||||
|
|
||||||
#: src\templates\layout.phtml:97
|
#: src\templates\layout.phtml:97
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr "Statistika"
|
msgstr "Statistika"
|
||||||
|
@ -235,43 +243,40 @@ msgstr "Profily"
|
||||||
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
msgstr "Tento adresář ví o <strong>%s zřetelných potenciálních profilových URL adresách</strong>."
|
msgstr "Tento adresář ví o <strong>%s zřetelných potenciálních profilových URL adresách</strong>."
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:15 src\templates\statistics.phtml:44
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
msgid "Languages"
|
msgid "Languages"
|
||||||
msgstr "Jazyky"
|
msgstr "Jazyky"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:16
|
#: src\templates\statistics.phtml:17
|
||||||
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
msgstr "Ze všech <strong>%s</strong> profilů hlásících svůj jazyk je tu:"
|
msgstr "Ze všech <strong>%s</strong> profilů hlásících svůj jazyk je tu:"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:26
|
#: src\templates\statistics.phtml:27
|
||||||
msgid "Servers"
|
msgid "Servers"
|
||||||
msgstr "Servery"
|
msgstr "Servery"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:27
|
#: src\templates\statistics.phtml:28
|
||||||
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
msgstr "Tento adresář ví o <strong>%s zřetelných potenciálních serverových URL adresách</strong>."
|
msgstr "Tento adresář ví o <strong>%s zřetelných potenciálních serverových URL adresách</strong>."
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:28
|
#: src\templates\statistics.phtml:29
|
||||||
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
msgstr "Z těch je tu <strong>%s domén (%s)</strong>, které byly alespoň jednou serverem Friendica."
|
msgstr "Z těch je tu <strong>%s domén (%s)</strong>, které byly alespoň jednou serverem Friendica."
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:32
|
#: src\templates\statistics.phtml:33
|
||||||
msgid "Out of those, there are:"
|
msgid "Out of those, there are:"
|
||||||
msgstr "Z těch je tu:"
|
msgstr "Z těch je tu:"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:38
|
#: src\templates\statistics.phtml:47
|
||||||
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"/servers\">Check them out!</a>"
|
|
||||||
msgstr "<strong>%s veřejných serverů (%s)</strong> aktuálně otevřených registracím. <a href=\"/servers\">Podívejte se na ně!</a>"
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:45
|
|
||||||
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
msgstr "Ze všech <strong>%s</strong> serverů hlásících svůj jazyk je tu:"
|
msgstr "Ze všech <strong>%s</strong> serverů hlásících svůj jazyk je tu:"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:55
|
#: src\templates\statistics.phtml:57
|
||||||
msgid "Versions"
|
msgid "Versions"
|
||||||
msgstr "Verze"
|
msgstr "Verze"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:56
|
#: src\templates\statistics.phtml:58
|
||||||
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
msgstr "Ze všech <strong>%s</strong> serverů hlásících svou verzi je tu:"
|
msgstr "Ze všech <strong>%s</strong> serverů hlásících svou verzi je tu:"
|
||||||
|
|
||||||
|
@ -279,11 +284,7 @@ msgstr "Ze všech <strong>%s</strong> serverů hlásících svou verzi je tu:"
|
||||||
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
msgstr "Z těch je tu <strong>%s profilů (%s)</strong>, které byly alespoň jednou publikovány ve veřejném adresáři."
|
msgstr "Z těch je tu <strong>%s profilů (%s)</strong>, které byly alespoň jednou publikovány ve veřejném adresáři."
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:11
|
#: src\templates\statistics.phtml:35
|
||||||
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"/\">Check them out!</a>"
|
|
||||||
msgstr "Z těch je tu aktuálně <strong>%s dostupných profilů (%s)</strong>. <a href=\"/\">Podívejte se na ně!</a>"
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:34
|
|
||||||
msgid "<strong>%s available servers (%s)</strong>"
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
msgstr "<strong>%s dostupných serverů (%s)</strong>"
|
msgstr "<strong>%s dostupných serverů (%s)</strong>"
|
||||||
|
|
||||||
|
@ -291,6 +292,78 @@ msgstr "<strong>%s dostupných serverů (%s)</strong>"
|
||||||
msgid "Friendica Directory version %s"
|
msgid "Friendica Directory version %s"
|
||||||
msgstr "Adresář Friendica, verze %s"
|
msgstr "Adresář Friendica, verze %s"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
msgstr[2] ""
|
||||||
|
msgstr[3] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
msgstr[2] ""
|
||||||
|
msgstr[3] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
msgstr[2] ""
|
||||||
|
msgstr[3] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
msgstr[2] ""
|
||||||
|
msgstr[3] ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\layout.phtml:94
|
#: src\templates\layout.phtml:94
|
||||||
msgid "Source Code on GitHub"
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
msgstr "Zdrojový kód na GitHubu"
|
msgstr ""
|
||||||
|
|
BIN
src/lang/da_DK/LC_MESSAGES/strings.mo
Normal file
BIN
src/lang/da_DK/LC_MESSAGES/strings.mo
Normal file
Binary file not shown.
357
src/lang/da_DK/LC_MESSAGES/strings.po
Normal file
357
src/lang/da_DK/LC_MESSAGES/strings.po
Normal file
|
@ -0,0 +1,357 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: Anton <dev@atjn.dk>, 2022\n"
|
||||||
|
"Language-Team: Danish (Denmark) (https://www.transifex.com/Friendica/teams/12172/da_DK/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
|
"Language: da_DK\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
|
msgid "Previous"
|
||||||
|
msgstr "Forrige"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
|
msgid "Next"
|
||||||
|
msgstr "Næste"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:211
|
||||||
|
msgid "First"
|
||||||
|
msgstr "Første"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:278
|
||||||
|
msgid "Last"
|
||||||
|
msgstr "Sidste"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
|
msgid "People"
|
||||||
|
msgstr "Mennesker"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Sprog"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Locality"
|
||||||
|
msgstr "Lokalitet"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Region"
|
||||||
|
msgstr "Region"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Country"
|
||||||
|
msgstr "Land"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
|
msgid "Public Servers"
|
||||||
|
msgstr "Offentlige servere"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
|
msgid "Friendica Directory"
|
||||||
|
msgstr "Friendica adressebog"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:23
|
||||||
|
#: src\templates\layout.phtml:25
|
||||||
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
|
msgid "Search terms"
|
||||||
|
msgstr "Søgetermer"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:11
|
||||||
|
msgctxt "noun"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Søg"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
|
#: src\templates\search.phtml:14
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Søg"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:33
|
||||||
|
msgid "Toggle navigation"
|
||||||
|
msgstr "Skift navigation"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:55
|
||||||
|
msgid "Directory"
|
||||||
|
msgstr "Adressebog"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:60
|
||||||
|
msgid "Public servers"
|
||||||
|
msgstr "Offentlige servere"
|
||||||
|
|
||||||
|
#: src\templates\search.phtml:19
|
||||||
|
msgid "%d result for \"%s\""
|
||||||
|
msgid_plural "%d results for \"%s\""
|
||||||
|
msgstr[0] "%d resultat for \"%s\""
|
||||||
|
msgstr[1] "%d resultater for \"%s\""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:7
|
||||||
|
msgid "Top servers pagination"
|
||||||
|
msgstr "Top servere sideopdeling"
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:17
|
||||||
|
msgid "Bottom servers pagination"
|
||||||
|
msgstr "Bundservere sideopdeling"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:5
|
||||||
|
msgid "Filter by locality"
|
||||||
|
msgstr "Filtrer efter lokalitet"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:11
|
||||||
|
msgid "Filter by region"
|
||||||
|
msgstr "Filtrer efter region"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:17
|
||||||
|
msgid "Filter by country"
|
||||||
|
msgstr "Filtrer efter land"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Follow"
|
||||||
|
msgstr "Følg"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Sprog"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
|
msgid "Filter by language"
|
||||||
|
msgstr "Filtrer efter sprog"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:66
|
||||||
|
msgid "Location"
|
||||||
|
msgstr "Placering"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:79
|
||||||
|
msgid "Search Tag"
|
||||||
|
msgstr "Søgetag"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:1
|
||||||
|
msgid "Account type tabs"
|
||||||
|
msgstr "Kontotypefaner"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
|
msgid "Top %s pagination"
|
||||||
|
msgstr "Top %s sideopdeling"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
|
msgid "Bottom %s pagination"
|
||||||
|
msgstr "Bund %s sideopdeling"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
|
msgid "Stable Version"
|
||||||
|
msgstr "Stabil version"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
|
msgid "Develop Version"
|
||||||
|
msgstr "Udviklingsversion"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:19
|
||||||
|
msgid "Outdated Version"
|
||||||
|
msgstr "Forældet version"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:69
|
||||||
|
msgid "Admin"
|
||||||
|
msgstr "Admin"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:76
|
||||||
|
msgid "No description provided"
|
||||||
|
msgstr "Ingen beskrivelse givet"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:79
|
||||||
|
msgid "Visit Server"
|
||||||
|
msgstr "Besøg server"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularcountries.phtml:2
|
||||||
|
msgid "Popular Countries"
|
||||||
|
msgstr "Populære lande"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
|
msgid "Popular Languages"
|
||||||
|
msgstr "Populære sprog"
|
||||||
|
|
||||||
|
#: src\templates\widget\populartags.phtml:2
|
||||||
|
msgid "Popular Tags"
|
||||||
|
msgstr "Populære tags"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
|
msgid "Default Language"
|
||||||
|
msgstr "Standard sprog"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:49
|
||||||
|
msgid "Known Users"
|
||||||
|
msgstr "Kendte brugere"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "All"
|
||||||
|
msgstr "Alle"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "People (%d)"
|
||||||
|
msgid_plural "People (%d)"
|
||||||
|
msgstr[0] "Mennesker (%d)"
|
||||||
|
msgstr[1] "Mennesker (%d)"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:97
|
||||||
|
msgid "Stats"
|
||||||
|
msgstr "Statistik"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:4
|
||||||
|
msgid "Directory statistics"
|
||||||
|
msgstr "Adressebog statistik"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:5
|
||||||
|
msgid "Profiles"
|
||||||
|
msgstr "Profiler"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:6
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
|
msgstr "Denne adressebog kender til <strong>%s særskilte potentielle profil-URL'er</strong>."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
|
msgid "Languages"
|
||||||
|
msgstr "Sprog"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr "Ud af <strong>%s</strong> profiler som rapporterer deres sprog, er der:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
|
msgid "Servers"
|
||||||
|
msgstr "Servere"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr "Denne adressebog kender til <strong>%s særskilte potentielle server-URL'er</strong>."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
msgstr "Ud af dem er der <strong>%s domæner (%s)</strong> som har været en Friendica server mindst én gang."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:33
|
||||||
|
msgid "Out of those, there are:"
|
||||||
|
msgstr "Ud af dem er der:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:47
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
msgstr "Ud af <strong>%s</strong> servere som rapporterer deres sprog, er der:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:57
|
||||||
|
msgid "Versions"
|
||||||
|
msgstr "Versioner"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:58
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
msgstr "Ud af <strong>%s</strong> servere som rapporterer deres version, er der:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:7
|
||||||
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
|
msgstr "Ud af dem er der <strong>%s profiler (%s)</strong> som tilvalgte den offentlige adressebog mindst én gang."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:35
|
||||||
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
|
msgstr "<strong>%s tilgængelige servere (%s)</strong>"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:91
|
||||||
|
msgid "Friendica Directory version %s"
|
||||||
|
msgstr "Friendica adressebogsversion %s"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "Ud af dem er der i øjeblikket <strong>%s tilgængelige profiler (%s)</strong>. <a href=\"%s\">Tjek dem ud!</a>"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "<strong>%s offentlige servere (%s)</strong> åben for registrering lige nu. <a href=\"%s\">Tjek dem ud!</a>"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] "Nyheder (%d)"
|
||||||
|
msgstr[1] "Nyheder (%d)"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] "Organisationer (%d)"
|
||||||
|
msgstr[1] "Organisationer (%d)"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr "Sundhedsscore"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] "%s bruger"
|
||||||
|
msgstr[1] "%s brugere"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr "Ingen"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr "Registreringspolitik"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr "Ved godkendelse"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr "Åben"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:94
|
||||||
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
|
msgstr ""
|
Binary file not shown.
|
@ -2,13 +2,13 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"Last-Translator: Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2018\n"
|
"Last-Translator: Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2020\n"
|
||||||
"Language-Team: German (https://www.transifex.com/Friendica/teams/12172/de/)\n"
|
"Language-Team: German (https://www.transifex.com/Friendica/teams/12172/de/)\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
"PO-Revision-Date: 2018-11-19 22:17-0500\n"
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
"X-Generator: Poedit 2.2\n"
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
@ -31,31 +31,31 @@ msgstr "Erste"
|
||||||
msgid "Last"
|
msgid "Last"
|
||||||
msgstr "Letzte"
|
msgstr "Letzte"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Directory.php:73
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
msgid "People"
|
msgid "People"
|
||||||
msgstr "Leute"
|
msgstr "Leute"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:63
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Sprache"
|
msgstr "Sprache"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:64
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Locality"
|
msgid "Locality"
|
||||||
msgstr "Wohnort"
|
msgstr "Wohnort"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:65
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Region"
|
msgid "Region"
|
||||||
msgstr "Region"
|
msgstr "Region"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:66
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Country"
|
msgid "Country"
|
||||||
msgstr "Land"
|
msgstr "Land"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Servers.php:88
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
msgid "Public Servers"
|
msgid "Public Servers"
|
||||||
msgstr "Öffentlicher Server"
|
msgstr "Öffentlicher Server"
|
||||||
|
|
||||||
|
@ -105,11 +105,11 @@ msgid_plural "%d results for \"%s\""
|
||||||
msgstr[0] "%d Ergebnisse für \"%s\""
|
msgstr[0] "%d Ergebnisse für \"%s\""
|
||||||
msgstr[1] "%d Ergebnisse für \"%s\""
|
msgstr[1] "%d Ergebnisse für \"%s\""
|
||||||
|
|
||||||
#: src\templates\servers.phtml:2
|
#: src\templates\servers.phtml:7
|
||||||
msgid "Top servers pagination"
|
msgid "Top servers pagination"
|
||||||
msgstr "Höchste Serverwertung"
|
msgstr "Höchste Serverwertung"
|
||||||
|
|
||||||
#: src\templates\servers.phtml:12
|
#: src\templates\servers.phtml:17
|
||||||
msgid "Bottom servers pagination"
|
msgid "Bottom servers pagination"
|
||||||
msgstr "Niedrigste Serverwertung"
|
msgstr "Niedrigste Serverwertung"
|
||||||
|
|
||||||
|
@ -126,24 +126,27 @@ msgid "Filter by country"
|
||||||
msgstr "Filter nach Land"
|
msgstr "Filter nach Land"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:31
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
msgctxt "verb"
|
msgctxt "verb"
|
||||||
msgid "Follow"
|
msgid "Follow"
|
||||||
msgstr "Folge"
|
msgstr "Folge"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:65
|
#: src\templates\layout.phtml:65
|
||||||
#: src\templates\sub\profile.phtml:47
|
#: src\templates\sub\profile.phtml:57
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Sprache"
|
msgstr "Sprache"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:50
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
msgid "Filter by language"
|
msgid "Filter by language"
|
||||||
msgstr "Filter nach Sprache"
|
msgstr "Filter nach Sprache"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:56
|
#: src\templates\sub\profile.phtml:66
|
||||||
msgid "Location"
|
msgid "Location"
|
||||||
msgstr "Ort"
|
msgstr "Ort"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:69
|
#: src\templates\sub\profile.phtml:79
|
||||||
msgid "Search Tag"
|
msgid "Search Tag"
|
||||||
msgstr "Suchbegriff"
|
msgstr "Suchbegriff"
|
||||||
|
|
||||||
|
@ -161,12 +164,12 @@ msgstr "Top %s pagination"
|
||||||
msgid "Bottom %s pagination"
|
msgid "Bottom %s pagination"
|
||||||
msgstr "Bottom %s pagination"
|
msgstr "Bottom %s pagination"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:64
|
#: src\templates\statistics.phtml:66
|
||||||
#: src\templates\sub\server.phtml:15
|
#: src\templates\sub\server.phtml:15
|
||||||
msgid "Stable Version"
|
msgid "Stable Version"
|
||||||
msgstr "Stabile Version"
|
msgstr "Stabile Version"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:66
|
#: src\templates\statistics.phtml:68
|
||||||
#: src\templates\sub\server.phtml:17
|
#: src\templates\sub\server.phtml:17
|
||||||
msgid "Develop Version"
|
msgid "Develop Version"
|
||||||
msgstr "Entwickler Version"
|
msgstr "Entwickler Version"
|
||||||
|
@ -175,15 +178,15 @@ msgstr "Entwickler Version"
|
||||||
msgid "Outdated Version"
|
msgid "Outdated Version"
|
||||||
msgstr "Abgelaufene Version"
|
msgstr "Abgelaufene Version"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:55
|
#: src\templates\sub\server.phtml:69
|
||||||
msgid "Admin"
|
msgid "Admin"
|
||||||
msgstr "Admin"
|
msgstr "Admin"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:62
|
#: src\templates\sub\server.phtml:76
|
||||||
msgid "No description provided"
|
msgid "No description provided"
|
||||||
msgstr "Keine Beschreibung angeboten"
|
msgstr "Keine Beschreibung angeboten"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:65
|
#: src\templates\sub\server.phtml:79
|
||||||
msgid "Visit Server"
|
msgid "Visit Server"
|
||||||
msgstr "Besuche den Server"
|
msgstr "Besuche den Server"
|
||||||
|
|
||||||
|
@ -191,7 +194,7 @@ msgstr "Besuche den Server"
|
||||||
msgid "Popular Countries"
|
msgid "Popular Countries"
|
||||||
msgstr "Häufige Länder"
|
msgstr "Häufige Länder"
|
||||||
|
|
||||||
#: src\templates\widget\popularlanguages.phtml:2
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
msgid "Popular Languages"
|
msgid "Popular Languages"
|
||||||
msgstr "Häufige Sprachen"
|
msgstr "Häufige Sprachen"
|
||||||
|
|
||||||
|
@ -211,95 +214,144 @@ msgstr "Bekannte Nutzer"
|
||||||
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
msgctxt "account-type"
|
msgctxt "account-type"
|
||||||
msgid "All"
|
msgid "All"
|
||||||
msgstr ""
|
msgstr "Alle"
|
||||||
|
|
||||||
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
msgctxt "account-type"
|
msgctxt "account-type"
|
||||||
msgid "People (%d)"
|
msgid "People (%d)"
|
||||||
msgid_plural "People (%d)"
|
msgid_plural "People (%d)"
|
||||||
msgstr[0] ""
|
msgstr[0] "Personen (%d)"
|
||||||
msgstr[1] ""
|
msgstr[1] "Personen (%d)"
|
||||||
|
|
||||||
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
|
||||||
msgctxt "account-type"
|
|
||||||
msgid "Forum (%d)"
|
|
||||||
msgid_plural "Forums (%d)"
|
|
||||||
msgstr[0] ""
|
|
||||||
msgstr[1] ""
|
|
||||||
|
|
||||||
#: src\templates\layout.phtml:91
|
|
||||||
msgid "Friendica Directory version %s"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src\templates\layout.phtml:94
|
|
||||||
msgid "Source Code on GitHub"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src\templates\layout.phtml:97
|
#: src\templates\layout.phtml:97
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr ""
|
msgstr "Statistik"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:4
|
#: src\templates\statistics.phtml:4
|
||||||
msgid "Directory statistics"
|
msgid "Directory statistics"
|
||||||
msgstr ""
|
msgstr "Verzeichnis Statistiken"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:5
|
#: src\templates\statistics.phtml:5
|
||||||
msgid "Profiles"
|
msgid "Profiles"
|
||||||
msgstr ""
|
msgstr "Profile"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:6
|
#: src\templates\statistics.phtml:6
|
||||||
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
msgstr ""
|
msgstr "Dieses Verzeichnis kennt <strong>%s unterschiedliche, potentielle Profil URLs</strong>"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
|
msgid "Languages"
|
||||||
|
msgstr "Sprachen"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr "Von den <strong>%s</strong> Profilen, die ihre Sprache angeben, sind:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
|
msgid "Servers"
|
||||||
|
msgstr "Server"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr "Dieses Verzeichnis kennt <strong>%s unterschiedliche, potentielle Server URLs</strong>"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
msgstr "Von diesen gibt es <strong>%sDomänen(%s)</strong>, die zumindest einmal Friendica Knoten gewesen sind."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:33
|
||||||
|
msgid "Out of those, there are:"
|
||||||
|
msgstr "Von diesen sind:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:47
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
msgstr "Von den <strong>%s</strong> Servern, die ihre Spracheinstellung angeben, sind:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:57
|
||||||
|
msgid "Versions"
|
||||||
|
msgstr "Versionen"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:58
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
msgstr "Von den <strong>%s</strong> Servern, die ihre Version angeben, sind:"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:7
|
#: src\templates\statistics.phtml:7
|
||||||
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
msgstr ""
|
msgstr "Von diesen gibt es <strong>%sProfile (%s)</strong> die sich, zumindest einmal, für die Aufnahme in das öffentliche Verzeichnis entschlossen haben."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:35
|
||||||
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
|
msgstr "<strong>%sverfügbare Server (%s)</strong>"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:91
|
||||||
|
msgid "Friendica Directory version %s"
|
||||||
|
msgstr "Friendica Verzeichnis Version %s"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:11
|
#: src\templates\statistics.phtml:11
|
||||||
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"/\">Check them out!</a>"
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "Von diesen sind derzeit <strong>%sverfügbare Profile (%s)</strong>. <a href=\"%s\">Schaue sie dir an!</a>"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "<strong>%s öffentliche Server (%s)</strong> erlauben derzeit die Anmeldung. <a href=\"%s\">Schau sie dir an!</a>"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:15
|
#: src\templates\servers.phtml:3
|
||||||
#: src\templates\statistics.phtml:44
|
msgid "Clear language filter"
|
||||||
msgid "Languages"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:16
|
#: src\templates\sub\server.phtml:40
|
||||||
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
msgid "Health Score"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:26
|
#: src\templates\sub\server.phtml:52
|
||||||
msgid "Servers"
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:27
|
#: src\templates\sub\server.phtml:58
|
||||||
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:28
|
#: src\templates\sub\server.phtml:59
|
||||||
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
msgid "By Approval"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:32
|
#: src\templates\sub\server.phtml:63
|
||||||
msgid "Out of those, there are:"
|
msgid "Open"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:34
|
#: src\templates\layout.phtml:94
|
||||||
msgid "<strong>%s available servers (%s)</strong>"
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:38
|
|
||||||
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"/servers\">Check them out!</a>"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:45
|
|
||||||
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:55
|
|
||||||
msgid "Versions"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:56
|
|
||||||
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -31,31 +31,31 @@ msgstr ""
|
||||||
msgid "Last"
|
msgid "Last"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Directory.php:73
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
msgid "People"
|
msgid "People"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:63
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:64
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Locality"
|
msgid "Locality"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:65
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Region"
|
msgid "Region"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:66
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Country"
|
msgid "Country"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Servers.php:88
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
msgid "Public Servers"
|
msgid "Public Servers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -105,11 +105,11 @@ msgid_plural "%d results for \"%s\""
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
#: src\templates\servers.phtml:2
|
#: src\templates\servers.phtml:7
|
||||||
msgid "Top servers pagination"
|
msgid "Top servers pagination"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\servers.phtml:12
|
#: src\templates\servers.phtml:17
|
||||||
msgid "Bottom servers pagination"
|
msgid "Bottom servers pagination"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -126,24 +126,27 @@ msgid "Filter by country"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:31
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
msgctxt "verb"
|
msgctxt "verb"
|
||||||
msgid "Follow"
|
msgid "Follow"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\layout.phtml:65
|
#: src\templates\layout.phtml:65
|
||||||
#: src\templates\sub\profile.phtml:47
|
#: src\templates\sub\profile.phtml:57
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:50
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
msgid "Filter by language"
|
msgid "Filter by language"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:56
|
#: src\templates\sub\profile.phtml:66
|
||||||
msgid "Location"
|
msgid "Location"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:69
|
#: src\templates\sub\profile.phtml:79
|
||||||
msgid "Search Tag"
|
msgid "Search Tag"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -161,12 +164,12 @@ msgstr ""
|
||||||
msgid "Bottom %s pagination"
|
msgid "Bottom %s pagination"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:64
|
#: src\templates\statistics.phtml:66
|
||||||
#: src\templates\sub\server.phtml:15
|
#: src\templates\sub\server.phtml:15
|
||||||
msgid "Stable Version"
|
msgid "Stable Version"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:66
|
#: src\templates\statistics.phtml:68
|
||||||
#: src\templates\sub\server.phtml:17
|
#: src\templates\sub\server.phtml:17
|
||||||
msgid "Develop Version"
|
msgid "Develop Version"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -175,15 +178,15 @@ msgstr ""
|
||||||
msgid "Outdated Version"
|
msgid "Outdated Version"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:55
|
#: src\templates\sub\server.phtml:69
|
||||||
msgid "Admin"
|
msgid "Admin"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:62
|
#: src\templates\sub\server.phtml:76
|
||||||
msgid "No description provided"
|
msgid "No description provided"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:65
|
#: src\templates\sub\server.phtml:79
|
||||||
msgid "Visit Server"
|
msgid "Visit Server"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -191,7 +194,7 @@ msgstr ""
|
||||||
msgid "Popular Countries"
|
msgid "Popular Countries"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\widget\popularlanguages.phtml:2
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
msgid "Popular Languages"
|
msgid "Popular Languages"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -220,13 +223,6 @@ msgid_plural "People (%d)"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
|
||||||
msgctxt "account-type"
|
|
||||||
msgid "Forum (%d)"
|
|
||||||
msgid_plural "Forums (%d)"
|
|
||||||
msgstr[0] ""
|
|
||||||
msgstr[1] ""
|
|
||||||
|
|
||||||
#: src\templates\layout.phtml:97
|
#: src\templates\layout.phtml:97
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -243,44 +239,40 @@ msgstr ""
|
||||||
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:15
|
#: src\templates\statistics.phtml:16
|
||||||
#: src\templates\statistics.phtml:44
|
#: src\templates\statistics.phtml:46
|
||||||
msgid "Languages"
|
msgid "Languages"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:16
|
#: src\templates\statistics.phtml:17
|
||||||
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:26
|
#: src\templates\statistics.phtml:27
|
||||||
msgid "Servers"
|
msgid "Servers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:27
|
#: src\templates\statistics.phtml:28
|
||||||
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:28
|
#: src\templates\statistics.phtml:29
|
||||||
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:32
|
#: src\templates\statistics.phtml:33
|
||||||
msgid "Out of those, there are:"
|
msgid "Out of those, there are:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:38
|
#: src\templates\statistics.phtml:47
|
||||||
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"/servers\">Check them out!</a>"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:45
|
|
||||||
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:55
|
#: src\templates\statistics.phtml:57
|
||||||
msgid "Versions"
|
msgid "Versions"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:56
|
#: src\templates\statistics.phtml:58
|
||||||
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -288,11 +280,7 @@ msgstr ""
|
||||||
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:11
|
#: src\templates\statistics.phtml:35
|
||||||
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"/\">Check them out!</a>"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:34
|
|
||||||
msgid "<strong>%s available servers (%s)</strong>"
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -300,6 +288,70 @@ msgstr ""
|
||||||
msgid "Friendica Directory version %s"
|
msgid "Friendica Directory version %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\layout.phtml:94
|
#: src\templates\statistics.phtml:11
|
||||||
msgid "Source Code on GitHub"
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:94
|
||||||
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
BIN
src/lang/en_GB/LC_MESSAGES/strings.mo
Normal file
BIN
src/lang/en_GB/LC_MESSAGES/strings.mo
Normal file
Binary file not shown.
357
src/lang/en_GB/LC_MESSAGES/strings.po
Normal file
357
src/lang/en_GB/LC_MESSAGES/strings.po
Normal file
|
@ -0,0 +1,357 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: Andy H3 <andy@hubup.pro>, 2020\n"
|
||||||
|
"Language-Team: English (United Kingdom) (https://www.transifex.com/Friendica/teams/12172/en_GB/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
|
"Language: en_GB\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
|
msgid "Previous"
|
||||||
|
msgstr "Previous"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
|
msgid "Next"
|
||||||
|
msgstr "Next"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:211
|
||||||
|
msgid "First"
|
||||||
|
msgstr "First"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:278
|
||||||
|
msgid "Last"
|
||||||
|
msgstr "Last"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
|
msgid "People"
|
||||||
|
msgstr "People"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Language"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Locality"
|
||||||
|
msgstr "Locality"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Region"
|
||||||
|
msgstr "Region"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Country"
|
||||||
|
msgstr "Country"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
|
msgid "Public Servers"
|
||||||
|
msgstr "Public servers"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
|
msgid "Friendica Directory"
|
||||||
|
msgstr "Friendica directory"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:23
|
||||||
|
#: src\templates\layout.phtml:25
|
||||||
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
|
msgid "Search terms"
|
||||||
|
msgstr "Search terms"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:11
|
||||||
|
msgctxt "noun"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Search"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
|
#: src\templates\search.phtml:14
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Search"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:33
|
||||||
|
msgid "Toggle navigation"
|
||||||
|
msgstr "Toggle navigation"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:55
|
||||||
|
msgid "Directory"
|
||||||
|
msgstr "Directory"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:60
|
||||||
|
msgid "Public servers"
|
||||||
|
msgstr "Public servers"
|
||||||
|
|
||||||
|
#: src\templates\search.phtml:19
|
||||||
|
msgid "%d result for \"%s\""
|
||||||
|
msgid_plural "%d results for \"%s\""
|
||||||
|
msgstr[0] "%d result for \"%s\""
|
||||||
|
msgstr[1] "%d results for \"%s\""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:7
|
||||||
|
msgid "Top servers pagination"
|
||||||
|
msgstr "Top servers pagination"
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:17
|
||||||
|
msgid "Bottom servers pagination"
|
||||||
|
msgstr "Bottom servers pagination"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:5
|
||||||
|
msgid "Filter by locality"
|
||||||
|
msgstr "Filter by locality"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:11
|
||||||
|
msgid "Filter by region"
|
||||||
|
msgstr "Filter by region"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:17
|
||||||
|
msgid "Filter by country"
|
||||||
|
msgstr "Filter by country"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Follow"
|
||||||
|
msgstr "Follow"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Language"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
|
msgid "Filter by language"
|
||||||
|
msgstr "Filter by language"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:66
|
||||||
|
msgid "Location"
|
||||||
|
msgstr "Location"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:79
|
||||||
|
msgid "Search Tag"
|
||||||
|
msgstr "Search tag"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:1
|
||||||
|
msgid "Account type tabs"
|
||||||
|
msgstr "Account type tabs"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
|
msgid "Top %s pagination"
|
||||||
|
msgstr "Top %s pagination"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
|
msgid "Bottom %s pagination"
|
||||||
|
msgstr "Bottom %s pagination"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
|
msgid "Stable Version"
|
||||||
|
msgstr "Stable version"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
|
msgid "Develop Version"
|
||||||
|
msgstr "Develop version"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:19
|
||||||
|
msgid "Outdated Version"
|
||||||
|
msgstr "Outdated version"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:69
|
||||||
|
msgid "Admin"
|
||||||
|
msgstr "Admin"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:76
|
||||||
|
msgid "No description provided"
|
||||||
|
msgstr "No description provided"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:79
|
||||||
|
msgid "Visit Server"
|
||||||
|
msgstr "Visit server"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularcountries.phtml:2
|
||||||
|
msgid "Popular Countries"
|
||||||
|
msgstr "Popular countries"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
|
msgid "Popular Languages"
|
||||||
|
msgstr "Popular languages"
|
||||||
|
|
||||||
|
#: src\templates\widget\populartags.phtml:2
|
||||||
|
msgid "Popular Tags"
|
||||||
|
msgstr "Popular tags"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
|
msgid "Default Language"
|
||||||
|
msgstr "Default language"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:49
|
||||||
|
msgid "Known Users"
|
||||||
|
msgstr "Known users"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "All"
|
||||||
|
msgstr "All"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "People (%d)"
|
||||||
|
msgid_plural "People (%d)"
|
||||||
|
msgstr[0] "People (%d)"
|
||||||
|
msgstr[1] "People (%d)"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:97
|
||||||
|
msgid "Stats"
|
||||||
|
msgstr "Stats"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:4
|
||||||
|
msgid "Directory statistics"
|
||||||
|
msgstr "Directory statistics"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:5
|
||||||
|
msgid "Profiles"
|
||||||
|
msgstr "Profiles"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:6
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
|
msgstr "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
|
msgid "Languages"
|
||||||
|
msgstr "Languages"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
|
msgid "Servers"
|
||||||
|
msgstr "Servers"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
msgstr "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:33
|
||||||
|
msgid "Out of those, there are:"
|
||||||
|
msgstr "Out of those, there are:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:47
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
msgstr "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:57
|
||||||
|
msgid "Versions"
|
||||||
|
msgstr "Versions"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:58
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
msgstr "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:7
|
||||||
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
|
msgstr "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:35
|
||||||
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
|
msgstr "<strong>%s available servers (%s)</strong>"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:91
|
||||||
|
msgid "Friendica Directory version %s"
|
||||||
|
msgstr "Friendica directory version %s"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:94
|
||||||
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
|
msgstr ""
|
BIN
src/lang/et/LC_MESSAGES/strings.mo
Normal file
BIN
src/lang/et/LC_MESSAGES/strings.mo
Normal file
Binary file not shown.
357
src/lang/et/LC_MESSAGES/strings.po
Normal file
357
src/lang/et/LC_MESSAGES/strings.po
Normal file
|
@ -0,0 +1,357 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: Rain Hawk, 2019\n"
|
||||||
|
"Language-Team: Estonian (https://www.transifex.com/Friendica/teams/12172/et/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
|
"Language: et\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
|
msgid "Previous"
|
||||||
|
msgstr "Eelmine"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
|
msgid "Next"
|
||||||
|
msgstr "Järgmine"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:211
|
||||||
|
msgid "First"
|
||||||
|
msgstr "Esimene"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:278
|
||||||
|
msgid "Last"
|
||||||
|
msgstr "Viimane"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
|
msgid "People"
|
||||||
|
msgstr "Inimesed"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Keel"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Locality"
|
||||||
|
msgstr "Asukoht"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Region"
|
||||||
|
msgstr "Regioon"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Country"
|
||||||
|
msgstr "Riik"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
|
msgid "Public Servers"
|
||||||
|
msgstr "Avalikud serverid"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
|
msgid "Friendica Directory"
|
||||||
|
msgstr "Friendica Kataloog"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:23
|
||||||
|
#: src\templates\layout.phtml:25
|
||||||
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
|
msgid "Search terms"
|
||||||
|
msgstr "Otsingu tingimused"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:11
|
||||||
|
msgctxt "noun"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Otsi"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
|
#: src\templates\search.phtml:14
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Otsi"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:33
|
||||||
|
msgid "Toggle navigation"
|
||||||
|
msgstr "Vaheta navigatsiooni"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:55
|
||||||
|
msgid "Directory"
|
||||||
|
msgstr "Kataloog"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:60
|
||||||
|
msgid "Public servers"
|
||||||
|
msgstr "Avalikud serverid"
|
||||||
|
|
||||||
|
#: src\templates\search.phtml:19
|
||||||
|
msgid "%d result for \"%s\""
|
||||||
|
msgid_plural "%d results for \"%s\""
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:7
|
||||||
|
msgid "Top servers pagination"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:17
|
||||||
|
msgid "Bottom servers pagination"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:5
|
||||||
|
msgid "Filter by locality"
|
||||||
|
msgstr "Filtreeri asukohajärgselt"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:11
|
||||||
|
msgid "Filter by region"
|
||||||
|
msgstr "Filtreeri regionaalselt"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:17
|
||||||
|
msgid "Filter by country"
|
||||||
|
msgstr "Filtreeri riigi järgi"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Follow"
|
||||||
|
msgstr "Järgi"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Keel"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
|
msgid "Filter by language"
|
||||||
|
msgstr "Filtreeri keele järgi"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:66
|
||||||
|
msgid "Location"
|
||||||
|
msgstr "Asukoht"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:79
|
||||||
|
msgid "Search Tag"
|
||||||
|
msgstr "Otsingu tag"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:1
|
||||||
|
msgid "Account type tabs"
|
||||||
|
msgstr "Konto tüübi sakid"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
|
msgid "Top %s pagination"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
|
msgid "Bottom %s pagination"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
|
msgid "Stable Version"
|
||||||
|
msgstr "Stabiilne versioon"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
|
msgid "Develop Version"
|
||||||
|
msgstr "Arendusversioon"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:19
|
||||||
|
msgid "Outdated Version"
|
||||||
|
msgstr "Aegunud versioon"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:69
|
||||||
|
msgid "Admin"
|
||||||
|
msgstr "Adminn"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:76
|
||||||
|
msgid "No description provided"
|
||||||
|
msgstr "Kirjeldus pole saadaval"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:79
|
||||||
|
msgid "Visit Server"
|
||||||
|
msgstr "Külasta serverit"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularcountries.phtml:2
|
||||||
|
msgid "Popular Countries"
|
||||||
|
msgstr "Populaarsed riigid"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
|
msgid "Popular Languages"
|
||||||
|
msgstr "Populaarsed keeled"
|
||||||
|
|
||||||
|
#: src\templates\widget\populartags.phtml:2
|
||||||
|
msgid "Popular Tags"
|
||||||
|
msgstr "Polulaarsed tag`id"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
|
msgid "Default Language"
|
||||||
|
msgstr "Peamine keel"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:49
|
||||||
|
msgid "Known Users"
|
||||||
|
msgstr "Tuntud kasutajad"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "All"
|
||||||
|
msgstr "Kõik"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "People (%d)"
|
||||||
|
msgid_plural "People (%d)"
|
||||||
|
msgstr[0] "Inimesed ( %d )"
|
||||||
|
msgstr[1] "Inimesed (%d)"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:97
|
||||||
|
msgid "Stats"
|
||||||
|
msgstr "Statistika"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:4
|
||||||
|
msgid "Directory statistics"
|
||||||
|
msgstr "Kataloogi statistika"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:5
|
||||||
|
msgid "Profiles"
|
||||||
|
msgstr "Profiilid"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:6
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
|
msgid "Languages"
|
||||||
|
msgstr "Keeled"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
|
msgid "Servers"
|
||||||
|
msgstr "Serverid"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:33
|
||||||
|
msgid "Out of those, there are:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:47
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:57
|
||||||
|
msgid "Versions"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:58
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:7
|
||||||
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:35
|
||||||
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:91
|
||||||
|
msgid "Friendica Directory version %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:94
|
||||||
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
|
msgstr ""
|
Binary file not shown.
|
@ -2,22 +2,24 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: Vladimir Núñez <lapoubelle111@gmail.com>, 2018\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: French (https://www.transifex.com/Friendica/teams/12172/fr/)\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
"PO-Revision-Date: 2018-11-19 22:19-0500\n"
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
"Language: fr\n"
|
"Language: fr\n"
|
||||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
"X-Generator: Poedit 2.2\n"
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
#: src\classes\Content\Pager.php:168 src\classes\Content\Pager.php:216
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
msgid "Previous"
|
msgid "Previous"
|
||||||
msgstr "Précédent"
|
msgstr "Précédent"
|
||||||
|
|
||||||
#: src\classes\Content\Pager.php:173 src\classes\Content\Pager.php:273
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
msgid "Next"
|
msgid "Next"
|
||||||
msgstr "Suivant"
|
msgstr "Suivant"
|
||||||
|
|
||||||
|
@ -29,51 +31,57 @@ msgstr "Début"
|
||||||
msgid "Last"
|
msgid "Last"
|
||||||
msgstr "Fin"
|
msgstr "Fin"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Directory.php:73
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
msgid "People"
|
msgid "People"
|
||||||
msgstr "Utilisateur·rice·s"
|
msgstr "Utilisateurs"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:63
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Langue"
|
msgstr "Langue"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:64
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Locality"
|
msgid "Locality"
|
||||||
msgstr "Localité"
|
msgstr "Localité"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:65
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Region"
|
msgid "Region"
|
||||||
msgstr "Région"
|
msgstr "Région"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Search.php:66
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
msgctxt "field"
|
msgctxt "field"
|
||||||
msgid "Country"
|
msgid "Country"
|
||||||
msgstr "Pays"
|
msgstr "Pays"
|
||||||
|
|
||||||
#: src\classes\Controllers\Web\Servers.php:88
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
msgid "Public Servers"
|
msgid "Public Servers"
|
||||||
msgstr "Serveurs publics"
|
msgstr "Serveurs publics"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:4 src\templates\layout.phtml:18
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
msgid "Friendica Directory"
|
msgid "Friendica Directory"
|
||||||
msgstr "Répertoire Friendica"
|
msgstr "Répertoire Friendica"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:23 src\templates\layout.phtml:25
|
#: src\templates\layout.phtml:23
|
||||||
#: src\templates\layout.phtml:43 src\templates\layout.phtml:45
|
#: src\templates\layout.phtml:25
|
||||||
#: src\templates\search.phtml:4 src\templates\search.phtml:12
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
msgid "Search terms"
|
msgid "Search terms"
|
||||||
msgstr "Mots-clés"
|
msgstr "Mots-clés"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:24 src\templates\layout.phtml:45
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
#: src\templates\search.phtml:11
|
#: src\templates\search.phtml:11
|
||||||
msgctxt "noun"
|
msgctxt "noun"
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Recherche"
|
msgstr "Recherche"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:27 src\templates\layout.phtml:47
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
#: src\templates\search.phtml:14
|
#: src\templates\search.phtml:14
|
||||||
msgctxt "verb"
|
msgctxt "verb"
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
|
@ -97,11 +105,11 @@ msgid_plural "%d results for \"%s\""
|
||||||
msgstr[0] "%d résultat pour \"%s\""
|
msgstr[0] "%d résultat pour \"%s\""
|
||||||
msgstr[1] "%d résultats pour \"%s\""
|
msgstr[1] "%d résultats pour \"%s\""
|
||||||
|
|
||||||
#: src\templates\servers.phtml:2
|
#: src\templates\servers.phtml:7
|
||||||
msgid "Top servers pagination"
|
msgid "Top servers pagination"
|
||||||
msgstr "Pagination des serveurs haute"
|
msgstr "Pagination des serveurs haute"
|
||||||
|
|
||||||
#: src\templates\servers.phtml:12
|
#: src\templates\servers.phtml:17
|
||||||
msgid "Bottom servers pagination"
|
msgid "Bottom servers pagination"
|
||||||
msgstr "Pagination des serveurs basse"
|
msgstr "Pagination des serveurs basse"
|
||||||
|
|
||||||
|
@ -118,23 +126,27 @@ msgid "Filter by country"
|
||||||
msgstr "Filtrer par pays"
|
msgstr "Filtrer par pays"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:31
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
msgctxt "verb"
|
msgctxt "verb"
|
||||||
msgid "Follow"
|
msgid "Follow"
|
||||||
msgstr "Suivre"
|
msgstr "Suivre"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:65 src\templates\sub\profile.phtml:47
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "Langue"
|
msgstr "Langue"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:50
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
msgid "Filter by language"
|
msgid "Filter by language"
|
||||||
msgstr "Filtrer par langue"
|
msgstr "Filtrer par langue"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:56
|
#: src\templates\sub\profile.phtml:66
|
||||||
msgid "Location"
|
msgid "Location"
|
||||||
msgstr "Localisation"
|
msgstr "Localisation"
|
||||||
|
|
||||||
#: src\templates\sub\profile.phtml:69
|
#: src\templates\sub\profile.phtml:79
|
||||||
msgid "Search Tag"
|
msgid "Search Tag"
|
||||||
msgstr "Rechercher ce tag"
|
msgstr "Rechercher ce tag"
|
||||||
|
|
||||||
|
@ -142,35 +154,39 @@ msgstr "Rechercher ce tag"
|
||||||
msgid "Account type tabs"
|
msgid "Account type tabs"
|
||||||
msgstr "Onglets de type de compte"
|
msgstr "Onglets de type de compte"
|
||||||
|
|
||||||
#: src\templates\sub\profiles.phtml:4 src\templates\sub\profiles.phtml:7
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
msgid "Top %s pagination"
|
msgid "Top %s pagination"
|
||||||
msgstr "Pagination %s haute"
|
msgstr "Pagination %s haute"
|
||||||
|
|
||||||
#: src\templates\sub\profiles.phtml:13 src\templates\sub\profiles.phtml:16
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
msgid "Bottom %s pagination"
|
msgid "Bottom %s pagination"
|
||||||
msgstr "Pagination %s basse"
|
msgstr "Pagination %s basse"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:64 src\templates\sub\server.phtml:15
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
msgid "Stable Version"
|
msgid "Stable Version"
|
||||||
msgstr "Version stable"
|
msgstr "Version stable"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:66 src\templates\sub\server.phtml:17
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
msgid "Develop Version"
|
msgid "Develop Version"
|
||||||
msgstr "Version de développement"
|
msgstr "Version instable"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:19
|
#: src\templates\sub\server.phtml:19
|
||||||
msgid "Outdated Version"
|
msgid "Outdated Version"
|
||||||
msgstr "Version périmée"
|
msgstr "Version périmée"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:55
|
#: src\templates\sub\server.phtml:69
|
||||||
msgid "Admin"
|
msgid "Admin"
|
||||||
msgstr "Administrateur·rice"
|
msgstr "Administrateur"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:62
|
#: src\templates\sub\server.phtml:76
|
||||||
msgid "No description provided"
|
msgid "No description provided"
|
||||||
msgstr "Pas de description fournie"
|
msgstr "Pas de description fournie"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:65
|
#: src\templates\sub\server.phtml:79
|
||||||
msgid "Visit Server"
|
msgid "Visit Server"
|
||||||
msgstr "Visiter ce serveur"
|
msgstr "Visiter ce serveur"
|
||||||
|
|
||||||
|
@ -178,113 +194,164 @@ msgstr "Visiter ce serveur"
|
||||||
msgid "Popular Countries"
|
msgid "Popular Countries"
|
||||||
msgstr "Pays populaires"
|
msgstr "Pays populaires"
|
||||||
|
|
||||||
#: src\templates\widget\popularlanguages.phtml:2
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
msgid "Popular Languages"
|
msgid "Popular Languages"
|
||||||
msgstr "Langues populaires"
|
msgstr "Language populaires"
|
||||||
|
|
||||||
#: src\templates\widget\populartags.phtml:2
|
#: src\templates\widget\populartags.phtml:2
|
||||||
msgid "Popular Tags"
|
msgid "Popular Tags"
|
||||||
msgstr "Tags populaires"
|
msgstr "Tags populaires"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:44 src\templates\sub\server.phtml:45
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
msgid "Default Language"
|
msgid "Default Language"
|
||||||
msgstr "Langage de base"
|
msgstr "Langage de base"
|
||||||
|
|
||||||
#: src\templates\sub\server.phtml:49
|
#: src\templates\sub\server.phtml:49
|
||||||
msgid "Known Users"
|
msgid "Known Users"
|
||||||
msgstr "Utilisateur·rice·s connu·e·s"
|
msgstr "Utilisateurs connus"
|
||||||
|
|
||||||
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
msgctxt "account-type"
|
msgctxt "account-type"
|
||||||
msgid "All"
|
msgid "All"
|
||||||
msgstr "Tous"
|
msgstr "Tout"
|
||||||
|
|
||||||
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
msgctxt "account-type"
|
msgctxt "account-type"
|
||||||
msgid "People (%d)"
|
msgid "People (%d)"
|
||||||
msgid_plural "People (%d)"
|
msgid_plural "People (%d)"
|
||||||
msgstr[0] "Utilisateur·rice (%d)"
|
msgstr[0] ""
|
||||||
msgstr[1] "Utilisateurs (%d)"
|
msgstr[1] ""
|
||||||
|
|
||||||
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
|
||||||
msgctxt "account-type"
|
|
||||||
msgid "Forum (%d)"
|
|
||||||
msgid_plural "Forums (%d)"
|
|
||||||
msgstr[0] "Forum (%s)"
|
|
||||||
msgstr[1] "Forums (%d)"
|
|
||||||
|
|
||||||
#: src\templates\layout.phtml:97
|
#: src\templates\layout.phtml:97
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr "Stats"
|
msgstr "Statistiques"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:4
|
#: src\templates\statistics.phtml:4
|
||||||
msgid "Directory statistics"
|
msgid "Directory statistics"
|
||||||
msgstr "Statistiques du répertoire"
|
msgstr "Statistiques d'annuaire"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:5
|
#: src\templates\statistics.phtml:5
|
||||||
msgid "Profiles"
|
msgid "Profiles"
|
||||||
msgstr "Utilisateur·rice·s"
|
msgstr "Profils"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:6
|
#: src\templates\statistics.phtml:6
|
||||||
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
msgstr "Ce répertoire a connaissance de <strong>%s potentielles URLs d'utilisateur·rice·s</strong>."
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:15 src\templates\statistics.phtml:44
|
|
||||||
msgid "Languages"
|
|
||||||
msgstr "Langues"
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:16
|
#: src\templates\statistics.phtml:16
|
||||||
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
#: src\templates\statistics.phtml:46
|
||||||
msgstr "Parmi <strong>%s</strong> utilisateur·rice·s mentionnant leur langue principale, il y a:"
|
msgid "Languages"
|
||||||
|
msgstr "Langages"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:26
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr "parmi <strong>%s</strong>profil mentionnant leur langage il y a:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
msgid "Servers"
|
msgid "Servers"
|
||||||
msgstr "Serveurs"
|
msgstr "Serveurs"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:27
|
|
||||||
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
|
||||||
msgstr "Ce répertoire a connaissance de <strong>%s potentielles URLs de serveur</strong>."
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:28
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
msgstr "Parmi elles, il y a <strong>%s domaines (%s)</strong> qui ont été un serveur Friendica au moins une fois."
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:32
|
#: src\templates\statistics.phtml:33
|
||||||
msgid "Out of those, there are:"
|
msgid "Out of those, there are:"
|
||||||
msgstr "Parmi eux, il y a:"
|
msgstr "Parmi ceux-là, il y a:"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:38
|
#: src\templates\statistics.phtml:47
|
||||||
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"/servers\">Check them out!</a>"
|
|
||||||
msgstr "<strong>%s serveurs publics (%s)</strong> ouverts aux inscriptions. <a href=\"/servers\">Voir la liste</a>."
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:45
|
|
||||||
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
msgstr "Parmi <strong>%s</strong> serveurs mentionnant leur langue principale, il y a:"
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:55
|
#: src\templates\statistics.phtml:57
|
||||||
msgid "Versions"
|
msgid "Versions"
|
||||||
msgstr "Versions"
|
msgstr "Versions"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:56
|
#: src\templates\statistics.phtml:58
|
||||||
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
msgstr "Parmi <strong>%s</strong> serveurs mentionnant leur version, il y a:"
|
msgstr "Parmi <strong>%s</strong> serveurs mentionnant leur version il y a:"
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:7
|
#: src\templates\statistics.phtml:7
|
||||||
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
msgstr "Parmi elleux, il y a <strong>%s utilisateur·rice·s (%s)</strong> qui ont choisi d'être inscrit·e·s dans un répertoire public au moins une fois."
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:11
|
#: src\templates\statistics.phtml:35
|
||||||
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"/\">Check them out!</a>"
|
|
||||||
msgstr "Parmi elleux, il y a actuellement <strong>%s utilisateur·rice·s joignables (%s)</strong> via ce répertoire. <a href=\"/\">Voir la liste</a>."
|
|
||||||
|
|
||||||
#: src\templates\statistics.phtml:34
|
|
||||||
msgid "<strong>%s available servers (%s)</strong>"
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
msgstr "<strong>%s serveurs joignables (%s)</strong>"
|
msgstr "<strong>%sserveurs disponibles(%s)</strong>"
|
||||||
|
|
||||||
#: src\templates\layout.phtml:91
|
#: src\templates\layout.phtml:91
|
||||||
msgid "Friendica Directory version %s"
|
msgid "Friendica Directory version %s"
|
||||||
msgstr "Répertoire Friendica version %s"
|
msgstr "Friendica Annuaire version %s"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src\templates\layout.phtml:94
|
#: src\templates\layout.phtml:94
|
||||||
msgid "Source Code on GitHub"
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
msgstr "Code source sur GitHub"
|
msgstr ""
|
||||||
|
|
BIN
src/lang/gd/LC_MESSAGES/strings.mo
Normal file
BIN
src/lang/gd/LC_MESSAGES/strings.mo
Normal file
Binary file not shown.
369
src/lang/gd/LC_MESSAGES/strings.po
Normal file
369
src/lang/gd/LC_MESSAGES/strings.po
Normal file
|
@ -0,0 +1,369 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: GunChleoc, 2021\n"
|
||||||
|
"Language-Team: Gaelic, Scottish (https://www.transifex.com/Friendica/teams/12172/gd/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
|
"Language: gd\n"
|
||||||
|
"Plural-Forms: nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3;\n"
|
||||||
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
|
msgid "Previous"
|
||||||
|
msgstr "Air ais"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
|
msgid "Next"
|
||||||
|
msgstr "Air adhart"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:211
|
||||||
|
msgid "First"
|
||||||
|
msgstr "Toiseach"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:278
|
||||||
|
msgid "Last"
|
||||||
|
msgstr "Deireadh"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
|
msgid "People"
|
||||||
|
msgstr "Daoine"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Cànan"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Locality"
|
||||||
|
msgstr "Ionad"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Region"
|
||||||
|
msgstr "Sgìre"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Country"
|
||||||
|
msgstr "Dùthaich"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
|
msgid "Public Servers"
|
||||||
|
msgstr "Frithealaichean poblach"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
|
msgid "Friendica Directory"
|
||||||
|
msgstr "Eòlaire Friendica"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:23
|
||||||
|
#: src\templates\layout.phtml:25
|
||||||
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
|
msgid "Search terms"
|
||||||
|
msgstr "Faclan-luirg"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:11
|
||||||
|
msgctxt "noun"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Lorg"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
|
#: src\templates\search.phtml:14
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Lorg"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:33
|
||||||
|
msgid "Toggle navigation"
|
||||||
|
msgstr "Toglaich an t-seòladaireachd"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:55
|
||||||
|
msgid "Directory"
|
||||||
|
msgstr "Eòlaire"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:60
|
||||||
|
msgid "Public servers"
|
||||||
|
msgstr "Frithealaichean poblach"
|
||||||
|
|
||||||
|
#: src\templates\search.phtml:19
|
||||||
|
msgid "%d result for \"%s\""
|
||||||
|
msgid_plural "%d results for \"%s\""
|
||||||
|
msgstr[0] "%d toradh airson “%s”"
|
||||||
|
msgstr[1] "%d thoradh airson “%s”"
|
||||||
|
msgstr[2] "%d thoraidhean airson “%s”"
|
||||||
|
msgstr[3] "%d toradh airson “%s”"
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:7
|
||||||
|
msgid "Top servers pagination"
|
||||||
|
msgstr "Duilleagachadh fhrithealaichean aig a’ bhàrr"
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:17
|
||||||
|
msgid "Bottom servers pagination"
|
||||||
|
msgstr "Duilleagachadh fhrithealaichean aig a’ bhonn"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:5
|
||||||
|
msgid "Filter by locality"
|
||||||
|
msgstr "Criathraich a-rèir ionaid"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:11
|
||||||
|
msgid "Filter by region"
|
||||||
|
msgstr "Criathraich a-rèir sgìre"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:17
|
||||||
|
msgid "Filter by country"
|
||||||
|
msgstr "Criathraich a-rèir dùthcha"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Follow"
|
||||||
|
msgstr "Lean air"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Cànan"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
|
msgid "Filter by language"
|
||||||
|
msgstr "Criathraich a-rèir cànain"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:66
|
||||||
|
msgid "Location"
|
||||||
|
msgstr "Ionad"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:79
|
||||||
|
msgid "Search Tag"
|
||||||
|
msgstr "Taga luirg"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:1
|
||||||
|
msgid "Account type tabs"
|
||||||
|
msgstr "Tabaichean seòrsa a’ chunntais"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
|
msgid "Top %s pagination"
|
||||||
|
msgstr "Duilleagachadh %s aig a’ bhàrr"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
|
msgid "Bottom %s pagination"
|
||||||
|
msgstr "Duilleagachadh %s aig a’ bhonn"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
|
msgid "Stable Version"
|
||||||
|
msgstr "Tionndadh seasmhach"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
|
msgid "Develop Version"
|
||||||
|
msgstr "Tionndadh leasachaidh"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:19
|
||||||
|
msgid "Outdated Version"
|
||||||
|
msgstr "Seann-tionndadh"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:69
|
||||||
|
msgid "Admin"
|
||||||
|
msgstr "Rianaire"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:76
|
||||||
|
msgid "No description provided"
|
||||||
|
msgstr "Cha deach tuairisgeul a sholarachadh"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:79
|
||||||
|
msgid "Visit Server"
|
||||||
|
msgstr "Tadhail air frithealaiche"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularcountries.phtml:2
|
||||||
|
msgid "Popular Countries"
|
||||||
|
msgstr "Dùthchannan fèillmhor"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
|
msgid "Popular Languages"
|
||||||
|
msgstr "Cànanan fèillmhor"
|
||||||
|
|
||||||
|
#: src\templates\widget\populartags.phtml:2
|
||||||
|
msgid "Popular Tags"
|
||||||
|
msgstr "Tagaichean fèillmhor"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
|
msgid "Default Language"
|
||||||
|
msgstr "An cànan tùsail"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:49
|
||||||
|
msgid "Known Users"
|
||||||
|
msgstr "Cleachdaichean as aithne"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "All"
|
||||||
|
msgstr "Na h-uile"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "People (%d)"
|
||||||
|
msgid_plural "People (%d)"
|
||||||
|
msgstr[0] "Daoine (%d)"
|
||||||
|
msgstr[1] "Daoine (%d)"
|
||||||
|
msgstr[2] "Daoine (%d)"
|
||||||
|
msgstr[3] "Daoine (%d)"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:97
|
||||||
|
msgid "Stats"
|
||||||
|
msgstr "Stadastaireachd"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:4
|
||||||
|
msgid "Directory statistics"
|
||||||
|
msgstr "Staitistearachd an eòlaire"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:5
|
||||||
|
msgid "Profiles"
|
||||||
|
msgstr "Pròifilean"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:6
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
|
msgstr "Fhuair an t-eòlaire lorg air <strong>%s URL gu pròifilean fa leth</strong>."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
|
msgid "Languages"
|
||||||
|
msgstr "Cànanan"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr "Am measg <strong>%s</strong> pròifil a dh’innseas an cànan, tha:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
|
msgid "Servers"
|
||||||
|
msgstr "Frithealaichean"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr "Fhuair an t-eòlaire lorg air <strong>%s URL gu frithealaichean fa leth</strong>."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
msgstr "Tha <strong>%s àrainn (%s)</strong> ’nam measg a tha ’nam frithealaichean Friendica no a bha uair."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:33
|
||||||
|
msgid "Out of those, there are:"
|
||||||
|
msgstr "Am measg an fheadhainn sin, tha:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:47
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
msgstr "Am measg <strong>%s</strong> frithealaiche a dh’innseas an cànan, tha:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:57
|
||||||
|
msgid "Versions"
|
||||||
|
msgstr "Tionndaidhean"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:58
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
msgstr "Am measg <strong>%s</strong> frithealaiche a dh’innseas an tionndadh, tha:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:7
|
||||||
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
|
msgstr "Am measg an fhadhainn sin, tha <strong>%s pròifil (%s)</strong> a tha ag aontachadh ri gabhail a-steach dhan eòlaire poblach no a dh’aontaich ris uair."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:35
|
||||||
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
|
msgstr "<strong>%s frithealaiche ri fhaighinn (%s)</strong>"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:91
|
||||||
|
msgid "Friendica Directory version %s"
|
||||||
|
msgstr "Eòlaire Friendica tionndadh %s"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "Am measg an fheadhainn sin, tha <strong>%s pròifilean rim faighinn (%s)</strong>. <a href=\"%s\">Nach doir thu sùil orra?</a>"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "Tha <strong>%s frithealaichean poblach (%s)</strong> fosgailte airson clàradh. <a href=\"%s\">Nach doir thu sùil orra?</a>"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] "Naidheachdan (%d)"
|
||||||
|
msgstr[1] "Naidheachdan (%d)"
|
||||||
|
msgstr[2] "Naidheachdan (%d)"
|
||||||
|
msgstr[3] "Naidheachdan (%d)"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] "Buidhnean (%d)"
|
||||||
|
msgstr[1] "Buidhnean (%d)"
|
||||||
|
msgstr[2] "Buidhnean (%d)"
|
||||||
|
msgstr[3] "Buidhnean (%d)"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr "Sgòr slàinte"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] "%s chleachdaiche"
|
||||||
|
msgstr[1] "%s chleachdaiche"
|
||||||
|
msgstr[2] "%s cleachdaichean"
|
||||||
|
msgstr[3] "%s cleachdaiche"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr "Chan eil gin"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr "Poileasaidh clàraidh"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr "Le aontachadh"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr "Fosgailte"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
msgstr[2] ""
|
||||||
|
msgstr[3] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:94
|
||||||
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
|
msgstr ""
|
BIN
src/lang/hu/LC_MESSAGES/strings.mo
Normal file
BIN
src/lang/hu/LC_MESSAGES/strings.mo
Normal file
Binary file not shown.
357
src/lang/hu/LC_MESSAGES/strings.po
Normal file
357
src/lang/hu/LC_MESSAGES/strings.po
Normal file
|
@ -0,0 +1,357 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: Balázs Úr, 2021\n"
|
||||||
|
"Language-Team: Hungarian (https://www.transifex.com/Friendica/teams/12172/hu/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
|
"Language: hu\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
|
msgid "Previous"
|
||||||
|
msgstr "Előző"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
|
msgid "Next"
|
||||||
|
msgstr "Következő"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:211
|
||||||
|
msgid "First"
|
||||||
|
msgstr "Első"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:278
|
||||||
|
msgid "Last"
|
||||||
|
msgstr "Utolsó"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
|
msgid "People"
|
||||||
|
msgstr "Emberek"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Nyelv"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Locality"
|
||||||
|
msgstr "Helység"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Region"
|
||||||
|
msgstr "Régió"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Country"
|
||||||
|
msgstr "Ország"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
|
msgid "Public Servers"
|
||||||
|
msgstr "Nyilvános kiszolgálók"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
|
msgid "Friendica Directory"
|
||||||
|
msgstr "Friendica könyvtár"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:23
|
||||||
|
#: src\templates\layout.phtml:25
|
||||||
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
|
msgid "Search terms"
|
||||||
|
msgstr "Kifejezések keresése"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:11
|
||||||
|
msgctxt "noun"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Keresés"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
|
#: src\templates\search.phtml:14
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Keresés"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:33
|
||||||
|
msgid "Toggle navigation"
|
||||||
|
msgstr "Navigáció ki- és bekapcsolása"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:55
|
||||||
|
msgid "Directory"
|
||||||
|
msgstr "Könyvtár"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:60
|
||||||
|
msgid "Public servers"
|
||||||
|
msgstr "Nyilvános kiszolgálók"
|
||||||
|
|
||||||
|
#: src\templates\search.phtml:19
|
||||||
|
msgid "%d result for \"%s\""
|
||||||
|
msgid_plural "%d results for \"%s\""
|
||||||
|
msgstr[0] "%d találat erre: „%s”"
|
||||||
|
msgstr[1] "%d találat erre: „%s”"
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:7
|
||||||
|
msgid "Top servers pagination"
|
||||||
|
msgstr "Kiszolgálók lapszámozása felül"
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:17
|
||||||
|
msgid "Bottom servers pagination"
|
||||||
|
msgstr "Kiszolgálók lapszámozása alul"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:5
|
||||||
|
msgid "Filter by locality"
|
||||||
|
msgstr "Szűrés helység szerint"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:11
|
||||||
|
msgid "Filter by region"
|
||||||
|
msgstr "Szűrés régió szerint"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:17
|
||||||
|
msgid "Filter by country"
|
||||||
|
msgstr "Szűrés ország szerint"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Follow"
|
||||||
|
msgstr "Követés"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Nyelv"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
|
msgid "Filter by language"
|
||||||
|
msgstr "Szűrés nyelv szerint"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:66
|
||||||
|
msgid "Location"
|
||||||
|
msgstr "Hely"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:79
|
||||||
|
msgid "Search Tag"
|
||||||
|
msgstr "Címke keresése"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:1
|
||||||
|
msgid "Account type tabs"
|
||||||
|
msgstr "Fióktípus lapok"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
|
msgid "Top %s pagination"
|
||||||
|
msgstr "%s lapszámozása felül"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
|
msgid "Bottom %s pagination"
|
||||||
|
msgstr "%s lapszámozása alul"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
|
msgid "Stable Version"
|
||||||
|
msgstr "Stabil verzió"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
|
msgid "Develop Version"
|
||||||
|
msgstr "Fejlesztői verzió"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:19
|
||||||
|
msgid "Outdated Version"
|
||||||
|
msgstr "Elavult verzió"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:69
|
||||||
|
msgid "Admin"
|
||||||
|
msgstr "Adminisztrátor"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:76
|
||||||
|
msgid "No description provided"
|
||||||
|
msgstr "Nincs leírás megadva"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:79
|
||||||
|
msgid "Visit Server"
|
||||||
|
msgstr "Kiszolgáló meglátogatása"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularcountries.phtml:2
|
||||||
|
msgid "Popular Countries"
|
||||||
|
msgstr "Népszerű országok"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
|
msgid "Popular Languages"
|
||||||
|
msgstr "Népszerű nyelvek"
|
||||||
|
|
||||||
|
#: src\templates\widget\populartags.phtml:2
|
||||||
|
msgid "Popular Tags"
|
||||||
|
msgstr "Népszerű címkék"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
|
msgid "Default Language"
|
||||||
|
msgstr "Alapértelmezett nyelv"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:49
|
||||||
|
msgid "Known Users"
|
||||||
|
msgstr "Ismert felhasználók"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "All"
|
||||||
|
msgstr "Összes"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "People (%d)"
|
||||||
|
msgid_plural "People (%d)"
|
||||||
|
msgstr[0] "Emberek (%d)"
|
||||||
|
msgstr[1] "Emberek (%d)"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:97
|
||||||
|
msgid "Stats"
|
||||||
|
msgstr "Statisztikák"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:4
|
||||||
|
msgid "Directory statistics"
|
||||||
|
msgstr "Könyvtárstatisztikák"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:5
|
||||||
|
msgid "Profiles"
|
||||||
|
msgstr "Profilok"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:6
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
|
msgstr "Ez a könyvtár körülbelül <strong>%s különböző lehetséges profil URL-t</strong> ismer."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
|
msgid "Languages"
|
||||||
|
msgstr "Nyelvek"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr "A nyelvüket jelentő <strong>%s</strong> profil közül ezek az alábbiak:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
|
msgid "Servers"
|
||||||
|
msgstr "Kiszolgálók"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr "Ez a könyvtár körülbelül <strong>%s különböző lehetséges kiszolgáló URL-t</strong> ismer."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
msgstr "Ezek közül <strong>%s tartomány (%s)</strong> van, amelyek legalább egyszer Friendica kiszolgálók voltak."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:33
|
||||||
|
msgid "Out of those, there are:"
|
||||||
|
msgstr "Ezek közül ezek az alábbiak:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:47
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
msgstr "A nyelvüket jelentő <strong>%s</strong> kiszolgáló közül ezek az alábbiak:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:57
|
||||||
|
msgid "Versions"
|
||||||
|
msgstr "Verziók"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:58
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
msgstr "A verziójukat jelentő <strong>%s</strong> kiszolgáló közül ezek az alábbiak:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:7
|
||||||
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
|
msgstr "Ezek közül <strong>%s profil (%s)</strong> van, amelyek legalább egyszer beléptek a nyilvános könyvtárba."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:35
|
||||||
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
|
msgstr "<strong>%s elérhető kiszolgáló (%s)</strong>"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:91
|
||||||
|
msgid "Friendica Directory version %s"
|
||||||
|
msgstr "Friendica könyvtár verzió: %s"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "Ezek közül jelenleg <strong>%s elérhető profil (%s)</strong> van. <a href=\"%s\">Nézze meg őket!</a>"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "<strong>%s nyilvános kiszolgáló (%s)</strong> jelenleg nyitott a regisztrációra. <a href=\"%s\">Nézze meg azokat!</a>"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] "Hírek (%d)"
|
||||||
|
msgstr[1] "Hírek (%d)"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] "Szervezet (%d)"
|
||||||
|
msgstr[1] "Szervezetek (%d)"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr "Egészségpont"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] "%s felhasználó"
|
||||||
|
msgstr[1] "%s felhasználó"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr "Nincs"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr "Regisztrációs irányelv"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr "Jóváhagyás által"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr "Nyitott"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:94
|
||||||
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
|
msgstr ""
|
BIN
src/lang/it/LC_MESSAGES/strings.mo
Normal file
BIN
src/lang/it/LC_MESSAGES/strings.mo
Normal file
Binary file not shown.
357
src/lang/it/LC_MESSAGES/strings.po
Normal file
357
src/lang/it/LC_MESSAGES/strings.po
Normal file
|
@ -0,0 +1,357 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: Sylke Vicious <silkevicious@gmail.com>, 2020\n"
|
||||||
|
"Language-Team: Italian (https://www.transifex.com/Friendica/teams/12172/it/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
|
"Language: it\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
|
msgid "Previous"
|
||||||
|
msgstr "Precedente"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
|
msgid "Next"
|
||||||
|
msgstr "Successivo"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:211
|
||||||
|
msgid "First"
|
||||||
|
msgstr "Primo"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:278
|
||||||
|
msgid "Last"
|
||||||
|
msgstr "Ultimo"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
|
msgid "People"
|
||||||
|
msgstr "Persone"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Lingua"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Locality"
|
||||||
|
msgstr "Località"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Region"
|
||||||
|
msgstr "Regione"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Country"
|
||||||
|
msgstr "Nazione"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
|
msgid "Public Servers"
|
||||||
|
msgstr "Server Pubblici"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
|
msgid "Friendica Directory"
|
||||||
|
msgstr "Directory Friendica"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:23
|
||||||
|
#: src\templates\layout.phtml:25
|
||||||
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
|
msgid "Search terms"
|
||||||
|
msgstr "Termini di ricerca"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:11
|
||||||
|
msgctxt "noun"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Cerca"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
|
#: src\templates\search.phtml:14
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Cerca"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:33
|
||||||
|
msgid "Toggle navigation"
|
||||||
|
msgstr "Mostra/nascondi navigazione"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:55
|
||||||
|
msgid "Directory"
|
||||||
|
msgstr "Directory"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:60
|
||||||
|
msgid "Public servers"
|
||||||
|
msgstr "Server pubblici"
|
||||||
|
|
||||||
|
#: src\templates\search.phtml:19
|
||||||
|
msgid "%d result for \"%s\""
|
||||||
|
msgid_plural "%d results for \"%s\""
|
||||||
|
msgstr[0] "%drisultato per \"%s\""
|
||||||
|
msgstr[1] "%d risultati per \"%s\""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:7
|
||||||
|
msgid "Top servers pagination"
|
||||||
|
msgstr "Paginazione superiore server"
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:17
|
||||||
|
msgid "Bottom servers pagination"
|
||||||
|
msgstr "Paginazione inferiore server"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:5
|
||||||
|
msgid "Filter by locality"
|
||||||
|
msgstr "Filtra per località"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:11
|
||||||
|
msgid "Filter by region"
|
||||||
|
msgstr "Filtra per regione"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:17
|
||||||
|
msgid "Filter by country"
|
||||||
|
msgstr "Filtra per nazioen"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Follow"
|
||||||
|
msgstr "Segui"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "Lingua"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
|
msgid "Filter by language"
|
||||||
|
msgstr "Filtra per lingua"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:66
|
||||||
|
msgid "Location"
|
||||||
|
msgstr "Posizione"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:79
|
||||||
|
msgid "Search Tag"
|
||||||
|
msgstr "Cerca Tag"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:1
|
||||||
|
msgid "Account type tabs"
|
||||||
|
msgstr "Tab tipo account"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
|
msgid "Top %s pagination"
|
||||||
|
msgstr "Paginazione superiore %s"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
|
msgid "Bottom %s pagination"
|
||||||
|
msgstr "Paginazione inferiore %s"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
|
msgid "Stable Version"
|
||||||
|
msgstr "Versione Stabile"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
|
msgid "Develop Version"
|
||||||
|
msgstr "Versione di Sviluppo"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:19
|
||||||
|
msgid "Outdated Version"
|
||||||
|
msgstr "Versione Obsoleta"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:69
|
||||||
|
msgid "Admin"
|
||||||
|
msgstr "Amministratore"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:76
|
||||||
|
msgid "No description provided"
|
||||||
|
msgstr "Nessuna descrizione fornita"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:79
|
||||||
|
msgid "Visit Server"
|
||||||
|
msgstr "Visita il Server"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularcountries.phtml:2
|
||||||
|
msgid "Popular Countries"
|
||||||
|
msgstr "Nazioni Popolari"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
|
msgid "Popular Languages"
|
||||||
|
msgstr "Lingue Popolari"
|
||||||
|
|
||||||
|
#: src\templates\widget\populartags.phtml:2
|
||||||
|
msgid "Popular Tags"
|
||||||
|
msgstr "Tag Popolari"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
|
msgid "Default Language"
|
||||||
|
msgstr "Lingua di Default"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:49
|
||||||
|
msgid "Known Users"
|
||||||
|
msgstr "Utenti Conosciuti"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "All"
|
||||||
|
msgstr "Tutto"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "People (%d)"
|
||||||
|
msgid_plural "People (%d)"
|
||||||
|
msgstr[0] "Persona (%d)"
|
||||||
|
msgstr[1] "Persone (%d)"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:97
|
||||||
|
msgid "Stats"
|
||||||
|
msgstr "Statistiche"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:4
|
||||||
|
msgid "Directory statistics"
|
||||||
|
msgstr "Statistiche directory"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:5
|
||||||
|
msgid "Profiles"
|
||||||
|
msgstr "Profili"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:6
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
|
msgstr "Questa directory conosce <strong> %s distinti URL profili potenziali</strong>."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
|
msgid "Languages"
|
||||||
|
msgstr "Lingue"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr "Di <strong>%s</strong> profili che riportano la loro lingua, ci sono:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
|
msgid "Servers"
|
||||||
|
msgstr "Server"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr "Questa directory conosce <strong>%s distinti URL di server potenziali</strong>."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
msgstr "Di questi, ci sono <strong>%s domini (%s)</strong> che sono stati un server Friendica almeno una volta."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:33
|
||||||
|
msgid "Out of those, there are:"
|
||||||
|
msgstr "Di questi, ci sono:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:47
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
msgstr "Di <strong>%s</strong> server che riportano la loro lingua, ci sono:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:57
|
||||||
|
msgid "Versions"
|
||||||
|
msgstr "Versioni"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:58
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
msgstr "Di <strong>%s</strong> server che riportano la loro versione, ci sono:"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:7
|
||||||
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
|
msgstr "Di questi, ci sono <strong>%s profili (%s</strong> che hanno deciso di venir pubblicati nella directory pubblica almeno una volta."
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:35
|
||||||
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
|
msgstr "<strong>%s server disponibili (%s)</strong>"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:91
|
||||||
|
msgid "Friendica Directory version %s"
|
||||||
|
msgstr "Friendica Directory versione %s"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "Di questi, ci sono <strong>%s profili disponibili (%s)</strong>. <a href=\"%s\">Dacci un'occhiata!</a>"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr "<strong>%s server pubblici (%s)</strong> attualmente con registrazione libera. <a href=\"%s\">Dacci un'occhiata!</a>"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:94
|
||||||
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
|
msgstr ""
|
BIN
src/lang/ja/LC_MESSAGES/strings.mo
Normal file
BIN
src/lang/ja/LC_MESSAGES/strings.mo
Normal file
Binary file not shown.
351
src/lang/ja/LC_MESSAGES/strings.po
Normal file
351
src/lang/ja/LC_MESSAGES/strings.po
Normal file
|
@ -0,0 +1,351 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: ozero dien <rgfx0020+misc@gmail.com>, 2019\n"
|
||||||
|
"Language-Team: Japanese (https://www.transifex.com/Friendica/teams/12172/ja/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"POT-Creation-Date: 2018-11-16T04:17:37+00:00\n"
|
||||||
|
"PO-Revision-Date: 2018-11-16 20:30+0000\n"
|
||||||
|
"Language: ja\n"
|
||||||
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||||
|
"X-Generator: Poedit 2.2\n"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:168
|
||||||
|
#: src\classes\Content\Pager.php:216
|
||||||
|
msgid "Previous"
|
||||||
|
msgstr "前"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:173
|
||||||
|
#: src\classes\Content\Pager.php:273
|
||||||
|
msgid "Next"
|
||||||
|
msgstr "次"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:211
|
||||||
|
msgid "First"
|
||||||
|
msgstr "最初"
|
||||||
|
|
||||||
|
#: src\classes\Content\Pager.php:278
|
||||||
|
msgid "Last"
|
||||||
|
msgstr "最終"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Directory.php:85
|
||||||
|
msgid "People"
|
||||||
|
msgstr "人"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:72
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "言語"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:73
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Locality"
|
||||||
|
msgstr "局所性"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:74
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Region"
|
||||||
|
msgstr "地域"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Search.php:75
|
||||||
|
msgctxt "field"
|
||||||
|
msgid "Country"
|
||||||
|
msgstr "国"
|
||||||
|
|
||||||
|
#: src\classes\Controllers\Web\Servers.php:105
|
||||||
|
msgid "Public Servers"
|
||||||
|
msgstr "パブリックサーバー"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:4
|
||||||
|
#: src\templates\layout.phtml:18
|
||||||
|
msgid "Friendica Directory"
|
||||||
|
msgstr "Friendicaディレクトリ"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:23
|
||||||
|
#: src\templates\layout.phtml:25
|
||||||
|
#: src\templates\layout.phtml:43
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:4
|
||||||
|
#: src\templates\search.phtml:12
|
||||||
|
msgid "Search terms"
|
||||||
|
msgstr "検索ワード"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:24
|
||||||
|
#: src\templates\layout.phtml:45
|
||||||
|
#: src\templates\search.phtml:11
|
||||||
|
msgctxt "noun"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "サーチ"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:27
|
||||||
|
#: src\templates\layout.phtml:47
|
||||||
|
#: src\templates\search.phtml:14
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "サーチ"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:33
|
||||||
|
msgid "Toggle navigation"
|
||||||
|
msgstr "ナビゲーションを切り替える"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:55
|
||||||
|
msgid "Directory"
|
||||||
|
msgstr "ディレクトリ"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:60
|
||||||
|
msgid "Public servers"
|
||||||
|
msgstr "パブリックサーバー"
|
||||||
|
|
||||||
|
#: src\templates\search.phtml:19
|
||||||
|
msgid "%d result for \"%s\""
|
||||||
|
msgid_plural "%d results for \"%s\""
|
||||||
|
msgstr[0] " \"%s\" : %d 件の結果"
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:7
|
||||||
|
msgid "Top servers pagination"
|
||||||
|
msgstr "トップサーバーのページネーション"
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:17
|
||||||
|
msgid "Bottom servers pagination"
|
||||||
|
msgstr "下部サーバーのページネーション"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:5
|
||||||
|
msgid "Filter by locality"
|
||||||
|
msgstr "地域でフィルター"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:11
|
||||||
|
msgid "Filter by region"
|
||||||
|
msgstr "地域でフィルター"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:17
|
||||||
|
msgid "Filter by country"
|
||||||
|
msgstr "国で絞り込む"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:31
|
||||||
|
#: src\templates\sub\profile.phtml:35
|
||||||
|
#: src\templates\sub\profile.phtml:39
|
||||||
|
msgctxt "verb"
|
||||||
|
msgid "Follow"
|
||||||
|
msgstr "フォロー"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:65
|
||||||
|
#: src\templates\sub\profile.phtml:57
|
||||||
|
msgid "Language"
|
||||||
|
msgstr "言語"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:60
|
||||||
|
#: src\templates\widget\popularserverlanguages.phtml:2
|
||||||
|
msgid "Filter by language"
|
||||||
|
msgstr "言語でフィルター"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:66
|
||||||
|
msgid "Location"
|
||||||
|
msgstr "ロケーション"
|
||||||
|
|
||||||
|
#: src\templates\sub\profile.phtml:79
|
||||||
|
msgid "Search Tag"
|
||||||
|
msgstr "検索タグ"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:1
|
||||||
|
msgid "Account type tabs"
|
||||||
|
msgstr "アカウントタイプタブ"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:4
|
||||||
|
#: src\templates\sub\profiles.phtml:7
|
||||||
|
msgid "Top %s pagination"
|
||||||
|
msgstr "トップ %s のページネーション"
|
||||||
|
|
||||||
|
#: src\templates\sub\profiles.phtml:13
|
||||||
|
#: src\templates\sub\profiles.phtml:16
|
||||||
|
msgid "Bottom %s pagination"
|
||||||
|
msgstr "下位 %s のページネーション"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:66
|
||||||
|
#: src\templates\sub\server.phtml:15
|
||||||
|
msgid "Stable Version"
|
||||||
|
msgstr "安定版"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:68
|
||||||
|
#: src\templates\sub\server.phtml:17
|
||||||
|
msgid "Develop Version"
|
||||||
|
msgstr "バージョンを開発"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:19
|
||||||
|
msgid "Outdated Version"
|
||||||
|
msgstr "古いバージョン"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:69
|
||||||
|
msgid "Admin"
|
||||||
|
msgstr "管理者"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:76
|
||||||
|
msgid "No description provided"
|
||||||
|
msgstr "説明なし"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:79
|
||||||
|
msgid "Visit Server"
|
||||||
|
msgstr "サーバーにアクセス"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularcountries.phtml:2
|
||||||
|
msgid "Popular Countries"
|
||||||
|
msgstr "人気の国"
|
||||||
|
|
||||||
|
#: src\templates\widget\popularprofilelanguages.phtml:2
|
||||||
|
msgid "Popular Languages"
|
||||||
|
msgstr "人気のある言語"
|
||||||
|
|
||||||
|
#: src\templates\widget\populartags.phtml:2
|
||||||
|
msgid "Popular Tags"
|
||||||
|
msgstr "人気のタグ"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:44
|
||||||
|
#: src\templates\sub\server.phtml:45
|
||||||
|
msgid "Default Language"
|
||||||
|
msgstr "既定の言語"
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:49
|
||||||
|
msgid "Known Users"
|
||||||
|
msgstr "既知のユーザー"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:48
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "All"
|
||||||
|
msgstr "すべて"
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:56
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "People (%d)"
|
||||||
|
msgid_plural "People (%d)"
|
||||||
|
msgstr[0] "個人( %d )"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:97
|
||||||
|
msgid "Stats"
|
||||||
|
msgstr "統計"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:4
|
||||||
|
msgid "Directory statistics"
|
||||||
|
msgstr "ディレクトリ統計"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:5
|
||||||
|
msgid "Profiles"
|
||||||
|
msgstr "プロフィール"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:6
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential profile URLs</strong>."
|
||||||
|
msgstr "このディレクトリは、<strong> %s の異なる潜在的なプロファイルURL </strong>を認識しています。"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:16
|
||||||
|
#: src\templates\statistics.phtml:46
|
||||||
|
msgid "Languages"
|
||||||
|
msgstr "言語"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:17
|
||||||
|
msgid "Out of <strong>%s</strong> profiles reporting their language there are:"
|
||||||
|
msgstr "<strong> %s </strong>の言語を報告するプロフィールには、次のものがあります。"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:27
|
||||||
|
msgid "Servers"
|
||||||
|
msgstr "サーバー"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:28
|
||||||
|
msgid "This directory knows about <strong>%s distinct potential server URLs</strong>."
|
||||||
|
msgstr "このディレクトリは、<strong> %s の異なる潜在的なサーバーURL </strong>を認識しています。"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:29
|
||||||
|
msgid "Out of those, there are <strong>%s domains (%s)</strong> that have been a Friendica server at least once."
|
||||||
|
msgstr "それらのうち、少なくとも一度はFriendicaサーバーであった<strong> %s のドメイン( %s )</strong>があります。"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:33
|
||||||
|
msgid "Out of those, there are:"
|
||||||
|
msgstr "これらのうち、次のものがあります。"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:47
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their language there are:"
|
||||||
|
msgstr "言語を報告している<strong> %s </strong>のサーバーのうち、次のものがあります。"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:57
|
||||||
|
msgid "Versions"
|
||||||
|
msgstr "バージョン"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:58
|
||||||
|
msgid "Out of <strong>%s</strong> servers reporting their version there are:"
|
||||||
|
msgstr "バージョンを報告している<strong> %s </strong>のサーバーのうち、次のものがあります。"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:7
|
||||||
|
msgid "Out of those, there are <strong>%s profiles (%s)</strong> that opted in the public directory at least once."
|
||||||
|
msgstr "これらのうち、<strong> %s のプロファイル( %s )</strong>があり、パブリックディレクトリで少なくとも1回選択しました。"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:35
|
||||||
|
msgid "<strong>%s available servers (%s)</strong>"
|
||||||
|
msgstr "<strong> %s のサーバが利用可能( %s )</strong>"
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:91
|
||||||
|
msgid "Friendica Directory version %s"
|
||||||
|
msgstr "Friendica Directory バージョン %s"
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:11
|
||||||
|
msgid "Out of those, there currently are <strong>%s available profiles (%s)</strong>. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\statistics.phtml:39
|
||||||
|
msgid "<strong>%s public servers (%s)</strong> currently open for registration. <a href=\"%s\">Check them out!</a>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:57
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "News (%d)"
|
||||||
|
msgid_plural "News (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:58
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Organization (%d)"
|
||||||
|
msgid_plural "Organizations (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
|
||||||
|
#: src\classes\Views\Widget\AccountTypeTabs.php:61
|
||||||
|
msgctxt "account-type"
|
||||||
|
msgid "Group (%d)"
|
||||||
|
msgid_plural "Groups (%d)"
|
||||||
|
msgstr[0] ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Filtered by language:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\servers.phtml:3
|
||||||
|
msgid "Clear language filter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:40
|
||||||
|
msgid "Health Score"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:52
|
||||||
|
msgid "%s User"
|
||||||
|
msgid_plural "%s Users"
|
||||||
|
msgstr[0] ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:54
|
||||||
|
msgid "None"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:58
|
||||||
|
#: src\templates\sub\server.phtml:62
|
||||||
|
msgid "Registration Policy"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:59
|
||||||
|
msgid "By Approval"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\sub\server.phtml:63
|
||||||
|
msgid "Open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src\templates\layout.phtml:94
|
||||||
|
msgid "Source Code on Friendica's Forgejo"
|
||||||
|
msgstr ""
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue