From 9d1028643dd0fa2ae0901aad3a22f2c584b672e3 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 11 Nov 2026 15:02:33 +0100 Subject: [PATCH 01/62] test(unit): adapt activity and notification tests to RowVisibilityService Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Arthur Schiwon --- tests/unit/Activity/ActivityManagerPayloadTest.php | 2 ++ tests/unit/Activity/ActivityManagerRecipientsTest.php | 2 ++ tests/unit/Notification/NotificationHelperPayloadTest.php | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/unit/Activity/ActivityManagerPayloadTest.php b/tests/unit/Activity/ActivityManagerPayloadTest.php index 4bf9c2a7be..c86bb4872f 100644 --- a/tests/unit/Activity/ActivityManagerPayloadTest.php +++ b/tests/unit/Activity/ActivityManagerPayloadTest.php @@ -17,6 +17,7 @@ use OCA\Tables\Db\TableMapper; use OCA\Tables\Db\View; use OCA\Tables\Db\ViewMapper; +use OCA\Tables\Service\RowVisibilityService; use OCA\Tables\Service\ShareService; use OCP\Activity\IEvent; use OCP\Activity\IManager; @@ -98,6 +99,7 @@ protected function setUp(): void { $tableMapper, $viewMapper, $columnMapper, + $this->createConfiguredMock(RowVisibilityService::class, ['usersSeeingRow' => ['follower']]), $shareService, new CappedMemoryCache(), 'author', diff --git a/tests/unit/Activity/ActivityManagerRecipientsTest.php b/tests/unit/Activity/ActivityManagerRecipientsTest.php index 454a51087b..99f691c78c 100644 --- a/tests/unit/Activity/ActivityManagerRecipientsTest.php +++ b/tests/unit/Activity/ActivityManagerRecipientsTest.php @@ -15,6 +15,7 @@ use OCA\Tables\Db\Table; use OCA\Tables\Db\TableMapper; use OCA\Tables\Db\ViewMapper; +use OCA\Tables\Service\RowVisibilityService; use OCA\Tables\Service\ShareService; use OCP\Activity\IEvent; use OCP\Activity\IManager; @@ -60,6 +61,7 @@ protected function setUp(): void { $tableMapper, $this->createMock(ViewMapper::class), $this->createMock(ColumnMapper::class), + $this->createMock(RowVisibilityService::class), $shareService, new CappedMemoryCache(), 'owner', diff --git a/tests/unit/Notification/NotificationHelperPayloadTest.php b/tests/unit/Notification/NotificationHelperPayloadTest.php index 990bd6e36a..c692e78c93 100644 --- a/tests/unit/Notification/NotificationHelperPayloadTest.php +++ b/tests/unit/Notification/NotificationHelperPayloadTest.php @@ -13,12 +13,12 @@ use OCA\Tables\Db\Column; use OCA\Tables\Db\ColumnMapper; use OCA\Tables\Db\Row2; -use OCA\Tables\Db\Row2Mapper; use OCA\Tables\Db\Table; use OCA\Tables\Db\TableMapper; use OCA\Tables\Db\ViewMapper; use OCA\Tables\Notification\NotificationHelper; use OCA\Tables\Service\ConfigService; +use OCA\Tables\Service\RowVisibilityService; use OCA\Tables\Service\ShareService; use OCP\Notification\IManager; use OCP\Notification\INotification; @@ -75,7 +75,7 @@ protected function setUp(): void { $this->createMock(ShareService::class), $tableMapper, $viewMapper, - $this->createMock(Row2Mapper::class), + $this->createMock(RowVisibilityService::class), $columnMapper, $activityManager, 'author', From 27b51df436bce181d56fd74c8e9bff6c05c19f8a Mon Sep 17 00:00:00 2001 From: Robert Zondervan Date: Wed, 4 Nov 2026 14:53:48 +0100 Subject: [PATCH 02/62] feat(contexts): give applications and their tables and views a technical name Applications get a technical name that is unique per owner, and every table or view in an application gets one that is unique within that application, so clients can address them by stable names instead of per-instance ids. Names default to application_{id}, table_{id} and view_{id}; a migration fills them in for existing applications and makes them required and unique. An invalid or taken name is refused with a 400, also when transferring an application to an owner who already uses its name. Refs #3094 Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Robert Zondervan --- lib/Controller/ContextController.php | 24 +- lib/Db/Context.php | 4 + lib/Db/ContextMapper.php | 24 +- lib/Db/ContextNodeRelation.php | 6 +- lib/Db/ContextNodeRelationMapper.php | 20 ++ .../Version2500Date20261026000000.php | 151 ++++++++++++ .../Version2500Date20261026000001.php | 52 ++++ lib/ResponseDefinitions.php | 1 + lib/Service/ContextService.php | 223 +++++++++++++++--- lib/Validation/TechnicalNameValidator.php | 30 +++ openapi.json | 26 +- src/types/openapi/openapi.ts | 17 +- .../Version2500Date20261026000000Test.php | 64 +++++ .../ContextServiceTechnicalNameTest.php | 169 +++++++++++++ tests/unit/Service/ContextServiceTest.php | 1 + 15 files changed, 769 insertions(+), 43 deletions(-) create mode 100644 lib/Migration/Version2500Date20261026000000.php create mode 100644 lib/Migration/Version2500Date20261026000001.php create mode 100644 lib/Validation/TechnicalNameValidator.php create mode 100644 tests/unit/Migration/Version2500Date20261026000000Test.php create mode 100644 tests/unit/Service/ContextServiceTechnicalNameTest.php diff --git a/lib/Controller/ContextController.php b/lib/Controller/ContextController.php index e87f8ca440..878fbd22bd 100644 --- a/lib/Controller/ContextController.php +++ b/lib/Controller/ContextController.php @@ -99,7 +99,8 @@ public function show(int $contextId): DataResponse { * @param string $name Name of the context * @param string $iconName Material design icon name of the context * @param string $description Descriptive text of the context - * @psalm-param list $nodes optional nodes to be connected to this context + * @psalm-param list $nodes optional nodes to be connected to this context, each with an optional technical name unique within the context + * @param ?string $technicalName Technical name of the context, unique among the owner's contexts; application_{id} when omitted * * @return DataResponse|DataResponse * @@ -108,7 +109,7 @@ public function show(int $contextId): DataResponse { * 403: lacking permissions on a resource */ #[NoAdminRequired] - public function create(string $name, string $iconName, string $description = '', array $nodes = []): DataResponse { + public function create(string $name, string $iconName, string $description = '', array $nodes = [], ?string $technicalName = null): DataResponse { try { if (!$this->isValidIcon($iconName)) { return new DataResponse(['message' => 'Invalid icon name'], Http::STATUS_BAD_REQUEST); @@ -120,11 +121,14 @@ public function create(string $name, string $iconName, string $description = '', $this->sanitizeInputNodes($nodes), $this->userId, 0, + $technicalName, )->jsonSerialize()); } catch (Exception $e) { return $this->handleError($e); } catch (PermissionError $e) { return $this->handlePermissionError($e); + } catch (BadRequestError $e) { + return $this->handleBadRequestError($e); } catch (InvalidArgumentException $e) { return $this->handleError(new InternalError($e->getMessage(), $e->getCode(), $e)); } @@ -137,7 +141,8 @@ public function create(string $name, string $iconName, string $description = '', * @param ?string $name provide this parameter to set a new name * @param ?string $iconName provide this parameter to set a new icon * @param ?string $description provide this parameter to set a new description - * @param ?array{id: int, type: int, permissions: int, order: int} $nodes provide this parameter to set a new list of nodes. + * @param ?array{id: int, type: int, permissions: int, order: int, technicalName?: string} $nodes provide this parameter to set a new list of nodes, optionally renaming them by technical name. + * @param ?string $technicalName provide this parameter to set a new technical name * * @return DataResponse|DataResponse * @@ -149,7 +154,7 @@ public function create(string $name, string $iconName, string $description = '', * @CanManageContext */ #[NoAdminRequired] - public function update(int $contextId, ?string $name, ?string $iconName, ?string $description, ?array $nodes): DataResponse { + public function update(int $contextId, ?string $name, ?string $iconName, ?string $description, ?array $nodes, ?string $technicalName = null): DataResponse { try { if ($iconName !== null && !$this->isValidIcon($iconName)) { return new DataResponse(['message' => 'Invalid icon name'], Http::STATUS_BAD_REQUEST); @@ -162,19 +167,22 @@ public function update(int $contextId, ?string $name, ?string $iconName, ?string $iconName, $description, $nodes, + $technicalName, )->jsonSerialize()); } catch (Exception|MultipleObjectsReturnedException $e) { return $this->handleError($e); } catch (PermissionError $e) { return $this->handlePermissionError($e); + } catch (BadRequestError $e) { + return $this->handleBadRequestError($e); } catch (DoesNotExistException $e) { return $this->handleNotFoundError(new NotFoundError($e->getMessage(), $e->getCode(), $e)); } } /** - * @psalm-param list $nodes - * @psalm-return list + * @psalm-param list $nodes + * @psalm-return list */ protected function sanitizeInputNodes(array $nodes): array { foreach ($nodes as &$node) { @@ -195,6 +203,10 @@ protected function sanitizeInputNodes(array $nodes): array { if (isset($node['order'])) { $node['order'] = (int)$node['order']; } + + if (isset($node['technicalName']) && !is_string($node['technicalName'])) { + throw new InvalidArgumentException('Unexpected node technical name'); + } } return $nodes; } diff --git a/lib/Db/Context.php b/lib/Db/Context.php index 3fa14f56b5..ac99a36254 100644 --- a/lib/Db/Context.php +++ b/lib/Db/Context.php @@ -13,6 +13,8 @@ /** * @method getName(): string * @method setName(string $value): void + * @method getTechnicalName(): string + * @method setTechnicalName(string $value): void * @method getIcon(): string * @method setIcon(string $value): void * @method getDescription(): string @@ -31,6 +33,7 @@ */ class Context extends EntitySuper implements JsonSerializable { protected ?string $name = null; + protected ?string $technicalName = null; protected ?string $icon = null; protected ?string $description = null; protected ?string $ownerId = null; @@ -53,6 +56,7 @@ public function jsonSerialize(): array { $data = [ 'id' => $this->getId(), 'name' => $this->getName(), + 'technicalName' => $this->getTechnicalName(), 'iconName' => $this->getIcon(), 'description' => $this->getDescription(), 'owner' => $this->getOwnerId(), diff --git a/lib/Db/ContextMapper.php b/lib/Db/ContextMapper.php index 0da199335e..3331fe024d 100644 --- a/lib/Db/ContextMapper.php +++ b/lib/Db/ContextMapper.php @@ -36,7 +36,7 @@ protected function getFindContextBaseQuery(?string $userId): IQueryBuilder { $qb->select( 'c.*', - 'r.id as node_rel_id', 'r.node_id', 'r.node_type', 'r.permissions', + 'r.id as node_rel_id', 'r.node_id', 'r.node_type', 'r.permissions', 'r.technical_name as node_technical_name', 'p.id as page_id', 'p.page_type', 'pc.id as content_id', 'pc.order', 'n.display_mode as display_mode_default', @@ -80,6 +80,7 @@ protected function formatResultRows(array $rows, ?string $userId) { $formatted = [ 'id' => $rows[0]['id'], 'name' => $rows[0]['name'], + 'technical_name' => $rows[0]['technical_name'], 'icon' => $rows[0]['icon'], 'description' => $rows[0]['description'], 'owner_id' => $rows[0]['owner_id'], @@ -119,6 +120,7 @@ protected function formatResultRows(array $rows, ?string $userId) { 'node_id' => (int)$item['node_id'], 'node_type' => (int)$item['node_type'], 'permissions' => (int)$item['permissions'], + 'technical_name' => $item['node_technical_name'], ]; return $carry; }, []); @@ -277,6 +279,26 @@ public function findAllContainingNode(int $nodeType, int $nodeId, string $userId return $resultEntities; } + /** + * @return array the technical names of the owner's applications + * @throws Exception + */ + public function findTechnicalNamesForOwner(int $ownerType, string $ownerId): array { + $qb = $this->db->getQueryBuilder(); + $qb->select('technical_name') + ->from($this->table) + ->where($qb->expr()->eq('owner_type', $qb->createNamedParameter($ownerType, IQueryBuilder::PARAM_INT))) + ->andWhere($qb->expr()->eq('owner_id', $qb->createNamedParameter($ownerId))); + + $result = $qb->executeQuery(); + $names = []; + while ($row = $result->fetchAssociative()) { + $names[(string)$row['technical_name']] = true; + } + $result->closeCursor(); + return $names; + } + /** * Fetch a map of id → name for the given context IDs. * diff --git a/lib/Db/ContextNodeRelation.php b/lib/Db/ContextNodeRelation.php index fbabd3e4da..7455ed5bec 100644 --- a/lib/Db/ContextNodeRelation.php +++ b/lib/Db/ContextNodeRelation.php @@ -19,6 +19,8 @@ * @method setNodeType(int $value): void * @method getPermissions(): int * @method setPermissions(int $value): void + * @method getTechnicalName(): string + * @method setTechnicalName(string $value): void */ class ContextNodeRelation extends Entity implements \JsonSerializable { @@ -26,6 +28,7 @@ class ContextNodeRelation extends Entity implements \JsonSerializable { protected ?int $nodeId = null; protected ?int $nodeType = null; protected ?int $permissions = null; + protected ?string $technicalName = null; public function __construct() { $this->addType('id', 'integer'); @@ -41,7 +44,8 @@ public function jsonSerialize(): array { 'contextId' => $this->getContextId(), 'nodeId' => $this->getNodeId(), 'nodeType' => $this->getNodeType(), - 'permissions' => $this->getPermissions() + 'permissions' => $this->getPermissions(), + 'technicalName' => $this->getTechnicalName(), ]; } } diff --git a/lib/Db/ContextNodeRelationMapper.php b/lib/Db/ContextNodeRelationMapper.php index d7ad72611c..731d6b309c 100644 --- a/lib/Db/ContextNodeRelationMapper.php +++ b/lib/Db/ContextNodeRelationMapper.php @@ -66,4 +66,24 @@ public function findById(int $nodeRelId): ContextNodeRelation { $row = $this->findOneQuery($qb); return $this->mapRowToEntity($row); } + + /** + * @return array the technical names used in the application + * @throws Exception + */ + public function findTechnicalNamesByContextId(int $contextId): array { + $qb = $this->db->getQueryBuilder(); + $qb->select('technical_name') + ->from($this->tableName) + ->where($qb->expr()->eq('context_id', $qb->createNamedParameter($contextId, IQueryBuilder::PARAM_INT))); + + $result = $qb->executeQuery(); + $names = []; + while ($row = $result->fetchAssociative()) { + $names[(string)$row['technical_name']] = true; + } + $result->closeCursor(); + return $names; + } + } diff --git a/lib/Migration/Version2500Date20261026000000.php b/lib/Migration/Version2500Date20261026000000.php new file mode 100644 index 0000000000..64961c6ccd --- /dev/null +++ b/lib/Migration/Version2500Date20261026000000.php @@ -0,0 +1,151 @@ +hasTable($tableName)) { + continue; + } + $table = $schema->getTable($tableName); + if (!$table->hasColumn('technical_name')) { + $table->addColumn('technical_name', Types::STRING, [ + 'notnull' => false, + 'length' => 200, + ]); + $changed = true; + } + } + + return $changed ? $schema : null; + } + + #[Override] + public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void { + $contextCount = $this->backfillContexts(); + $nodeCount = $this->backfillNodeRelations(); + + $output->info('Version2500Date20261026000000: backfilled technical_name for ' . $contextCount . ' applications and ' . $nodeCount . ' application nodes.'); + } + + private function backfillContexts(): int { + $select = $this->connection->getQueryBuilder(); + $select->select('id') + ->from(self::CONTEXT_TABLE) + ->where($select->expr()->isNull('technical_name')); + $result = $select->executeQuery(); + $contextIds = []; + while ($row = $result->fetchAssociative()) { + $contextIds[] = (int)$row['id']; + } + $result->closeCursor(); + + $update = $this->connection->getQueryBuilder(); + $update->update(self::CONTEXT_TABLE) + ->set('technical_name', $update->createParameter('technicalName')) + ->where($update->expr()->eq('id', $update->createParameter('id'))); + + // the id is unique, so application_{id} is free for every owner + $count = 0; + foreach ($contextIds as $contextId) { + $update->setParameter('technicalName', 'application_' . $contextId); + $update->setParameter('id', $contextId, IQueryBuilder::PARAM_INT); + $count += $update->executeStatement(); + } + return $count; + } + + private function backfillNodeRelations(): int { + $select = $this->connection->getQueryBuilder(); + $select->select('id', 'context_id', 'node_id', 'node_type', 'technical_name') + ->from(self::NODE_REL_TABLE) + ->orderBy('context_id') + ->addOrderBy('id'); + $result = $select->executeQuery(); + $rows = $result->fetchAllAssociative(); + $result->closeCursor(); + + $names = self::backfillNodeNames($rows); + + $update = $this->connection->getQueryBuilder(); + $update->update(self::NODE_REL_TABLE) + ->set('technical_name', $update->createParameter('technicalName')) + ->where($update->expr()->eq('id', $update->createParameter('id'))); + + $count = 0; + foreach ($names as $nodeRelId => $technicalName) { + $update->setParameter('technicalName', $technicalName); + $update->setParameter('id', $nodeRelId, IQueryBuilder::PARAM_INT); + $count += $update->executeStatement(); + } + return $count; + } + + /** + * The names for the relations that have none: table_{node_id} or view_{node_id}, + * with a suffix when the application already uses that name. The same node can be + * in an application twice, so the suffix is needed even without renamed nodes. + * + * @param list $rows + * @return array the new name by relation id + */ + public static function backfillNodeNames(array $rows): array { + $takenByContext = []; + foreach ($rows as $row) { + if ($row['technical_name'] !== null && $row['technical_name'] !== '') { + $takenByContext[(int)$row['context_id']][$row['technical_name']] = true; + } + } + + $names = []; + foreach ($rows as $row) { + if ($row['technical_name'] !== null && $row['technical_name'] !== '') { + continue; + } + $contextId = (int)$row['context_id']; + $technicalName = ContextService::uniqueTechnicalName( + ContextService::defaultNodeTechnicalName((int)$row['node_type'], (int)$row['node_id']), + $takenByContext[$contextId] ?? [], + ); + $takenByContext[$contextId][$technicalName] = true; + $names[(int)$row['id']] = $technicalName; + } + return $names; + } +} diff --git a/lib/Migration/Version2500Date20261026000001.php b/lib/Migration/Version2500Date20261026000001.php new file mode 100644 index 0000000000..2f232cea7f --- /dev/null +++ b/lib/Migration/Version2500Date20261026000001.php @@ -0,0 +1,52 @@ + [['owner_type', 'owner_id', 'technical_name'], 'tables_ctx_owner_tech_name_uq'], + 'tables_contexts_rel_context_node' => [['context_id', 'technical_name'], 'tables_ctx_node_tech_name_uq'], + ]; + foreach ($uniqueIndexes as $tableName => [$columns, $indexName]) { + if (!$schema->hasTable($tableName)) { + continue; + } + $table = $schema->getTable($tableName); + $technicalName = $table->getColumn('technical_name'); + if (!$technicalName->getNotnull()) { + $technicalName->setNotnull(true); + $changed = true; + } + if (!$table->hasIndex($indexName)) { + $table->addUniqueIndex($columns, $indexName); + $changed = true; + } + } + + return $changed ? $schema : null; + } +} diff --git a/lib/ResponseDefinitions.php b/lib/ResponseDefinitions.php index dd41a0bf4f..c139a1de07 100644 --- a/lib/ResponseDefinitions.php +++ b/lib/ResponseDefinitions.php @@ -237,6 +237,7 @@ * @psalm-type TablesContext = array{ * id: int, * name: string, + * technicalName: string, * iconName: string, * description: string, * owner: string, diff --git a/lib/Service/ContextService.php b/lib/Service/ContextService.php index 828897ad6f..e69b69c570 100644 --- a/lib/Service/ContextService.php +++ b/lib/Service/ContextService.php @@ -32,6 +32,7 @@ use OCA\Tables\Model\SortRuleSet; use OCA\Tables\Model\ViewSettings; use OCA\Tables\Service\Support\AuditLogServiceInterface; +use OCA\Tables\Validation\TechnicalNameValidator; use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Db\MultipleObjectsReturnedException; use OCP\AppFramework\Db\TTransactional; @@ -130,10 +131,18 @@ public function findById(int $id, ?string $userId): Context { } /** - * @psalm-param list $nodes - * @throws Exception|PermissionError|InvalidArgumentException + * @psalm-param list $nodes + * @param ?string $technicalName the name, unique among the owner's applications; application_{id} when null + * @throws Exception|PermissionError|InvalidArgumentException|BadRequestError */ - public function create(string $name, string $iconName, string $description, array $nodes, string $ownerId, int $ownerType): Context { + public function create(string $name, string $iconName, string $description, array $nodes, string $ownerId, int $ownerType, ?string $technicalName = null): Context { + if ($technicalName !== null) { + $this->assertTechnicalNameValid($technicalName); + if (isset($this->contextMapper->findTechnicalNamesForOwner($ownerType, $ownerId)[$technicalName])) { + throw new BadRequestError('The technical name ' . $technicalName . ' is already used by another application of the owner.'); + } + } + $context = new Context(); $context->setName(trim($name)); $context->setIcon(trim($iconName)); @@ -141,8 +150,8 @@ public function create(string $name, string $iconName, string $description, arra $context->setOwnerId($ownerId); $context->setOwnerType($ownerType); - $this->atomic(function () use ($context, $nodes): void { - $this->contextMapper->insert($context); + $this->atomic(function () use ($context, $nodes, $technicalName): void { + $this->insertContext($context, $technicalName); if (!empty($nodes)) { $context->resetUpdatedFields(); @@ -160,14 +169,22 @@ public function create(string $name, string $iconName, string $description, arra } /** - * @psalm-param list $nodes + * @psalm-param list $nodes * @throws Exception * @throws DoesNotExistException - * @throws PermissionError|MultipleObjectsReturnedException + * @throws PermissionError|MultipleObjectsReturnedException|BadRequestError */ - public function update(int $contextId, string $userId, ?string $name, ?string $iconName, ?string $description, ?array $nodes): Context { + public function update(int $contextId, string $userId, ?string $name, ?string $iconName, ?string $description, ?array $nodes, ?string $technicalName = null): Context { $context = $this->contextMapper->findById($contextId, $userId); + if ($technicalName !== null && $technicalName !== $context->getTechnicalName()) { + $this->assertTechnicalNameValid($technicalName); + if (isset($this->contextMapper->findTechnicalNamesForOwner($context->getOwnerType(), $context->getOwnerId())[$technicalName])) { + throw new BadRequestError('The technical name ' . $technicalName . ' is already used by another application of the owner.'); + } + $context->setTechnicalName($technicalName); + } + if ($name !== null) { $context->setName(trim($name)); } @@ -203,17 +220,27 @@ public function update(int $contextId, string $userId, ?string $name, ?string $i $key = sprintf('t%di%d', $node['type'], $node['id']); if (isset($oldNodeResolvableIdMapper[$key])) { $nodesBeingKept[$key] = $node; - if ($node['permissions'] !== $currentNodes[$oldNodeResolvableIdMapper[$key]]['permissions']) { - $nodeRel = $this->contextNodeRelMapper->findById($currentNodes[$oldNodeResolvableIdMapper[$key]]['id']); - $updatedNodes[] = [ - 'nodeType' => $nodeRel->getNodeType(), - 'nodeId' => $nodeRel->getNodeId(), - 'previousPermissions' => $nodeRel->getPermissions(), - 'permissions' => (int)$node['permissions'], - ]; - $nodeRel->setPermissions($node['permissions']); - $this->contextNodeRelMapper->update($nodeRel); + $currentNode = $currentNodes[$oldNodeResolvableIdMapper[$key]]; + $hasNewPermissions = $node['permissions'] !== $currentNode['permissions']; + $hasNewTechnicalName = isset($node['technicalName']) && $node['technicalName'] !== $currentNode['technical_name']; + if ($hasNewPermissions || $hasNewTechnicalName) { + $nodeRel = $this->contextNodeRelMapper->findById($currentNode['id']); + if ($hasNewPermissions) { + $updatedNodes[] = [ + 'nodeType' => $nodeRel->getNodeType(), + 'nodeId' => $nodeRel->getNodeId(), + 'previousPermissions' => $nodeRel->getPermissions(), + 'permissions' => (int)$node['permissions'], + ]; + $nodeRel->setPermissions($node['permissions']); + } + if ($hasNewTechnicalName) { + $this->assertNodeTechnicalNameAvailable($contextId, $node['technicalName']); + $nodeRel->setTechnicalName($node['technicalName']); + } + $this->updateNodeRelation($nodeRel); $currentNodes[$oldNodeResolvableIdMapper[$key]]['permissions'] = $nodeRel->getPermissions(); + $currentNodes[$oldNodeResolvableIdMapper[$key]]['technical_name'] = $nodeRel->getTechnicalName(); $hasUpdatedNodeInformation = true; } unset($oldNodeResolvableIdMapper[$key]); @@ -257,7 +284,8 @@ public function update(int $contextId, string $userId, ?string $name, ?string $i $node['type'], $node['permissions'], $node['order'] ?? 100, - $userId + $userId, + $node['technicalName'] ?? null, ); $currentNodes[$addedNode->getId()] = $addedNode->jsonSerialize(); $currentPages[$updatedContent->getPageId()]['content'][$updatedContent->getId()] = $updatedContent->jsonSerialize(); @@ -315,7 +343,11 @@ public function update(int $contextId, string $userId, ?string $name, ?string $i } } - $context = $this->contextMapper->update($context); + try { + $context = $this->contextMapper->update($context); + } catch (Exception $e) { + throw $this->toTechnicalNameConflict($e, 'The technical name is already used by another application of the owner.'); + } if (isset($currentNodes, $currentPages) && $hasUpdatedNodeInformation) { $context->setNodes($currentNodes); $context->setPages($currentPages); @@ -385,6 +417,11 @@ public function transfer(int $contextId, string $newOwnerId, int $newOwnerType): throw new BadRequestError('User does not exist'); } + $isOwnerChanging = $newOwnerId !== $context->getOwnerId() || $newOwnerType !== $context->getOwnerType(); + if ($isOwnerChanging && isset($this->contextMapper->findTechnicalNamesForOwner($newOwnerType, $newOwnerId)[$context->getTechnicalName()])) { + throw new BadRequestError('The new owner already has an application with the technical name ' . $context->getTechnicalName() . '.'); + } + $oldOwnerId = $context->getOwnerId(); $context->setOwnerId($newOwnerId); $context->setOwnerType($newOwnerType); @@ -414,9 +451,9 @@ public function transfer(int $contextId, string $newOwnerId, int $newOwnerType): * @throws DoesNotExistException * @throws Exception */ - public function addNodeToContextById(int $contextId, int $nodeId, int $nodeType, int $permissions, ?string $userId): ContextNodeRelation { + public function addNodeToContextById(int $contextId, int $nodeId, int $nodeType, int $permissions, ?string $userId, ?string $technicalName = null): ContextNodeRelation { $context = $this->contextMapper->findById($contextId, $userId); - return $this->addNodeToContext($context, $nodeId, $nodeType, $permissions); + return $this->addNodeToContext($context, $nodeId, $nodeType, $permissions, $technicalName); } /** @@ -441,8 +478,8 @@ public function removeNodeFromContextById(int $nodeRelationId): ContextNodeRelat * @throws DoesNotExistException * @throws Exception */ - public function addNodeToContextAndStartpage(int $contextId, int $nodeId, int $nodeType, int $permissions, int $order, string $userId): array { - $relation = $this->addNodeToContextById($contextId, $nodeId, $nodeType, $permissions, $userId); + public function addNodeToContextAndStartpage(int $contextId, int $nodeId, int $nodeType, int $permissions, int $order, string $userId, ?string $technicalName = null): array { + $relation = $this->addNodeToContextById($contextId, $nodeId, $nodeType, $permissions, $userId, $technicalName); $pageContent = $this->addNodeRelToPage($relation, $order); return [$relation, $pageContent]; } @@ -459,16 +496,32 @@ public function removeNodeFromContextAndPages(int $nodeRelationId): array { } /** + * @param ?string $technicalName the name, unique within the application; table_{id} or view_{id} when null * @throws Exception + * @throws BadRequestError */ - public function addNodeToContext(Context $context, int $nodeId, int $nodeType, int $permissions): ContextNodeRelation { + public function addNodeToContext(Context $context, int $nodeId, int $nodeType, int $permissions, ?string $technicalName = null): ContextNodeRelation { + if ($technicalName === null) { + $technicalName = self::uniqueTechnicalName( + self::defaultNodeTechnicalName($nodeType, $nodeId), + $this->contextNodeRelMapper->findTechnicalNamesByContextId($context->getId()), + ); + } else { + $this->assertNodeTechnicalNameAvailable($context->getId(), $technicalName); + } + $contextNodeRel = new ContextNodeRelation(); $contextNodeRel->setContextId($context->getId()); $contextNodeRel->setNodeId($nodeId); $contextNodeRel->setNodeType($nodeType); $contextNodeRel->setPermissions($permissions); + $contextNodeRel->setTechnicalName($technicalName); - return $this->contextNodeRelMapper->insert($contextNodeRel); + try { + return $this->contextNodeRelMapper->insert($contextNodeRel); + } catch (Exception $e) { + throw $this->toTechnicalNameConflict($e, 'The technical name ' . $technicalName . ' is already used in this application.'); + } } public function addNodeRelToPage(ContextNodeRelation $nodeRel, ?int $order = null, ?int $pageId = null): PageContent { @@ -543,6 +596,104 @@ protected function updatePageContent(int $pageId, int $contentId, int $order): P return $this->pageContentMapper->update($pageContent); } + /** + * Inserts the context under the given technical name, or under + * application_{id} when it is null. The id only exists after the insert, so the + * row first gets a random name that no client can choose. + * + * @throws Exception + */ + protected function insertContext(Context $context, ?string $technicalName): void { + if ($technicalName !== null) { + $context->setTechnicalName($technicalName); + $this->contextMapper->insert($context); + return; + } + + $context->setTechnicalName('_' . bin2hex(random_bytes(16))); + $this->contextMapper->insert($context); + $context->setTechnicalName(self::uniqueTechnicalName( + 'application_' . $context->getId(), + $this->contextMapper->findTechnicalNamesForOwner($context->getOwnerType(), $context->getOwnerId()), + )); + $this->contextMapper->update($context); + } + + /** + * @throws BadRequestError + */ + private function assertTechnicalNameValid(string $technicalName): void { + if (TechnicalNameValidator::isTooLong($technicalName)) { + throw new BadRequestError('Technical name must not exceed ' . TechnicalNameValidator::MAX_LENGTH . ' characters.'); + } + if (!TechnicalNameValidator::hasValidCharacters($technicalName)) { + throw new BadRequestError('Technical name must start with a lowercase letter and contain only lowercase letters, numbers, and underscores.'); + } + } + + /** + * @throws BadRequestError + * @throws Exception + */ + private function assertNodeTechnicalNameAvailable(int $contextId, string $technicalName): void { + $this->assertTechnicalNameValid($technicalName); + if (isset($this->contextNodeRelMapper->findTechnicalNamesByContextId($contextId)[$technicalName])) { + throw new BadRequestError('The technical name ' . $technicalName . ' is already used in this application.'); + } + } + + /** + * @throws Exception + * @throws BadRequestError + */ + private function updateNodeRelation(ContextNodeRelation $nodeRel): void { + try { + $this->contextNodeRelMapper->update($nodeRel); + } catch (Exception $e) { + throw $this->toTechnicalNameConflict($e, 'The technical name ' . $nodeRel->getTechnicalName() . ' is already used in this application.'); + } + } + + /** + * A unique constraint violation means another request took the technical name + * after it was checked. + */ + private function toTechnicalNameConflict(Exception $e, string $message): BadRequestError|Exception { + if ($e->getReason() === Exception::REASON_UNIQUE_CONSTRAINT_VIOLATION) { + return new BadRequestError($message, 0, $e); + } + return $e; + } + + public static function defaultNodeTechnicalName(int $nodeType, int $nodeId): string { + return ($nodeType === Application::NODE_TYPE_VIEW ? 'view_' : 'table_') . $nodeId; + } + + /** + * The base name, or the base with the lowest free suffix _2, _3, ... + * + * @param array $taken + */ + public static function uniqueTechnicalName(string $base, array $taken): string { + $technicalName = $base; + for ($suffix = 2; isset($taken[$technicalName]); $suffix++) { + $technicalName = $base . '_' . $suffix; + } + return $technicalName; + } + + /** + * The requested name when it is valid and free, else null. + * + * @param array $taken + */ + private static function availableTechnicalName(mixed $requested, array $taken): ?string { + if (!is_string($requested) || !TechnicalNameValidator::isValid($requested) || isset($taken[$requested])) { + return null; + } + return $requested; + } + protected function insertPage(Context $context): void { $page = new Page(); $page->setContextId($context->getId()); @@ -572,8 +723,8 @@ protected function insertPage(Context $context): void { } /** - * @psalm-param list $nodes - * @throws PermissionError|InvalidArgumentException + * @psalm-param list $nodes + * @throws PermissionError|InvalidArgumentException|BadRequestError */ protected function insertNodesFromArray(Context $context, array $nodes): void { $addedNodes = []; @@ -587,7 +738,7 @@ protected function insertNodesFromArray(Context $context, array $nodes): void { if (!$this->permissionsService->canManageNodeById($nodeType, $nodeId, $userId)) { throw new PermissionError(sprintf('Owner cannot manage node %d (type %d)', $nodeId, $nodeType)); } - $contextNodeRel = $this->addNodeToContext($context, $nodeId, $nodeType, $node['permissions'] ?? Application::PERMISSION_READ); + $contextNodeRel = $this->addNodeToContext($context, $nodeId, $nodeType, $node['permissions'] ?? Application::PERMISSION_READ, $node['technicalName'] ?? null); $addedNodes[] = $contextNodeRel->jsonSerialize(); } catch (Exception $e) { $this->logger->warning('Could not add node {ntype}/{nid} to context {cid}, skipping.', [ @@ -634,17 +785,27 @@ public function importContext(Table $table, array $context, int $tableOldId): ?C $newContext->setDescription($context['description'] ?? ''); $newContext->setOwnerId($table->getOwnership() ?? ''); $newContext->setOwnerType($context['ownerType'] ?? 0); - $this->contextMapper->insert($newContext); + $this->insertContext($newContext, self::availableTechnicalName( + $context['technicalName'] ?? null, + $this->contextMapper->findTechnicalNamesForOwner($newContext->getOwnerType(), $newContext->getOwnerId()), + )); // insert nodes $nodeRelMap = []; if (!empty($context['nodes'])) { + $takenNodeNames = []; foreach ($context['nodes'] as $nodeArr) { + $nodeType = (int)($nodeArr['node_type'] ?? $nodeArr['nodeType'] ?? 0); + $technicalName = self::availableTechnicalName($nodeArr['technical_name'] ?? $nodeArr['technicalName'] ?? null, $takenNodeNames) + ?? self::uniqueTechnicalName(self::defaultNodeTechnicalName($nodeType, $table->getId()), $takenNodeNames); + $takenNodeNames[$technicalName] = true; + $contextNodeRel = new ContextNodeRelation(); $contextNodeRel->setContextId($newContext->getId()); $contextNodeRel->setNodeId($table->getId()); - $contextNodeRel->setNodeType($nodeArr['node_type'] ?? $nodeArr['nodeType'] ?? 0); + $contextNodeRel->setNodeType($nodeType); $contextNodeRel->setPermissions($nodeArr['permissions'] ?? 0); + $contextNodeRel->setTechnicalName($technicalName); $contextNodeRel = $this->contextNodeRelMapper->insert($contextNodeRel); $nodeRelMap[$nodeArr['id'] ?? null] = $contextNodeRel; } diff --git a/lib/Validation/TechnicalNameValidator.php b/lib/Validation/TechnicalNameValidator.php new file mode 100644 index 0000000000..f93af6856b --- /dev/null +++ b/lib/Validation/TechnicalNameValidator.php @@ -0,0 +1,30 @@ + self::MAX_LENGTH; + } + + public static function hasValidCharacters(string $technicalName): bool { + return preg_match(self::PATTERN, $technicalName) === 1; + } +} diff --git a/openapi.json b/openapi.json index 9fd3ae317c..3b9b2ea5bb 100644 --- a/openapi.json +++ b/openapi.json @@ -288,6 +288,7 @@ "required": [ "id", "name", + "technicalName", "iconName", "description", "owner", @@ -301,6 +302,9 @@ "name": { "type": "string" }, + "technicalName": { + "type": "string" + }, "iconName": { "type": "string" }, @@ -12272,7 +12276,7 @@ "nodes": { "type": "array", "default": [], - "description": "optional nodes to be connected to this context", + "description": "optional nodes to be connected to this context, each with an optional technical name unique within the context", "items": { "type": "object", "required": [ @@ -12291,9 +12295,18 @@ "permissions": { "type": "integer", "format": "int64" + }, + "technicalName": { + "type": "string" } } } + }, + "technicalName": { + "type": "string", + "nullable": true, + "default": null, + "description": "Technical name of the context, unique among the owner's contexts; application_{id} when omitted" } } } @@ -12701,7 +12714,7 @@ "nodes": { "type": "object", "nullable": true, - "description": "provide this parameter to set a new list of nodes.", + "description": "provide this parameter to set a new list of nodes, optionally renaming them by technical name.", "required": [ "id", "type", @@ -12724,8 +12737,17 @@ "order": { "type": "integer", "format": "int64" + }, + "technicalName": { + "type": "string" } } + }, + "technicalName": { + "type": "string", + "nullable": true, + "default": null, + "description": "provide this parameter to set a new technical name" } } } diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index 85437d7fca..8d5a1bbfe7 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -1193,6 +1193,7 @@ export type components = { /** Format: int64 */ readonly id: number; readonly name: string; + readonly technicalName: string; readonly iconName: string; readonly description: string; readonly owner: string; @@ -7090,7 +7091,7 @@ export interface operations { */ readonly description?: string; /** - * @description optional nodes to be connected to this context + * @description optional nodes to be connected to this context, each with an optional technical name unique within the context * @default [] */ readonly nodes?: readonly { @@ -7100,7 +7101,13 @@ export interface operations { readonly type: number; /** Format: int64 */ readonly permissions?: number; + readonly technicalName?: string; }[]; + /** + * @description Technical name of the context, unique among the owner's contexts; application_{id} when omitted + * @default null + */ + readonly technicalName?: string | null; }; }; }; @@ -7280,7 +7287,7 @@ export interface operations { readonly iconName?: string | null; /** @description provide this parameter to set a new description */ readonly description?: string | null; - /** @description provide this parameter to set a new list of nodes. */ + /** @description provide this parameter to set a new list of nodes, optionally renaming them by technical name. */ readonly nodes?: { /** Format: int64 */ readonly id: number; @@ -7290,7 +7297,13 @@ export interface operations { readonly permissions: number; /** Format: int64 */ readonly order: number; + readonly technicalName?: string; } | null; + /** + * @description provide this parameter to set a new technical name + * @default null + */ + readonly technicalName?: string | null; }; }; }; diff --git a/tests/unit/Migration/Version2500Date20261026000000Test.php b/tests/unit/Migration/Version2500Date20261026000000Test.php new file mode 100644 index 0000000000..3a4725a3bb --- /dev/null +++ b/tests/unit/Migration/Version2500Date20261026000000Test.php @@ -0,0 +1,64 @@ +row(1, 10, 5, Application::NODE_TYPE_TABLE), + $this->row(2, 10, 7, Application::NODE_TYPE_VIEW), + ]); + + $this->assertSame([1 => 'table_5', 2 => 'view_7'], $names); + } + + public function testKeepsExistingNamesAndAvoidsThem(): void { + $names = Version2500Date20261026000000::backfillNodeNames([ + $this->row(1, 10, 5, Application::NODE_TYPE_TABLE), + $this->row(2, 10, 6, Application::NODE_TYPE_TABLE, 'table_5'), + ]); + + $this->assertSame([1 => 'table_5_2'], $names); + } + + public function testAddsASuffixWhenTheSameNodeIsInAnApplicationTwice(): void { + $names = Version2500Date20261026000000::backfillNodeNames([ + $this->row(1, 10, 5, Application::NODE_TYPE_TABLE), + $this->row(2, 10, 5, Application::NODE_TYPE_TABLE), + $this->row(3, 11, 5, Application::NODE_TYPE_TABLE), + ]); + + $this->assertSame([1 => 'table_5', 2 => 'table_5_2', 3 => 'table_5'], $names); + } + + public function testTreatsAnEmptyNameAsMissing(): void { + $names = Version2500Date20261026000000::backfillNodeNames([ + $this->row(1, 10, 5, Application::NODE_TYPE_TABLE, ''), + ]); + + $this->assertSame([1 => 'table_5'], $names); + } + + /** + * @return array{id: int, context_id: int, node_id: int, node_type: int, technical_name: ?string} + */ + private function row(int $id, int $contextId, int $nodeId, int $nodeType, ?string $technicalName = null): array { + return [ + 'id' => $id, + 'context_id' => $contextId, + 'node_id' => $nodeId, + 'node_type' => $nodeType, + 'technical_name' => $technicalName, + ]; + } +} diff --git a/tests/unit/Service/ContextServiceTechnicalNameTest.php b/tests/unit/Service/ContextServiceTechnicalNameTest.php new file mode 100644 index 0000000000..6df1bdcc93 --- /dev/null +++ b/tests/unit/Service/ContextServiceTechnicalNameTest.php @@ -0,0 +1,169 @@ +contextMapper = $this->createMock(ContextMapper::class); + $this->contextNodeRelMapper = $this->createMock(ContextNodeRelationMapper::class); + $this->userManager = $this->createMock(IUserManager::class); + + $this->service = new ContextService( + $this->contextMapper, + $this->contextNodeRelMapper, + $this->createMock(PageMapper::class), + $this->createMock(PageContentMapper::class), + $this->createMock(LoggerInterface::class), + $this->createMock(PermissionsService::class), + $this->userManager, + $this->createMock(AuditLogServiceInterface::class), + $this->createMock(IDBConnection::class), + $this->createMock(ShareService::class), + false, + $this->createMock(INavigationManager::class), + $this->createMock(IURLGenerator::class), + $this->createMock(TableMapper::class), + $this->createMock(ViewMapper::class), + ); + } + + public function testDefaultNodeNameDependsOnTheNodeType(): void { + $this->assertSame('table_5', ContextService::defaultNodeTechnicalName(Application::NODE_TYPE_TABLE, 5)); + $this->assertSame('view_5', ContextService::defaultNodeTechnicalName(Application::NODE_TYPE_VIEW, 5)); + } + + public function testUniqueNameTakesTheLowestFreeSuffix(): void { + $this->assertSame('table_5', ContextService::uniqueTechnicalName('table_5', [])); + $this->assertSame('table_5_3', ContextService::uniqueTechnicalName('table_5', ['table_5' => true, 'table_5_2' => true])); + } + + /** + * @dataProvider invalidTechnicalNames + */ + public function testCreateRefusesAnInvalidName(string $technicalName): void { + $this->contextMapper->expects($this->never())->method('insert'); + + $this->expectException(BadRequestError::class); + $this->service->create('CRM', 'icon', '', [], 'alice', Application::OWNER_TYPE_USER, $technicalName); + } + + public static function invalidTechnicalNames(): array { + return [ + 'empty' => [''], + 'starts with a digit' => ['1crm'], + 'upper case' => ['Crm'], + 'dash' => ['my-crm'], + 'too long' => [str_repeat('a', 201)], + ]; + } + + public function testCreateRefusesANameTheOwnerAlreadyUses(): void { + $this->contextMapper->method('findTechnicalNamesForOwner') + ->with(Application::OWNER_TYPE_USER, 'alice') + ->willReturn(['crm' => true]); + $this->contextMapper->expects($this->never())->method('insert'); + + $this->expectException(BadRequestError::class); + $this->service->create('CRM', 'icon', '', [], 'alice', Application::OWNER_TYPE_USER, 'crm'); + } + + public function testUpdateRenamesTheContext(): void { + $context = $this->context(7, 'application_7', 'alice'); + $this->contextMapper->method('findById')->willReturn($context); + $this->contextMapper->method('findTechnicalNamesForOwner')->willReturn(['application_7' => true]); + $this->contextMapper->expects($this->once())->method('update')->willReturnArgument(0); + + $updated = $this->service->update(7, 'alice', null, null, null, null, 'crm'); + + $this->assertSame('crm', $updated->getTechnicalName()); + } + + public function testUpdateRefusesANameTheOwnerAlreadyUses(): void { + $this->contextMapper->method('findById')->willReturn($this->context(7, 'application_7', 'alice')); + $this->contextMapper->method('findTechnicalNamesForOwner')->willReturn(['application_7' => true, 'crm' => true]); + $this->contextMapper->expects($this->never())->method('update'); + + $this->expectException(BadRequestError::class); + $this->service->update(7, 'alice', null, null, null, null, 'crm'); + } + + public function testTransferRefusesAnOwnerWhoUsesTheNameAlready(): void { + $this->contextMapper->method('findById')->willReturn($this->context(7, 'crm', 'alice')); + $this->userManager->method('userExists')->willReturn(true); + $this->contextMapper->method('findTechnicalNamesForOwner') + ->with(Application::OWNER_TYPE_USER, 'bob') + ->willReturn(['crm' => true]); + $this->contextMapper->expects($this->never())->method('update'); + + $this->expectException(BadRequestError::class); + $this->service->transfer(7, 'bob', Application::OWNER_TYPE_USER); + } + + public function testAddNodeGetsTheDefaultNameWithASuffixWhenTaken(): void { + $this->contextNodeRelMapper->method('findTechnicalNamesByContextId')->with(7)->willReturn(['table_5' => true]); + $this->contextNodeRelMapper->expects($this->once())->method('insert')->willReturnArgument(0); + + $relation = $this->service->addNodeToContext($this->context(7, 'crm', 'alice'), 5, Application::NODE_TYPE_TABLE, Application::PERMISSION_READ); + + $this->assertSame('table_5_2', $relation->getTechnicalName()); + } + + public function testAddNodeKeepsAFreeGivenName(): void { + $this->contextNodeRelMapper->method('findTechnicalNamesByContextId')->willReturn(['table_5' => true]); + $this->contextNodeRelMapper->expects($this->once())->method('insert')->willReturnArgument(0); + + $relation = $this->service->addNodeToContext($this->context(7, 'crm', 'alice'), 6, Application::NODE_TYPE_TABLE, Application::PERMISSION_READ, 'customers'); + + $this->assertSame('customers', $relation->getTechnicalName()); + } + + public function testAddNodeRefusesAGivenNameThatIsTaken(): void { + $this->contextNodeRelMapper->method('findTechnicalNamesByContextId')->willReturn(['customers' => true]); + $this->contextNodeRelMapper->expects($this->never())->method('insert'); + + $this->expectException(BadRequestError::class); + $this->service->addNodeToContext($this->context(7, 'crm', 'alice'), 6, Application::NODE_TYPE_TABLE, Application::PERMISSION_READ, 'customers'); + } + + private function context(int $id, string $technicalName, string $ownerId): Context { + $context = new Context(); + $context->setId($id); + $context->setTechnicalName($technicalName); + $context->setOwnerId($ownerId); + $context->setOwnerType(Application::OWNER_TYPE_USER); + $context->resetUpdatedFields(); + return $context; + } +} diff --git a/tests/unit/Service/ContextServiceTest.php b/tests/unit/Service/ContextServiceTest.php index 67b94c8cca..ceab767073 100644 --- a/tests/unit/Service/ContextServiceTest.php +++ b/tests/unit/Service/ContextServiceTest.php @@ -77,6 +77,7 @@ protected function setUp(): void { public function testTransferLogsPreviousAndNewOwner(): void { $context = new Context(); $context->setId(7); + $context->setTechnicalName('crm'); $context->setOwnerId('alice'); $context->setOwnerType(Application::OWNER_TYPE_USER); $this->contextMapper->method('findById')->with(7)->willReturn($context); From b1700066c04528e02854bbd8f098731387823e22 Mon Sep 17 00:00:00 2001 From: Robert Zondervan Date: Wed, 11 Nov 2026 16:28:38 +0100 Subject: [PATCH 03/62] feat(rows): address rows on api/2 by application and table technical name Add /api/2/contexts/{application}/{node} routes to list, get, create, update and delete the rows of a table or view in an application, by their technical names. The names are resolved to the node within the application; an ambiguous application name is refused instead of picking one. The routes share their implementation with the id routes, so they behave the same, permissions included. A row of a view is only found when the view's filter keeps it. A row is addressed by its integer id or its uuid, like on the api/2 row routes by table or view id. A uuid is looked up within the table or view the technical names resolve to. The page content route only accepts a numeric application id, so it does not clash with the new routes. Refs #3094 Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Robert Zondervan --- appinfo/routes.php | 2 +- lib/Controller/RowOCSController.php | 319 +++- lib/Db/ContextMapper.php | 24 + lib/Db/ContextNodeRelationMapper.php | 14 + lib/Service/ContextService.php | 24 + openapi.json | 1404 +++++++++++++++++ src/types/openapi/openapi.ts | 636 ++++++++ .../unit/Controller/RowOCSControllerTest.php | 57 + .../ContextServiceTechnicalNameTest.php | 36 + 9 files changed, 2447 insertions(+), 69 deletions(-) diff --git a/appinfo/routes.php b/appinfo/routes.php index ad9b79e77e..b4c921b79a 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -159,7 +159,7 @@ ['name' => 'Context#previewSchemeChanges', 'url' => '/api/2/contexts/{contextId}/scheme/preview-changes', 'verb' => 'POST'], ['name' => 'Context#importScheme', 'url' => '/api/2/contexts/{contextId}/scheme/import', 'verb' => 'POST'], ['name' => 'Context#transfer', 'url' => '/api/2/contexts/{contextId}/transfer', 'verb' => 'PUT'], - ['name' => 'Context#updateContentOrder', 'url' => '/api/2/contexts/{contextId}/pages/{pageId}', 'verb' => 'PUT'], + ['name' => 'Context#updateContentOrder', 'url' => '/api/2/contexts/{contextId}/pages/{pageId}', 'verb' => 'PUT', 'requirements' => ['contextId' => '(\d+)']], ['name' => 'Config#getTableConfig', 'url' => '/api/2/config/table/{id}', 'verb' => 'GET'], ['name' => 'Config#getViewConfig', 'url' => '/api/2/config/view/{id}', 'verb' => 'GET'], diff --git a/lib/Controller/RowOCSController.php b/lib/Controller/RowOCSController.php index 3896d8ac3f..7440382650 100644 --- a/lib/Controller/RowOCSController.php +++ b/lib/Controller/RowOCSController.php @@ -16,6 +16,7 @@ use OCA\Tables\Middleware\Attribute\RequirePermission; use OCA\Tables\Model\RowDataInput; use OCA\Tables\ResponseDefinitions; +use OCA\Tables\Service\ContextService; use OCA\Tables\Service\FederationService; use OCA\Tables\Service\RowService; use OCA\Tables\Service\TableService; @@ -32,6 +33,7 @@ * @psalm-import-type TablesRow from ResponseDefinitions */ class RowOCSController extends AOCSController { + private const TECHNICAL_NAME_PATTERN = '[a-z][a-z0-9_]*'; public function __construct( IRequest $request, @@ -42,6 +44,7 @@ public function __construct( private readonly TableService $tableService, private readonly ViewService $viewService, private readonly FederationService $federationService, + private readonly ContextService $contextService, ) { parent::__construct($request, $logger, $n, $userId); } @@ -64,45 +67,7 @@ public function __construct( #[RequirePermission(permission: Application::PERMISSION_CREATE, typeParam: 'nodeCollection')] #[ApiRoute(verb: 'POST', url: '/api/2/{nodeCollection}/{nodeId}/rows', requirements: ['nodeCollection' => '(tables|views)', 'nodeId' => '(\d+)'])] public function createRow(string $nodeCollection, int $nodeId, mixed $data): DataResponse { - if (is_string($data)) { - $data = json_decode($data, true); - } - if (!is_array($data)) { - return $this->handleBadRequestError(new BadRequestError('Cannot create row: data input is invalid.')); - } - - $iNodeType = ConversionHelper::stringNodeType2Const($nodeCollection); - $tableId = $viewId = null; - if ($iNodeType === Application::NODE_TYPE_TABLE) { - $tableId = $nodeId; - } elseif ($iNodeType === Application::NODE_TYPE_VIEW) { - $viewId = $nodeId; - } - - $newRowData = new RowDataInput(); - foreach ($data as $key => $value) { - $newRowData->add((int)$key, $value); - } - - try { - if ($tableId !== null && $this->federationService->isNodeFederated($tableId, 'table')) { - $table = $this->tableService->find($nodeId, true); - return new DataResponse($this->federationService->createRow($table, $data)); - } - if ($viewId !== null && $this->federationService->isNodeFederated($viewId, 'view')) { - $view = $this->viewService->find($nodeId, false, $this->userId); - return new DataResponse($this->federationService->createRow($view, $data)); - } - return new DataResponse($this->rowService->create($tableId, $viewId, $newRowData)->jsonSerialize()); - } catch (BadRequestError $e) { - return $this->handleBadRequestError($e); - } catch (NotFoundError $e) { - return $this->handleNotFoundError($e); - } catch (PermissionError $e) { - return $this->handlePermissionError($e); - } catch (InternalError|\Exception $e) { - return $this->handleError($e); - } + return $this->createRowInNode(ConversionHelper::stringNodeType2Const($nodeCollection), $nodeId, $data); } /** @@ -123,7 +88,7 @@ public function createRow(string $nodeCollection, int $nodeId, mixed $data): Dat #[RequirePermission(permission: Application::PERMISSION_READ, typeParam: 'nodeCollection')] #[ApiRoute(verb: 'GET', url: '/api/2/{nodeCollection}/{nodeId}/rows/{rowId}', requirements: ['nodeCollection' => '(tables|views)', 'nodeId' => '(\d+)'])] public function getRow(string $nodeCollection, int $nodeId, string $rowId): DataResponse { - [$tableId, $viewId] = $this->splitNode($nodeCollection, $nodeId); + [$tableId, $viewId] = $this->splitNodeId(ConversionHelper::stringNodeType2Const($nodeCollection), $nodeId); try { if ($this->isFederated($tableId, $viewId)) { throw new BadRequestError('Getting a single row is not supported for federated tables and views.'); @@ -160,13 +125,248 @@ public function getRow(string $nodeCollection, int $nodeId, string $rowId): Data #[RequirePermission(permission: Application::PERMISSION_UPDATE, typeParam: 'nodeCollection')] #[ApiRoute(verb: 'PUT', url: '/api/2/{nodeCollection}/{nodeId}/rows/{rowId}', requirements: ['nodeCollection' => '(tables|views)', 'nodeId' => '(\d+)'])] public function updateRow(string $nodeCollection, int $nodeId, string $rowId, mixed $data): DataResponse { + return $this->updateRowInNode(ConversionHelper::stringNodeType2Const($nodeCollection), $nodeId, $rowId, $data); + } + + /** + * [api v2] Delete a row in a table or a view + * + * @param 'tables'|'views' $nodeCollection Indicates whether to delete a row on a table or view + * @param int $nodeId The identifier of the targeted table or view + * @param string $rowId The identifier of the row to delete, either its integer id or its uuid + * @return DataResponse|DataResponse + * + * 200: Row deleted + * 400: Invalid row identifier + * 403: No permissions + * 404: Not found + * 500: Internal error + */ + #[NoAdminRequired] + #[RequirePermission(permission: Application::PERMISSION_DELETE, typeParam: 'nodeCollection')] + #[ApiRoute(verb: 'DELETE', url: '/api/2/{nodeCollection}/{nodeId}/rows/{rowId}', requirements: ['nodeCollection' => '(tables|views)', 'nodeId' => '(\d+)'])] + public function deleteRow(string $nodeCollection, int $nodeId, string $rowId): DataResponse { + return $this->deleteRowInNode(ConversionHelper::stringNodeType2Const($nodeCollection), $nodeId, $rowId); + } + + /** + * [api v2] List the rows of a table or view of a context, both addressed by technical name + * + * The user needs read access to the table or view, directly or through a context. + * + * @param string $contextName The technical name of the context + * @param string $nodeName The technical name of the table or view within the context + * @param int|null $limit Limit the number of returned rows + * @param int|null $offset Skip this number of rows + * @return DataResponse, array{}>|DataResponse + * + * 200: Rows returned + * 400: The technical name matches more than one context + * 403: No permissions + * 404: Not found + * 500: Internal error + */ + #[NoAdminRequired] + #[ApiRoute(verb: 'GET', url: '/api/2/contexts/{contextName}/{nodeName}', requirements: ['contextName' => self::TECHNICAL_NAME_PATTERN, 'nodeName' => self::TECHNICAL_NAME_PATTERN])] + public function indexContextRows(string $contextName, string $nodeName, ?int $limit = null, ?int $offset = null): DataResponse { + try { + $nodeRelation = $this->contextService->resolveNode($contextName, $nodeName, $this->userId); + $rows = $nodeRelation->getNodeType() === Application::NODE_TYPE_VIEW + ? $this->rowService->findAllByView($nodeRelation->getNodeId(), $this->userId, $limit, $offset) + : $this->rowService->findAllByTable($nodeRelation->getNodeId(), $this->userId, $limit, $offset); + return new DataResponse($this->rowService->formatRows($rows)); + } catch (BadRequestError $e) { + return $this->handleBadRequestError($e); + } catch (NotFoundError $e) { + return $this->handleNotFoundError($e); + } catch (PermissionError $e) { + return $this->handlePermissionError($e); + } catch (InternalError|\Exception $e) { + return $this->handleError($e); + } + } + + /** + * [api v2] Get a row of a table or view of a context, both addressed by technical name + * + * The user needs read access to the table or view, directly or through a context. + * + * @param string $contextName The technical name of the context + * @param string $nodeName The technical name of the table or view within the context + * @param string $rowId The identifier of the row, either its integer id or its uuid + * @return DataResponse|DataResponse + * + * 200: Row returned + * 400: Invalid row identifier, or the technical name matches more than one context + * 403: No permissions + * 404: Not found + * 500: Internal error + */ + #[NoAdminRequired] + #[ApiRoute(verb: 'GET', url: '/api/2/contexts/{contextName}/{nodeName}/{rowId}', requirements: ['contextName' => self::TECHNICAL_NAME_PATTERN, 'nodeName' => self::TECHNICAL_NAME_PATTERN])] + public function showContextRow(string $contextName, string $nodeName, string $rowId): DataResponse { + try { + $nodeRelation = $this->contextService->resolveNode($contextName, $nodeName, $this->userId); + [$tableId, $viewId] = $this->splitNodeId($nodeRelation->getNodeType(), $nodeRelation->getNodeId()); + $resolvedRowId = $this->rowService->resolveRowId($rowId, $tableId, $viewId); + return new DataResponse($this->rowService->findInNode($resolvedRowId, $tableId, $viewId, $this->userId)->jsonSerialize()); + } catch (BadRequestError $e) { + return $this->handleBadRequestError($e); + } catch (NotFoundError $e) { + return $this->handleNotFoundError($e); + } catch (PermissionError $e) { + return $this->handlePermissionError($e); + } catch (InternalError|\Exception $e) { + return $this->handleError($e); + } + } + + /** + * [api v2] Create a row in a table or view of a context, both addressed by technical name + * + * The user needs create access to the table or view, directly or through a context. + * + * @param string $contextName The technical name of the context + * @param string $nodeName The technical name of the table or view within the context + * @param string|array $data An array containing the column identifiers and their values + * @return DataResponse|DataResponse + * + * 200: Row returned + * 400: Invalid request parameters, or the technical name matches more than one context + * 403: No permissions + * 404: Not found + * 500: Internal error + */ + #[NoAdminRequired] + #[ApiRoute(verb: 'POST', url: '/api/2/contexts/{contextName}/{nodeName}', requirements: ['contextName' => self::TECHNICAL_NAME_PATTERN, 'nodeName' => self::TECHNICAL_NAME_PATTERN])] + public function createContextRow(string $contextName, string $nodeName, mixed $data): DataResponse { + try { + $nodeRelation = $this->contextService->resolveNode($contextName, $nodeName, $this->userId); + } catch (BadRequestError $e) { + return $this->handleBadRequestError($e); + } catch (NotFoundError $e) { + return $this->handleNotFoundError($e); + } catch (\Exception $e) { + return $this->handleError($e); + } + return $this->createRowInNode($nodeRelation->getNodeType(), $nodeRelation->getNodeId(), $data); + } + + /** + * [api v2] Update a row in a table or view of a context, both addressed by technical name + * + * The user needs update access to the table or view, directly or through a context. + * + * @param string $contextName The technical name of the context + * @param string $nodeName The technical name of the table or view within the context + * @param string $rowId The identifier of the row to update, either its integer id or its uuid + * @param string|array $data An array containing the column identifiers and their values + * @return DataResponse|DataResponse + * + * 200: Row updated + * 400: Invalid request parameters or row identifier, or the technical name matches more than one context + * 403: No permissions + * 404: Not found + * 500: Internal error + */ + #[NoAdminRequired] + #[ApiRoute(verb: 'PUT', url: '/api/2/contexts/{contextName}/{nodeName}/{rowId}', requirements: ['contextName' => self::TECHNICAL_NAME_PATTERN, 'nodeName' => self::TECHNICAL_NAME_PATTERN])] + public function updateContextRow(string $contextName, string $nodeName, string $rowId, mixed $data): DataResponse { + try { + $nodeRelation = $this->contextService->resolveNode($contextName, $nodeName, $this->userId); + } catch (BadRequestError $e) { + return $this->handleBadRequestError($e); + } catch (NotFoundError $e) { + return $this->handleNotFoundError($e); + } catch (\Exception $e) { + return $this->handleError($e); + } + return $this->updateRowInNode($nodeRelation->getNodeType(), $nodeRelation->getNodeId(), $rowId, $data); + } + + /** + * [api v2] Delete a row in a table or view of a context, both addressed by technical name + * + * The user needs delete access to the table or view, directly or through a context. + * + * @param string $contextName The technical name of the context + * @param string $nodeName The technical name of the table or view within the context + * @param string $rowId The identifier of the row to delete, either its integer id or its uuid + * @return DataResponse|DataResponse + * + * 200: Row deleted + * 400: Invalid row identifier, or the technical name matches more than one context + * 403: No permissions + * 404: Not found + * 500: Internal error + */ + #[NoAdminRequired] + #[ApiRoute(verb: 'DELETE', url: '/api/2/contexts/{contextName}/{nodeName}/{rowId}', requirements: ['contextName' => self::TECHNICAL_NAME_PATTERN, 'nodeName' => self::TECHNICAL_NAME_PATTERN])] + public function deleteContextRow(string $contextName, string $nodeName, string $rowId): DataResponse { + try { + $nodeRelation = $this->contextService->resolveNode($contextName, $nodeName, $this->userId); + } catch (BadRequestError $e) { + return $this->handleBadRequestError($e); + } catch (NotFoundError $e) { + return $this->handleNotFoundError($e); + } catch (\Exception $e) { + return $this->handleError($e); + } + return $this->deleteRowInNode($nodeRelation->getNodeType(), $nodeRelation->getNodeId(), $rowId); + } + + /** + * @return DataResponse|DataResponse + */ + private function createRowInNode(int $nodeType, int $nodeId, mixed $data): DataResponse { + if (is_string($data)) { + $data = json_decode($data, true); + } + if (!is_array($data)) { + return $this->handleBadRequestError(new BadRequestError('Cannot create row: data input is invalid.')); + } + + [$tableId, $viewId] = $this->splitNodeId($nodeType, $nodeId); + + $newRowData = new RowDataInput(); + foreach ($data as $key => $value) { + $newRowData->add((int)$key, $value); + } + + try { + if ($tableId !== null && $this->federationService->isNodeFederated($tableId, 'table')) { + $table = $this->tableService->find($nodeId, true); + return new DataResponse($this->federationService->createRow($table, $data)); + } + if ($viewId !== null && $this->federationService->isNodeFederated($viewId, 'view')) { + $view = $this->viewService->find($nodeId, false, $this->userId); + return new DataResponse($this->federationService->createRow($view, $data)); + } + return new DataResponse($this->rowService->create($tableId, $viewId, $newRowData)->jsonSerialize()); + } catch (BadRequestError $e) { + return $this->handleBadRequestError($e); + } catch (NotFoundError $e) { + return $this->handleNotFoundError($e); + } catch (PermissionError $e) { + return $this->handlePermissionError($e); + } catch (InternalError|\Exception $e) { + return $this->handleError($e); + } + } + + /** + * @return DataResponse|DataResponse + */ + private function updateRowInNode(int $nodeType, int $nodeId, string $rowId, mixed $data): DataResponse { if (is_string($data)) { $data = json_decode($data, true); } if (!is_array($data)) { return $this->handleBadRequestError(new BadRequestError('Cannot update row: data input is invalid.')); } - [$tableId, $viewId] = $this->splitNode($nodeCollection, $nodeId); + + [$tableId, $viewId] = $this->splitNodeId($nodeType, $nodeId); + try { if ($tableId !== null && $this->federationService->isNodeFederated($tableId, 'table')) { $table = $this->tableService->find($nodeId, true); @@ -190,24 +390,11 @@ public function updateRow(string $nodeCollection, int $nodeId, string $rowId, mi } /** - * [api v2] Delete a row in a table or a view - * - * @param 'tables'|'views' $nodeCollection Indicates whether to delete a row on a table or view - * @param int $nodeId The identifier of the targeted table or view - * @param string $rowId The identifier of the row to delete, either its integer id or its uuid * @return DataResponse|DataResponse - * - * 200: Row deleted - * 400: Invalid row identifier - * 403: No permissions - * 404: Not found - * 500: Internal error */ - #[NoAdminRequired] - #[RequirePermission(permission: Application::PERMISSION_DELETE, typeParam: 'nodeCollection')] - #[ApiRoute(verb: 'DELETE', url: '/api/2/{nodeCollection}/{nodeId}/rows/{rowId}', requirements: ['nodeCollection' => '(tables|views)', 'nodeId' => '(\d+)'])] - public function deleteRow(string $nodeCollection, int $nodeId, string $rowId): DataResponse { - [$tableId, $viewId] = $this->splitNode($nodeCollection, $nodeId); + private function deleteRowInNode(int $nodeType, int $nodeId, string $rowId): DataResponse { + [$tableId, $viewId] = $this->splitNodeId($nodeType, $nodeId); + try { if ($tableId !== null && $this->federationService->isNodeFederated($tableId, 'table')) { $table = $this->tableService->find($nodeId, true); @@ -231,18 +418,14 @@ public function deleteRow(string $nodeCollection, int $nodeId, string $rowId): D } /** - * @param 'tables'|'views' $nodeCollection - * @return array{0: ?int, 1: ?int} the table id and the view id, one of them is null + * @return array{0: ?int, 1: ?int} the table id and the view id, one of them null */ - private function splitNode(string $nodeCollection, int $nodeId): array { - $iNodeType = ConversionHelper::stringNodeType2Const($nodeCollection); - if ($iNodeType === Application::NODE_TYPE_TABLE) { - return [$nodeId, null]; - } - if ($iNodeType === Application::NODE_TYPE_VIEW) { - return [null, $nodeId]; - } - return [null, null]; + private function splitNodeId(int $nodeType, int $nodeId): array { + return match ($nodeType) { + Application::NODE_TYPE_TABLE => [$nodeId, null], + Application::NODE_TYPE_VIEW => [null, $nodeId], + default => [null, null], + }; } private function isFederated(?int $tableId, ?int $viewId): bool { diff --git a/lib/Db/ContextMapper.php b/lib/Db/ContextMapper.php index 3331fe024d..3adef18f38 100644 --- a/lib/Db/ContextMapper.php +++ b/lib/Db/ContextMapper.php @@ -279,6 +279,30 @@ public function findAllContainingNode(int $nodeType, int $nodeId, string $userId return $resultEntities; } + /** + * The applications the user can access that carry the given technical name. + * Names are unique per owner, so more than one means applications of + * different owners. + * + * @return Context[] + * @throws Exception + */ + public function findAllByTechnicalName(string $technicalName, string $userId): array { + $qb = $this->getFindContextBaseQuery($userId); + $qb->andWhere($qb->expr()->eq('c.technical_name', $qb->createNamedParameter($technicalName))); + + $result = $qb->executeQuery(); + $rows = $result->fetchAllAssociative(); + $result->closeCursor(); + + $rowsByContext = []; + foreach ($rows as $row) { + $rowsByContext[(int)$row['id']][] = $row; + } + + return array_values(array_map(fn (array $contextRows) => $this->formatResultRows($contextRows, $userId), $rowsByContext)); + } + /** * @return array the technical names of the owner's applications * @throws Exception diff --git a/lib/Db/ContextNodeRelationMapper.php b/lib/Db/ContextNodeRelationMapper.php index 731d6b309c..55fdd106b6 100644 --- a/lib/Db/ContextNodeRelationMapper.php +++ b/lib/Db/ContextNodeRelationMapper.php @@ -86,4 +86,18 @@ public function findTechnicalNamesByContextId(int $contextId): array { return $names; } + /** + * @throws MultipleObjectsReturnedException + * @throws DoesNotExistException + * @throws Exception + */ + public function findByContextAndTechnicalName(int $contextId, string $technicalName): ContextNodeRelation { + $qb = $this->db->getQueryBuilder(); + $qb->select('*') + ->from($this->tableName) + ->where($qb->expr()->eq('context_id', $qb->createNamedParameter($contextId, IQueryBuilder::PARAM_INT))) + ->andWhere($qb->expr()->eq('technical_name', $qb->createNamedParameter($technicalName))); + + return $this->findEntity($qb); + } } diff --git a/lib/Service/ContextService.php b/lib/Service/ContextService.php index e69b69c570..05b9951264 100644 --- a/lib/Service/ContextService.php +++ b/lib/Service/ContextService.php @@ -524,6 +524,30 @@ public function addNodeToContext(Context $context, int $nodeId, int $nodeType, i } } + /** + * Finds the table or view that an application, both given by technical name, + * calls by the given technical name. + * + * @throws BadRequestError when more than one application the user can access has the name + * @throws NotFoundError + * @throws Exception + */ + public function resolveNode(string $contextTechnicalName, string $nodeTechnicalName, string $userId): ContextNodeRelation { + $contexts = $this->contextMapper->findAllByTechnicalName($contextTechnicalName, $userId); + if ($contexts === []) { + throw new NotFoundError('No application with the technical name ' . $contextTechnicalName . ' found.'); + } + if (count($contexts) > 1) { + throw new BadRequestError('The technical name ' . $contextTechnicalName . ' matches more than one application you can access.'); + } + + try { + return $this->contextNodeRelMapper->findByContextAndTechnicalName($contexts[0]->getId(), $nodeTechnicalName); + } catch (DoesNotExistException|MultipleObjectsReturnedException $e) { + throw new NotFoundError('The application ' . $contextTechnicalName . ' has no table or view with the technical name ' . $nodeTechnicalName . '.', 0, $e); + } + } + public function addNodeRelToPage(ContextNodeRelation $nodeRel, ?int $order = null, ?int $pageId = null): PageContent { if ($pageId === null) { // when no page is given, find the startpage to add it to diff --git a/openapi.json b/openapi.json index 2a74a18871..a966313a92 100644 --- a/openapi.json +++ b/openapi.json @@ -17356,6 +17356,1410 @@ } } }, + "/ocs/v2.php/apps/tables/api/2/contexts/{contextName}/{nodeName}": { + "get": { + "operationId": "rowocs-index-context-rows", + "summary": "[api v2] List the rows of a table or view of a context, both addressed by technical name", + "description": "The user needs read access to the table or view, directly or through a context.", + "tags": [ + "rowocs" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "contextName", + "in": "path", + "description": "The technical name of the context", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "nodeName", + "in": "path", + "description": "The technical name of the table or view within the context", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the number of returned rows", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true, + "default": null + } + }, + { + "name": "offset", + "in": "query", + "description": "Skip this number of rows", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true, + "default": null + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Rows returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Row" + } + } + } + } + } + } + } + } + }, + "403": { + "description": "No permissions", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "The technical name matches more than one context", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "Internal error", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "post": { + "operationId": "rowocs-create-context-row", + "summary": "[api v2] Create a row in a table or view of a context, both addressed by technical name", + "description": "The user needs create access to the table or view, directly or through a context.", + "tags": [ + "rowocs" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "data" + ], + "properties": { + "data": { + "description": "An array containing the column identifiers and their values", + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + ] + } + } + } + } + } + }, + "parameters": [ + { + "name": "contextName", + "in": "path", + "description": "The technical name of the context", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "nodeName", + "in": "path", + "description": "The technical name of the table or view within the context", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Row returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Row" + } + } + } + } + } + } + } + }, + "403": { + "description": "No permissions", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Invalid request parameters, or the technical name matches more than one context", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "Internal error", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/tables/api/2/contexts/{contextName}/{nodeName}/{rowId}": { + "get": { + "operationId": "rowocs-show-context-row", + "summary": "[api v2] Get a row of a table or view of a context, both addressed by technical name", + "description": "The user needs read access to the table or view, directly or through a context.", + "tags": [ + "rowocs" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "contextName", + "in": "path", + "description": "The technical name of the context", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "nodeName", + "in": "path", + "description": "The technical name of the table or view within the context", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "rowId", + "in": "path", + "description": "The identifier of the row, either its integer id or its uuid", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Row returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Row" + } + } + } + } + } + } + } + }, + "403": { + "description": "No permissions", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Invalid row identifier, or the technical name matches more than one context", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "Internal error", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "put": { + "operationId": "rowocs-update-context-row", + "summary": "[api v2] Update a row in a table or view of a context, both addressed by technical name", + "description": "The user needs update access to the table or view, directly or through a context.", + "tags": [ + "rowocs" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "data" + ], + "properties": { + "data": { + "description": "An array containing the column identifiers and their values", + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + ] + } + } + } + } + } + }, + "parameters": [ + { + "name": "contextName", + "in": "path", + "description": "The technical name of the context", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "nodeName", + "in": "path", + "description": "The technical name of the table or view within the context", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "rowId", + "in": "path", + "description": "The identifier of the row to update, either its integer id or its uuid", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Row updated", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Row" + } + } + } + } + } + } + } + }, + "403": { + "description": "No permissions", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Invalid request parameters or row identifier, or the technical name matches more than one context", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "Internal error", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "rowocs-delete-context-row", + "summary": "[api v2] Delete a row in a table or view of a context, both addressed by technical name", + "description": "The user needs delete access to the table or view, directly or through a context.", + "tags": [ + "rowocs" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "contextName", + "in": "path", + "description": "The technical name of the context", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "nodeName", + "in": "path", + "description": "The technical name of the table or view within the context", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "rowId", + "in": "path", + "description": "The identifier of the row to delete, either its integer id or its uuid", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Row deleted", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Row" + } + } + } + } + } + } + } + }, + "403": { + "description": "No permissions", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Invalid row identifier, or the technical name matches more than one context", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "Internal error", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "401": { + "description": "Current user is not logged in", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, "/ocs/v2.php/apps/tables/api/2/{nodeCollection}/{nodeId}/share": { "post": { "operationId": "shareocs-create-link-share", diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index 1a9e178a3f..c22a09f051 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -1093,6 +1093,58 @@ export type paths = { readonly patch?: never; readonly trace?: never; }; + readonly "/ocs/v2.php/apps/tables/api/2/contexts/{contextName}/{nodeName}": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * [api v2] List the rows of a table or view of a context, both addressed by technical name + * @description The user needs read access to the table or view, directly or through a context. + */ + readonly get: operations["rowocs-index-context-rows"]; + readonly put?: never; + /** + * [api v2] Create a row in a table or view of a context, both addressed by technical name + * @description The user needs create access to the table or view, directly or through a context. + */ + readonly post: operations["rowocs-create-context-row"]; + readonly delete?: never; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; + readonly "/ocs/v2.php/apps/tables/api/2/contexts/{contextName}/{nodeName}/{rowId}": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * [api v2] Get a row of a table or view of a context, both addressed by technical name + * @description The user needs read access to the table or view, directly or through a context. + */ + readonly get: operations["rowocs-show-context-row"]; + /** + * [api v2] Update a row in a table or view of a context, both addressed by technical name + * @description The user needs update access to the table or view, directly or through a context. + */ + readonly put: operations["rowocs-update-context-row"]; + readonly post?: never; + /** + * [api v2] Delete a row in a table or view of a context, both addressed by technical name + * @description The user needs delete access to the table or view, directly or through a context. + */ + readonly delete: operations["rowocs-delete-context-row"]; + readonly options?: never; + readonly head?: never; + readonly patch?: never; + readonly trace?: never; + }; readonly "/ocs/v2.php/apps/tables/api/2/{nodeCollection}/{nodeId}/share": { readonly parameters: { readonly query?: never; @@ -9228,6 +9280,590 @@ export interface operations { }; }; }; + readonly "rowocs-index-context-rows": { + readonly parameters: { + readonly query?: { + /** @description Limit the number of returned rows */ + readonly limit?: number | null; + /** @description Skip this number of rows */ + readonly offset?: number | null; + }; + readonly header: { + /** @description Required to be true for the API request to pass */ + readonly "OCS-APIRequest": boolean; + }; + readonly path: { + /** @description The technical name of the context */ + readonly contextName: string; + /** @description The technical name of the table or view within the context */ + readonly nodeName: string; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Rows returned */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: readonly components["schemas"]["Row"][]; + }; + }; + }; + }; + /** @description The technical name matches more than one context */ + readonly 400: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Current user is not logged in */ + readonly 401: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: unknown; + }; + }; + }; + }; + /** @description No permissions */ + readonly 403: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Not found */ + readonly 404: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Internal error */ + readonly 500: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + }; + }; + readonly "rowocs-create-context-row": { + readonly parameters: { + readonly query?: never; + readonly header: { + /** @description Required to be true for the API request to pass */ + readonly "OCS-APIRequest": boolean; + }; + readonly path: { + /** @description The technical name of the context */ + readonly contextName: string; + /** @description The technical name of the table or view within the context */ + readonly nodeName: string; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** @description An array containing the column identifiers and their values */ + readonly data: string | { + readonly [key: string]: Record; + }; + }; + }; + }; + readonly responses: { + /** @description Row returned */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: components["schemas"]["Row"]; + }; + }; + }; + }; + /** @description Invalid request parameters, or the technical name matches more than one context */ + readonly 400: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Current user is not logged in */ + readonly 401: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: unknown; + }; + }; + }; + }; + /** @description No permissions */ + readonly 403: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Not found */ + readonly 404: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Internal error */ + readonly 500: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + }; + }; + readonly "rowocs-show-context-row": { + readonly parameters: { + readonly query?: never; + readonly header: { + /** @description Required to be true for the API request to pass */ + readonly "OCS-APIRequest": boolean; + }; + readonly path: { + /** @description The technical name of the context */ + readonly contextName: string; + /** @description The technical name of the table or view within the context */ + readonly nodeName: string; + /** @description The identifier of the row, either its integer id or its uuid */ + readonly rowId: string; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Row returned */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: components["schemas"]["Row"]; + }; + }; + }; + }; + /** @description Invalid row identifier, or the technical name matches more than one context */ + readonly 400: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Current user is not logged in */ + readonly 401: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: unknown; + }; + }; + }; + }; + /** @description No permissions */ + readonly 403: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Not found */ + readonly 404: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Internal error */ + readonly 500: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + }; + }; + readonly "rowocs-update-context-row": { + readonly parameters: { + readonly query?: never; + readonly header: { + /** @description Required to be true for the API request to pass */ + readonly "OCS-APIRequest": boolean; + }; + readonly path: { + /** @description The technical name of the context */ + readonly contextName: string; + /** @description The technical name of the table or view within the context */ + readonly nodeName: string; + /** @description The identifier of the row to update, either its integer id or its uuid */ + readonly rowId: string; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** @description An array containing the column identifiers and their values */ + readonly data: string | { + readonly [key: string]: Record; + }; + }; + }; + }; + readonly responses: { + /** @description Row updated */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: components["schemas"]["Row"]; + }; + }; + }; + }; + /** @description Invalid request parameters or row identifier, or the technical name matches more than one context */ + readonly 400: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Current user is not logged in */ + readonly 401: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: unknown; + }; + }; + }; + }; + /** @description No permissions */ + readonly 403: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Not found */ + readonly 404: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Internal error */ + readonly 500: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + }; + }; + readonly "rowocs-delete-context-row": { + readonly parameters: { + readonly query?: never; + readonly header: { + /** @description Required to be true for the API request to pass */ + readonly "OCS-APIRequest": boolean; + }; + readonly path: { + /** @description The technical name of the context */ + readonly contextName: string; + /** @description The technical name of the table or view within the context */ + readonly nodeName: string; + /** @description The identifier of the row to delete, either its integer id or its uuid */ + readonly rowId: string; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Row deleted */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: components["schemas"]["Row"]; + }; + }; + }; + }; + /** @description Invalid row identifier, or the technical name matches more than one context */ + readonly 400: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Current user is not logged in */ + readonly 401: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: unknown; + }; + }; + }; + }; + /** @description No permissions */ + readonly 403: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Not found */ + readonly 404: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + /** @description Internal error */ + readonly 500: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly ocs: { + readonly meta: components["schemas"]["OCSMeta"]; + readonly data: { + readonly message: string; + }; + }; + }; + }; + }; + }; + }; readonly "shareocs-create-link-share": { readonly parameters: { readonly query?: never; diff --git a/tests/unit/Controller/RowOCSControllerTest.php b/tests/unit/Controller/RowOCSControllerTest.php index a0cba35531..1a1900ba14 100644 --- a/tests/unit/Controller/RowOCSControllerTest.php +++ b/tests/unit/Controller/RowOCSControllerTest.php @@ -9,11 +9,14 @@ namespace OCA\Tables\Tests\Unit\Controller; +use OCA\Tables\AppInfo\Application; use OCA\Tables\Controller\RowOCSController; +use OCA\Tables\Db\ContextNodeRelation; use OCA\Tables\Db\Row2; use OCA\Tables\Db\Table; use OCA\Tables\Errors\BadRequestError; use OCA\Tables\Errors\NotFoundError; +use OCA\Tables\Service\ContextService; use OCA\Tables\Service\FederationService; use OCA\Tables\Service\RowService; use OCA\Tables\Service\TableService; @@ -31,12 +34,14 @@ class RowOCSControllerTest extends TestCase { private RowService&MockObject $rowService; private TableService&MockObject $tableService; private FederationService&MockObject $federationService; + private ContextService&MockObject $contextService; private RowOCSController $controller; protected function setUp(): void { $this->rowService = $this->createMock(RowService::class); $this->tableService = $this->createMock(TableService::class); $this->federationService = $this->createMock(FederationService::class); + $this->contextService = $this->createMock(ContextService::class); $l10n = $this->createMock(IL10N::class); $l10n->method('t')->willReturnArgument(0); $this->controller = new RowOCSController( @@ -48,6 +53,7 @@ protected function setUp(): void { $this->tableService, $this->createMock(ViewService::class), $this->federationService, + $this->contextService, ); } @@ -59,6 +65,13 @@ private function row(int $rowId): Row2 { return $row; } + private function contextNode(int $nodeType, int $nodeId): void { + $nodeRelation = new ContextNodeRelation(); + $nodeRelation->setNodeType($nodeType); + $nodeRelation->setNodeId($nodeId); + $this->contextService->method('resolveNode')->with('crm', 'clients', 'user1')->willReturn($nodeRelation); + } + public function testGetRowResolvesTheIdentifierWithinTheTable(): void { $this->rowService->expects($this->once()) ->method('resolveRowId') @@ -154,4 +167,48 @@ public function testDeleteRowRejectsAUuidOnAFederatedTable(): void { $this->assertSame(Http::STATUS_BAD_REQUEST, $this->controller->deleteRow('tables', 3, self::UUID)->getStatus()); } + + public function testShowContextRowResolvesTheIdentifierWithinTheView(): void { + $this->contextNode(Application::NODE_TYPE_VIEW, 5); + $this->rowService->expects($this->once()) + ->method('resolveRowId') + ->with(self::UUID, null, 5) + ->willReturn(7); + $this->rowService->expects($this->once()) + ->method('findInNode') + ->with(7, null, 5, 'user1') + ->willReturn($this->row(7)); + + $response = $this->controller->showContextRow('crm', 'clients', self::UUID); + + $this->assertSame(Http::STATUS_OK, $response->getStatus()); + $this->assertSame(self::UUID, $response->getData()['uuid']); + } + + public function testShowContextRowRejectsAnInvalidIdentifier(): void { + $this->contextNode(Application::NODE_TYPE_TABLE, 3); + $this->rowService->method('resolveRowId')->willThrowException(new BadRequestError('invalid')); + $this->rowService->expects($this->never())->method('findInNode'); + + $this->assertSame(Http::STATUS_BAD_REQUEST, $this->controller->showContextRow('crm', 'clients', 'not-a-row')->getStatus()); + } + + public function testUpdateContextRowResolvesTheIdentifierWithinTheTable(): void { + $this->contextNode(Application::NODE_TYPE_TABLE, 3); + $this->rowService->method('resolveRowId')->with(self::UUID, 3, null)->willReturn(7); + $this->rowService->expects($this->once()) + ->method('updateSet') + ->with(7, null, [1 => 'value'], 'user1', 3) + ->willReturn($this->row(7)); + + $this->assertSame(Http::STATUS_OK, $this->controller->updateContextRow('crm', 'clients', self::UUID, [1 => 'value'])->getStatus()); + } + + public function testDeleteContextRowDoesNotFindAUuidOfAnotherTable(): void { + $this->contextNode(Application::NODE_TYPE_TABLE, 3); + $this->rowService->method('resolveRowId')->with(self::UUID, 3, null)->willThrowException(new NotFoundError('Row not found.')); + $this->rowService->expects($this->never())->method('delete'); + + $this->assertSame(Http::STATUS_NOT_FOUND, $this->controller->deleteContextRow('crm', 'clients', self::UUID)->getStatus()); + } } diff --git a/tests/unit/Service/ContextServiceTechnicalNameTest.php b/tests/unit/Service/ContextServiceTechnicalNameTest.php index 6df1bdcc93..cac80f40e0 100644 --- a/tests/unit/Service/ContextServiceTechnicalNameTest.php +++ b/tests/unit/Service/ContextServiceTechnicalNameTest.php @@ -12,13 +12,16 @@ use OCA\Tables\AppInfo\Application; use OCA\Tables\Db\Context; use OCA\Tables\Db\ContextMapper; +use OCA\Tables\Db\ContextNodeRelation; use OCA\Tables\Db\ContextNodeRelationMapper; use OCA\Tables\Db\PageContentMapper; use OCA\Tables\Db\PageMapper; use OCA\Tables\Db\TableMapper; use OCA\Tables\Db\ViewMapper; use OCA\Tables\Errors\BadRequestError; +use OCA\Tables\Errors\NotFoundError; use OCA\Tables\Service\Support\AuditLogServiceInterface; +use OCP\AppFramework\Db\DoesNotExistException; use OCP\IDBConnection; use OCP\INavigationManager; use OCP\IURLGenerator; @@ -157,6 +160,39 @@ public function testAddNodeRefusesAGivenNameThatIsTaken(): void { $this->service->addNodeToContext($this->context(7, 'crm', 'alice'), 6, Application::NODE_TYPE_TABLE, Application::PERMISSION_READ, 'customers'); } + public function testResolveNodeFindsTheNodeOfTheOnlyMatchingContext(): void { + $relation = new ContextNodeRelation(); + $this->contextMapper->method('findAllByTechnicalName')->with('crm', 'alice')->willReturn([$this->context(7, 'crm', 'alice')]); + $this->contextNodeRelMapper->method('findByContextAndTechnicalName')->with(7, 'customers')->willReturn($relation); + + $this->assertSame($relation, $this->service->resolveNode('crm', 'customers', 'alice')); + } + + public function testResolveNodeRefusesAnAmbiguousContextName(): void { + $this->contextMapper->method('findAllByTechnicalName')->willReturn([ + $this->context(7, 'crm', 'alice'), + $this->context(8, 'crm', 'bob'), + ]); + + $this->expectException(BadRequestError::class); + $this->service->resolveNode('crm', 'customers', 'alice'); + } + + public function testResolveNodeReportsAnUnknownContext(): void { + $this->contextMapper->method('findAllByTechnicalName')->willReturn([]); + + $this->expectException(NotFoundError::class); + $this->service->resolveNode('crm', 'customers', 'alice'); + } + + public function testResolveNodeReportsAnUnknownNode(): void { + $this->contextMapper->method('findAllByTechnicalName')->willReturn([$this->context(7, 'crm', 'alice')]); + $this->contextNodeRelMapper->method('findByContextAndTechnicalName')->willThrowException(new DoesNotExistException('')); + + $this->expectException(NotFoundError::class); + $this->service->resolveNode('crm', 'customers', 'alice'); + } + private function context(int $id, string $technicalName, string $ownerId): Context { $context = new Context(); $context->setId($id); From 00671478c47edc8060875b2299247749b14b25e9 Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Thu, 12 Nov 2026 02:20:31 +0000 Subject: [PATCH 04/62] fix(l10n): Update translations from Transifex [skip ci] Signed-off-by: Nextcloud bot --- l10n/ru.js | 4 +- l10n/ru.json | 4 +- l10n/sk.js | 216 +++++++++++++++++++++++++-------------------------- l10n/sk.json | 216 +++++++++++++++++++++++++-------------------------- 4 files changed, 220 insertions(+), 220 deletions(-) diff --git a/l10n/ru.js b/l10n/ru.js index 7cbaf827be..d4fd3b9ff8 100644 --- a/l10n/ru.js +++ b/l10n/ru.js @@ -554,8 +554,8 @@ OC.L10N.register( "No image" : "Без изображения", "Title source" : "Источник названия", "Automatic" : "Автоматически", - "Advanced settings" : "Расширенные параметры", - "Show advanced settings" : "Показать расширенные параметры", + "Advanced settings" : "Дополнительные параметры", + "Show advanced settings" : "Показать дополнительные параметры", "Optional, e.g. customer_view" : "Необязательно, например customer_view", "Changing the technical name affects integrations and API. Make sure to update your services accordingly." : "Изменение технического имени влияет на интеграции и API. Не забудьте соответственно обновить свои сервисы.", "Content changes" : "Изменения содержимого", diff --git a/l10n/ru.json b/l10n/ru.json index c750b91ab6..f4ed676626 100644 --- a/l10n/ru.json +++ b/l10n/ru.json @@ -552,8 +552,8 @@ "No image" : "Без изображения", "Title source" : "Источник названия", "Automatic" : "Автоматически", - "Advanced settings" : "Расширенные параметры", - "Show advanced settings" : "Показать расширенные параметры", + "Advanced settings" : "Дополнительные параметры", + "Show advanced settings" : "Показать дополнительные параметры", "Optional, e.g. customer_view" : "Необязательно, например customer_view", "Changing the technical name affects integrations and API. Make sure to update your services accordingly." : "Изменение технического имени влияет на интеграции и API. Не забудьте соответственно обновить свои сервисы.", "Content changes" : "Изменения содержимого", diff --git a/l10n/sk.js b/l10n/sk.js index 187f18a7de..e0774ee31d 100644 --- a/l10n/sk.js +++ b/l10n/sk.js @@ -2,23 +2,23 @@ OC.L10N.register( "tables", { "You have imported file to table {table}" : "Importovali ste súbor do tabuľky {table}.", - "{user} has imported file to table {table}" : "Používateľ {user} importoval súbor do tabuľky {table}.", + "{user} has imported file to table {table}" : "Import súboru do tabuľky {table} používateľom {user}.", "You have created a new table {table}" : "Vytvorili ste novú tabuľku {table}", - "{user} has created a new table {table}" : "{user} vytvoril/a novú tabuľku {table}", + "{user} has created a new table {table}" : "Vytvorenie novej tabuľky {table} používateľom {user}", "You have updated the table {table}" : "Aktualizovali ste tabuľku {table}.", - "{user} has updated the table {table}" : "Používateľ {user} aktualizoval tabuľku {table}.", + "{user} has updated the table {table}" : "Aktualizácia tabuľky {table} používateľom {user}.", "You have deleted the table {table}" : "Vymazali ste tabuľku {table}.", "{user} has deleted the table {table}" : "Odstránenie tabuľky {table} používateľom {user}", "You have renamed the table {before} to {table}" : "Premenovali ste tabuľku {before} na {table}.", "{user} has renamed the table {before} to {table}" : "Premenovanie tabuľky {before} na {table} používateľom {user}", "You have updated the description of table {table} to {after}" : "Aktualizovali ste popis tabuľky {table} na {after}.", - "{user} has updated the description of table {table} to {after}" : "{user} aktualizoval/a popis tabuľky {table} na {after}", + "{user} has updated the description of table {table} to {after}" : "Aktualizácia popisu tabuľky {table} na {after} používateľom {user}", "You have created a new view {view} in table {table}" : "Vytvorili ste nové zobrazenie {view} v tabuľke {table}.", - "{user} has created a new view {view} in table {table}" : "Používateľ {user} vytvoril nové zobrazenie {view} v tabuľke {table}.", + "{user} has created a new view {view} in table {table}" : "Vytvorenie nového zobrazenia {view} v tabuľke {table} používateľom {user}.", "You have updated the view {view} in table {table}" : "Aktualizovali ste zobrazenie {view} v tabuľke {table}.", "{user} has updated the view {view} in table {table}" : "Aktualizácia zobrazenia {view} v tabuľke {table} používateľom {user}.", "You have deleted the view {view} from table {table}" : "Odstránili ste zobrazenie {view} z tabuľky {table}.", - "{user} has deleted the view {view} from table {table}" : "Používateľ {user} odstránil zobrazenie {view} z tabuľky {table}.", + "{user} has deleted the view {view} from table {table}" : "Odstránenie zobrazenia {view} z tabuľky {table} používateľom {user}.", "You have renamed the view {before} to {view} in table {table}" : "Premenovali ste zobrazenie z {before} na {view} v tabuľke {table}.", "{user} has renamed the view {before} to {view} in table {table}" : "Premenovanie zobrazenia {before} na {view} v tabuľke {table} používateľom {user}", "You have updated the description of view {view} to {after} in table {table}" : "Aktualizovali ste popis zobrazenia {view} na {after} v tabuľke {table}.", @@ -26,54 +26,54 @@ OC.L10N.register( "You have created a new row {row} in view {view}" : "Vytvorili ste nový riadok {row} v zobrazení {view}.", "{user} has created a new row {row} in view {view}" : "Používateľ {user} vytvoril nový riadok {row} v zobrazení {view}.", "You have created a new row {row} in table {table}" : "Vytvorili ste nový riadok {row} v tabuľke {table}.", - "{user} has created a new row {row} in table {table}" : "{user} vytvoril/a novú riadok {row} v tabuľke {table}", + "{user} has created a new row {row} in table {table}" : "Vytvorenie nového riadka {row} v tabuľke {table} používateľom {user}", "You have deleted the row {row} in view {view}" : "Odstránili ste riadok {row} v zobrazení {view}.", - "{user} has deleted the row {row} in view {view}" : "Používateľ {user} odstránil riadok {row} v zobrazení {view}.", + "{user} has deleted the row {row} in view {view}" : "Odstránenie riadka {row} v zobrazení {view} používateľom {user}.", "You have deleted the row {row} in table {table}" : "Vymazali ste riadok {row} v tabuľke {table}.", - "{user} has deleted the row {row} in table {table}" : "{user} vymazal/a riadok {row} v tabuľke {table}", + "{user} has deleted the row {row} in table {table}" : "Odstránenie riadka {row} v tabuľke {table} používateľom {user}", "_You have updated cell %1$s on row {row} in view {view}_::_You have updated cells %1$s on row {row} in view {view}_" : ["Aktualizovali ste bunku %1$s na riadku {row} v zobrazení {view}.","Aktualizovali ste bunky %1$s na riadku {row} v zobrazení {view}.","Aktualizovali ste bunky %1$s na riadku {row} v zobrazení {view}.","Aktualizovali ste bunky %1$s na riadku {row} v zobrazení {view}."], "_{user} has updated cell %1$s on row {row} in view {view}_::_{user} has updated cells %1$s on row {row} in view {view}_" : ["Aktualizácia bunky %1$s na riadku {row} v zobrazení {view} používateľom {user}","Aktualizácia buniek %1$s na riadku {row} v zobrazení {view} používateľom {user}","Aktualizácia buniek %1$s na riadku {row} v zobrazení {view} používateľom {user}","Aktualizácia buniek %1$s na riadku {row} v zobrazení {view} používateľom {user}"], "_You have updated cell %1$s on row {row} in table {table}_::_You have updated cells %1$s on row {row} in table {table}_" : ["Aktualizovali ste bunku %1$s v riadku {row} v tabuľke {table}","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}.","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}.","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}."], - "_{user} has updated cell %1$s on row {row} in table {table}_::_{user} has updated cells %1$s on row {row} in table {table}_" : ["{user} aktualizoval/a bunku %1$s v riadku {row} v tabuľke {table}","{user} aktualizoval/a bunky %1$s v riadku {row} v tabuľke {table}","{user} aktualizoval/a bunky %1$s v riadku {row} v tabuľke {table}","{user} aktualizoval/a bunky %1$s v riadku {row} v tabuľke {table}"], + "_{user} has updated cell %1$s on row {row} in table {table}_::_{user} has updated cells %1$s on row {row} in table {table}_" : ["Aktualizácia bunky %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}"], "You have created a new column {column} in view {view}" : "Vytvorili ste nový stĺpec {column} v zobrazení {view}.", "{user} has created a new column {column} in view {view}" : "Používateľ {user} vytvoril nový stĺpec {column} v zobrazení {view}.", "You have updated the column {column} in view {view}" : "Aktualizovali ste stĺpec {column} v zobrazení {view}.", "{user} has updated the column {column} in view {view}" : "Stĺpec {column} v zobrazení {view} aktualizovaný používateľom {user}.", "You have deleted the column {column} from view {view}" : "Odstránili ste stĺpec {column} zo zobrazenia {view}.", - "{user} has deleted the column {column} from view {view}" : "Používateľ {user} odstránil stĺpec {column} zo zobrazenia {view}.", + "{user} has deleted the column {column} from view {view}" : "Odstránenie stĺpca {column} zo zobrazenia {view} používateľom {user}.", "You have created a new column {column} in table {table}" : "Vytvorili ste nový stĺpec {column} v tabuľke {table}.", "{user} has created a new column {column} in table {table}" : "Používateľ {user} vytvoril nový stĺpec {column} v tabuľke {table}.", "You have updated the column {column} in table {table}" : "Aktualizovali ste stĺpec {column} v tabuľke {table}.", - "{user} has updated the column {column} in table {table}" : "Používateľ {user} aktualizoval stĺpec {column} v tabuľke {table}.", + "{user} has updated the column {column} in table {table}" : "Aktualizácia stĺpca {column} v tabuľke {table} používateľom {user}", "You have deleted the column {column} from table {table}" : "Odstránili ste stĺpec {column} z tabuľky {table}.", "{user} has deleted the column {column} from table {table}" : "Odstránenie stĺpca {column} z tabuľky {table} používateľom {user}", "{user} has shared view {view} with you" : "Používateľ {user} s vami zdieľal zobrazenie {view}.", "You have shared the view {view} as public link" : "Zdieľali ste zobrazenie {view} ako verejný odkaz.", - "{user} has shared the view {view} as public link" : "Používateľ {user} zdieľal zobrazenie {view} ako verejný odkaz.", + "{user} has shared the view {view} as public link" : "Zdieľanie zobrazenia {view} používateľom {user} ako verejného odkazu.", "You have shared the view {view} with {sharedWith}" : "Zdieľali ste zobrazenie {view} s používateľom {sharedWith}.", "{user} has shared the view {view} with {sharedWith}" : "Zobrazenie {view} zdieľané používateľom {user} s {sharedWith}.", "{user} has shared table {table} with you" : "Používateľ {user} s vami zdieľal tabuľku {table}.", "You have shared the table {table} as public link" : "Zdieľali ste tabuľku {table} ako verejný odkaz.", - "{user} has shared the table {table} as public link" : "Používateľ {user} zdieľal tabuľku {table} ako verejný odkaz.", + "{user} has shared the table {table} as public link" : "Zdieľanie tabuľky {table} používateľom {user} cez verejný odkaz.", "You have shared the table {table} with {sharedWith}" : "Zdieľali ste tabuľku {table} s {sharedWith}.", - "{user} has shared the table {table} with {sharedWith}" : "Používateľ {user} zdieľal tabuľku {table} s používateľom {sharedWith}.", - "{user} has updated sharing for the view {view} with you" : "Používateľ {user} aktualizoval zdieľanie zobrazenia {view} s vami.", + "{user} has shared the table {table} with {sharedWith}" : "Zdieľanie tabuľky {table} s {sharedWith} používateľom {user}", + "{user} has updated sharing for the view {view} with you" : "Aktualizácia zdieľania zobrazenia {view} s vami používateľom {user}.", "You have updated public link sharing for the view {view}" : "Aktualizovali ste zdieľanie verejného odkazu pre zobrazenie {view}.", - "{user} has updated public link sharing for the view {view}" : "Používateľ {user} aktualizoval zdieľanie verejného odkazu pre zobrazenie {view}.", + "{user} has updated public link sharing for the view {view}" : "Aktualizácia zdieľania zobrazenia {view} prostredníctvom verejného odkazu používateľom {user}.", "You have updated sharing for the view {view} with {sharedWith}" : "Aktualizovali ste zdieľanie zobrazenia {view} s {sharedWith}.", "{user} has updated sharing for the view {view} with {sharedWith}" : "Používateľ {user} aktualizoval zdieľanie zobrazenia {view} s používateľom {sharedWith}.", - "{user} has updated sharing for the table {table} with you" : "Používateľ {user} aktualizoval zdieľanie tabuľky {table} s vami.", + "{user} has updated sharing for the table {table} with you" : "Aktualizácia zdieľania tabuľky {table} s vami používateľom {user}", "You have updated public link sharing for the table {table}" : "Aktualizovali ste zdieľanie tabuľky {table} cez verejný odkaz.", "{user} has updated public link sharing for the table {table}" : "Používateľ {user} aktualizoval zdieľanie verejného odkazu pre tabuľku {table}.", - "You have updated sharing for the table {table} with {sharedWith}" : "Aktualizovali ste zdieľanie tabuľky {table} s používateľom {sharedWith}.", + "You have updated sharing for the table {table} with {sharedWith}" : "Aktualizovali ste zdieľanie tabuľky {table} s {sharedWith}.", "{user} has updated sharing for the table {table} with {sharedWith}" : "Aktualizácia zdieľania tabuľky {table} s {sharedWith} používateľom {user}", "{user} has removed sharing for the view {view} with you" : "Zrušenie zdieľania zobrazenia {view} s vami používateľom {user}", - "You have removed public link sharing for the view {view}" : "Zrušili ste zdieľanie verejného odkazu pre zobrazenie {view}.", - "{user} has removed public link sharing for the view {view}" : "Používateľ {user} zrušil zdieľanie verejného odkazu pre zobrazenie {view}.", - "You have removed sharing for the view {view} with {sharedWith}" : "Zrušili ste zdieľanie zobrazenia {view} s používateľom {sharedWith}.", - "{user} has removed sharing for the view {view} with {sharedWith}" : "Používateľ {user} zrušil zdieľanie zobrazenia {view} s používateľom {sharedWith}.", - "{user} has removed sharing for the table {table} with you" : "Používateľ {user} zrušil zdieľanie tabuľky {table} s vami.", - "You have removed public link sharing for the table {table}" : "Zrušili ste zdieľanie verejného odkazu pre tabuľku {table}.", + "You have removed public link sharing for the view {view}" : "Zrušili ste zdieľanie zobrazenia {view} verejným odkazom.", + "{user} has removed public link sharing for the view {view}" : "Zrušenie zdieľania zobrazenia {view} verejným odkazom používateľom {user}.", + "You have removed sharing for the view {view} with {sharedWith}" : "Zrušili ste zdieľanie zobrazenia {view} s {sharedWith}.", + "{user} has removed sharing for the view {view} with {sharedWith}" : "Zrušenie zdieľania zobrazenia {view} s {sharedWith} používateľom {user}.", + "{user} has removed sharing for the table {table} with you" : "Zrušenie zdieľania tabuľky {table} s vami používateľom {user}.", + "You have removed public link sharing for the table {table}" : "Zrušili ste zdieľanie tabuľky {table} cez verejný odkaz.", "{user} has removed public link sharing for the table {table}" : "Používateľ {user} zrušil zdieľanie verejného odkazu pre tabuľku {table}.", "You have removed sharing for the table {table} with {sharedWith}" : "Zrušili ste zdieľanie tabuľky {table} s používateľom {sharedWith}.", "{user} has removed sharing for the table {table} with {sharedWith}" : "Zrušenie zdieľania tabuľky {table} s {sharedWith} používateľom {user}", @@ -88,32 +88,32 @@ OC.L10N.register( "A table or view was changed" : "Došlo k zmene tabuľky alebo zobrazenia", "A table or view was shared with you" : "S vami bola zdieľaná tabuľka alebo zobrazenie", "Nextcloud Tables" : "Nextcloud Tables", - "Select table" : "Vyberte tabuľku", + "Select table" : "Vybrať tabuľku", "Select columns" : "Vybrať stĺpce", "e.g. 1,2,4 or leave empty" : "napr. 1,2,4 alebo ponechajte prázdne", - "Timestamp of data load" : "Časové razítko načítaných údajov", + "Timestamp of data load" : "Časová pečiatka načítania údajov", "No" : "Nie", "Yes" : "Áno", "Count" : "Počet", "An unexpected error occurred. More details can be found in the logs. Please reach out to your administration." : "Vyskytla sa neočakávaná chyba. Viac podrobností nájdete v protokoloch. Obráťte sa na svojho správcu.", "A permission error occurred. More details can be found in the logs. Please reach out to your administration." : "Vyskytla sa chyba oprávnenia. Viac podrobností nájdete v protokoloch. Obráťte sa na svojho správcu.", - "A not found error occurred. More details can be found in the logs. Please reach out to your administration." : "Vyskytla sa neočakávaná chyba. Viac podrobností nájdete v protokole. Obráťte sa na svojho administrátora.", + "A not found error occurred. More details can be found in the logs. Please reach out to your administration." : "Vyskytla sa chyba: požadovaný objekt sa nenašiel. Viac podrobností nájdete v protokoloch. Obráťte sa na svojho správcu.", "Could not create row." : "Nepodarilo sa vytvoriť riadok.", "Could not update row." : "Nepodarilo sa upraviť riadok.", "The file was uploaded" : "Súbor bol nahraný", "The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Nahraný súbor prekročil limit nastavený v upload_max_filesize v súbore php.ini", - "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Ukladaný súbor prekračuje nastavenie MAX_FILE_SIZE špecifikované vo formulári HTML.", + "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Nahratý súbor prekračuje limit určený direktívou MAX_FILE_SIZE vo formulári HTML.", "The file was only partially uploaded" : "Súbor bol nahraný iba čiastočne", "No file was uploaded" : "Nenahral sa žiadny súbor", "Missing a temporary folder" : "Chýba priečinok pre dočasné súbory", "Could not write file to disk" : "Nepodarilo sa zapísať súbor na disk", "A PHP extension stopped the file upload" : "Rozšírenie PHP zastavilo nahrávanie súboru", - "No file uploaded or file size exceeds maximum of %s" : "Nenahral sa žiadny súbor alebo jeho veľkosť presiahla %s", + "No file uploaded or file size exceeds maximum of %s" : "Nenahral sa žiadny súbor alebo jeho veľkosť presahuje maximálnu hodnotu %s", "Team not found" : "Tím sa nepodarilo nájsť", "A new table row has been created in view %2$s by %1$s." : "Nový riadok tabuľky bol vytvorený v zobrazení %2$s používateľom %1$s.", "A new table row has been created in table %2$s by %1$s." : "Nový riadok tabuľky bol vytvorený v tabuľke %2$s používateľom %1$s.", "{user} has created a new {row} in view {view}" : "Vytvorenie nového riadka {row} v zobrazení {view} používateľom {user}.", - "{user} has created a new {row} in table {table}" : "Používateľ {user} vytvoril nový {row} v tabuľke {table}.", + "{user} has created a new {row} in table {table}" : "Vytvorenie nového {row} v tabuľke {table} používateľom {user}", "A table row has been updated in view %2$s by %1$s." : "Riadok tabuľky bol aktualizovaný v zobrazení %2$s používateľom %1$s.", "A table row has been updated in table %2$s by %1$s." : "Riadok tabuľky bol aktualizovaný v tabuľke %2$s používateľom %1$s.", "{user} has updated this {row} in view {view}" : "Aktualizácia {row} v zobrazení {view} používateľom {user}.", @@ -121,18 +121,18 @@ OC.L10N.register( "A table row has been deleted from view %2$s by %1$s." : "Riadok tabuľky bol odstránený zo zobrazenia %2$s používateľom %1$s.", "A table row has been deleted from table %2$s by %1$s." : "Riadok tabuľky bol odstránený z tabuľky %2$s používateľom %1$s.", "{user} has deleted this {row} in view {view}" : "Odstránenie tohto {row} v zobrazení {view} používateľom {user}", - "{user} has deleted this {row} in table {table}" : "Používateľ {user} odstránil tento {row} v tabuľke {table}.", + "{user} has deleted this {row} in table {table}" : "Odstránenie tohto {row} v tabuľke {table} používateľom {user}.", "Group %2$s has been assigned in row %3$s of view %4$s by %1$s." : "Skupina %2$s bola priradená v riadku %3$s zobrazenia %4$s používateľom %1$s.", "Group %2$s has been assigned in row %3$s of table %4$s by %1$s." : "Skupina %2$s bola priradená v riadku %3$s tabuľky %4$s používateľom %1$s.", - "{user} has assigned group {group} in {row} in view {view}" : "Používateľ {user} priradil skupinu {group} v {row} v zobrazení {view}.", + "{user} has assigned group {group} in {row} in view {view}" : "Priradenie skupiny {group} v {row} v zobrazení {view} používateľom {user}.", "{user} has assigned group {group} in {row} in table {table}" : "Priradenie skupiny {group} v riadku {row} v tabuľke {table} používateľom {user}.", "Team %2$s has been assigned in row %3$s of view %4$s by %1$s." : "Tím %2$s bol priradený v riadku %3$s zobrazenia %4$s používateľom %1$s.", "Team %2$s has been assigned in row %3$s of table %4$s by %1$s." : "Tím %2$s bol priradený v riadku %3$s tabuľky %4$s používateľom %1$s.", - "{user} has assigned team {team} in {row} in view {view}" : "Používateľ {user} priradil tím {team} v {row} v zobrazení {view}.", + "{user} has assigned team {team} in {row} in view {view}" : "Priradenie tímu {team} v riadku {row} v zobrazení {view} používateľom {user}", "{user} has assigned team {team} in {row} in table {table}" : "Používateľ {user} priradil tím {team} v {row} v tabuľke {table}.", "You have been assigned in row %2$s of view %3$s by %1$s." : "Vaše priradenie k riadku %2$s v zobrazení %3$s používateľom %1$s.", "You have been assigned in row %2$s of table %3$s by %1$s." : "Boli ste priradení v riadku %2$s tabuľky %3$s používateľom %1$s.", - "{user} has assigned you in {row} in view {view}" : "Používateľ {user} vás priradil v {row} v zobrazení {view}.", + "{user} has assigned you in {row} in view {view}" : "Vaše priradenie k riadku {row} v zobrazení {view} používateľom {user}.", "{user} has assigned you in {row} in table {table}" : "Priradenie vás v {row} v tabuľke {table} používateľom {user}", "A new column has been created in view %2$s by %1$s." : "Nový stĺpec bol vytvorený v zobrazení %2$s používateľom %1$s.", "A new column has been created in table %2$s by %1$s." : "Nový stĺpec bol vytvorený v tabuľke %2$s používateľom %1$s.", @@ -141,12 +141,12 @@ OC.L10N.register( "A column has been deleted from view %2$s by %1$s." : "Stĺpec bol odstránený zo zobrazenia %2$s používateľom %1$s.", "A column has been deleted from table %2$s by %1$s." : "Stĺpec bol odstránený z tabuľky %2$s používateľom %1$s.", "You have imported file to view {view}" : "Importovali ste súbor do zobrazenia {view}", - "{user} has imported file to view {view}" : "Používateľ {user} importoval súbor do pohľadu {view}", + "{user} has imported file to view {view}" : "Import súboru do zobrazenia {view} používateľom {user}", "Your import to view {view} has failed" : "Váš import do zobrazenia {view} zlyhal", "{user}'s import to view {view} has failed" : "Import do zobrazenia {view} vykonaný používateľom {user} zlyhal", "Your import to table {table} has failed" : "Váš import do tabuľky {table} zlyhal", - "{user}'s import to table {table} has failed" : "Import používateľa {user} do tabuľky {table} zlyhal", - "Nextcloud tables" : "Tabuľky Nextcloud", + "{user}'s import to table {table} has failed" : "Import do tabuľky {table} používateľom {user} zlyhal", + "Nextcloud tables" : "Nextcloud Tables", "_%n row_::_%n rows_" : ["jeden riadok","%n riadky","%n riadkov","%n riadkov"], "table" : "tabuľka", "table view" : "zobrazenie v tabuľke", @@ -156,9 +156,9 @@ OC.L10N.register( "This column was automatically created by the import service." : "Tento stĺpec automaticky vytvorila služba importu.", "Column \"%s\" contains a non-unique value." : "Stĺpec \"%s\" obsahuje hodnotu, ktorá nie je jedinečná.", "Column \"%s\" contains an invalid protocol. Only http and https are allowed." : "Stĺpec \"%s\" obsahuje neplatný protokol. Sú povolené iba http a https.", - "Welcome to %s Tables!" : "Vitajte v %s Tabuľkách!", + "Welcome to %s Tables!" : "Vitajte v aplikácii %s Tables!", "ToDo list" : "Zoznam úloh", - "Setup a simple todo-list." : "Jednoduchý zoznam úloh.", + "Setup a simple todo-list." : "Nastaviť jednoduchý zoznam úloh.", "Members" : "Členovia", "List of members with some basic attributes." : "Zoznam členov s pár základnými atribútmi.", "Customers" : "Zákazníci", @@ -184,10 +184,10 @@ OC.L10N.register( "Quality of relationship" : "Kvalita vzťahu", "Comment" : "Komentár", "Dog" : "Pes", - "Dog food every week" : "Jedlo pre psov každý týždeň", + "Dog food every week" : "Krmivo pre psov každý týždeň", "The dog is our best friend." : "Pes je naším najlepším priateľom.", - "Standard, SLA Level 2" : "Standard, SLA Level 2", - "Likes treats" : "Má rád odmeny", + "Standard, SLA Level 2" : "Štandard, úroveň SLA 2", + "Likes treats" : "Obľubuje odmeny", "Cat" : "Mačka", "Cat food every week" : "Jedlo pre mačky každý týždeň", "The cat is also our best friend." : "Mačka je tiež náš najlepší priateľ.", @@ -197,7 +197,7 @@ OC.L10N.register( "Hay and straw" : "Seno a slama", "Summer only" : "Iba leto", "Special" : "Špeciálna", - "Maybe we can make it fix for every year?!" : "Možno by sme ho presvedčili na každoročný nákup?!", + "Maybe we can make it fix for every year?!" : "Možno by sme to mohli nastaviť natrvalo na každý rok?!", "Employee name" : "Meno zamestnanca", "from" : "Od", "When is your vacation starting?" : "Kedy vaša dovolenka začína?", @@ -208,7 +208,7 @@ OC.L10N.register( "Request date" : "Dátum žiadosti", "Approved" : "Schválené", "Approve date" : "Dátum schválenia", - "Approved by" : "Schválil(a)", + "Approved by" : "Schválené používateľom", "The Boss" : "Šéf", "Bob will help for this time" : "Tentokrát pomôže Bob.", "We have to talk about that." : "O tomto sa musíme porozprávať.", @@ -231,10 +231,10 @@ OC.L10N.register( "Create some milestones to structure the project." : "Vytvorte zopár míľnikov a dajte tak projektu základný rámec.", "Plan to discuss for the kickoff meeting." : "Plán na úvodnú (kickoff) poradu.", "Wow, that was hard work, but now it's done." : "Páni, to dalo riadne zabrať, ale už máme hotovo.", - "Kickoff meeting" : "Úvodná „kickoff“ porada", + "Kickoff meeting" : "Úvodná porada", "We will have a kickoff meeting in person." : "Budeme mať osobnú úvodnú poradu.", - "Project is kicked-off and we know the vision and our first tasks." : "Projekt bol zahájený a my poznáme víziu aj naše prvé úlohy.", - "That was nice in person again. We collected some action points, had a look at the documentation..." : "Bolo opäť pekné sa vidieť naživo. Dali sme dokopy niekoľko akčných bodov, pozrite sa do dokumentácie...", + "Project is kicked-off and we know the vision and our first tasks." : "Projekt bol začatý a my poznáme víziu aj naše prvé úlohy.", + "That was nice in person again. We collected some action points, had a look at the documentation..." : "Bolo opäť pekné sa vidieť naživo. Dali sme dokopy niekoľko úloh a pozreli sme sa na dokumentáciu…", "Set up some documentation and collaboration tools" : "Nastaviť nástroje na dokumentáciu a spoluprácu", "Where and in what way do we collaborate?" : "Kde a akým spôsobom budeme spolupracovať?", "We know what we are doing." : "Vieme, čo robíme.", @@ -245,15 +245,15 @@ OC.L10N.register( "How to do" : "Ako to urobiť", "Ease of use" : "Jednoduchosť používania", "Done" : "Hotové", - "Open the tables app" : "Otvorte apku Tabuľky", - "Reachable via the Tables icon in the apps list." : "Dostupné cez ikonu Tabuľky v zozname aplikácií.", + "Open the tables app" : "Otvoriť aplikáciu Tables", + "Reachable via the Tables icon in the apps list." : "Dostupné cez ikonu Tables v zozname aplikácií.", "Add your first row" : "Pridajte Váš prvý riadok", "Use the *+ Create row* button and enter some data inside of the form." : "Použite tlačidlo *+ Vytvoriť riadok* a do formulára zadajte nejaké údaje.", "Edit a row" : "Upraviť riadok", "Go to a row you want to edit and use the *pencil* edit button. Maybe you want to add a *Done* status to this row?" : "Prejdite na riadok, ktorý chcete upraviť, a použite tlačidlo úprav *ceruzka*. Možno chcete do tohto riadka pridať stav *Hotovo*?", "Add a new column" : "Pridať nový stĺpec", "You can add, remove and adjust columns as you need. Open the three-dot-menu on the upper right of this table and choose *Create column*. Fill in the data you want, at least a title and column type." : "Stĺpce môžete pridávať, odstraňovať a upravovať podľa potreby. Otvorte trojbodkovú ponuku v pravej hornej časti tejto tabuľky a vyberte možnosť *Vytvoriť stĺpec*. Vyplňte požadované údaje, aspoň názov a typ stĺpca.", - "Create views for tables" : "Vytvoriť pohľad pre Tabuľky", + "Create views for tables" : "Vytvoriť zobrazenia pre tabuľky", "Filter data and save table presets as views to share and combine them into applications." : "Filtrujte údaje a uložte predvoľby tabuľky ako pohľad, aby ste ich mohli zdieľať a kombinovať do aplikácií.", "Create applications" : "Vytvoriť aplikácie", "Combine different tables and views into no-code applications for any purpose. This makes them easily accessible directly in the app bar." : "Kombinujte rôzne tabuľky a zobrazenia pre použitie v aplikáciach bez písania kódu. Týmto dosiahnete že sú ľahko dostupné priamo v paneli aplikácií.", @@ -275,7 +275,7 @@ OC.L10N.register( "Administer the shared table and its sharing" : "Spravovať zdieľanú tabuľku a jej zdieľanie", "All tables, columns, rows, contexts, and sharing information including all tables owned or shared, their structure and content" : "Všetky tabuľky, stĺpce, riadky, kontexty a informácie o zdieľaní vrátane všetkých vlastnených alebo zdieľaných tabuliek, ich štruktúry a obsahu", "Manage data the way you need it." : "Spravujte údaje spôsobom, akým to potrebujete.", - "Manage data the way you need it.\n\nWith this app you are able to create your own tables with individual columns. You can start with a template or from scratch and add your wanted columns.\nYou can choose from the following column types:\n- Text line or rich text\n- Link to urls or other nextcloud resources\n- Numbers\n- Progress bar\n- Stars rating\n- Yes/No tick\n- Date and/or time\n- (Multi) selection\n- Users, groups and teams\n\nShare your tables and views with users and groups within your cloud.\n\nHave a good time and manage whatever you want." : "# Spravujte dáta podľa svojich potrieb\n\nS touto aplikáciou môžete vytvoriť svoje vlastné tabuľky s individuálnymi stĺpcami. Môžete začať od šablóny alebo úplne od začiatku a pridať požadované stĺpce. \nMôžete si vybrať z nasledujúcich typov stĺpcov:\n- Textový riadok alebo formátovaný text\n- Odkaz na URL alebo iné zdroje Nextcloud\n- Čísla\n- Priebeh postupu\n- Hodnotenie hviezdičkami\n- Začiarkavacie políčko Áno/Nie\n- Dátum a/alebo čas\n- (Viacnásobný) výber\n- Používatelia, skupiny a tímy\n\nZdieľajte svoje tabuľky a zobrazenia s používateľmi a skupinami vo vašom cloude.\n\nPrajeme vám príjemný čas a spravujte čokoľvek, čo chcete.", + "Manage data the way you need it.\n\nWith this app you are able to create your own tables with individual columns. You can start with a template or from scratch and add your wanted columns.\nYou can choose from the following column types:\n- Text line or rich text\n- Link to urls or other nextcloud resources\n- Numbers\n- Progress bar\n- Stars rating\n- Yes/No tick\n- Date and/or time\n- (Multi) selection\n- Users, groups and teams\n\nShare your tables and views with users and groups within your cloud.\n\nHave a good time and manage whatever you want." : "Spravujte dáta podľa svojich potrieb.\n\nS touto aplikáciou môžete vytvoriť svoje vlastné tabuľky s individuálnymi stĺpcami. Môžete začať od šablóny alebo úplne od začiatku a pridať požadované stĺpce.\nMôžete si vybrať z nasledujúcich typov stĺpcov:\n- Textový riadok alebo formátovaný text\n- Odkaz na URL alebo iné zdroje Nextcloudu\n- Čísla\n- Ukazovateľ priebehu\n- Hodnotenie hviezdičkami\n- Začiarkavacie políčko Áno/Nie\n- Dátum a/alebo čas\n- (Viacnásobný) výber\n- Používatelia, skupiny a tímy\n\nZdieľajte svoje tabuľky a zobrazenia s používateľmi a skupinami vo vašom cloude.\n\nPrajeme vám príjemnú prácu pri spravovaní čohokoľvek, čo chcete.", "Table" : "Tabuľka", "View" : "Zobrazenie", "Today" : "Dnes", @@ -310,14 +310,14 @@ OC.L10N.register( "Filtering rows" : "Filtrujem riadky", "OR" : "ALEBO", "Add new filter group" : "Pridať novú skupinu filtrov", - "... that meet all of the following conditions" : "... ktoré spĺňajú všetky nasledujúce kritériá", + "... that meet all of the following conditions" : "… ktoré spĺňajú všetky nasledujúce podmienky", "Add new filter" : "Pridať nový filter", "Ascending" : "Vzostupne", "Descending" : "Zostupne", "Reactivate sorting rule" : "Znova aktivovať pravidlo pre zoradenie", "Delete sorting rule" : "Zmazať pravidlo pre zoradenie", - "Among the sorting rules are some to which you have no permissions. However, if you like, you can override the sorting." : "Medzi pravidlami triedenia sú niektoré, ku ktorým nemáte žiadne oprávnenie. Ak však chcete, môžete triedenie prepísať.", - "Override sorting rules" : "Prepísať pravidlá triedenia", + "Among the sorting rules are some to which you have no permissions. However, if you like, you can override the sorting." : "Niektoré pravidlá triedenia nemáte oprávnenie používať. Ak však chcete, môžete namiesto nich použiť vlastné triedenie.", + "Override sorting rules" : "Použiť vlastné pravidlá triedenia", "Updated table \"{emoji}{table}\"." : "Aktualizovaná tabuľka \"{emoji}{table}\".", "Cannot update table. Title is missing." : "Nie je možné aktualizovať tabuľku. Chýba názov.", "Could not fetch shares." : "Nepodarilo sa získať zdieľania.", @@ -326,7 +326,7 @@ OC.L10N.register( "Rows" : "Riadky", "Columns" : "Stĺpce", "Last edited" : "Naposledy upravené", - "Shares" : "Sprístupnené položky", + "Shares" : "Zdieľania", "Actions" : "Akcie", "View settings" : "Zobraziť nastavenia", "Share" : "Zdieľať", @@ -345,7 +345,7 @@ OC.L10N.register( "Filtered view" : "Filtrované zobrazenie", "Reset local adjustments" : "Zahodiť miestne úpravy", "No columns" : "Žiadne stĺpce", - "We need at least one column, please be so kind and create one." : "Potrebujeme aspoň jeden stĺpec, buďte tak láskaví a vytvorte ho.", + "We need at least one column, please be so kind and create one." : "Potrebujeme aspoň jeden stĺpec, vytvorte ho.", "No columns selected" : "Nie sú vybrané žiadne stĺpce", "The view is empty. Edit which columns should be displayed." : "Zobrazenie je prázdne. Upravte, ktoré stĺpce sa majú zobraziť.", "Edit view" : "Upraviť zobrazenie", @@ -365,8 +365,8 @@ OC.L10N.register( "Text line" : "Textový riadok", "Simple text" : "Jednoduchý text", "Rich text" : "Formátovaný text", - "Single selection" : "Výber jedného", - "Multiple selection" : "Výber viacerých", + "Single selection" : "Výber jednej položky", + "Multiple selection" : "Viacnásobný výber", "Yes/No" : "Áno/Nie", "Time" : "Čas", "Add more" : "Pridať viac", @@ -382,7 +382,7 @@ OC.L10N.register( "Description of the new application" : "Popis novej aplikácie", "Resources" : "Zdroje", "Show in app list" : "Zobraziť v zozname aplikácií", - "This can be overridden by a per-account preference" : "Toto je možné prepísať preferovaným nastavením pre jednotlivé účty", + "This can be overridden by a per-account preference" : "Toto nastavenie možno nahradiť predvoľbou pre jednotlivé účty", "Create application" : "Vytvoriť aplikáciu", "Fill form" : "Vyplniť formulár", "Create row" : "Vytvoriť riadok", @@ -391,34 +391,34 @@ OC.L10N.register( "Form successfully submitted." : "Formulár bol úspešne odoslaný.", "Row successfully created." : "Riadok bol úspešne vytvorený.", "Could not create new row" : "Nepodarilo sa vytvoriť nový riadok", - "\"{columnTitle}\" should not be empty" : "\"{columnTitle}\" nemôže byť prázdne", + "\"{columnTitle}\" should not be empty" : "Pole „{columnTitle}“ nesmie byť prázdne", "Save row" : "Uložiť riadok", "Cannot create new table. Title is missing." : "Novú tabuľku nie je možné vytvoriť. Chýba názov.", "Could not create new table" : "Nepodarilo sa vytvoriť novú tabuľku", "Could not load templates." : "Nepodarilo sa načítať šablóny.", "Create table" : "Vytvoriť tabuľku", - "Select emoji for table" : "Vyberte emotikonu pre tabuľku", - "Select emoji" : "Vybrať emotikonu", + "Select emoji for table" : "Vybrať emoji pre tabuľku", + "Select emoji" : "Vybrať emoji", "Title of the new table" : "Názov novej tabuľky", "🔧 Custom table" : "Vlastná tabuľka", "Custom table from scratch." : "Vlastná tabuľka od nuly", "📄 Import table" : "📄 Importovať tabuľku", "Import table from file." : "Importovať tabuľku zo súboru.", - "📄 Import Scheme" : "📄 Importovať Schému", + "📄 Import Scheme" : "📄 Importovať schému", "Import Scheme from file." : "Importovať schému zo súboru.", "Are you sure you want to delete column \"{column}\"?" : "Naozaj chcete odstrániť stĺpec \"{column}\"?", "Error occurred while deleting column \"{column}\"." : "Počas odstraňovania stĺpca \"{column}\" došlo k chybe.", "Delete column" : "Odstrániť stĺpec", - "Do you really want to delete the application \"{context}\"? This will also delete the shares and unshare the resources that are connected to this application." : "Naozaj chcete odstrániť aplikáciu „{context}“? Týmto sa tiež odstránia zdieľané položky a zruší sa zdieľanie zdrojov, ktoré sú pripojené k tejto aplikácii.", - "Application \"{context}\" removed." : "Aplikácia \"{context}\" bola vymazaná.", + "Do you really want to delete the application \"{context}\"? This will also delete the shares and unshare the resources that are connected to this application." : "Naozaj chcete odstrániť aplikáciu „{context}“? Týmto sa tiež odstránia zdieľania a zruší sa zdieľanie zdrojov, ktoré sú pripojené k tejto aplikácii.", + "Application \"{context}\" removed." : "Aplikácia \"{context}\" bola odstránená.", "Confirm application deletion" : "Potvrdiť zmazanie aplikácie", "Cancel" : "Zrušiť", "Error occurred while deleting rows." : "Počas odstraňovania riadkov došlo k chybe.", "_Delete row_::_Delete rows_" : ["Odstrániť riadok","Odstrániť riadky","Odstrániť riadky","Odstrániť riadky"], - "_Are you sure you want to delete the selected row?_::_Are you sure you want to delete the %n selected rows?_" : ["Naozaj chcete odstrániť %n vybratý riadok?","Naozaj chcete odstrániť %n vybraté riadky?","Naozaj chcete odstrániť %n vybratých riadkov?","Naozaj chcete odstrániť %n vybraté riadky?"], + "_Are you sure you want to delete the selected row?_::_Are you sure you want to delete the %n selected rows?_" : ["Naozaj chcete odstrániť vybratý riadok?","Naozaj chcete odstrániť %n vybraté riadky?","Naozaj chcete odstrániť vybraté riadky v počte %n?","Naozaj chcete odstrániť %n vybratých riadkov?"], "Do you really want to delete the table \"{table}\"? This will also delete all data, views and shares that are connected to this table." : "Naozaj chcete odstrániť tabuľku \"{table}\"? Tým odstránite aj všetky údaje, zobrazenia a zdieľania súvisiace s touto tabuľkou.", "Table \"{emoji}{table}\" removed." : "Tabuľka \"{emoji}{table}\" bola odstránená.", - "Confirm table deletion" : "Potvrďte zmazanie tabuľky", + "Confirm table deletion" : "Potvrdiť zmazanie tabuľky", "Do you really want to delete the view \"{view}\"?" : "Naozaj chcete odstrániť zobrazenie \"{view}\"?", "View \"{emoji}{view}\" removed." : "Zobrazenie \"{emoji}{view}\" bolo odstránené.", "Confirm view deletion" : "Potvrdiť odstránenie zobrazenia", @@ -450,10 +450,10 @@ OC.L10N.register( "Could not import data to table" : "Nepodarilo sa importovať údaje do tabuľky", "Import file into Tables" : "Importovať súbor do Tabuliek", "Import as new table" : "Importovať ako novú tabuľku", - "This will create a new table from the data in this file." : "Vytvorí novú tabuľku z dát zo súboru.", + "This will create a new table from the data in this file." : "Týmto sa vytvorí nová tabuľka z údajov v tomto súbore.", "Import into existing table" : "Importovať do existujúcej tabuľky", - "This will import the data from this file into an already existing table." : "Importuje dáta zo súboru do existujúcej tabuľky", - "Select the table to import into" : "Vybrať tabuľku do ktorej sa bude importovať", + "This will import the data from this file into an already existing table." : "Týmto sa importujú údaje z tohto súboru do existujúcej tabuľky.", + "Select the table to import into" : "Vybrať tabuľku, do ktorej sa bude importovať", "Select an existing table" : "Vybrať existujúcu tabuľku", "Create missing columns" : "Vytvoriť chýbajúce stĺpce", "Import successful" : "Import bol úspešný", @@ -470,16 +470,16 @@ OC.L10N.register( "Could not import, missing needed permission." : "Import sa nepodaril, chýbajú potrebné oprávnenia.", "Could not import, needed resources were not found." : "Import sa nepodaril, potrebné zdroje neboli nájdené.", "Add data to the table from a file" : "Pridať dáta do tabuľky zo súboru", - "Select from Files" : "Vybrať zo súborov", + "Select from Files" : "Vybrať z Files", "Upload from device" : "Nahrať zo zariadenia", "Supported formats: xlsx, xls, csv, html, xml" : "Podporované formáty: xlsx, xls, csv, html, xml", "First row of the file must contain column headings without gaps." : "Prvý riadok súboru musí obsahovať nadpisy stĺpcov bez vynechaných stĺpcov.", - "⚠️ You don't have the permission to create columns." : "Nemáte oprávnenia na vytvorenie stĺpcov.", + "⚠️ You don't have the permission to create columns." : "⚠️ Nemáte oprávnenia na vytvorenie stĺpcov.", "Preview" : "Náhľad", "Importing data from " : "Importovanie dát z ", - "This might take a while..." : "Toto môže chvíľu trvať...", + "This might take a while..." : "Toto môže chvíľu trvať …", "Failed" : "Zlyhalo", - "Loading table data" : "Načítavam údaje tabuľky", + "Loading table data" : "Načítavajú sa údaje tabuľky", "Could not import due to unknown errors." : "Import sa nepodaril z dôvodu neznámych chýb.", "Import application scheme" : "Importovať schému aplikácie", "Preview application scheme changes" : "Náhľad zmien schémy aplikácie", @@ -488,7 +488,7 @@ OC.L10N.register( "Could not import scheme due to unknown errors." : "Schému sa nepodarilo importovať z dôvodu neznámych chýb.", "The selected file is not valid JSON." : "Vybraný súbor nie je platný JSON.", "Import application scheme from a file" : "Importovať schému aplikácie zo súboru", - "Supported formats: json" : "Podporované formáty: json", + "Supported formats: json" : "Podporované formáty: JSON", "Import completed successfully." : "Import úspešne dokončený.", "Back" : "Späť", "From" : "Od", @@ -508,9 +508,9 @@ OC.L10N.register( "Found columns" : "Nájdené stĺpce", "Matching columns" : "Zodpovedajúce stĺpce", "Created columns" : "Vytvorené stĺpce", - "Inserted rows" : "Vložené stĺpce", + "Inserted rows" : "Vložené riadky", "Updated rows" : "Aktualizované riadky", - "Value parsing errors" : "Chyba pri spracovaní hodnoty", + "Value parsing errors" : "Chyby pri spracovaní hodnoty", "Row creation errors" : "Chyba pri vytváraní riadkov", "Import table scheme" : "Importovať schému tabuľky", "Preview table scheme changes" : "Náhľad zmien schémy tabuľky", @@ -529,12 +529,12 @@ OC.L10N.register( "No views to remove" : "Žiadne zobrazenia na odstránenie", "Column Order" : "Poradie stĺpcov", "Sort" : "Triedenie", - "Context \"{name}\" transferred to {user}" : "Kontext \"{name}\" prenesený na {user}", - "Transfer the application \"{context}\" to another user" : "Presunúť aplikáciu \"{context}\" na iného užívateľa", + "Context \"{name}\" transferred to {user}" : "Kontext \"{name}\" prenesený používateľovi {user}", + "Transfer the application \"{context}\" to another user" : "Presunúť aplikáciu \"{context}\" na iného používateľa", "Transfer" : "Prenos", "Table \"{emoji}{table}\" transferred to {user}" : "Tabuľka \"{emoji}{table}\" prenesená na {user}", "Transfer table" : "Preniesť tabuľku", - "Transfer this table to another user" : "Preniesť tabuľku na iného užívateľa", + "Transfer this table to another user" : "Preniesť tabuľku na iného používateľa", "Create View" : "Vytvoriť zobrazenie", "Save modified View" : "Uložiť zmenené zobrazenie", "Save View" : "Uložiť zobrazenie", @@ -563,7 +563,7 @@ OC.L10N.register( "Structure changes" : "Zmeny štruktúry", "When columns are created, updated or deleted." : "Keď sú stĺpce vytvorené, aktualizované alebo odstránené.", "Assigned" : "Priradené", - "When you are added in a user or group field." : "Keď ste pridaní v poli používateľa alebo skupiny.", + "When you are added in a user or group field." : "Pri vašom pridaní do poľa používateľa alebo skupiny.", "Could not load notification settings." : "Nastavenia upozornení sa nepodarilo načítať.", "Could not update notification settings." : "Nastavenia upozornení sa nepodarilo aktualizovať.", "These settings are stored separately for each table and view." : "Tieto nastavenia sú uložené samostatne pre každú tabuľku a zobrazenie.", @@ -572,7 +572,7 @@ OC.L10N.register( "Export scheme" : "Exportovať schému", "Delete application" : "Vymazať aplikáciu", "Do you really want to delete the table \"{table}\"?" : "Naozaj chcete odstrániť tabuľku \"{table}\"?", - "Export" : "Export", + "Export" : "Exportovať", "Add to favorites" : "Pridať do obľúbených", "Remove from favorites" : "Odstrániť z obľúbených", "Archive table" : "Archivovať tabuľku", @@ -613,14 +613,14 @@ OC.L10N.register( "Demote to normal share" : "Zmeniť na bežné zdieľanie", "Open main table to adjust table management permissions" : "Ak chcete upraviť oprávnenia pre správu tabuľky, otvorte hlavnú tabuľku", "No shares" : "Žiadne sprístupnené položky", - "After the promotion of the share recipient to table manager, any applications created by share recipients that utilise this table will continue to access its data, even if you later demote them." : "Po povýšení príjemcu zdieľania na správcu tabuľky budú všetky aplikácie vytvorené príjemcami zdieľania, ktoré využívajú túto tabuľku, naďalej pristupovať k jeho údajom, aj keď neskôr práva odoberiete.", + "After the promotion of the share recipient to table manager, any applications created by share recipients that utilise this table will continue to access its data, even if you later demote them." : "Po povýšení príjemcu zdieľania na správcu tabuľky budú všetky aplikácie vytvorené príjemcami zdieľania, ktoré využívajú túto tabuľku, naďalej pristupovať k údajom tabuľky, aj keď neskôr príjemcovi znížite úroveň oprávnení.", "Confirm table manager promotion" : "Potvrdiť povýšenie na správcu tabuľky", "View only" : "Iba na čítanie", "Can edit" : "Môže upravovať", "Custom permissions" : "Vlastné oprávnenia", "Quick share options, current: {option}" : "Možnosti rýchleho zdieľania, aktuálne: {option}", - "Error creating link share" : "Chyba pri vytváraní zdieľania odkazu", - "Error deleting link share" : "Chyba pri odstraňovaní zdieľania odkazu", + "Error creating link share" : "Chyba pri vytváraní zdieľania odkazom", + "Error deleting link share" : "Chyba pri odstraňovaní zdieľania odkazom", "Link copied to clipboard" : "Odkaz bol skopírovaný do schránky", "Error copying link" : "Chyba pri kopírovaní odkazu", "Password copied" : "Heslo bolo skopírované", @@ -633,14 +633,14 @@ OC.L10N.register( "Copy public share link" : "Kopírovať verejný odkaz na zdieľanie", "Delete link" : "Odstrániť odkaz", "Public links" : "Verejné odkazy", - "No view in context" : "V tomto kontexte nie je žiadny pohľad", + "No view in context" : "V tomto kontexte nie je žiadne zobrazenie", "From {ownerName}" : "Od {ownerName}", "Created at" : "Vytvorené:", - "Ownership" : "Vlastník", + "Ownership" : "Vlastníctvo", "View ID" : "ID zobrazenia", "Sharing" : "Zdieľanie", "API" : "API", - "This is your API endpoint for this view" : "Toto je váš API endpoint pre toto zobrazenie", + "This is your API endpoint for this view" : "Toto je váš koncový bod API pre toto zobrazenie", "Copy to clipboard" : "Skopírovať do schránky", "Your permissions" : "Vaše oprávnenia", "This application could not be found" : "Táto aplikácia sa nenašla", @@ -659,7 +659,7 @@ OC.L10N.register( "No shared resources" : "Žiadne zdieľané zdroje", "Share with accounts" : "Zdieľať s účtami", "Error" : "Chyba", - "Could not load editor, text not available." : "Nepodarilo sa načítať editor, text nie je dostupný", + "Could not load editor, text not available." : "Nepodarilo sa načítať editor, text nie je dostupný.", "Icon {iconName} loading" : "Načítavanie ikony {iconName}", "Download" : "Stiahnuť", "This is a public form." : "Toto je verejný formulár.", @@ -678,10 +678,10 @@ OC.L10N.register( "This option is outdated." : "Táto možnosť už nie je aktuálna.", "Options" : "Možnosti", "This relation does not exist anymore." : "Tento vzťah už neexistuje.", - "Select relation value" : "Vyberte hodnotu vzťahu", + "Select relation value" : "Vybrať hodnotu vzťahu", "Set {star} stars" : "Nastaviť počet hviezd: {star}", "Cell input" : "Vstup do bunky", - "Select operator" : "Vyberte funkciu", + "Select operator" : "Vybrať operátor", "Search for value" : "Hľadať hodnotu", "Select options" : "Možnosti výberu", "Keyword and submit" : "Kľúčové slovo a odoslať", @@ -692,13 +692,13 @@ OC.L10N.register( "Sort asc" : "Zoradiť vzostupne", "Sort desc" : "Zoradiť zostupne", "Filtering" : "Filtrovanie", - "Select Operator" : "Vyberte funkciu", - "Select value" : "Vyberte hodnotu", + "Select Operator" : "Vybrať operátor", + "Select value" : "Vybrať hodnotu", "Manage column" : "Spravovať stĺpec", "Column manage actions" : "Akcie spravovania stĺpca", "Hide column" : "Skryť stĺpec", "Copy row" : "Kopírovať riadok", - "Undo" : "Odvolať", + "Undo" : "Vrátiť späť", "Redo" : "Zopakovať", "Bold" : "Tučné", "Italic" : "Kurzíva", @@ -730,10 +730,10 @@ OC.L10N.register( "Reduce stars" : "Odobrať hviezdičky", "Increase stars" : "Pridať hviezdičky", "Relation type" : "Typ vzťahu", - "Select relation type" : "Vyberte typ vzťahu", + "Select relation type" : "Vybrať typ vzťahu", "Select target" : "Vybrať cieľ", "Label for relation selection" : "Označenie pre výber vzťahu", - "Select label for relation selection" : "Vyberte označenie pre výber vzťahu", + "Select label for relation selection" : "Vybrať označenie pre výber vzťahu", "Only text and number columns can be used as label" : "Ako označenie je možné použiť iba textové a číselné stĺpce", "First option" : "Prvá možnosť", "Second option" : "Druhá možnosť", @@ -741,7 +741,7 @@ OC.L10N.register( "Add option" : "Pridať možnosť", "You can set a default value by clicking on one of the radio buttons next to the label fields." : "Predvolenú hodnotu môžete nastaviť kliknutím na jeden z prepínačov vedľa polí s označeniami.", "Click here to unset default selection." : "Kliknutím sem zrušíte predvolený výber.", - "You can set default values by marking the checkboxes next to the label fields." : "Predvolené hodnoty môžete nastaviť začiarknutím políčok vedľa názvov polí.", + "You can set default values by marking the checkboxes next to the label fields." : "Predvolené hodnoty môžete nastaviť začiarknutím políčok vedľa polí s označeniami.", "Allowed pattern (regex)" : "Povolený vzor (regulárny výraz)", "Maximum text length" : "Maximálna dĺžka textu", "Unique value" : "Jedinečná hodnota", @@ -755,7 +755,7 @@ OC.L10N.register( "Preview size" : "Veľkosť náhľadu", "Enter a preview size between {min} and {max}" : "Zadajte veľkosť náhľadu medzi {min} a {max}", "Preview size must be between {min} and {max} pixels." : "Veľkosť náhľadu musí byť medzi {min} a {max} pixelmi.", - "Select multiple items" : "Vyberte viacero položiek", + "Select multiple items" : "Vybrať viacero položiek", "Show user status" : "Zobraziť stav používateľa", "Please select a new time" : "Prosím vyberte nový čas", "Enter a value between {min} and {max}." : "Zadajte hodnotu medzi {min} a {max}.", @@ -780,7 +780,7 @@ OC.L10N.register( "Page" : "Strana", "Page number" : "Číslo stránky", "Per page" : "Na stranu", - "Go to next page" : "Ísť na ďaľšiu stránku", + "Go to next page" : "Ísť na ďalšiu stránku", "Go to last page" : "Ísť na poslednú stránku", "Confirmation" : "Potvrdenie", "Confirm" : "Potvrdiť", @@ -792,14 +792,14 @@ OC.L10N.register( "Select" : "Vybrať", "Insert" : "Vložiť", "Could not load search results." : "Zlyhalo načítavanie výsledkov vyhľadávania.", - "Search for tables and views..." : "Vyhľadávanie tabuliek a pohľadov...", + "Search for tables and views..." : "Vyhľadávanie tabuliek a zobrazení …", "Import into Tables" : "Importovať do aplikácie Tables", "Could not create share." : "Nepodarilo sa vytvoriť zdieľanie.", "Could not create public link." : "Verejný odkaz sa nepodarilo vytvoriť.", "Could not remove share." : "Nepodarilo sa odstrániť zdieľanie.", "Could not update share." : "Nepodarilo sa aktualizovať zdieľanie.", "Could not update cell" : "Nepodarilo sa aktualizovať bunku", - "Filter operator" : "Filtrovať funkciu", + "Filter operator" : "Operátor filtra", "Contains items" : "Obsahuje položky", "Contains" : "Obsahuje", "Does not contain" : "Neobsahuje", @@ -817,7 +817,7 @@ OC.L10N.register( "Me (user ID)" : "Ja (ID používateľa)", "Me (name)" : "Ja (meno)", "Checked" : "Označené", - "Unchecked" : "Nekontrolované", + "Unchecked" : "Nezačiarknuté", "This year" : "Tento rok", "This month" : "Tento mesiac", "This week" : "Tento týždeň", @@ -829,7 +829,7 @@ OC.L10N.register( "Number of days ago" : "Počet dní späť", "ID" : "ID", "Creator" : "Autor", - "Last editor" : "Naposledy upravil(a)", + "Last editor" : "Autor poslednej úpravy", "Last edited at" : "Naposledy upravené dňa", "Copied to clipboard." : "Skopírované do schránky.", "Clipboard is not available" : "Schránka nie je prístupná", @@ -850,7 +850,7 @@ OC.L10N.register( "Could not remove column." : "Nepodarilo sa odstrániť stĺpec.", "Could not load relation data." : "Údaje vzťahu sa nepodarilo načítať.", "Could not load rows." : "Nepodarilo sa načítať riadky.", - "Outdated data. View is reloaded" : "Neaktuálne údaje. Zobrazenie sa obnovuje", + "Outdated data. View is reloaded" : "Neaktuálne údaje. Zobrazenie bolo znovu načítané", "Could not insert row." : "Nepodarilo sa pridať riadok.", "Could not remove row." : "Nepodarilo sa odstrániť riadok.", "Could not verify row. View is reloaded" : "Nedalo sa overiť riadok. Zobrazenie bolo znovu načítané", @@ -861,7 +861,7 @@ OC.L10N.register( "Could not load shared views" : "Nepodarilo sa načítať zdieľané zobrazenia", "Could not fetch templates" : "Nepodarilo sa získať šablóny", "Could not insert view." : "Zobrazenie sa nepodarilo vložiť.", - "Could not update view." : "Pohľad sa nepodarilo aktualizovať. ", + "Could not update view." : "Zobrazenie sa nepodarilo aktualizovať.", "Could not remove view." : "Pohľad sa nepodarilo odstrániť.", "Could not reload view." : "Pohľad sa nepodarilo obnoviť.", "Could not update table." : "Tabuľku sa nepodarilo aktualizovať.", @@ -875,7 +875,7 @@ OC.L10N.register( "Could not insert application." : "Nepodarilo sa pridať aplikáciu.", "Could not update application." : "Nepodarilo sa aktualizovať aplikáciu.", "Could not transfer table." : "Nepodarilo sa presunúť tabuľku.", - "Could not load applications." : "Nepodarilo sa nahrať aplikácie.", + "Could not load applications." : "Nepodarilo sa načítať aplikácie.", "Could not fetch applications" : "Nepodarilo sa získať aplikácie", "Could not load application." : "Nepodarilo sa načítať aplikáciu.", "Could not fetch application" : "Nepodarilo sa získať aplikáciu", @@ -886,7 +886,7 @@ OC.L10N.register( "Could not verify export permissions." : "Oprávnenia na export sa nepodarilo overiť.", "Could not transfer application." : "Nepodarilo sa presunúť aplikáciu.", "Could not remove application." : "Nepodarilo sa odstrániť aplikáciu.", - "Could not remove table." : "Tabuľku sa nepodarilo odstrániť", + "Could not remove table." : "Tabuľku sa nepodarilo odstrániť.", "Share not found" : "Zdieľanie sa nenašlo", "This share does not exist or is no longer available" : "Toto zdieľanie neexistuje alebo už nie je dostupné", "Back to %s" : "Späť na %s" diff --git a/l10n/sk.json b/l10n/sk.json index 4f50a1b30b..9b8dc9b156 100644 --- a/l10n/sk.json +++ b/l10n/sk.json @@ -1,22 +1,22 @@ { "translations": { "You have imported file to table {table}" : "Importovali ste súbor do tabuľky {table}.", - "{user} has imported file to table {table}" : "Používateľ {user} importoval súbor do tabuľky {table}.", + "{user} has imported file to table {table}" : "Import súboru do tabuľky {table} používateľom {user}.", "You have created a new table {table}" : "Vytvorili ste novú tabuľku {table}", - "{user} has created a new table {table}" : "{user} vytvoril/a novú tabuľku {table}", + "{user} has created a new table {table}" : "Vytvorenie novej tabuľky {table} používateľom {user}", "You have updated the table {table}" : "Aktualizovali ste tabuľku {table}.", - "{user} has updated the table {table}" : "Používateľ {user} aktualizoval tabuľku {table}.", + "{user} has updated the table {table}" : "Aktualizácia tabuľky {table} používateľom {user}.", "You have deleted the table {table}" : "Vymazali ste tabuľku {table}.", "{user} has deleted the table {table}" : "Odstránenie tabuľky {table} používateľom {user}", "You have renamed the table {before} to {table}" : "Premenovali ste tabuľku {before} na {table}.", "{user} has renamed the table {before} to {table}" : "Premenovanie tabuľky {before} na {table} používateľom {user}", "You have updated the description of table {table} to {after}" : "Aktualizovali ste popis tabuľky {table} na {after}.", - "{user} has updated the description of table {table} to {after}" : "{user} aktualizoval/a popis tabuľky {table} na {after}", + "{user} has updated the description of table {table} to {after}" : "Aktualizácia popisu tabuľky {table} na {after} používateľom {user}", "You have created a new view {view} in table {table}" : "Vytvorili ste nové zobrazenie {view} v tabuľke {table}.", - "{user} has created a new view {view} in table {table}" : "Používateľ {user} vytvoril nové zobrazenie {view} v tabuľke {table}.", + "{user} has created a new view {view} in table {table}" : "Vytvorenie nového zobrazenia {view} v tabuľke {table} používateľom {user}.", "You have updated the view {view} in table {table}" : "Aktualizovali ste zobrazenie {view} v tabuľke {table}.", "{user} has updated the view {view} in table {table}" : "Aktualizácia zobrazenia {view} v tabuľke {table} používateľom {user}.", "You have deleted the view {view} from table {table}" : "Odstránili ste zobrazenie {view} z tabuľky {table}.", - "{user} has deleted the view {view} from table {table}" : "Používateľ {user} odstránil zobrazenie {view} z tabuľky {table}.", + "{user} has deleted the view {view} from table {table}" : "Odstránenie zobrazenia {view} z tabuľky {table} používateľom {user}.", "You have renamed the view {before} to {view} in table {table}" : "Premenovali ste zobrazenie z {before} na {view} v tabuľke {table}.", "{user} has renamed the view {before} to {view} in table {table}" : "Premenovanie zobrazenia {before} na {view} v tabuľke {table} používateľom {user}", "You have updated the description of view {view} to {after} in table {table}" : "Aktualizovali ste popis zobrazenia {view} na {after} v tabuľke {table}.", @@ -24,54 +24,54 @@ "You have created a new row {row} in view {view}" : "Vytvorili ste nový riadok {row} v zobrazení {view}.", "{user} has created a new row {row} in view {view}" : "Používateľ {user} vytvoril nový riadok {row} v zobrazení {view}.", "You have created a new row {row} in table {table}" : "Vytvorili ste nový riadok {row} v tabuľke {table}.", - "{user} has created a new row {row} in table {table}" : "{user} vytvoril/a novú riadok {row} v tabuľke {table}", + "{user} has created a new row {row} in table {table}" : "Vytvorenie nového riadka {row} v tabuľke {table} používateľom {user}", "You have deleted the row {row} in view {view}" : "Odstránili ste riadok {row} v zobrazení {view}.", - "{user} has deleted the row {row} in view {view}" : "Používateľ {user} odstránil riadok {row} v zobrazení {view}.", + "{user} has deleted the row {row} in view {view}" : "Odstránenie riadka {row} v zobrazení {view} používateľom {user}.", "You have deleted the row {row} in table {table}" : "Vymazali ste riadok {row} v tabuľke {table}.", - "{user} has deleted the row {row} in table {table}" : "{user} vymazal/a riadok {row} v tabuľke {table}", + "{user} has deleted the row {row} in table {table}" : "Odstránenie riadka {row} v tabuľke {table} používateľom {user}", "_You have updated cell %1$s on row {row} in view {view}_::_You have updated cells %1$s on row {row} in view {view}_" : ["Aktualizovali ste bunku %1$s na riadku {row} v zobrazení {view}.","Aktualizovali ste bunky %1$s na riadku {row} v zobrazení {view}.","Aktualizovali ste bunky %1$s na riadku {row} v zobrazení {view}.","Aktualizovali ste bunky %1$s na riadku {row} v zobrazení {view}."], "_{user} has updated cell %1$s on row {row} in view {view}_::_{user} has updated cells %1$s on row {row} in view {view}_" : ["Aktualizácia bunky %1$s na riadku {row} v zobrazení {view} používateľom {user}","Aktualizácia buniek %1$s na riadku {row} v zobrazení {view} používateľom {user}","Aktualizácia buniek %1$s na riadku {row} v zobrazení {view} používateľom {user}","Aktualizácia buniek %1$s na riadku {row} v zobrazení {view} používateľom {user}"], "_You have updated cell %1$s on row {row} in table {table}_::_You have updated cells %1$s on row {row} in table {table}_" : ["Aktualizovali ste bunku %1$s v riadku {row} v tabuľke {table}","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}.","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}.","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}."], - "_{user} has updated cell %1$s on row {row} in table {table}_::_{user} has updated cells %1$s on row {row} in table {table}_" : ["{user} aktualizoval/a bunku %1$s v riadku {row} v tabuľke {table}","{user} aktualizoval/a bunky %1$s v riadku {row} v tabuľke {table}","{user} aktualizoval/a bunky %1$s v riadku {row} v tabuľke {table}","{user} aktualizoval/a bunky %1$s v riadku {row} v tabuľke {table}"], + "_{user} has updated cell %1$s on row {row} in table {table}_::_{user} has updated cells %1$s on row {row} in table {table}_" : ["Aktualizácia bunky %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}"], "You have created a new column {column} in view {view}" : "Vytvorili ste nový stĺpec {column} v zobrazení {view}.", "{user} has created a new column {column} in view {view}" : "Používateľ {user} vytvoril nový stĺpec {column} v zobrazení {view}.", "You have updated the column {column} in view {view}" : "Aktualizovali ste stĺpec {column} v zobrazení {view}.", "{user} has updated the column {column} in view {view}" : "Stĺpec {column} v zobrazení {view} aktualizovaný používateľom {user}.", "You have deleted the column {column} from view {view}" : "Odstránili ste stĺpec {column} zo zobrazenia {view}.", - "{user} has deleted the column {column} from view {view}" : "Používateľ {user} odstránil stĺpec {column} zo zobrazenia {view}.", + "{user} has deleted the column {column} from view {view}" : "Odstránenie stĺpca {column} zo zobrazenia {view} používateľom {user}.", "You have created a new column {column} in table {table}" : "Vytvorili ste nový stĺpec {column} v tabuľke {table}.", "{user} has created a new column {column} in table {table}" : "Používateľ {user} vytvoril nový stĺpec {column} v tabuľke {table}.", "You have updated the column {column} in table {table}" : "Aktualizovali ste stĺpec {column} v tabuľke {table}.", - "{user} has updated the column {column} in table {table}" : "Používateľ {user} aktualizoval stĺpec {column} v tabuľke {table}.", + "{user} has updated the column {column} in table {table}" : "Aktualizácia stĺpca {column} v tabuľke {table} používateľom {user}", "You have deleted the column {column} from table {table}" : "Odstránili ste stĺpec {column} z tabuľky {table}.", "{user} has deleted the column {column} from table {table}" : "Odstránenie stĺpca {column} z tabuľky {table} používateľom {user}", "{user} has shared view {view} with you" : "Používateľ {user} s vami zdieľal zobrazenie {view}.", "You have shared the view {view} as public link" : "Zdieľali ste zobrazenie {view} ako verejný odkaz.", - "{user} has shared the view {view} as public link" : "Používateľ {user} zdieľal zobrazenie {view} ako verejný odkaz.", + "{user} has shared the view {view} as public link" : "Zdieľanie zobrazenia {view} používateľom {user} ako verejného odkazu.", "You have shared the view {view} with {sharedWith}" : "Zdieľali ste zobrazenie {view} s používateľom {sharedWith}.", "{user} has shared the view {view} with {sharedWith}" : "Zobrazenie {view} zdieľané používateľom {user} s {sharedWith}.", "{user} has shared table {table} with you" : "Používateľ {user} s vami zdieľal tabuľku {table}.", "You have shared the table {table} as public link" : "Zdieľali ste tabuľku {table} ako verejný odkaz.", - "{user} has shared the table {table} as public link" : "Používateľ {user} zdieľal tabuľku {table} ako verejný odkaz.", + "{user} has shared the table {table} as public link" : "Zdieľanie tabuľky {table} používateľom {user} cez verejný odkaz.", "You have shared the table {table} with {sharedWith}" : "Zdieľali ste tabuľku {table} s {sharedWith}.", - "{user} has shared the table {table} with {sharedWith}" : "Používateľ {user} zdieľal tabuľku {table} s používateľom {sharedWith}.", - "{user} has updated sharing for the view {view} with you" : "Používateľ {user} aktualizoval zdieľanie zobrazenia {view} s vami.", + "{user} has shared the table {table} with {sharedWith}" : "Zdieľanie tabuľky {table} s {sharedWith} používateľom {user}", + "{user} has updated sharing for the view {view} with you" : "Aktualizácia zdieľania zobrazenia {view} s vami používateľom {user}.", "You have updated public link sharing for the view {view}" : "Aktualizovali ste zdieľanie verejného odkazu pre zobrazenie {view}.", - "{user} has updated public link sharing for the view {view}" : "Používateľ {user} aktualizoval zdieľanie verejného odkazu pre zobrazenie {view}.", + "{user} has updated public link sharing for the view {view}" : "Aktualizácia zdieľania zobrazenia {view} prostredníctvom verejného odkazu používateľom {user}.", "You have updated sharing for the view {view} with {sharedWith}" : "Aktualizovali ste zdieľanie zobrazenia {view} s {sharedWith}.", "{user} has updated sharing for the view {view} with {sharedWith}" : "Používateľ {user} aktualizoval zdieľanie zobrazenia {view} s používateľom {sharedWith}.", - "{user} has updated sharing for the table {table} with you" : "Používateľ {user} aktualizoval zdieľanie tabuľky {table} s vami.", + "{user} has updated sharing for the table {table} with you" : "Aktualizácia zdieľania tabuľky {table} s vami používateľom {user}", "You have updated public link sharing for the table {table}" : "Aktualizovali ste zdieľanie tabuľky {table} cez verejný odkaz.", "{user} has updated public link sharing for the table {table}" : "Používateľ {user} aktualizoval zdieľanie verejného odkazu pre tabuľku {table}.", - "You have updated sharing for the table {table} with {sharedWith}" : "Aktualizovali ste zdieľanie tabuľky {table} s používateľom {sharedWith}.", + "You have updated sharing for the table {table} with {sharedWith}" : "Aktualizovali ste zdieľanie tabuľky {table} s {sharedWith}.", "{user} has updated sharing for the table {table} with {sharedWith}" : "Aktualizácia zdieľania tabuľky {table} s {sharedWith} používateľom {user}", "{user} has removed sharing for the view {view} with you" : "Zrušenie zdieľania zobrazenia {view} s vami používateľom {user}", - "You have removed public link sharing for the view {view}" : "Zrušili ste zdieľanie verejného odkazu pre zobrazenie {view}.", - "{user} has removed public link sharing for the view {view}" : "Používateľ {user} zrušil zdieľanie verejného odkazu pre zobrazenie {view}.", - "You have removed sharing for the view {view} with {sharedWith}" : "Zrušili ste zdieľanie zobrazenia {view} s používateľom {sharedWith}.", - "{user} has removed sharing for the view {view} with {sharedWith}" : "Používateľ {user} zrušil zdieľanie zobrazenia {view} s používateľom {sharedWith}.", - "{user} has removed sharing for the table {table} with you" : "Používateľ {user} zrušil zdieľanie tabuľky {table} s vami.", - "You have removed public link sharing for the table {table}" : "Zrušili ste zdieľanie verejného odkazu pre tabuľku {table}.", + "You have removed public link sharing for the view {view}" : "Zrušili ste zdieľanie zobrazenia {view} verejným odkazom.", + "{user} has removed public link sharing for the view {view}" : "Zrušenie zdieľania zobrazenia {view} verejným odkazom používateľom {user}.", + "You have removed sharing for the view {view} with {sharedWith}" : "Zrušili ste zdieľanie zobrazenia {view} s {sharedWith}.", + "{user} has removed sharing for the view {view} with {sharedWith}" : "Zrušenie zdieľania zobrazenia {view} s {sharedWith} používateľom {user}.", + "{user} has removed sharing for the table {table} with you" : "Zrušenie zdieľania tabuľky {table} s vami používateľom {user}.", + "You have removed public link sharing for the table {table}" : "Zrušili ste zdieľanie tabuľky {table} cez verejný odkaz.", "{user} has removed public link sharing for the table {table}" : "Používateľ {user} zrušil zdieľanie verejného odkazu pre tabuľku {table}.", "You have removed sharing for the table {table} with {sharedWith}" : "Zrušili ste zdieľanie tabuľky {table} s používateľom {sharedWith}.", "{user} has removed sharing for the table {table} with {sharedWith}" : "Zrušenie zdieľania tabuľky {table} s {sharedWith} používateľom {user}", @@ -86,32 +86,32 @@ "A table or view was changed" : "Došlo k zmene tabuľky alebo zobrazenia", "A table or view was shared with you" : "S vami bola zdieľaná tabuľka alebo zobrazenie", "Nextcloud Tables" : "Nextcloud Tables", - "Select table" : "Vyberte tabuľku", + "Select table" : "Vybrať tabuľku", "Select columns" : "Vybrať stĺpce", "e.g. 1,2,4 or leave empty" : "napr. 1,2,4 alebo ponechajte prázdne", - "Timestamp of data load" : "Časové razítko načítaných údajov", + "Timestamp of data load" : "Časová pečiatka načítania údajov", "No" : "Nie", "Yes" : "Áno", "Count" : "Počet", "An unexpected error occurred. More details can be found in the logs. Please reach out to your administration." : "Vyskytla sa neočakávaná chyba. Viac podrobností nájdete v protokoloch. Obráťte sa na svojho správcu.", "A permission error occurred. More details can be found in the logs. Please reach out to your administration." : "Vyskytla sa chyba oprávnenia. Viac podrobností nájdete v protokoloch. Obráťte sa na svojho správcu.", - "A not found error occurred. More details can be found in the logs. Please reach out to your administration." : "Vyskytla sa neočakávaná chyba. Viac podrobností nájdete v protokole. Obráťte sa na svojho administrátora.", + "A not found error occurred. More details can be found in the logs. Please reach out to your administration." : "Vyskytla sa chyba: požadovaný objekt sa nenašiel. Viac podrobností nájdete v protokoloch. Obráťte sa na svojho správcu.", "Could not create row." : "Nepodarilo sa vytvoriť riadok.", "Could not update row." : "Nepodarilo sa upraviť riadok.", "The file was uploaded" : "Súbor bol nahraný", "The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Nahraný súbor prekročil limit nastavený v upload_max_filesize v súbore php.ini", - "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Ukladaný súbor prekračuje nastavenie MAX_FILE_SIZE špecifikované vo formulári HTML.", + "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Nahratý súbor prekračuje limit určený direktívou MAX_FILE_SIZE vo formulári HTML.", "The file was only partially uploaded" : "Súbor bol nahraný iba čiastočne", "No file was uploaded" : "Nenahral sa žiadny súbor", "Missing a temporary folder" : "Chýba priečinok pre dočasné súbory", "Could not write file to disk" : "Nepodarilo sa zapísať súbor na disk", "A PHP extension stopped the file upload" : "Rozšírenie PHP zastavilo nahrávanie súboru", - "No file uploaded or file size exceeds maximum of %s" : "Nenahral sa žiadny súbor alebo jeho veľkosť presiahla %s", + "No file uploaded or file size exceeds maximum of %s" : "Nenahral sa žiadny súbor alebo jeho veľkosť presahuje maximálnu hodnotu %s", "Team not found" : "Tím sa nepodarilo nájsť", "A new table row has been created in view %2$s by %1$s." : "Nový riadok tabuľky bol vytvorený v zobrazení %2$s používateľom %1$s.", "A new table row has been created in table %2$s by %1$s." : "Nový riadok tabuľky bol vytvorený v tabuľke %2$s používateľom %1$s.", "{user} has created a new {row} in view {view}" : "Vytvorenie nového riadka {row} v zobrazení {view} používateľom {user}.", - "{user} has created a new {row} in table {table}" : "Používateľ {user} vytvoril nový {row} v tabuľke {table}.", + "{user} has created a new {row} in table {table}" : "Vytvorenie nového {row} v tabuľke {table} používateľom {user}", "A table row has been updated in view %2$s by %1$s." : "Riadok tabuľky bol aktualizovaný v zobrazení %2$s používateľom %1$s.", "A table row has been updated in table %2$s by %1$s." : "Riadok tabuľky bol aktualizovaný v tabuľke %2$s používateľom %1$s.", "{user} has updated this {row} in view {view}" : "Aktualizácia {row} v zobrazení {view} používateľom {user}.", @@ -119,18 +119,18 @@ "A table row has been deleted from view %2$s by %1$s." : "Riadok tabuľky bol odstránený zo zobrazenia %2$s používateľom %1$s.", "A table row has been deleted from table %2$s by %1$s." : "Riadok tabuľky bol odstránený z tabuľky %2$s používateľom %1$s.", "{user} has deleted this {row} in view {view}" : "Odstránenie tohto {row} v zobrazení {view} používateľom {user}", - "{user} has deleted this {row} in table {table}" : "Používateľ {user} odstránil tento {row} v tabuľke {table}.", + "{user} has deleted this {row} in table {table}" : "Odstránenie tohto {row} v tabuľke {table} používateľom {user}.", "Group %2$s has been assigned in row %3$s of view %4$s by %1$s." : "Skupina %2$s bola priradená v riadku %3$s zobrazenia %4$s používateľom %1$s.", "Group %2$s has been assigned in row %3$s of table %4$s by %1$s." : "Skupina %2$s bola priradená v riadku %3$s tabuľky %4$s používateľom %1$s.", - "{user} has assigned group {group} in {row} in view {view}" : "Používateľ {user} priradil skupinu {group} v {row} v zobrazení {view}.", + "{user} has assigned group {group} in {row} in view {view}" : "Priradenie skupiny {group} v {row} v zobrazení {view} používateľom {user}.", "{user} has assigned group {group} in {row} in table {table}" : "Priradenie skupiny {group} v riadku {row} v tabuľke {table} používateľom {user}.", "Team %2$s has been assigned in row %3$s of view %4$s by %1$s." : "Tím %2$s bol priradený v riadku %3$s zobrazenia %4$s používateľom %1$s.", "Team %2$s has been assigned in row %3$s of table %4$s by %1$s." : "Tím %2$s bol priradený v riadku %3$s tabuľky %4$s používateľom %1$s.", - "{user} has assigned team {team} in {row} in view {view}" : "Používateľ {user} priradil tím {team} v {row} v zobrazení {view}.", + "{user} has assigned team {team} in {row} in view {view}" : "Priradenie tímu {team} v riadku {row} v zobrazení {view} používateľom {user}", "{user} has assigned team {team} in {row} in table {table}" : "Používateľ {user} priradil tím {team} v {row} v tabuľke {table}.", "You have been assigned in row %2$s of view %3$s by %1$s." : "Vaše priradenie k riadku %2$s v zobrazení %3$s používateľom %1$s.", "You have been assigned in row %2$s of table %3$s by %1$s." : "Boli ste priradení v riadku %2$s tabuľky %3$s používateľom %1$s.", - "{user} has assigned you in {row} in view {view}" : "Používateľ {user} vás priradil v {row} v zobrazení {view}.", + "{user} has assigned you in {row} in view {view}" : "Vaše priradenie k riadku {row} v zobrazení {view} používateľom {user}.", "{user} has assigned you in {row} in table {table}" : "Priradenie vás v {row} v tabuľke {table} používateľom {user}", "A new column has been created in view %2$s by %1$s." : "Nový stĺpec bol vytvorený v zobrazení %2$s používateľom %1$s.", "A new column has been created in table %2$s by %1$s." : "Nový stĺpec bol vytvorený v tabuľke %2$s používateľom %1$s.", @@ -139,12 +139,12 @@ "A column has been deleted from view %2$s by %1$s." : "Stĺpec bol odstránený zo zobrazenia %2$s používateľom %1$s.", "A column has been deleted from table %2$s by %1$s." : "Stĺpec bol odstránený z tabuľky %2$s používateľom %1$s.", "You have imported file to view {view}" : "Importovali ste súbor do zobrazenia {view}", - "{user} has imported file to view {view}" : "Používateľ {user} importoval súbor do pohľadu {view}", + "{user} has imported file to view {view}" : "Import súboru do zobrazenia {view} používateľom {user}", "Your import to view {view} has failed" : "Váš import do zobrazenia {view} zlyhal", "{user}'s import to view {view} has failed" : "Import do zobrazenia {view} vykonaný používateľom {user} zlyhal", "Your import to table {table} has failed" : "Váš import do tabuľky {table} zlyhal", - "{user}'s import to table {table} has failed" : "Import používateľa {user} do tabuľky {table} zlyhal", - "Nextcloud tables" : "Tabuľky Nextcloud", + "{user}'s import to table {table} has failed" : "Import do tabuľky {table} používateľom {user} zlyhal", + "Nextcloud tables" : "Nextcloud Tables", "_%n row_::_%n rows_" : ["jeden riadok","%n riadky","%n riadkov","%n riadkov"], "table" : "tabuľka", "table view" : "zobrazenie v tabuľke", @@ -154,9 +154,9 @@ "This column was automatically created by the import service." : "Tento stĺpec automaticky vytvorila služba importu.", "Column \"%s\" contains a non-unique value." : "Stĺpec \"%s\" obsahuje hodnotu, ktorá nie je jedinečná.", "Column \"%s\" contains an invalid protocol. Only http and https are allowed." : "Stĺpec \"%s\" obsahuje neplatný protokol. Sú povolené iba http a https.", - "Welcome to %s Tables!" : "Vitajte v %s Tabuľkách!", + "Welcome to %s Tables!" : "Vitajte v aplikácii %s Tables!", "ToDo list" : "Zoznam úloh", - "Setup a simple todo-list." : "Jednoduchý zoznam úloh.", + "Setup a simple todo-list." : "Nastaviť jednoduchý zoznam úloh.", "Members" : "Členovia", "List of members with some basic attributes." : "Zoznam členov s pár základnými atribútmi.", "Customers" : "Zákazníci", @@ -182,10 +182,10 @@ "Quality of relationship" : "Kvalita vzťahu", "Comment" : "Komentár", "Dog" : "Pes", - "Dog food every week" : "Jedlo pre psov každý týždeň", + "Dog food every week" : "Krmivo pre psov každý týždeň", "The dog is our best friend." : "Pes je naším najlepším priateľom.", - "Standard, SLA Level 2" : "Standard, SLA Level 2", - "Likes treats" : "Má rád odmeny", + "Standard, SLA Level 2" : "Štandard, úroveň SLA 2", + "Likes treats" : "Obľubuje odmeny", "Cat" : "Mačka", "Cat food every week" : "Jedlo pre mačky každý týždeň", "The cat is also our best friend." : "Mačka je tiež náš najlepší priateľ.", @@ -195,7 +195,7 @@ "Hay and straw" : "Seno a slama", "Summer only" : "Iba leto", "Special" : "Špeciálna", - "Maybe we can make it fix for every year?!" : "Možno by sme ho presvedčili na každoročný nákup?!", + "Maybe we can make it fix for every year?!" : "Možno by sme to mohli nastaviť natrvalo na každý rok?!", "Employee name" : "Meno zamestnanca", "from" : "Od", "When is your vacation starting?" : "Kedy vaša dovolenka začína?", @@ -206,7 +206,7 @@ "Request date" : "Dátum žiadosti", "Approved" : "Schválené", "Approve date" : "Dátum schválenia", - "Approved by" : "Schválil(a)", + "Approved by" : "Schválené používateľom", "The Boss" : "Šéf", "Bob will help for this time" : "Tentokrát pomôže Bob.", "We have to talk about that." : "O tomto sa musíme porozprávať.", @@ -229,10 +229,10 @@ "Create some milestones to structure the project." : "Vytvorte zopár míľnikov a dajte tak projektu základný rámec.", "Plan to discuss for the kickoff meeting." : "Plán na úvodnú (kickoff) poradu.", "Wow, that was hard work, but now it's done." : "Páni, to dalo riadne zabrať, ale už máme hotovo.", - "Kickoff meeting" : "Úvodná „kickoff“ porada", + "Kickoff meeting" : "Úvodná porada", "We will have a kickoff meeting in person." : "Budeme mať osobnú úvodnú poradu.", - "Project is kicked-off and we know the vision and our first tasks." : "Projekt bol zahájený a my poznáme víziu aj naše prvé úlohy.", - "That was nice in person again. We collected some action points, had a look at the documentation..." : "Bolo opäť pekné sa vidieť naživo. Dali sme dokopy niekoľko akčných bodov, pozrite sa do dokumentácie...", + "Project is kicked-off and we know the vision and our first tasks." : "Projekt bol začatý a my poznáme víziu aj naše prvé úlohy.", + "That was nice in person again. We collected some action points, had a look at the documentation..." : "Bolo opäť pekné sa vidieť naživo. Dali sme dokopy niekoľko úloh a pozreli sme sa na dokumentáciu…", "Set up some documentation and collaboration tools" : "Nastaviť nástroje na dokumentáciu a spoluprácu", "Where and in what way do we collaborate?" : "Kde a akým spôsobom budeme spolupracovať?", "We know what we are doing." : "Vieme, čo robíme.", @@ -243,15 +243,15 @@ "How to do" : "Ako to urobiť", "Ease of use" : "Jednoduchosť používania", "Done" : "Hotové", - "Open the tables app" : "Otvorte apku Tabuľky", - "Reachable via the Tables icon in the apps list." : "Dostupné cez ikonu Tabuľky v zozname aplikácií.", + "Open the tables app" : "Otvoriť aplikáciu Tables", + "Reachable via the Tables icon in the apps list." : "Dostupné cez ikonu Tables v zozname aplikácií.", "Add your first row" : "Pridajte Váš prvý riadok", "Use the *+ Create row* button and enter some data inside of the form." : "Použite tlačidlo *+ Vytvoriť riadok* a do formulára zadajte nejaké údaje.", "Edit a row" : "Upraviť riadok", "Go to a row you want to edit and use the *pencil* edit button. Maybe you want to add a *Done* status to this row?" : "Prejdite na riadok, ktorý chcete upraviť, a použite tlačidlo úprav *ceruzka*. Možno chcete do tohto riadka pridať stav *Hotovo*?", "Add a new column" : "Pridať nový stĺpec", "You can add, remove and adjust columns as you need. Open the three-dot-menu on the upper right of this table and choose *Create column*. Fill in the data you want, at least a title and column type." : "Stĺpce môžete pridávať, odstraňovať a upravovať podľa potreby. Otvorte trojbodkovú ponuku v pravej hornej časti tejto tabuľky a vyberte možnosť *Vytvoriť stĺpec*. Vyplňte požadované údaje, aspoň názov a typ stĺpca.", - "Create views for tables" : "Vytvoriť pohľad pre Tabuľky", + "Create views for tables" : "Vytvoriť zobrazenia pre tabuľky", "Filter data and save table presets as views to share and combine them into applications." : "Filtrujte údaje a uložte predvoľby tabuľky ako pohľad, aby ste ich mohli zdieľať a kombinovať do aplikácií.", "Create applications" : "Vytvoriť aplikácie", "Combine different tables and views into no-code applications for any purpose. This makes them easily accessible directly in the app bar." : "Kombinujte rôzne tabuľky a zobrazenia pre použitie v aplikáciach bez písania kódu. Týmto dosiahnete že sú ľahko dostupné priamo v paneli aplikácií.", @@ -273,7 +273,7 @@ "Administer the shared table and its sharing" : "Spravovať zdieľanú tabuľku a jej zdieľanie", "All tables, columns, rows, contexts, and sharing information including all tables owned or shared, their structure and content" : "Všetky tabuľky, stĺpce, riadky, kontexty a informácie o zdieľaní vrátane všetkých vlastnených alebo zdieľaných tabuliek, ich štruktúry a obsahu", "Manage data the way you need it." : "Spravujte údaje spôsobom, akým to potrebujete.", - "Manage data the way you need it.\n\nWith this app you are able to create your own tables with individual columns. You can start with a template or from scratch and add your wanted columns.\nYou can choose from the following column types:\n- Text line or rich text\n- Link to urls or other nextcloud resources\n- Numbers\n- Progress bar\n- Stars rating\n- Yes/No tick\n- Date and/or time\n- (Multi) selection\n- Users, groups and teams\n\nShare your tables and views with users and groups within your cloud.\n\nHave a good time and manage whatever you want." : "# Spravujte dáta podľa svojich potrieb\n\nS touto aplikáciou môžete vytvoriť svoje vlastné tabuľky s individuálnymi stĺpcami. Môžete začať od šablóny alebo úplne od začiatku a pridať požadované stĺpce. \nMôžete si vybrať z nasledujúcich typov stĺpcov:\n- Textový riadok alebo formátovaný text\n- Odkaz na URL alebo iné zdroje Nextcloud\n- Čísla\n- Priebeh postupu\n- Hodnotenie hviezdičkami\n- Začiarkavacie políčko Áno/Nie\n- Dátum a/alebo čas\n- (Viacnásobný) výber\n- Používatelia, skupiny a tímy\n\nZdieľajte svoje tabuľky a zobrazenia s používateľmi a skupinami vo vašom cloude.\n\nPrajeme vám príjemný čas a spravujte čokoľvek, čo chcete.", + "Manage data the way you need it.\n\nWith this app you are able to create your own tables with individual columns. You can start with a template or from scratch and add your wanted columns.\nYou can choose from the following column types:\n- Text line or rich text\n- Link to urls or other nextcloud resources\n- Numbers\n- Progress bar\n- Stars rating\n- Yes/No tick\n- Date and/or time\n- (Multi) selection\n- Users, groups and teams\n\nShare your tables and views with users and groups within your cloud.\n\nHave a good time and manage whatever you want." : "Spravujte dáta podľa svojich potrieb.\n\nS touto aplikáciou môžete vytvoriť svoje vlastné tabuľky s individuálnymi stĺpcami. Môžete začať od šablóny alebo úplne od začiatku a pridať požadované stĺpce.\nMôžete si vybrať z nasledujúcich typov stĺpcov:\n- Textový riadok alebo formátovaný text\n- Odkaz na URL alebo iné zdroje Nextcloudu\n- Čísla\n- Ukazovateľ priebehu\n- Hodnotenie hviezdičkami\n- Začiarkavacie políčko Áno/Nie\n- Dátum a/alebo čas\n- (Viacnásobný) výber\n- Používatelia, skupiny a tímy\n\nZdieľajte svoje tabuľky a zobrazenia s používateľmi a skupinami vo vašom cloude.\n\nPrajeme vám príjemnú prácu pri spravovaní čohokoľvek, čo chcete.", "Table" : "Tabuľka", "View" : "Zobrazenie", "Today" : "Dnes", @@ -308,14 +308,14 @@ "Filtering rows" : "Filtrujem riadky", "OR" : "ALEBO", "Add new filter group" : "Pridať novú skupinu filtrov", - "... that meet all of the following conditions" : "... ktoré spĺňajú všetky nasledujúce kritériá", + "... that meet all of the following conditions" : "… ktoré spĺňajú všetky nasledujúce podmienky", "Add new filter" : "Pridať nový filter", "Ascending" : "Vzostupne", "Descending" : "Zostupne", "Reactivate sorting rule" : "Znova aktivovať pravidlo pre zoradenie", "Delete sorting rule" : "Zmazať pravidlo pre zoradenie", - "Among the sorting rules are some to which you have no permissions. However, if you like, you can override the sorting." : "Medzi pravidlami triedenia sú niektoré, ku ktorým nemáte žiadne oprávnenie. Ak však chcete, môžete triedenie prepísať.", - "Override sorting rules" : "Prepísať pravidlá triedenia", + "Among the sorting rules are some to which you have no permissions. However, if you like, you can override the sorting." : "Niektoré pravidlá triedenia nemáte oprávnenie používať. Ak však chcete, môžete namiesto nich použiť vlastné triedenie.", + "Override sorting rules" : "Použiť vlastné pravidlá triedenia", "Updated table \"{emoji}{table}\"." : "Aktualizovaná tabuľka \"{emoji}{table}\".", "Cannot update table. Title is missing." : "Nie je možné aktualizovať tabuľku. Chýba názov.", "Could not fetch shares." : "Nepodarilo sa získať zdieľania.", @@ -324,7 +324,7 @@ "Rows" : "Riadky", "Columns" : "Stĺpce", "Last edited" : "Naposledy upravené", - "Shares" : "Sprístupnené položky", + "Shares" : "Zdieľania", "Actions" : "Akcie", "View settings" : "Zobraziť nastavenia", "Share" : "Zdieľať", @@ -343,7 +343,7 @@ "Filtered view" : "Filtrované zobrazenie", "Reset local adjustments" : "Zahodiť miestne úpravy", "No columns" : "Žiadne stĺpce", - "We need at least one column, please be so kind and create one." : "Potrebujeme aspoň jeden stĺpec, buďte tak láskaví a vytvorte ho.", + "We need at least one column, please be so kind and create one." : "Potrebujeme aspoň jeden stĺpec, vytvorte ho.", "No columns selected" : "Nie sú vybrané žiadne stĺpce", "The view is empty. Edit which columns should be displayed." : "Zobrazenie je prázdne. Upravte, ktoré stĺpce sa majú zobraziť.", "Edit view" : "Upraviť zobrazenie", @@ -363,8 +363,8 @@ "Text line" : "Textový riadok", "Simple text" : "Jednoduchý text", "Rich text" : "Formátovaný text", - "Single selection" : "Výber jedného", - "Multiple selection" : "Výber viacerých", + "Single selection" : "Výber jednej položky", + "Multiple selection" : "Viacnásobný výber", "Yes/No" : "Áno/Nie", "Time" : "Čas", "Add more" : "Pridať viac", @@ -380,7 +380,7 @@ "Description of the new application" : "Popis novej aplikácie", "Resources" : "Zdroje", "Show in app list" : "Zobraziť v zozname aplikácií", - "This can be overridden by a per-account preference" : "Toto je možné prepísať preferovaným nastavením pre jednotlivé účty", + "This can be overridden by a per-account preference" : "Toto nastavenie možno nahradiť predvoľbou pre jednotlivé účty", "Create application" : "Vytvoriť aplikáciu", "Fill form" : "Vyplniť formulár", "Create row" : "Vytvoriť riadok", @@ -389,34 +389,34 @@ "Form successfully submitted." : "Formulár bol úspešne odoslaný.", "Row successfully created." : "Riadok bol úspešne vytvorený.", "Could not create new row" : "Nepodarilo sa vytvoriť nový riadok", - "\"{columnTitle}\" should not be empty" : "\"{columnTitle}\" nemôže byť prázdne", + "\"{columnTitle}\" should not be empty" : "Pole „{columnTitle}“ nesmie byť prázdne", "Save row" : "Uložiť riadok", "Cannot create new table. Title is missing." : "Novú tabuľku nie je možné vytvoriť. Chýba názov.", "Could not create new table" : "Nepodarilo sa vytvoriť novú tabuľku", "Could not load templates." : "Nepodarilo sa načítať šablóny.", "Create table" : "Vytvoriť tabuľku", - "Select emoji for table" : "Vyberte emotikonu pre tabuľku", - "Select emoji" : "Vybrať emotikonu", + "Select emoji for table" : "Vybrať emoji pre tabuľku", + "Select emoji" : "Vybrať emoji", "Title of the new table" : "Názov novej tabuľky", "🔧 Custom table" : "Vlastná tabuľka", "Custom table from scratch." : "Vlastná tabuľka od nuly", "📄 Import table" : "📄 Importovať tabuľku", "Import table from file." : "Importovať tabuľku zo súboru.", - "📄 Import Scheme" : "📄 Importovať Schému", + "📄 Import Scheme" : "📄 Importovať schému", "Import Scheme from file." : "Importovať schému zo súboru.", "Are you sure you want to delete column \"{column}\"?" : "Naozaj chcete odstrániť stĺpec \"{column}\"?", "Error occurred while deleting column \"{column}\"." : "Počas odstraňovania stĺpca \"{column}\" došlo k chybe.", "Delete column" : "Odstrániť stĺpec", - "Do you really want to delete the application \"{context}\"? This will also delete the shares and unshare the resources that are connected to this application." : "Naozaj chcete odstrániť aplikáciu „{context}“? Týmto sa tiež odstránia zdieľané položky a zruší sa zdieľanie zdrojov, ktoré sú pripojené k tejto aplikácii.", - "Application \"{context}\" removed." : "Aplikácia \"{context}\" bola vymazaná.", + "Do you really want to delete the application \"{context}\"? This will also delete the shares and unshare the resources that are connected to this application." : "Naozaj chcete odstrániť aplikáciu „{context}“? Týmto sa tiež odstránia zdieľania a zruší sa zdieľanie zdrojov, ktoré sú pripojené k tejto aplikácii.", + "Application \"{context}\" removed." : "Aplikácia \"{context}\" bola odstránená.", "Confirm application deletion" : "Potvrdiť zmazanie aplikácie", "Cancel" : "Zrušiť", "Error occurred while deleting rows." : "Počas odstraňovania riadkov došlo k chybe.", "_Delete row_::_Delete rows_" : ["Odstrániť riadok","Odstrániť riadky","Odstrániť riadky","Odstrániť riadky"], - "_Are you sure you want to delete the selected row?_::_Are you sure you want to delete the %n selected rows?_" : ["Naozaj chcete odstrániť %n vybratý riadok?","Naozaj chcete odstrániť %n vybraté riadky?","Naozaj chcete odstrániť %n vybratých riadkov?","Naozaj chcete odstrániť %n vybraté riadky?"], + "_Are you sure you want to delete the selected row?_::_Are you sure you want to delete the %n selected rows?_" : ["Naozaj chcete odstrániť vybratý riadok?","Naozaj chcete odstrániť %n vybraté riadky?","Naozaj chcete odstrániť vybraté riadky v počte %n?","Naozaj chcete odstrániť %n vybratých riadkov?"], "Do you really want to delete the table \"{table}\"? This will also delete all data, views and shares that are connected to this table." : "Naozaj chcete odstrániť tabuľku \"{table}\"? Tým odstránite aj všetky údaje, zobrazenia a zdieľania súvisiace s touto tabuľkou.", "Table \"{emoji}{table}\" removed." : "Tabuľka \"{emoji}{table}\" bola odstránená.", - "Confirm table deletion" : "Potvrďte zmazanie tabuľky", + "Confirm table deletion" : "Potvrdiť zmazanie tabuľky", "Do you really want to delete the view \"{view}\"?" : "Naozaj chcete odstrániť zobrazenie \"{view}\"?", "View \"{emoji}{view}\" removed." : "Zobrazenie \"{emoji}{view}\" bolo odstránené.", "Confirm view deletion" : "Potvrdiť odstránenie zobrazenia", @@ -448,10 +448,10 @@ "Could not import data to table" : "Nepodarilo sa importovať údaje do tabuľky", "Import file into Tables" : "Importovať súbor do Tabuliek", "Import as new table" : "Importovať ako novú tabuľku", - "This will create a new table from the data in this file." : "Vytvorí novú tabuľku z dát zo súboru.", + "This will create a new table from the data in this file." : "Týmto sa vytvorí nová tabuľka z údajov v tomto súbore.", "Import into existing table" : "Importovať do existujúcej tabuľky", - "This will import the data from this file into an already existing table." : "Importuje dáta zo súboru do existujúcej tabuľky", - "Select the table to import into" : "Vybrať tabuľku do ktorej sa bude importovať", + "This will import the data from this file into an already existing table." : "Týmto sa importujú údaje z tohto súboru do existujúcej tabuľky.", + "Select the table to import into" : "Vybrať tabuľku, do ktorej sa bude importovať", "Select an existing table" : "Vybrať existujúcu tabuľku", "Create missing columns" : "Vytvoriť chýbajúce stĺpce", "Import successful" : "Import bol úspešný", @@ -468,16 +468,16 @@ "Could not import, missing needed permission." : "Import sa nepodaril, chýbajú potrebné oprávnenia.", "Could not import, needed resources were not found." : "Import sa nepodaril, potrebné zdroje neboli nájdené.", "Add data to the table from a file" : "Pridať dáta do tabuľky zo súboru", - "Select from Files" : "Vybrať zo súborov", + "Select from Files" : "Vybrať z Files", "Upload from device" : "Nahrať zo zariadenia", "Supported formats: xlsx, xls, csv, html, xml" : "Podporované formáty: xlsx, xls, csv, html, xml", "First row of the file must contain column headings without gaps." : "Prvý riadok súboru musí obsahovať nadpisy stĺpcov bez vynechaných stĺpcov.", - "⚠️ You don't have the permission to create columns." : "Nemáte oprávnenia na vytvorenie stĺpcov.", + "⚠️ You don't have the permission to create columns." : "⚠️ Nemáte oprávnenia na vytvorenie stĺpcov.", "Preview" : "Náhľad", "Importing data from " : "Importovanie dát z ", - "This might take a while..." : "Toto môže chvíľu trvať...", + "This might take a while..." : "Toto môže chvíľu trvať …", "Failed" : "Zlyhalo", - "Loading table data" : "Načítavam údaje tabuľky", + "Loading table data" : "Načítavajú sa údaje tabuľky", "Could not import due to unknown errors." : "Import sa nepodaril z dôvodu neznámych chýb.", "Import application scheme" : "Importovať schému aplikácie", "Preview application scheme changes" : "Náhľad zmien schémy aplikácie", @@ -486,7 +486,7 @@ "Could not import scheme due to unknown errors." : "Schému sa nepodarilo importovať z dôvodu neznámych chýb.", "The selected file is not valid JSON." : "Vybraný súbor nie je platný JSON.", "Import application scheme from a file" : "Importovať schému aplikácie zo súboru", - "Supported formats: json" : "Podporované formáty: json", + "Supported formats: json" : "Podporované formáty: JSON", "Import completed successfully." : "Import úspešne dokončený.", "Back" : "Späť", "From" : "Od", @@ -506,9 +506,9 @@ "Found columns" : "Nájdené stĺpce", "Matching columns" : "Zodpovedajúce stĺpce", "Created columns" : "Vytvorené stĺpce", - "Inserted rows" : "Vložené stĺpce", + "Inserted rows" : "Vložené riadky", "Updated rows" : "Aktualizované riadky", - "Value parsing errors" : "Chyba pri spracovaní hodnoty", + "Value parsing errors" : "Chyby pri spracovaní hodnoty", "Row creation errors" : "Chyba pri vytváraní riadkov", "Import table scheme" : "Importovať schému tabuľky", "Preview table scheme changes" : "Náhľad zmien schémy tabuľky", @@ -527,12 +527,12 @@ "No views to remove" : "Žiadne zobrazenia na odstránenie", "Column Order" : "Poradie stĺpcov", "Sort" : "Triedenie", - "Context \"{name}\" transferred to {user}" : "Kontext \"{name}\" prenesený na {user}", - "Transfer the application \"{context}\" to another user" : "Presunúť aplikáciu \"{context}\" na iného užívateľa", + "Context \"{name}\" transferred to {user}" : "Kontext \"{name}\" prenesený používateľovi {user}", + "Transfer the application \"{context}\" to another user" : "Presunúť aplikáciu \"{context}\" na iného používateľa", "Transfer" : "Prenos", "Table \"{emoji}{table}\" transferred to {user}" : "Tabuľka \"{emoji}{table}\" prenesená na {user}", "Transfer table" : "Preniesť tabuľku", - "Transfer this table to another user" : "Preniesť tabuľku na iného užívateľa", + "Transfer this table to another user" : "Preniesť tabuľku na iného používateľa", "Create View" : "Vytvoriť zobrazenie", "Save modified View" : "Uložiť zmenené zobrazenie", "Save View" : "Uložiť zobrazenie", @@ -561,7 +561,7 @@ "Structure changes" : "Zmeny štruktúry", "When columns are created, updated or deleted." : "Keď sú stĺpce vytvorené, aktualizované alebo odstránené.", "Assigned" : "Priradené", - "When you are added in a user or group field." : "Keď ste pridaní v poli používateľa alebo skupiny.", + "When you are added in a user or group field." : "Pri vašom pridaní do poľa používateľa alebo skupiny.", "Could not load notification settings." : "Nastavenia upozornení sa nepodarilo načítať.", "Could not update notification settings." : "Nastavenia upozornení sa nepodarilo aktualizovať.", "These settings are stored separately for each table and view." : "Tieto nastavenia sú uložené samostatne pre každú tabuľku a zobrazenie.", @@ -570,7 +570,7 @@ "Export scheme" : "Exportovať schému", "Delete application" : "Vymazať aplikáciu", "Do you really want to delete the table \"{table}\"?" : "Naozaj chcete odstrániť tabuľku \"{table}\"?", - "Export" : "Export", + "Export" : "Exportovať", "Add to favorites" : "Pridať do obľúbených", "Remove from favorites" : "Odstrániť z obľúbených", "Archive table" : "Archivovať tabuľku", @@ -611,14 +611,14 @@ "Demote to normal share" : "Zmeniť na bežné zdieľanie", "Open main table to adjust table management permissions" : "Ak chcete upraviť oprávnenia pre správu tabuľky, otvorte hlavnú tabuľku", "No shares" : "Žiadne sprístupnené položky", - "After the promotion of the share recipient to table manager, any applications created by share recipients that utilise this table will continue to access its data, even if you later demote them." : "Po povýšení príjemcu zdieľania na správcu tabuľky budú všetky aplikácie vytvorené príjemcami zdieľania, ktoré využívajú túto tabuľku, naďalej pristupovať k jeho údajom, aj keď neskôr práva odoberiete.", + "After the promotion of the share recipient to table manager, any applications created by share recipients that utilise this table will continue to access its data, even if you later demote them." : "Po povýšení príjemcu zdieľania na správcu tabuľky budú všetky aplikácie vytvorené príjemcami zdieľania, ktoré využívajú túto tabuľku, naďalej pristupovať k údajom tabuľky, aj keď neskôr príjemcovi znížite úroveň oprávnení.", "Confirm table manager promotion" : "Potvrdiť povýšenie na správcu tabuľky", "View only" : "Iba na čítanie", "Can edit" : "Môže upravovať", "Custom permissions" : "Vlastné oprávnenia", "Quick share options, current: {option}" : "Možnosti rýchleho zdieľania, aktuálne: {option}", - "Error creating link share" : "Chyba pri vytváraní zdieľania odkazu", - "Error deleting link share" : "Chyba pri odstraňovaní zdieľania odkazu", + "Error creating link share" : "Chyba pri vytváraní zdieľania odkazom", + "Error deleting link share" : "Chyba pri odstraňovaní zdieľania odkazom", "Link copied to clipboard" : "Odkaz bol skopírovaný do schránky", "Error copying link" : "Chyba pri kopírovaní odkazu", "Password copied" : "Heslo bolo skopírované", @@ -631,14 +631,14 @@ "Copy public share link" : "Kopírovať verejný odkaz na zdieľanie", "Delete link" : "Odstrániť odkaz", "Public links" : "Verejné odkazy", - "No view in context" : "V tomto kontexte nie je žiadny pohľad", + "No view in context" : "V tomto kontexte nie je žiadne zobrazenie", "From {ownerName}" : "Od {ownerName}", "Created at" : "Vytvorené:", - "Ownership" : "Vlastník", + "Ownership" : "Vlastníctvo", "View ID" : "ID zobrazenia", "Sharing" : "Zdieľanie", "API" : "API", - "This is your API endpoint for this view" : "Toto je váš API endpoint pre toto zobrazenie", + "This is your API endpoint for this view" : "Toto je váš koncový bod API pre toto zobrazenie", "Copy to clipboard" : "Skopírovať do schránky", "Your permissions" : "Vaše oprávnenia", "This application could not be found" : "Táto aplikácia sa nenašla", @@ -657,7 +657,7 @@ "No shared resources" : "Žiadne zdieľané zdroje", "Share with accounts" : "Zdieľať s účtami", "Error" : "Chyba", - "Could not load editor, text not available." : "Nepodarilo sa načítať editor, text nie je dostupný", + "Could not load editor, text not available." : "Nepodarilo sa načítať editor, text nie je dostupný.", "Icon {iconName} loading" : "Načítavanie ikony {iconName}", "Download" : "Stiahnuť", "This is a public form." : "Toto je verejný formulár.", @@ -676,10 +676,10 @@ "This option is outdated." : "Táto možnosť už nie je aktuálna.", "Options" : "Možnosti", "This relation does not exist anymore." : "Tento vzťah už neexistuje.", - "Select relation value" : "Vyberte hodnotu vzťahu", + "Select relation value" : "Vybrať hodnotu vzťahu", "Set {star} stars" : "Nastaviť počet hviezd: {star}", "Cell input" : "Vstup do bunky", - "Select operator" : "Vyberte funkciu", + "Select operator" : "Vybrať operátor", "Search for value" : "Hľadať hodnotu", "Select options" : "Možnosti výberu", "Keyword and submit" : "Kľúčové slovo a odoslať", @@ -690,13 +690,13 @@ "Sort asc" : "Zoradiť vzostupne", "Sort desc" : "Zoradiť zostupne", "Filtering" : "Filtrovanie", - "Select Operator" : "Vyberte funkciu", - "Select value" : "Vyberte hodnotu", + "Select Operator" : "Vybrať operátor", + "Select value" : "Vybrať hodnotu", "Manage column" : "Spravovať stĺpec", "Column manage actions" : "Akcie spravovania stĺpca", "Hide column" : "Skryť stĺpec", "Copy row" : "Kopírovať riadok", - "Undo" : "Odvolať", + "Undo" : "Vrátiť späť", "Redo" : "Zopakovať", "Bold" : "Tučné", "Italic" : "Kurzíva", @@ -728,10 +728,10 @@ "Reduce stars" : "Odobrať hviezdičky", "Increase stars" : "Pridať hviezdičky", "Relation type" : "Typ vzťahu", - "Select relation type" : "Vyberte typ vzťahu", + "Select relation type" : "Vybrať typ vzťahu", "Select target" : "Vybrať cieľ", "Label for relation selection" : "Označenie pre výber vzťahu", - "Select label for relation selection" : "Vyberte označenie pre výber vzťahu", + "Select label for relation selection" : "Vybrať označenie pre výber vzťahu", "Only text and number columns can be used as label" : "Ako označenie je možné použiť iba textové a číselné stĺpce", "First option" : "Prvá možnosť", "Second option" : "Druhá možnosť", @@ -739,7 +739,7 @@ "Add option" : "Pridať možnosť", "You can set a default value by clicking on one of the radio buttons next to the label fields." : "Predvolenú hodnotu môžete nastaviť kliknutím na jeden z prepínačov vedľa polí s označeniami.", "Click here to unset default selection." : "Kliknutím sem zrušíte predvolený výber.", - "You can set default values by marking the checkboxes next to the label fields." : "Predvolené hodnoty môžete nastaviť začiarknutím políčok vedľa názvov polí.", + "You can set default values by marking the checkboxes next to the label fields." : "Predvolené hodnoty môžete nastaviť začiarknutím políčok vedľa polí s označeniami.", "Allowed pattern (regex)" : "Povolený vzor (regulárny výraz)", "Maximum text length" : "Maximálna dĺžka textu", "Unique value" : "Jedinečná hodnota", @@ -753,7 +753,7 @@ "Preview size" : "Veľkosť náhľadu", "Enter a preview size between {min} and {max}" : "Zadajte veľkosť náhľadu medzi {min} a {max}", "Preview size must be between {min} and {max} pixels." : "Veľkosť náhľadu musí byť medzi {min} a {max} pixelmi.", - "Select multiple items" : "Vyberte viacero položiek", + "Select multiple items" : "Vybrať viacero položiek", "Show user status" : "Zobraziť stav používateľa", "Please select a new time" : "Prosím vyberte nový čas", "Enter a value between {min} and {max}." : "Zadajte hodnotu medzi {min} a {max}.", @@ -778,7 +778,7 @@ "Page" : "Strana", "Page number" : "Číslo stránky", "Per page" : "Na stranu", - "Go to next page" : "Ísť na ďaľšiu stránku", + "Go to next page" : "Ísť na ďalšiu stránku", "Go to last page" : "Ísť na poslednú stránku", "Confirmation" : "Potvrdenie", "Confirm" : "Potvrdiť", @@ -790,14 +790,14 @@ "Select" : "Vybrať", "Insert" : "Vložiť", "Could not load search results." : "Zlyhalo načítavanie výsledkov vyhľadávania.", - "Search for tables and views..." : "Vyhľadávanie tabuliek a pohľadov...", + "Search for tables and views..." : "Vyhľadávanie tabuliek a zobrazení …", "Import into Tables" : "Importovať do aplikácie Tables", "Could not create share." : "Nepodarilo sa vytvoriť zdieľanie.", "Could not create public link." : "Verejný odkaz sa nepodarilo vytvoriť.", "Could not remove share." : "Nepodarilo sa odstrániť zdieľanie.", "Could not update share." : "Nepodarilo sa aktualizovať zdieľanie.", "Could not update cell" : "Nepodarilo sa aktualizovať bunku", - "Filter operator" : "Filtrovať funkciu", + "Filter operator" : "Operátor filtra", "Contains items" : "Obsahuje položky", "Contains" : "Obsahuje", "Does not contain" : "Neobsahuje", @@ -815,7 +815,7 @@ "Me (user ID)" : "Ja (ID používateľa)", "Me (name)" : "Ja (meno)", "Checked" : "Označené", - "Unchecked" : "Nekontrolované", + "Unchecked" : "Nezačiarknuté", "This year" : "Tento rok", "This month" : "Tento mesiac", "This week" : "Tento týždeň", @@ -827,7 +827,7 @@ "Number of days ago" : "Počet dní späť", "ID" : "ID", "Creator" : "Autor", - "Last editor" : "Naposledy upravil(a)", + "Last editor" : "Autor poslednej úpravy", "Last edited at" : "Naposledy upravené dňa", "Copied to clipboard." : "Skopírované do schránky.", "Clipboard is not available" : "Schránka nie je prístupná", @@ -848,7 +848,7 @@ "Could not remove column." : "Nepodarilo sa odstrániť stĺpec.", "Could not load relation data." : "Údaje vzťahu sa nepodarilo načítať.", "Could not load rows." : "Nepodarilo sa načítať riadky.", - "Outdated data. View is reloaded" : "Neaktuálne údaje. Zobrazenie sa obnovuje", + "Outdated data. View is reloaded" : "Neaktuálne údaje. Zobrazenie bolo znovu načítané", "Could not insert row." : "Nepodarilo sa pridať riadok.", "Could not remove row." : "Nepodarilo sa odstrániť riadok.", "Could not verify row. View is reloaded" : "Nedalo sa overiť riadok. Zobrazenie bolo znovu načítané", @@ -859,7 +859,7 @@ "Could not load shared views" : "Nepodarilo sa načítať zdieľané zobrazenia", "Could not fetch templates" : "Nepodarilo sa získať šablóny", "Could not insert view." : "Zobrazenie sa nepodarilo vložiť.", - "Could not update view." : "Pohľad sa nepodarilo aktualizovať. ", + "Could not update view." : "Zobrazenie sa nepodarilo aktualizovať.", "Could not remove view." : "Pohľad sa nepodarilo odstrániť.", "Could not reload view." : "Pohľad sa nepodarilo obnoviť.", "Could not update table." : "Tabuľku sa nepodarilo aktualizovať.", @@ -873,7 +873,7 @@ "Could not insert application." : "Nepodarilo sa pridať aplikáciu.", "Could not update application." : "Nepodarilo sa aktualizovať aplikáciu.", "Could not transfer table." : "Nepodarilo sa presunúť tabuľku.", - "Could not load applications." : "Nepodarilo sa nahrať aplikácie.", + "Could not load applications." : "Nepodarilo sa načítať aplikácie.", "Could not fetch applications" : "Nepodarilo sa získať aplikácie", "Could not load application." : "Nepodarilo sa načítať aplikáciu.", "Could not fetch application" : "Nepodarilo sa získať aplikáciu", @@ -884,7 +884,7 @@ "Could not verify export permissions." : "Oprávnenia na export sa nepodarilo overiť.", "Could not transfer application." : "Nepodarilo sa presunúť aplikáciu.", "Could not remove application." : "Nepodarilo sa odstrániť aplikáciu.", - "Could not remove table." : "Tabuľku sa nepodarilo odstrániť", + "Could not remove table." : "Tabuľku sa nepodarilo odstrániť.", "Share not found" : "Zdieľanie sa nenašlo", "This share does not exist or is no longer available" : "Toto zdieľanie neexistuje alebo už nie je dostupné", "Back to %s" : "Späť na %s" From 8846e0b9e022bded58a5e0b664979a249c3109af Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Fri, 13 Nov 2026 02:23:09 +0000 Subject: [PATCH 05/62] fix(l10n): Update translations from Transifex [skip ci] Signed-off-by: Nextcloud bot --- l10n/cy_GB.js | 7 ++++ l10n/cy_GB.json | 7 ++++ l10n/mk.js | 1 + l10n/mk.json | 1 + l10n/sk.js | 86 ++++++++++++++++++++++++------------------------- l10n/sk.json | 86 ++++++++++++++++++++++++------------------------- 6 files changed, 102 insertions(+), 86 deletions(-) diff --git a/l10n/cy_GB.js b/l10n/cy_GB.js index 0da5d1eefb..63c02bf423 100644 --- a/l10n/cy_GB.js +++ b/l10n/cy_GB.js @@ -3,9 +3,13 @@ OC.L10N.register( { "No" : "Na", "Yes" : "Ie", + "The file was uploaded" : "Roedd y ffeil yn lwythwyd", + "The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Mae'r ffeil lwythwyd i fyny'n fwy na chyfarwyddeb upload_max_filesize yn php.ini:", "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Mae'r ffeil lwythwyd i fyny'n fwy na chyfarwyddeb MAX_FILE_SIZE bennwyd yn y ffurflen HTML", + "The file was only partially uploaded" : "Dim ond yn rhannol y llwythwyd y ffeil i fyny", "No file was uploaded" : "Ni lwythwyd ffeil i fyny", "Missing a temporary folder" : "Plygell dros dro yn eisiau", + "Could not write file to disk" : "Methwyd ysgrifennu i'r ddisg", "Date" : "Date", "Name" : "Enw", "Description" : "Disgrifiad", @@ -36,7 +40,10 @@ OC.L10N.register( "Activity" : "Gweithred", "Owner" : "Perchennog", "Close" : "Cau", + "Please select a file." : "Dewiswch ffeil, os gwelq", "Preview" : "Rhagolwg", + "From" : "o", + "To" : "at", "Sort" : "Trefnu", "Automatic" : "Awtomatig", "Saving..." : "Yn cadw...", diff --git a/l10n/cy_GB.json b/l10n/cy_GB.json index 5251638b79..facd491174 100644 --- a/l10n/cy_GB.json +++ b/l10n/cy_GB.json @@ -1,9 +1,13 @@ { "translations": { "No" : "Na", "Yes" : "Ie", + "The file was uploaded" : "Roedd y ffeil yn lwythwyd", + "The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Mae'r ffeil lwythwyd i fyny'n fwy na chyfarwyddeb upload_max_filesize yn php.ini:", "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Mae'r ffeil lwythwyd i fyny'n fwy na chyfarwyddeb MAX_FILE_SIZE bennwyd yn y ffurflen HTML", + "The file was only partially uploaded" : "Dim ond yn rhannol y llwythwyd y ffeil i fyny", "No file was uploaded" : "Ni lwythwyd ffeil i fyny", "Missing a temporary folder" : "Plygell dros dro yn eisiau", + "Could not write file to disk" : "Methwyd ysgrifennu i'r ddisg", "Date" : "Date", "Name" : "Enw", "Description" : "Disgrifiad", @@ -34,7 +38,10 @@ "Activity" : "Gweithred", "Owner" : "Perchennog", "Close" : "Cau", + "Please select a file." : "Dewiswch ffeil, os gwelq", "Preview" : "Rhagolwg", + "From" : "o", + "To" : "at", "Sort" : "Trefnu", "Automatic" : "Awtomatig", "Saving..." : "Yn cadw...", diff --git a/l10n/mk.js b/l10n/mk.js index 07353ce725..1ea8070efa 100644 --- a/l10n/mk.js +++ b/l10n/mk.js @@ -16,6 +16,7 @@ OC.L10N.register( "Could not write file to disk" : "Неможе да се запишува на дискот", "A PHP extension stopped the file upload" : "PHP додаток го стопираше прикачувањето на датотеката", "No file uploaded or file size exceeds maximum of %s" : "Нема прикачена дадотека или големината го надмминува максимумот од %s", + "Team not found" : "Тимот не е пронајден", "Members" : "Членови", "Date" : "Датум", "Comments" : "Коментари", diff --git a/l10n/mk.json b/l10n/mk.json index 4ca746367c..a8b557cfb8 100644 --- a/l10n/mk.json +++ b/l10n/mk.json @@ -14,6 +14,7 @@ "Could not write file to disk" : "Неможе да се запишува на дискот", "A PHP extension stopped the file upload" : "PHP додаток го стопираше прикачувањето на датотеката", "No file uploaded or file size exceeds maximum of %s" : "Нема прикачена дадотека или големината го надмминува максимумот од %s", + "Team not found" : "Тимот не е пронајден", "Members" : "Членови", "Date" : "Датум", "Comments" : "Коментари", diff --git a/l10n/sk.js b/l10n/sk.js index e0774ee31d..63c9ee3f1e 100644 --- a/l10n/sk.js +++ b/l10n/sk.js @@ -22,9 +22,9 @@ OC.L10N.register( "You have renamed the view {before} to {view} in table {table}" : "Premenovali ste zobrazenie z {before} na {view} v tabuľke {table}.", "{user} has renamed the view {before} to {view} in table {table}" : "Premenovanie zobrazenia {before} na {view} v tabuľke {table} používateľom {user}", "You have updated the description of view {view} to {after} in table {table}" : "Aktualizovali ste popis zobrazenia {view} na {after} v tabuľke {table}.", - "{user} has updated the description of view {view} to {after} in table {table}" : "Používateľ {user} aktualizoval popis zobrazenia {view} na {after} v tabuľke {table}.", + "{user} has updated the description of view {view} to {after} in table {table}" : "Používateľom {user} bol aktualizovaný popis zobrazenia {view} v tabuľke {table} na {after}.", "You have created a new row {row} in view {view}" : "Vytvorili ste nový riadok {row} v zobrazení {view}.", - "{user} has created a new row {row} in view {view}" : "Používateľ {user} vytvoril nový riadok {row} v zobrazení {view}.", + "{user} has created a new row {row} in view {view}" : "Vytvorenie nového riadka {row} v zobrazení {view} používateľom {user}.", "You have created a new row {row} in table {table}" : "Vytvorili ste nový riadok {row} v tabuľke {table}.", "{user} has created a new row {row} in table {table}" : "Vytvorenie nového riadka {row} v tabuľke {table} používateľom {user}", "You have deleted the row {row} in view {view}" : "Odstránili ste riadok {row} v zobrazení {view}.", @@ -36,23 +36,23 @@ OC.L10N.register( "_You have updated cell %1$s on row {row} in table {table}_::_You have updated cells %1$s on row {row} in table {table}_" : ["Aktualizovali ste bunku %1$s v riadku {row} v tabuľke {table}","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}.","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}.","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}."], "_{user} has updated cell %1$s on row {row} in table {table}_::_{user} has updated cells %1$s on row {row} in table {table}_" : ["Aktualizácia bunky %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}"], "You have created a new column {column} in view {view}" : "Vytvorili ste nový stĺpec {column} v zobrazení {view}.", - "{user} has created a new column {column} in view {view}" : "Používateľ {user} vytvoril nový stĺpec {column} v zobrazení {view}.", + "{user} has created a new column {column} in view {view}" : "Vytvorenie nového stĺpca {column} v zobrazení {view} používateľom {user}.", "You have updated the column {column} in view {view}" : "Aktualizovali ste stĺpec {column} v zobrazení {view}.", "{user} has updated the column {column} in view {view}" : "Stĺpec {column} v zobrazení {view} aktualizovaný používateľom {user}.", "You have deleted the column {column} from view {view}" : "Odstránili ste stĺpec {column} zo zobrazenia {view}.", "{user} has deleted the column {column} from view {view}" : "Odstránenie stĺpca {column} zo zobrazenia {view} používateľom {user}.", "You have created a new column {column} in table {table}" : "Vytvorili ste nový stĺpec {column} v tabuľke {table}.", - "{user} has created a new column {column} in table {table}" : "Používateľ {user} vytvoril nový stĺpec {column} v tabuľke {table}.", + "{user} has created a new column {column} in table {table}" : "Vytvorenie nového stĺpca {column} v tabuľke {table} používateľom {user}.", "You have updated the column {column} in table {table}" : "Aktualizovali ste stĺpec {column} v tabuľke {table}.", "{user} has updated the column {column} in table {table}" : "Aktualizácia stĺpca {column} v tabuľke {table} používateľom {user}", "You have deleted the column {column} from table {table}" : "Odstránili ste stĺpec {column} z tabuľky {table}.", "{user} has deleted the column {column} from table {table}" : "Odstránenie stĺpca {column} z tabuľky {table} používateľom {user}", - "{user} has shared view {view} with you" : "Používateľ {user} s vami zdieľal zobrazenie {view}.", + "{user} has shared view {view} with you" : "Zdieľanie zobrazenia {view} s vami používateľom {user}.", "You have shared the view {view} as public link" : "Zdieľali ste zobrazenie {view} ako verejný odkaz.", "{user} has shared the view {view} as public link" : "Zdieľanie zobrazenia {view} používateľom {user} ako verejného odkazu.", "You have shared the view {view} with {sharedWith}" : "Zdieľali ste zobrazenie {view} s používateľom {sharedWith}.", "{user} has shared the view {view} with {sharedWith}" : "Zobrazenie {view} zdieľané používateľom {user} s {sharedWith}.", - "{user} has shared table {table} with you" : "Používateľ {user} s vami zdieľal tabuľku {table}.", + "{user} has shared table {table} with you" : "Zdieľanie tabuľky {table} s vami používateľom {user}.", "You have shared the table {table} as public link" : "Zdieľali ste tabuľku {table} ako verejný odkaz.", "{user} has shared the table {table} as public link" : "Zdieľanie tabuľky {table} používateľom {user} cez verejný odkaz.", "You have shared the table {table} with {sharedWith}" : "Zdieľali ste tabuľku {table} s {sharedWith}.", @@ -61,7 +61,7 @@ OC.L10N.register( "You have updated public link sharing for the view {view}" : "Aktualizovali ste zdieľanie verejného odkazu pre zobrazenie {view}.", "{user} has updated public link sharing for the view {view}" : "Aktualizácia zdieľania zobrazenia {view} prostredníctvom verejného odkazu používateľom {user}.", "You have updated sharing for the view {view} with {sharedWith}" : "Aktualizovali ste zdieľanie zobrazenia {view} s {sharedWith}.", - "{user} has updated sharing for the view {view} with {sharedWith}" : "Používateľ {user} aktualizoval zdieľanie zobrazenia {view} s používateľom {sharedWith}.", + "{user} has updated sharing for the view {view} with {sharedWith}" : "Aktualizácia zdieľania zobrazenia {view} s {sharedWith} používateľom {user}.", "{user} has updated sharing for the table {table} with you" : "Aktualizácia zdieľania tabuľky {table} s vami používateľom {user}", "You have updated public link sharing for the table {table}" : "Aktualizovali ste zdieľanie tabuľky {table} cez verejný odkaz.", "{user} has updated public link sharing for the table {table}" : "Používateľ {user} aktualizoval zdieľanie verejného odkazu pre tabuľku {table}.", @@ -74,8 +74,8 @@ OC.L10N.register( "{user} has removed sharing for the view {view} with {sharedWith}" : "Zrušenie zdieľania zobrazenia {view} s {sharedWith} používateľom {user}.", "{user} has removed sharing for the table {table} with you" : "Zrušenie zdieľania tabuľky {table} s vami používateľom {user}.", "You have removed public link sharing for the table {table}" : "Zrušili ste zdieľanie tabuľky {table} cez verejný odkaz.", - "{user} has removed public link sharing for the table {table}" : "Používateľ {user} zrušil zdieľanie verejného odkazu pre tabuľku {table}.", - "You have removed sharing for the table {table} with {sharedWith}" : "Zrušili ste zdieľanie tabuľky {table} s používateľom {sharedWith}.", + "{user} has removed public link sharing for the table {table}" : "Zrušenie zdieľania tabuľky {table} prostredníctvom verejného odkazu používateľom {user}.", + "You have removed sharing for the table {table} with {sharedWith}" : "Zrušili ste zdieľanie tabuľky {table} s {sharedWith}.", "{user} has removed sharing for the table {table} with {sharedWith}" : "Zrušenie zdieľania tabuľky {table} s {sharedWith} používateľom {user}", "Found columns: {foundColumnsCount}" : "Nájdené stĺpce: {foundColumnsCount}", "Matching columns: {matchingColumnsCount}" : "Zhodujúce sa stĺpce: {matchingColumnsCount}", @@ -84,9 +84,9 @@ OC.L10N.register( "Updated rows: {updatedRowsCount}" : "Aktualizované riadky: {updatedRowsCount}", "Value parsing errors: {errorsParsingCount}" : "Chyby pri spracovaní hodnôt: {errorsParsingCount}", "Row creation errors: {errorsCount}" : "Chyby pri vytváraní riadkov: {errorsCount}", - "Tables" : "Tabuľky", + "Tables" : "Tables", "A table or view was changed" : "Došlo k zmene tabuľky alebo zobrazenia", - "A table or view was shared with you" : "S vami bola zdieľaná tabuľka alebo zobrazenie", + "A table or view was shared with you" : "Niekto s vami zdieľal tabuľku alebo zobrazenie", "Nextcloud Tables" : "Nextcloud Tables", "Select table" : "Vybrať tabuľku", "Select columns" : "Vybrať stĺpce", @@ -101,7 +101,7 @@ OC.L10N.register( "Could not create row." : "Nepodarilo sa vytvoriť riadok.", "Could not update row." : "Nepodarilo sa upraviť riadok.", "The file was uploaded" : "Súbor bol nahraný", - "The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Nahraný súbor prekročil limit nastavený v upload_max_filesize v súbore php.ini", + "The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Nahratý súbor prekročil limit nastavený v upload_max_filesize v súbore php.ini", "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Nahratý súbor prekračuje limit určený direktívou MAX_FILE_SIZE vo formulári HTML.", "The file was only partially uploaded" : "Súbor bol nahraný iba čiastočne", "No file was uploaded" : "Nenahral sa žiadny súbor", @@ -129,9 +129,9 @@ OC.L10N.register( "Team %2$s has been assigned in row %3$s of view %4$s by %1$s." : "Tím %2$s bol priradený v riadku %3$s zobrazenia %4$s používateľom %1$s.", "Team %2$s has been assigned in row %3$s of table %4$s by %1$s." : "Tím %2$s bol priradený v riadku %3$s tabuľky %4$s používateľom %1$s.", "{user} has assigned team {team} in {row} in view {view}" : "Priradenie tímu {team} v riadku {row} v zobrazení {view} používateľom {user}", - "{user} has assigned team {team} in {row} in table {table}" : "Používateľ {user} priradil tím {team} v {row} v tabuľke {table}.", + "{user} has assigned team {team} in {row} in table {table}" : "Priradenie tímu {team} v {row} v tabuľke {table} používateľom {user}.", "You have been assigned in row %2$s of view %3$s by %1$s." : "Vaše priradenie k riadku %2$s v zobrazení %3$s používateľom %1$s.", - "You have been assigned in row %2$s of table %3$s by %1$s." : "Boli ste priradení v riadku %2$s tabuľky %3$s používateľom %1$s.", + "You have been assigned in row %2$s of table %3$s by %1$s." : "Vaše priradenie v riadku %2$s tabuľky %3$s používateľom %1$s.", "{user} has assigned you in {row} in view {view}" : "Vaše priradenie k riadku {row} v zobrazení {view} používateľom {user}.", "{user} has assigned you in {row} in table {table}" : "Priradenie vás v {row} v tabuľke {table} používateľom {user}", "A new column has been created in view %2$s by %1$s." : "Nový stĺpec bol vytvorený v zobrazení %2$s používateľom %1$s.", @@ -147,7 +147,7 @@ OC.L10N.register( "Your import to table {table} has failed" : "Váš import do tabuľky {table} zlyhal", "{user}'s import to table {table} has failed" : "Import do tabuľky {table} používateľom {user} zlyhal", "Nextcloud tables" : "Nextcloud Tables", - "_%n row_::_%n rows_" : ["jeden riadok","%n riadky","%n riadkov","%n riadkov"], + "_%n row_::_%n rows_" : ["%n riadok","%n riadky","%n riadka","%n riadkov"], "table" : "tabuľka", "table view" : "zobrazenie v tabuľke", "Column width must be between %1$s and %2$s." : "Šírka stĺpca musí byť medzi %1$s a %2$s.", @@ -162,7 +162,7 @@ OC.L10N.register( "Members" : "Členovia", "List of members with some basic attributes." : "Zoznam členov s pár základnými atribútmi.", "Customers" : "Zákazníci", - "Manage your customers." : "Spravujte vašich zákazníkov.", + "Manage your customers." : "Spravujte svojich zákazníkov.", "Vacation requests" : "Žiadosti o dovolenku", "Use this table to collect and manage vacation requests." : "Použite túto tabuľku na evidenciu a správu žiadostí o dovolenku.", "Weight tracking" : "Sledovanie váhy", @@ -229,16 +229,16 @@ OC.L10N.register( "Proofed" : "Overené", "Create initial milestones" : "Vytvoriť prvotné míľniky", "Create some milestones to structure the project." : "Vytvorte zopár míľnikov a dajte tak projektu základný rámec.", - "Plan to discuss for the kickoff meeting." : "Plán na úvodnú (kickoff) poradu.", + "Plan to discuss for the kickoff meeting." : "Plán na prerokovanie na úvodnej porade.", "Wow, that was hard work, but now it's done." : "Páni, to dalo riadne zabrať, ale už máme hotovo.", "Kickoff meeting" : "Úvodná porada", "We will have a kickoff meeting in person." : "Budeme mať osobnú úvodnú poradu.", "Project is kicked-off and we know the vision and our first tasks." : "Projekt bol začatý a my poznáme víziu aj naše prvé úlohy.", "That was nice in person again. We collected some action points, had a look at the documentation..." : "Bolo opäť pekné sa vidieť naživo. Dali sme dokopy niekoľko úloh a pozreli sme sa na dokumentáciu…", "Set up some documentation and collaboration tools" : "Nastaviť nástroje na dokumentáciu a spoluprácu", - "Where and in what way do we collaborate?" : "Kde a akým spôsobom budeme spolupracovať?", + "Where and in what way do we collaborate?" : "Kde a akým spôsobom spolupracujeme?", "We know what we are doing." : "Vieme, čo robíme.", - "We have heard that %s could be a nice solution for it, should give it a try." : "Počuli sme, že by %s mohlo byť pekné riešenie, mali by sme to vyskúšať.", + "We have heard that %s could be a nice solution for it, should give it a try." : "Počuli sme, že %s by mohlo byť dobrým riešením. Mali by sme to vyskúšať.", "Add more actions" : "Pridať viac akcií", "I guess we need more actions in here..." : "Azda by sme sem mali pridať viac akcií...", "What" : "Čo", @@ -254,9 +254,9 @@ OC.L10N.register( "Add a new column" : "Pridať nový stĺpec", "You can add, remove and adjust columns as you need. Open the three-dot-menu on the upper right of this table and choose *Create column*. Fill in the data you want, at least a title and column type." : "Stĺpce môžete pridávať, odstraňovať a upravovať podľa potreby. Otvorte trojbodkovú ponuku v pravej hornej časti tejto tabuľky a vyberte možnosť *Vytvoriť stĺpec*. Vyplňte požadované údaje, aspoň názov a typ stĺpca.", "Create views for tables" : "Vytvoriť zobrazenia pre tabuľky", - "Filter data and save table presets as views to share and combine them into applications." : "Filtrujte údaje a uložte predvoľby tabuľky ako pohľad, aby ste ich mohli zdieľať a kombinovať do aplikácií.", + "Filter data and save table presets as views to share and combine them into applications." : "Filtrujte údaje a uložte predvoľby tabuľky ako zobrazenia, aby ste ich mohli zdieľať a kombinovať do aplikácií.", "Create applications" : "Vytvoriť aplikácie", - "Combine different tables and views into no-code applications for any purpose. This makes them easily accessible directly in the app bar." : "Kombinujte rôzne tabuľky a zobrazenia pre použitie v aplikáciach bez písania kódu. Týmto dosiahnete že sú ľahko dostupné priamo v paneli aplikácií.", + "Combine different tables and views into no-code applications for any purpose. This makes them easily accessible directly in the app bar." : "Kombinujte rôzne tabuľky a zobrazenia do aplikácií na ľubovoľný účel bez písania kódu. Vďaka tomu budú ľahko dostupné priamo v paneli aplikácií.", "Read the docs" : "Prečítať dokumentáciu", "If you want to go through the documentation, it can be found here: [Nextcloud Tables documentation](%s)" : "Ak si chcete prejsť dokumentáciu, nájdete ju tu: [Dokumentácia aplikácie Nextcloud Tables](%s)", "Check yourself!" : "Vyskúšajte si to sami!", @@ -283,10 +283,10 @@ OC.L10N.register( "Column ID" : "ID stĺpca", "Table ID" : "ID tabuľky", "Text" : "Text", - "Link" : "Prepojenie", + "Link" : "Odkaz", "Number" : "Číslo", "Stars rating" : "Hodnotenie hviezdičkami", - "Progress bar" : "Indikátor priebeh", + "Progress bar" : "Indikátor priebehu", "Selection" : "Výber", "Date and time" : "Dátum a čas", "Users and groups" : "Používatelia a skupiny", @@ -307,7 +307,7 @@ OC.L10N.register( "Column" : "Stĺpec", "Operator" : "Operátor", "Delete filter" : "Zmazať filter", - "Filtering rows" : "Filtrujem riadky", + "Filtering rows" : "Filtrovanie riadkov", "OR" : "ALEBO", "Add new filter group" : "Pridať novú skupinu filtrov", "... that meet all of the following conditions" : "… ktoré spĺňajú všetky nasledujúce podmienky", @@ -328,7 +328,7 @@ OC.L10N.register( "Last edited" : "Naposledy upravené", "Shares" : "Zdieľania", "Actions" : "Akcie", - "View settings" : "Zobraziť nastavenia", + "View settings" : "Nastavenia zobrazenia", "Share" : "Zdieľať", "Integration" : "Integrácia", "Delete view" : "Odstrániť zobrazenie", @@ -400,7 +400,7 @@ OC.L10N.register( "Select emoji for table" : "Vybrať emoji pre tabuľku", "Select emoji" : "Vybrať emoji", "Title of the new table" : "Názov novej tabuľky", - "🔧 Custom table" : "Vlastná tabuľka", + "🔧 Custom table" : "🔧 Vlastná tabuľka", "Custom table from scratch." : "Vlastná tabuľka od nuly", "📄 Import table" : "📄 Importovať tabuľku", "Import table from file." : "Importovať tabuľku zo súboru.", @@ -448,7 +448,7 @@ OC.L10N.register( "File import started, this might take a while. You will be notified once it finished." : "Import súboru sa začal, môže to chvíľu trvať. Po dokončení budete upozornení.", "You must select an existing table" : "Musíte vybrať existujúcu tabuľku", "Could not import data to table" : "Nepodarilo sa importovať údaje do tabuľky", - "Import file into Tables" : "Importovať súbor do Tabuliek", + "Import file into Tables" : "Importovať súbor do aplikácie Tables", "Import as new table" : "Importovať ako novú tabuľku", "This will create a new table from the data in this file." : "Týmto sa vytvorí nová tabuľka z údajov v tomto súbore.", "Import into existing table" : "Importovať do existujúcej tabuľky", @@ -495,7 +495,7 @@ OC.L10N.register( "To" : "Do", "Icon" : "Ikona", "New Tables" : "Nové tabuľky", - "Emoji" : "Emotikon", + "Emoji" : "Emoji", "No columns to add" : "Žiadne stĺpce na pridanie", "Change Tables" : "Zmeniť tabuľky", "No columns to change" : "Žiadne stĺpce na zmenu", @@ -511,7 +511,7 @@ OC.L10N.register( "Inserted rows" : "Vložené riadky", "Updated rows" : "Aktualizované riadky", "Value parsing errors" : "Chyby pri spracovaní hodnoty", - "Row creation errors" : "Chyba pri vytváraní riadkov", + "Row creation errors" : "Chyby pri vytváraní riadkov", "Import table scheme" : "Importovať schému tabuľky", "Preview table scheme changes" : "Náhľad zmien schémy tabuľky", "Import table scheme from a file" : "Importovať schému tabuľky zo súboru", @@ -539,7 +539,7 @@ OC.L10N.register( "Save modified View" : "Uložiť zmenené zobrazenie", "Save View" : "Uložiť zobrazenie", "Save as new view" : "Uložiť ako nové zobrazenie", - "Cannot create view." : "Chyba pri vytváraní zobrazenia.", + "Cannot create view." : "Zobrazenie nemožno vytvoriť.", "Cannot update view." : "Zobrazenie nemožno aktualizovať.", "Title is missing." : "Chýba názov.", "Cannot save view. Technical name must start with a lowercase letter and only contain lowercase letters, numbers, and underscores." : "Zobrazenie nie je možné uložiť. Technický názov musí začínať malým písmenom a môže obsahovať iba malé písmená, číslice a znaky podčiarknutia.", @@ -547,7 +547,7 @@ OC.L10N.register( "Title of the new view" : "Názov nového zobrazenia", "New title of the view" : "Nový názov zobrazenia", "Filter" : "Filter", - "Layout" : "Layout", + "Layout" : "Rozloženie", "Tile" : "Dlaždica", "Gallery" : "Galéria", "Background source" : "Zdroj pozadia", @@ -590,7 +590,7 @@ OC.L10N.register( "Clear filter" : "Vyčistiť filter", "Share with accounts, groups or teams" : "Zdieľať s účtami, skupinami alebo tímami", "Share with accounts or groups" : "Zdieľať s účtami alebo skupinami", - "User, group or team …" : "Užívateľ, skupina alebo tím", + "User, group or team …" : "Používateľ, skupina alebo tím …", "User or group …" : "Používateľ alebo skupina …", "Failed to fetch share recommendations" : "Získanie odporúčaní zdieľania zlyhalo", "Receiver type" : "Typ prijímateľa", @@ -612,7 +612,7 @@ OC.L10N.register( "Promote to table manager" : "Povýšiť na správcu tabuľky", "Demote to normal share" : "Zmeniť na bežné zdieľanie", "Open main table to adjust table management permissions" : "Ak chcete upraviť oprávnenia pre správu tabuľky, otvorte hlavnú tabuľku", - "No shares" : "Žiadne sprístupnené položky", + "No shares" : "Žiadne zdieľania", "After the promotion of the share recipient to table manager, any applications created by share recipients that utilise this table will continue to access its data, even if you later demote them." : "Po povýšení príjemcu zdieľania na správcu tabuľky budú všetky aplikácie vytvorené príjemcami zdieľania, ktoré využívajú túto tabuľku, naďalej pristupovať k údajom tabuľky, aj keď neskôr príjemcovi znížite úroveň oprávnení.", "Confirm table manager promotion" : "Potvrdiť povýšenie na správcu tabuľky", "View only" : "Iba na čítanie", @@ -646,7 +646,7 @@ OC.L10N.register( "This application could not be found" : "Táto aplikácia sa nenašla", "Some resources in this application could not be loaded" : "Niektoré zdroje v tejto aplikácii sa nepodarilo načítať", "Create new table" : "Vytvoriť novú tabuľku", - "Searching …" : "Hľadá sa…", + "Searching …" : "Hľadá sa …", "No elements found." : "Nenašli sa žiadne prvky.", "Select a table or view" : "Vybrať tabuľku alebo zobrazenie", "No recommendations. Start typing." : "Žiadne odporúčania. Začnite písať.", @@ -702,7 +702,7 @@ OC.L10N.register( "Redo" : "Zopakovať", "Bold" : "Tučné", "Italic" : "Kurzíva", - "Bullet list" : "Zoznam odrážok", + "Bullet list" : "Zoznam s odrážkami", "Ordered list" : "Číslovaný zoznam", "Strike" : "Prečiarknuť", "Heading 1" : "Nadpis 1", @@ -721,10 +721,10 @@ OC.L10N.register( "The default value is lower than the minimum allowed value." : "Predvolená hodnota je menšia ako minimálna povolená hodnota.", "The default value is greater than the maximum allowed value." : "Predvolená hodnota je väčšia ako maximálna povolená hodnota.", "Default value" : "Predvolená hodnota", - "Decimals" : "Desatinné", + "Decimals" : "Desatinné miesta", "Minimum" : "Minimum", "Maximum" : "Maximum", - "Prefix" : "Predvoľba", + "Prefix" : "Predpona", "Suffix" : "Prípona", "Default" : "Predvolené", "Reduce stars" : "Odobrať hviezdičky", @@ -749,7 +749,7 @@ OC.L10N.register( "Enable the Files provider to show previews." : "Povoliť poskytovateľovi súborov zobrazovať náhľady.", "Could not load link providers." : "Nepodarilo sa načítať poskytovateľov odkazov.", "Allowed types" : "Povolené typy", - "Please select at least one provider." : "Prosím vyberte aspoň jedného poskytovateľa", + "Please select at least one provider." : "Prosím, vyberte aspoň jedného poskytovateľa.", "The provided types depends on your system setup. You can use the same providers like the fulltext-search." : "Dostupné typy závisia od nastavenia vášho systému. Môžete použiť rovnakých poskytovateľov ako pri fulltextovom vyhľadávaní.", "Show previews" : "Zobraziť náhľady", "Preview size" : "Veľkosť náhľadu", @@ -837,7 +837,7 @@ OC.L10N.register( "{shareTypeString}..." : "{shareTypeString}...", "Unsupported source: {source}" : "Nepodporovaný zdroj: {source}", "Failed to fetch {shareTypeString}" : "Nepodarilo sa načítať {shareTypeString}", - "This {type} could not be found" : "Tento {type} sa nenašiel", + "This {type} could not be found" : "Položka typu {type} sa nenašla", "An error occurred while loading the {type}" : "Došlo k chybe pri načítavaní {type}", "Unknown error." : "Neznáma chyba.", "Request is not authorized. Are you logged in?" : "Neautorizovaná požiadavka. Máte aktívne prihlásenie?", @@ -862,8 +862,8 @@ OC.L10N.register( "Could not fetch templates" : "Nepodarilo sa získať šablóny", "Could not insert view." : "Zobrazenie sa nepodarilo vložiť.", "Could not update view." : "Zobrazenie sa nepodarilo aktualizovať.", - "Could not remove view." : "Pohľad sa nepodarilo odstrániť.", - "Could not reload view." : "Pohľad sa nepodarilo obnoviť.", + "Could not remove view." : "Zobrazenie sa nepodarilo odstrániť.", + "Could not reload view." : "Zobrazenie sa nepodarilo znova načítať.", "Could not update table." : "Tabuľku sa nepodarilo aktualizovať.", "Could not mark view as favorite" : "Nepodarilo sa označiť zobrazenie ako obľúbené", "Could not remove view from favorites" : "Nepodarilo sa odstrániť zobrazenie z obľúbených", @@ -881,8 +881,8 @@ OC.L10N.register( "Could not fetch application" : "Nepodarilo sa získať aplikáciu", "Could not load table." : "Nepodarilo sa načítať tabuľku.", "Could not fetch table" : "Nepodarilo sa získať tabuľku", - "Could not load view" : "Nepodarilo sa nahrať pohľad", - "Could not fetch view" : "Nepodarilo sa získať pohľad", + "Could not load view" : "Nepodarilo sa načítať zobrazenie", + "Could not fetch view" : "Nepodarilo sa získať zobrazenie", "Could not verify export permissions." : "Oprávnenia na export sa nepodarilo overiť.", "Could not transfer application." : "Nepodarilo sa presunúť aplikáciu.", "Could not remove application." : "Nepodarilo sa odstrániť aplikáciu.", diff --git a/l10n/sk.json b/l10n/sk.json index 9b8dc9b156..52533b52f9 100644 --- a/l10n/sk.json +++ b/l10n/sk.json @@ -20,9 +20,9 @@ "You have renamed the view {before} to {view} in table {table}" : "Premenovali ste zobrazenie z {before} na {view} v tabuľke {table}.", "{user} has renamed the view {before} to {view} in table {table}" : "Premenovanie zobrazenia {before} na {view} v tabuľke {table} používateľom {user}", "You have updated the description of view {view} to {after} in table {table}" : "Aktualizovali ste popis zobrazenia {view} na {after} v tabuľke {table}.", - "{user} has updated the description of view {view} to {after} in table {table}" : "Používateľ {user} aktualizoval popis zobrazenia {view} na {after} v tabuľke {table}.", + "{user} has updated the description of view {view} to {after} in table {table}" : "Používateľom {user} bol aktualizovaný popis zobrazenia {view} v tabuľke {table} na {after}.", "You have created a new row {row} in view {view}" : "Vytvorili ste nový riadok {row} v zobrazení {view}.", - "{user} has created a new row {row} in view {view}" : "Používateľ {user} vytvoril nový riadok {row} v zobrazení {view}.", + "{user} has created a new row {row} in view {view}" : "Vytvorenie nového riadka {row} v zobrazení {view} používateľom {user}.", "You have created a new row {row} in table {table}" : "Vytvorili ste nový riadok {row} v tabuľke {table}.", "{user} has created a new row {row} in table {table}" : "Vytvorenie nového riadka {row} v tabuľke {table} používateľom {user}", "You have deleted the row {row} in view {view}" : "Odstránili ste riadok {row} v zobrazení {view}.", @@ -34,23 +34,23 @@ "_You have updated cell %1$s on row {row} in table {table}_::_You have updated cells %1$s on row {row} in table {table}_" : ["Aktualizovali ste bunku %1$s v riadku {row} v tabuľke {table}","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}.","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}.","Aktualizovali ste bunky %1$s v riadku {row} v tabuľke {table}."], "_{user} has updated cell %1$s on row {row} in table {table}_::_{user} has updated cells %1$s on row {row} in table {table}_" : ["Aktualizácia bunky %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}","Aktualizácia buniek %1$s v riadku {row} v tabuľke {table} používateľom {user}"], "You have created a new column {column} in view {view}" : "Vytvorili ste nový stĺpec {column} v zobrazení {view}.", - "{user} has created a new column {column} in view {view}" : "Používateľ {user} vytvoril nový stĺpec {column} v zobrazení {view}.", + "{user} has created a new column {column} in view {view}" : "Vytvorenie nového stĺpca {column} v zobrazení {view} používateľom {user}.", "You have updated the column {column} in view {view}" : "Aktualizovali ste stĺpec {column} v zobrazení {view}.", "{user} has updated the column {column} in view {view}" : "Stĺpec {column} v zobrazení {view} aktualizovaný používateľom {user}.", "You have deleted the column {column} from view {view}" : "Odstránili ste stĺpec {column} zo zobrazenia {view}.", "{user} has deleted the column {column} from view {view}" : "Odstránenie stĺpca {column} zo zobrazenia {view} používateľom {user}.", "You have created a new column {column} in table {table}" : "Vytvorili ste nový stĺpec {column} v tabuľke {table}.", - "{user} has created a new column {column} in table {table}" : "Používateľ {user} vytvoril nový stĺpec {column} v tabuľke {table}.", + "{user} has created a new column {column} in table {table}" : "Vytvorenie nového stĺpca {column} v tabuľke {table} používateľom {user}.", "You have updated the column {column} in table {table}" : "Aktualizovali ste stĺpec {column} v tabuľke {table}.", "{user} has updated the column {column} in table {table}" : "Aktualizácia stĺpca {column} v tabuľke {table} používateľom {user}", "You have deleted the column {column} from table {table}" : "Odstránili ste stĺpec {column} z tabuľky {table}.", "{user} has deleted the column {column} from table {table}" : "Odstránenie stĺpca {column} z tabuľky {table} používateľom {user}", - "{user} has shared view {view} with you" : "Používateľ {user} s vami zdieľal zobrazenie {view}.", + "{user} has shared view {view} with you" : "Zdieľanie zobrazenia {view} s vami používateľom {user}.", "You have shared the view {view} as public link" : "Zdieľali ste zobrazenie {view} ako verejný odkaz.", "{user} has shared the view {view} as public link" : "Zdieľanie zobrazenia {view} používateľom {user} ako verejného odkazu.", "You have shared the view {view} with {sharedWith}" : "Zdieľali ste zobrazenie {view} s používateľom {sharedWith}.", "{user} has shared the view {view} with {sharedWith}" : "Zobrazenie {view} zdieľané používateľom {user} s {sharedWith}.", - "{user} has shared table {table} with you" : "Používateľ {user} s vami zdieľal tabuľku {table}.", + "{user} has shared table {table} with you" : "Zdieľanie tabuľky {table} s vami používateľom {user}.", "You have shared the table {table} as public link" : "Zdieľali ste tabuľku {table} ako verejný odkaz.", "{user} has shared the table {table} as public link" : "Zdieľanie tabuľky {table} používateľom {user} cez verejný odkaz.", "You have shared the table {table} with {sharedWith}" : "Zdieľali ste tabuľku {table} s {sharedWith}.", @@ -59,7 +59,7 @@ "You have updated public link sharing for the view {view}" : "Aktualizovali ste zdieľanie verejného odkazu pre zobrazenie {view}.", "{user} has updated public link sharing for the view {view}" : "Aktualizácia zdieľania zobrazenia {view} prostredníctvom verejného odkazu používateľom {user}.", "You have updated sharing for the view {view} with {sharedWith}" : "Aktualizovali ste zdieľanie zobrazenia {view} s {sharedWith}.", - "{user} has updated sharing for the view {view} with {sharedWith}" : "Používateľ {user} aktualizoval zdieľanie zobrazenia {view} s používateľom {sharedWith}.", + "{user} has updated sharing for the view {view} with {sharedWith}" : "Aktualizácia zdieľania zobrazenia {view} s {sharedWith} používateľom {user}.", "{user} has updated sharing for the table {table} with you" : "Aktualizácia zdieľania tabuľky {table} s vami používateľom {user}", "You have updated public link sharing for the table {table}" : "Aktualizovali ste zdieľanie tabuľky {table} cez verejný odkaz.", "{user} has updated public link sharing for the table {table}" : "Používateľ {user} aktualizoval zdieľanie verejného odkazu pre tabuľku {table}.", @@ -72,8 +72,8 @@ "{user} has removed sharing for the view {view} with {sharedWith}" : "Zrušenie zdieľania zobrazenia {view} s {sharedWith} používateľom {user}.", "{user} has removed sharing for the table {table} with you" : "Zrušenie zdieľania tabuľky {table} s vami používateľom {user}.", "You have removed public link sharing for the table {table}" : "Zrušili ste zdieľanie tabuľky {table} cez verejný odkaz.", - "{user} has removed public link sharing for the table {table}" : "Používateľ {user} zrušil zdieľanie verejného odkazu pre tabuľku {table}.", - "You have removed sharing for the table {table} with {sharedWith}" : "Zrušili ste zdieľanie tabuľky {table} s používateľom {sharedWith}.", + "{user} has removed public link sharing for the table {table}" : "Zrušenie zdieľania tabuľky {table} prostredníctvom verejného odkazu používateľom {user}.", + "You have removed sharing for the table {table} with {sharedWith}" : "Zrušili ste zdieľanie tabuľky {table} s {sharedWith}.", "{user} has removed sharing for the table {table} with {sharedWith}" : "Zrušenie zdieľania tabuľky {table} s {sharedWith} používateľom {user}", "Found columns: {foundColumnsCount}" : "Nájdené stĺpce: {foundColumnsCount}", "Matching columns: {matchingColumnsCount}" : "Zhodujúce sa stĺpce: {matchingColumnsCount}", @@ -82,9 +82,9 @@ "Updated rows: {updatedRowsCount}" : "Aktualizované riadky: {updatedRowsCount}", "Value parsing errors: {errorsParsingCount}" : "Chyby pri spracovaní hodnôt: {errorsParsingCount}", "Row creation errors: {errorsCount}" : "Chyby pri vytváraní riadkov: {errorsCount}", - "Tables" : "Tabuľky", + "Tables" : "Tables", "A table or view was changed" : "Došlo k zmene tabuľky alebo zobrazenia", - "A table or view was shared with you" : "S vami bola zdieľaná tabuľka alebo zobrazenie", + "A table or view was shared with you" : "Niekto s vami zdieľal tabuľku alebo zobrazenie", "Nextcloud Tables" : "Nextcloud Tables", "Select table" : "Vybrať tabuľku", "Select columns" : "Vybrať stĺpce", @@ -99,7 +99,7 @@ "Could not create row." : "Nepodarilo sa vytvoriť riadok.", "Could not update row." : "Nepodarilo sa upraviť riadok.", "The file was uploaded" : "Súbor bol nahraný", - "The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Nahraný súbor prekročil limit nastavený v upload_max_filesize v súbore php.ini", + "The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Nahratý súbor prekročil limit nastavený v upload_max_filesize v súbore php.ini", "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Nahratý súbor prekračuje limit určený direktívou MAX_FILE_SIZE vo formulári HTML.", "The file was only partially uploaded" : "Súbor bol nahraný iba čiastočne", "No file was uploaded" : "Nenahral sa žiadny súbor", @@ -127,9 +127,9 @@ "Team %2$s has been assigned in row %3$s of view %4$s by %1$s." : "Tím %2$s bol priradený v riadku %3$s zobrazenia %4$s používateľom %1$s.", "Team %2$s has been assigned in row %3$s of table %4$s by %1$s." : "Tím %2$s bol priradený v riadku %3$s tabuľky %4$s používateľom %1$s.", "{user} has assigned team {team} in {row} in view {view}" : "Priradenie tímu {team} v riadku {row} v zobrazení {view} používateľom {user}", - "{user} has assigned team {team} in {row} in table {table}" : "Používateľ {user} priradil tím {team} v {row} v tabuľke {table}.", + "{user} has assigned team {team} in {row} in table {table}" : "Priradenie tímu {team} v {row} v tabuľke {table} používateľom {user}.", "You have been assigned in row %2$s of view %3$s by %1$s." : "Vaše priradenie k riadku %2$s v zobrazení %3$s používateľom %1$s.", - "You have been assigned in row %2$s of table %3$s by %1$s." : "Boli ste priradení v riadku %2$s tabuľky %3$s používateľom %1$s.", + "You have been assigned in row %2$s of table %3$s by %1$s." : "Vaše priradenie v riadku %2$s tabuľky %3$s používateľom %1$s.", "{user} has assigned you in {row} in view {view}" : "Vaše priradenie k riadku {row} v zobrazení {view} používateľom {user}.", "{user} has assigned you in {row} in table {table}" : "Priradenie vás v {row} v tabuľke {table} používateľom {user}", "A new column has been created in view %2$s by %1$s." : "Nový stĺpec bol vytvorený v zobrazení %2$s používateľom %1$s.", @@ -145,7 +145,7 @@ "Your import to table {table} has failed" : "Váš import do tabuľky {table} zlyhal", "{user}'s import to table {table} has failed" : "Import do tabuľky {table} používateľom {user} zlyhal", "Nextcloud tables" : "Nextcloud Tables", - "_%n row_::_%n rows_" : ["jeden riadok","%n riadky","%n riadkov","%n riadkov"], + "_%n row_::_%n rows_" : ["%n riadok","%n riadky","%n riadka","%n riadkov"], "table" : "tabuľka", "table view" : "zobrazenie v tabuľke", "Column width must be between %1$s and %2$s." : "Šírka stĺpca musí byť medzi %1$s a %2$s.", @@ -160,7 +160,7 @@ "Members" : "Členovia", "List of members with some basic attributes." : "Zoznam členov s pár základnými atribútmi.", "Customers" : "Zákazníci", - "Manage your customers." : "Spravujte vašich zákazníkov.", + "Manage your customers." : "Spravujte svojich zákazníkov.", "Vacation requests" : "Žiadosti o dovolenku", "Use this table to collect and manage vacation requests." : "Použite túto tabuľku na evidenciu a správu žiadostí o dovolenku.", "Weight tracking" : "Sledovanie váhy", @@ -227,16 +227,16 @@ "Proofed" : "Overené", "Create initial milestones" : "Vytvoriť prvotné míľniky", "Create some milestones to structure the project." : "Vytvorte zopár míľnikov a dajte tak projektu základný rámec.", - "Plan to discuss for the kickoff meeting." : "Plán na úvodnú (kickoff) poradu.", + "Plan to discuss for the kickoff meeting." : "Plán na prerokovanie na úvodnej porade.", "Wow, that was hard work, but now it's done." : "Páni, to dalo riadne zabrať, ale už máme hotovo.", "Kickoff meeting" : "Úvodná porada", "We will have a kickoff meeting in person." : "Budeme mať osobnú úvodnú poradu.", "Project is kicked-off and we know the vision and our first tasks." : "Projekt bol začatý a my poznáme víziu aj naše prvé úlohy.", "That was nice in person again. We collected some action points, had a look at the documentation..." : "Bolo opäť pekné sa vidieť naživo. Dali sme dokopy niekoľko úloh a pozreli sme sa na dokumentáciu…", "Set up some documentation and collaboration tools" : "Nastaviť nástroje na dokumentáciu a spoluprácu", - "Where and in what way do we collaborate?" : "Kde a akým spôsobom budeme spolupracovať?", + "Where and in what way do we collaborate?" : "Kde a akým spôsobom spolupracujeme?", "We know what we are doing." : "Vieme, čo robíme.", - "We have heard that %s could be a nice solution for it, should give it a try." : "Počuli sme, že by %s mohlo byť pekné riešenie, mali by sme to vyskúšať.", + "We have heard that %s could be a nice solution for it, should give it a try." : "Počuli sme, že %s by mohlo byť dobrým riešením. Mali by sme to vyskúšať.", "Add more actions" : "Pridať viac akcií", "I guess we need more actions in here..." : "Azda by sme sem mali pridať viac akcií...", "What" : "Čo", @@ -252,9 +252,9 @@ "Add a new column" : "Pridať nový stĺpec", "You can add, remove and adjust columns as you need. Open the three-dot-menu on the upper right of this table and choose *Create column*. Fill in the data you want, at least a title and column type." : "Stĺpce môžete pridávať, odstraňovať a upravovať podľa potreby. Otvorte trojbodkovú ponuku v pravej hornej časti tejto tabuľky a vyberte možnosť *Vytvoriť stĺpec*. Vyplňte požadované údaje, aspoň názov a typ stĺpca.", "Create views for tables" : "Vytvoriť zobrazenia pre tabuľky", - "Filter data and save table presets as views to share and combine them into applications." : "Filtrujte údaje a uložte predvoľby tabuľky ako pohľad, aby ste ich mohli zdieľať a kombinovať do aplikácií.", + "Filter data and save table presets as views to share and combine them into applications." : "Filtrujte údaje a uložte predvoľby tabuľky ako zobrazenia, aby ste ich mohli zdieľať a kombinovať do aplikácií.", "Create applications" : "Vytvoriť aplikácie", - "Combine different tables and views into no-code applications for any purpose. This makes them easily accessible directly in the app bar." : "Kombinujte rôzne tabuľky a zobrazenia pre použitie v aplikáciach bez písania kódu. Týmto dosiahnete že sú ľahko dostupné priamo v paneli aplikácií.", + "Combine different tables and views into no-code applications for any purpose. This makes them easily accessible directly in the app bar." : "Kombinujte rôzne tabuľky a zobrazenia do aplikácií na ľubovoľný účel bez písania kódu. Vďaka tomu budú ľahko dostupné priamo v paneli aplikácií.", "Read the docs" : "Prečítať dokumentáciu", "If you want to go through the documentation, it can be found here: [Nextcloud Tables documentation](%s)" : "Ak si chcete prejsť dokumentáciu, nájdete ju tu: [Dokumentácia aplikácie Nextcloud Tables](%s)", "Check yourself!" : "Vyskúšajte si to sami!", @@ -281,10 +281,10 @@ "Column ID" : "ID stĺpca", "Table ID" : "ID tabuľky", "Text" : "Text", - "Link" : "Prepojenie", + "Link" : "Odkaz", "Number" : "Číslo", "Stars rating" : "Hodnotenie hviezdičkami", - "Progress bar" : "Indikátor priebeh", + "Progress bar" : "Indikátor priebehu", "Selection" : "Výber", "Date and time" : "Dátum a čas", "Users and groups" : "Používatelia a skupiny", @@ -305,7 +305,7 @@ "Column" : "Stĺpec", "Operator" : "Operátor", "Delete filter" : "Zmazať filter", - "Filtering rows" : "Filtrujem riadky", + "Filtering rows" : "Filtrovanie riadkov", "OR" : "ALEBO", "Add new filter group" : "Pridať novú skupinu filtrov", "... that meet all of the following conditions" : "… ktoré spĺňajú všetky nasledujúce podmienky", @@ -326,7 +326,7 @@ "Last edited" : "Naposledy upravené", "Shares" : "Zdieľania", "Actions" : "Akcie", - "View settings" : "Zobraziť nastavenia", + "View settings" : "Nastavenia zobrazenia", "Share" : "Zdieľať", "Integration" : "Integrácia", "Delete view" : "Odstrániť zobrazenie", @@ -398,7 +398,7 @@ "Select emoji for table" : "Vybrať emoji pre tabuľku", "Select emoji" : "Vybrať emoji", "Title of the new table" : "Názov novej tabuľky", - "🔧 Custom table" : "Vlastná tabuľka", + "🔧 Custom table" : "🔧 Vlastná tabuľka", "Custom table from scratch." : "Vlastná tabuľka od nuly", "📄 Import table" : "📄 Importovať tabuľku", "Import table from file." : "Importovať tabuľku zo súboru.", @@ -446,7 +446,7 @@ "File import started, this might take a while. You will be notified once it finished." : "Import súboru sa začal, môže to chvíľu trvať. Po dokončení budete upozornení.", "You must select an existing table" : "Musíte vybrať existujúcu tabuľku", "Could not import data to table" : "Nepodarilo sa importovať údaje do tabuľky", - "Import file into Tables" : "Importovať súbor do Tabuliek", + "Import file into Tables" : "Importovať súbor do aplikácie Tables", "Import as new table" : "Importovať ako novú tabuľku", "This will create a new table from the data in this file." : "Týmto sa vytvorí nová tabuľka z údajov v tomto súbore.", "Import into existing table" : "Importovať do existujúcej tabuľky", @@ -493,7 +493,7 @@ "To" : "Do", "Icon" : "Ikona", "New Tables" : "Nové tabuľky", - "Emoji" : "Emotikon", + "Emoji" : "Emoji", "No columns to add" : "Žiadne stĺpce na pridanie", "Change Tables" : "Zmeniť tabuľky", "No columns to change" : "Žiadne stĺpce na zmenu", @@ -509,7 +509,7 @@ "Inserted rows" : "Vložené riadky", "Updated rows" : "Aktualizované riadky", "Value parsing errors" : "Chyby pri spracovaní hodnoty", - "Row creation errors" : "Chyba pri vytváraní riadkov", + "Row creation errors" : "Chyby pri vytváraní riadkov", "Import table scheme" : "Importovať schému tabuľky", "Preview table scheme changes" : "Náhľad zmien schémy tabuľky", "Import table scheme from a file" : "Importovať schému tabuľky zo súboru", @@ -537,7 +537,7 @@ "Save modified View" : "Uložiť zmenené zobrazenie", "Save View" : "Uložiť zobrazenie", "Save as new view" : "Uložiť ako nové zobrazenie", - "Cannot create view." : "Chyba pri vytváraní zobrazenia.", + "Cannot create view." : "Zobrazenie nemožno vytvoriť.", "Cannot update view." : "Zobrazenie nemožno aktualizovať.", "Title is missing." : "Chýba názov.", "Cannot save view. Technical name must start with a lowercase letter and only contain lowercase letters, numbers, and underscores." : "Zobrazenie nie je možné uložiť. Technický názov musí začínať malým písmenom a môže obsahovať iba malé písmená, číslice a znaky podčiarknutia.", @@ -545,7 +545,7 @@ "Title of the new view" : "Názov nového zobrazenia", "New title of the view" : "Nový názov zobrazenia", "Filter" : "Filter", - "Layout" : "Layout", + "Layout" : "Rozloženie", "Tile" : "Dlaždica", "Gallery" : "Galéria", "Background source" : "Zdroj pozadia", @@ -588,7 +588,7 @@ "Clear filter" : "Vyčistiť filter", "Share with accounts, groups or teams" : "Zdieľať s účtami, skupinami alebo tímami", "Share with accounts or groups" : "Zdieľať s účtami alebo skupinami", - "User, group or team …" : "Užívateľ, skupina alebo tím", + "User, group or team …" : "Používateľ, skupina alebo tím …", "User or group …" : "Používateľ alebo skupina …", "Failed to fetch share recommendations" : "Získanie odporúčaní zdieľania zlyhalo", "Receiver type" : "Typ prijímateľa", @@ -610,7 +610,7 @@ "Promote to table manager" : "Povýšiť na správcu tabuľky", "Demote to normal share" : "Zmeniť na bežné zdieľanie", "Open main table to adjust table management permissions" : "Ak chcete upraviť oprávnenia pre správu tabuľky, otvorte hlavnú tabuľku", - "No shares" : "Žiadne sprístupnené položky", + "No shares" : "Žiadne zdieľania", "After the promotion of the share recipient to table manager, any applications created by share recipients that utilise this table will continue to access its data, even if you later demote them." : "Po povýšení príjemcu zdieľania na správcu tabuľky budú všetky aplikácie vytvorené príjemcami zdieľania, ktoré využívajú túto tabuľku, naďalej pristupovať k údajom tabuľky, aj keď neskôr príjemcovi znížite úroveň oprávnení.", "Confirm table manager promotion" : "Potvrdiť povýšenie na správcu tabuľky", "View only" : "Iba na čítanie", @@ -644,7 +644,7 @@ "This application could not be found" : "Táto aplikácia sa nenašla", "Some resources in this application could not be loaded" : "Niektoré zdroje v tejto aplikácii sa nepodarilo načítať", "Create new table" : "Vytvoriť novú tabuľku", - "Searching …" : "Hľadá sa…", + "Searching …" : "Hľadá sa …", "No elements found." : "Nenašli sa žiadne prvky.", "Select a table or view" : "Vybrať tabuľku alebo zobrazenie", "No recommendations. Start typing." : "Žiadne odporúčania. Začnite písať.", @@ -700,7 +700,7 @@ "Redo" : "Zopakovať", "Bold" : "Tučné", "Italic" : "Kurzíva", - "Bullet list" : "Zoznam odrážok", + "Bullet list" : "Zoznam s odrážkami", "Ordered list" : "Číslovaný zoznam", "Strike" : "Prečiarknuť", "Heading 1" : "Nadpis 1", @@ -719,10 +719,10 @@ "The default value is lower than the minimum allowed value." : "Predvolená hodnota je menšia ako minimálna povolená hodnota.", "The default value is greater than the maximum allowed value." : "Predvolená hodnota je väčšia ako maximálna povolená hodnota.", "Default value" : "Predvolená hodnota", - "Decimals" : "Desatinné", + "Decimals" : "Desatinné miesta", "Minimum" : "Minimum", "Maximum" : "Maximum", - "Prefix" : "Predvoľba", + "Prefix" : "Predpona", "Suffix" : "Prípona", "Default" : "Predvolené", "Reduce stars" : "Odobrať hviezdičky", @@ -747,7 +747,7 @@ "Enable the Files provider to show previews." : "Povoliť poskytovateľovi súborov zobrazovať náhľady.", "Could not load link providers." : "Nepodarilo sa načítať poskytovateľov odkazov.", "Allowed types" : "Povolené typy", - "Please select at least one provider." : "Prosím vyberte aspoň jedného poskytovateľa", + "Please select at least one provider." : "Prosím, vyberte aspoň jedného poskytovateľa.", "The provided types depends on your system setup. You can use the same providers like the fulltext-search." : "Dostupné typy závisia od nastavenia vášho systému. Môžete použiť rovnakých poskytovateľov ako pri fulltextovom vyhľadávaní.", "Show previews" : "Zobraziť náhľady", "Preview size" : "Veľkosť náhľadu", @@ -835,7 +835,7 @@ "{shareTypeString}..." : "{shareTypeString}...", "Unsupported source: {source}" : "Nepodporovaný zdroj: {source}", "Failed to fetch {shareTypeString}" : "Nepodarilo sa načítať {shareTypeString}", - "This {type} could not be found" : "Tento {type} sa nenašiel", + "This {type} could not be found" : "Položka typu {type} sa nenašla", "An error occurred while loading the {type}" : "Došlo k chybe pri načítavaní {type}", "Unknown error." : "Neznáma chyba.", "Request is not authorized. Are you logged in?" : "Neautorizovaná požiadavka. Máte aktívne prihlásenie?", @@ -860,8 +860,8 @@ "Could not fetch templates" : "Nepodarilo sa získať šablóny", "Could not insert view." : "Zobrazenie sa nepodarilo vložiť.", "Could not update view." : "Zobrazenie sa nepodarilo aktualizovať.", - "Could not remove view." : "Pohľad sa nepodarilo odstrániť.", - "Could not reload view." : "Pohľad sa nepodarilo obnoviť.", + "Could not remove view." : "Zobrazenie sa nepodarilo odstrániť.", + "Could not reload view." : "Zobrazenie sa nepodarilo znova načítať.", "Could not update table." : "Tabuľku sa nepodarilo aktualizovať.", "Could not mark view as favorite" : "Nepodarilo sa označiť zobrazenie ako obľúbené", "Could not remove view from favorites" : "Nepodarilo sa odstrániť zobrazenie z obľúbených", @@ -879,8 +879,8 @@ "Could not fetch application" : "Nepodarilo sa získať aplikáciu", "Could not load table." : "Nepodarilo sa načítať tabuľku.", "Could not fetch table" : "Nepodarilo sa získať tabuľku", - "Could not load view" : "Nepodarilo sa nahrať pohľad", - "Could not fetch view" : "Nepodarilo sa získať pohľad", + "Could not load view" : "Nepodarilo sa načítať zobrazenie", + "Could not fetch view" : "Nepodarilo sa získať zobrazenie", "Could not verify export permissions." : "Oprávnenia na export sa nepodarilo overiť.", "Could not transfer application." : "Nepodarilo sa presunúť aplikáciu.", "Could not remove application." : "Nepodarilo sa odstrániť aplikáciu.", From ddc73ada42c1974eb3accb4585cef532769d8ea7 Mon Sep 17 00:00:00 2001 From: AhmadAnzar <177634035+AhmadAnzar@users.noreply.github.com> Date: Fri, 13 Nov 2026 18:47:44 +0530 Subject: [PATCH 06/62] fix(a11y): give each icon in the icon picker its own screen reader name Every icon button was labelled 'Select icon for the application'. Label each one with its translatable icon name instead. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: AhmadAnzar <177634035+AhmadAnzar@users.noreply.github.com> --- cypress/component/IconPickerIcon.cy.js | 17 + .../components/ncIconPicker/iconNames.js | 347 ++++++++++++++++++ .../components/ncIconPicker/partials/Icon.vue | 11 +- 3 files changed, 373 insertions(+), 2 deletions(-) create mode 100644 cypress/component/IconPickerIcon.cy.js create mode 100644 src/shared/components/ncIconPicker/iconNames.js diff --git a/cypress/component/IconPickerIcon.cy.js b/cypress/component/IconPickerIcon.cy.js new file mode 100644 index 0000000000..8f6d7c0a64 --- /dev/null +++ b/cypress/component/IconPickerIcon.cy.js @@ -0,0 +1,17 @@ +/** + * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +import Icon from '../../src/shared/components/ncIconPicker/partials/Icon.vue' + +describe('Icon picker icon', () => { + it('names the button after its icon', () => { + cy.mount(Icon, { props: { name: 'alarm' } }) + cy.get('button').should('have.attr', 'aria-label', 'Select icon Alarm') + }) + + it('gives different icons different names', () => { + cy.mount(Icon, { props: { name: 'anchor' } }) + cy.get('button').should('have.attr', 'aria-label', 'Select icon Anchor') + }) +}) diff --git a/src/shared/components/ncIconPicker/iconNames.js b/src/shared/components/ncIconPicker/iconNames.js new file mode 100644 index 0000000000..4975b4410c --- /dev/null +++ b/src/shared/components/ncIconPicker/iconNames.js @@ -0,0 +1,347 @@ +/** + * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +import { translate as t } from '@nextcloud/l10n' + +/** + * Readable, translatable names for the icons in img/material/meta.json. + * Each name is a literal t() call so the translation extractor picks it up. + */ +const iconNames = { + account: t('tables', 'Account'), + adjust: t('tables', 'Adjust'), + alarm: t('tables', 'Alarm'), + album: t('tables', 'Album'), + alert: t('tables', 'Alert'), + anchor: t('tables', 'Anchor'), + android: t('tables', 'Android'), + animation: t('tables', 'Animation'), + antenna: t('tables', 'Antenna'), + api: t('tables', 'API'), + apps: t('tables', 'Apps'), + assistant: t('tables', 'Assistant'), + at: t('tables', 'At sign'), + atm: t('tables', 'ATM'), + attachment: t('tables', 'Attachment'), + atv: t('tables', 'ATV'), + autorenew: t('tables', 'Autorenew'), + baby: t('tables', 'Baby'), + backspace: t('tables', 'Backspace'), + balcony: t('tables', 'Balcony'), + ballot: t('tables', 'Ballot'), + bandage: t('tables', 'Bandage'), + bank: t('tables', 'Bank'), + barrel: t('tables', 'Barrel'), + basket: t('tables', 'Basket'), + basketball: t('tables', 'Basketball'), + bathtub: t('tables', 'Bathtub'), + battery: t('tables', 'Battery'), + bed: t('tables', 'Bed'), + bee: t('tables', 'Bee'), + bell: t('tables', 'Bell'), + biathlon: t('tables', 'Biathlon'), + bike: t('tables', 'Bike'), + blender: t('tables', 'Blender'), + blur: t('tables', 'Blur'), + book: t('tables', 'Book'), + bookmark: t('tables', 'Bookmark'), + boombox: t('tables', 'Boombox'), + briefcase: t('tables', 'Briefcase'), + broadcast: t('tables', 'Broadcast'), + brush: t('tables', 'Brush'), + bug: t('tables', 'Bug'), + bullhorn: t('tables', 'Bullhorn'), + bus: t('tables', 'Bus'), + cached: t('tables', 'Cached'), + cake: t('tables', 'Cake'), + calendar: t('tables', 'Calendar'), + camera: t('tables', 'Camera'), + cancel: t('tables', 'Cancel'), + candle: t('tables', 'Candle'), + car: t('tables', 'Car'), + carabiner: t('tables', 'Carabiner'), + cart: t('tables', 'Cart'), + cast: t('tables', 'Cast'), + cellphone: t('tables', 'Cellphone'), + charity: t('tables', 'Charity'), + check: t('tables', 'Check'), + checkbook: t('tables', 'Checkbook'), + church: t('tables', 'Church'), + city: t('tables', 'City'), + clock: t('tables', 'Clock'), + close: t('tables', 'Close'), + cloud: t('tables', 'Cloud'), + coffee: t('tables', 'Coffee'), + cog: t('tables', 'Cog'), + cogs: t('tables', 'Cogs'), + collage: t('tables', 'Collage'), + compare: t('tables', 'Compare'), + compass: t('tables', 'Compass'), + compost: t('tables', 'Compost'), + contacts: t('tables', 'Contacts'), + controller: t('tables', 'Controller'), + cookie: t('tables', 'Cookie'), + copyright: t('tables', 'Copyright'), + countertop: t('tables', 'Countertop'), + cradle: t('tables', 'Cradle'), + creation: t('tables', 'Creation'), + cricket: t('tables', 'Cricket'), + crop: t('tables', 'Crop'), + crosshairs: t('tables', 'Crosshairs'), + crowd: t('tables', 'Crowd'), + delete: t('tables', 'Delete'), + delta: t('tables', 'Delta'), + details: t('tables', 'Details'), + devices: t('tables', 'Devices'), + dialpad: t('tables', 'Dialpad'), + directions: t('tables', 'Directions'), + dishwasher: t('tables', 'Dishwasher'), + diving: t('tables', 'Diving'), + dns: t('tables', 'DNS'), + domain: t('tables', 'Domain'), + download: t('tables', 'Download'), + dumbbell: t('tables', 'Dumbbell'), + earth: t('tables', 'Earth'), + eject: t('tables', 'Eject'), + email: t('tables', 'Email'), + emoticon: t('tables', 'Emoticon'), + equalizer: t('tables', 'Equalizer'), + eye: t('tables', 'Eye'), + fax: t('tables', 'Fax'), + fencing: t('tables', 'Fencing'), + ferry: t('tables', 'Ferry'), + file: t('tables', 'File'), + film: t('tables', 'Film'), + filmstrip: t('tables', 'Filmstrip'), + finance: t('tables', 'Finance'), + fingerprint: t('tables', 'Fingerprint'), + fire: t('tables', 'Fire'), + firebase: t('tables', 'Firebase'), + flag: t('tables', 'Flag'), + flare: t('tables', 'Flare'), + flash: t('tables', 'Flash'), + flower: t('tables', 'Flower'), + folder: t('tables', 'Folder'), + food: t('tables', 'Food'), + football: t('tables', 'Football'), + forest: t('tables', 'Forest'), + forum: t('tables', 'Forum'), + forward: t('tables', 'Forward'), + fullscreen: t('tables', 'Fullscreen'), + gamepad: t('tables', 'Gamepad'), + gauge: t('tables', 'Gauge'), + gesture: t('tables', 'Gesture'), + gmail: t('tables', 'Gmail'), + golf: t('tables', 'Golf'), + google: t('tables', 'Google'), + grain: t('tables', 'Grain'), + grass: t('tables', 'Grass'), + grid: t('tables', 'Grid'), + grill: t('tables', 'Grill'), + gymnastics: t('tables', 'Gymnastics'), + hail: t('tables', 'Hail'), + hammer: t('tables', 'Hammer'), + handball: t('tables', 'Handball'), + hdr: t('tables', 'HDR'), + headphones: t('tables', 'Headphones'), + headset: t('tables', 'Headset'), + heart: t('tables', 'Heart'), + hiking: t('tables', 'Hiking'), + history: t('tables', 'History'), + home: t('tables', 'Home'), + hub: t('tables', 'Hub'), + human: t('tables', 'Human'), + hvac: t('tables', 'HVAC'), + image: t('tables', 'Image'), + inbox: t('tables', 'Inbox'), + information: t('tables', 'Information'), + iron: t('tables', 'Iron'), + kabaddi: t('tables', 'Kabaddi'), + karate: t('tables', 'Karate'), + kayaking: t('tables', 'Kayaking'), + key: t('tables', 'Key'), + keyboard: t('tables', 'Keyboard'), + kite: t('tables', 'Kite'), + kitesurfing: t('tables', 'Kitesurfing'), + label: t('tables', 'Label'), + ladybug: t('tables', 'Ladybug'), + landslide: t('tables', 'Landslide'), + laptop: t('tables', 'Laptop'), + launch: t('tables', 'Launch'), + layers: t('tables', 'Layers'), + leak: t('tables', 'Leak'), + library: t('tables', 'Library'), + license: t('tables', 'License'), + lightbulb: t('tables', 'Lightbulb'), + link: t('tables', 'Link'), + liquor: t('tables', 'Liquor'), + lock: t('tables', 'Lock'), + login: t('tables', 'Login'), + logout: t('tables', 'Logout'), + looks: t('tables', 'Looks'), + loupe: t('tables', 'Loupe'), + magnify: t('tables', 'Magnify'), + map: t('tables', 'Map'), + marker: t('tables', 'Marker'), + medication: t('tables', 'Medication'), + meditation: t('tables', 'Meditation'), + memory: t('tables', 'Memory'), + menu: t('tables', 'Menu'), + merge: t('tables', 'Merge'), + message: t('tables', 'Message'), + microphone: t('tables', 'Microphone'), + minus: t('tables', 'Minus'), + monitor: t('tables', 'Monitor'), + moped: t('tables', 'Moped'), + more: t('tables', 'More'), + mosque: t('tables', 'Mosque'), + motion: t('tables', 'Motion'), + motorbike: t('tables', 'Motorbike'), + mouse: t('tables', 'Mouse'), + movie: t('tables', 'Movie'), + mustache: t('tables', 'Mustache'), + nature: t('tables', 'Nature'), + navigation: t('tables', 'Navigation'), + newspaper: t('tables', 'Newspaper'), + noodles: t('tables', 'Noodles'), + opacity: t('tables', 'Opacity'), + overscan: t('tables', 'Overscan'), + palette: t('tables', 'Palette'), + panorama: t('tables', 'Panorama'), + paperclip: t('tables', 'Paperclip'), + paragliding: t('tables', 'Paragliding'), + parking: t('tables', 'Parking'), + pasta: t('tables', 'Pasta'), + pause: t('tables', 'Pause'), + pencil: t('tables', 'Pencil'), + phone: t('tables', 'Phone'), + piano: t('tables', 'Piano'), + pin: t('tables', 'Pin'), + pinwheel: t('tables', 'Pinwheel'), + pizza: t('tables', 'Pizza'), + play: t('tables', 'Play'), + plus: t('tables', 'Plus'), + podcast: t('tables', 'Podcast'), + polo: t('tables', 'Polo'), + post: t('tables', 'Post'), + power: t('tables', 'Power'), + printer: t('tables', 'Printer'), + publish: t('tables', 'Publish'), + puzzle: t('tables', 'Puzzle'), + racquetball: t('tables', 'Racquetball'), + radar: t('tables', 'Radar'), + radio: t('tables', 'Radio'), + raw: t('tables', 'Raw'), + redo: t('tables', 'Redo'), + refresh: t('tables', 'Refresh'), + reminder: t('tables', 'Reminder'), + remote: t('tables', 'Remote'), + rename: t('tables', 'Rename'), + repeat: t('tables', 'Repeat'), + replay: t('tables', 'Replay'), + reply: t('tables', 'Reply'), + restart: t('tables', 'Restart'), + restore: t('tables', 'Restore'), + rewind: t('tables', 'Rewind'), + ribbon: t('tables', 'Ribbon'), + rocket: t('tables', 'Rocket'), + rodent: t('tables', 'Rodent'), + rowing: t('tables', 'Rowing'), + rss: t('tables', 'RSS'), + rugby: t('tables', 'Rugby'), + run: t('tables', 'Run'), + satellite: t('tables', 'Satellite'), + saxophone: t('tables', 'Saxophone'), + scanner: t('tables', 'Scanner'), + school: t('tables', 'School'), + scooter: t('tables', 'Scooter'), + sd: t('tables', 'SD card'), + seat: t('tables', 'Seat'), + security: t('tables', 'Security'), + segment: t('tables', 'Segment'), + send: t('tables', 'Send'), + shape: t('tables', 'Shape'), + share: t('tables', 'Share'), + shopping: t('tables', 'Shopping'), + shuffle: t('tables', 'Shuffle'), + sigma: t('tables', 'Sigma'), + silverware: t('tables', 'Silverware'), + sim: t('tables', 'SIM card'), + skate: t('tables', 'Skate'), + skateboard: t('tables', 'Skateboard'), + skateboarding: t('tables', 'Skateboarding'), + ski: t('tables', 'Ski'), + sledding: t('tables', 'Sledding'), + sleep: t('tables', 'Sleep'), + smoking: t('tables', 'Smoking'), + snowboard: t('tables', 'Snowboard'), + snowflake: t('tables', 'Snowflake'), + snowmobile: t('tables', 'Snowmobile'), + snowshoeing: t('tables', 'Snowshoeing'), + soccer: t('tables', 'Soccer'), + spa: t('tables', 'Spa'), + speaker: t('tables', 'Speaker'), + spellcheck: t('tables', 'Spellcheck'), + stadium: t('tables', 'Stadium'), + star: t('tables', 'Star'), + steering: t('tables', 'Steering'), + stop: t('tables', 'Stop'), + store: t('tables', 'Store'), + subtitles: t('tables', 'Subtitles'), + subway: t('tables', 'Subway'), + surfing: t('tables', 'Surfing'), + synagogue: t('tables', 'Synagogue'), + sync: t('tables', 'Sync'), + tab: t('tables', 'Tab'), + tablet: t('tables', 'Tablet'), + tag: t('tables', 'Tag'), + taxi: t('tables', 'Taxi'), + tea: t('tables', 'Tea'), + television: t('tables', 'Television'), + tennis: t('tables', 'Tennis'), + terrain: t('tables', 'Terrain'), + text: t('tables', 'Text'), + texture: t('tables', 'Texture'), + thermostat: t('tables', 'Thermostat'), + ticket: t('tables', 'Ticket'), + timelapse: t('tables', 'Timelapse'), + toolbox: t('tables', 'Toolbox'), + train: t('tables', 'Train'), + tram: t('tables', 'Tram'), + transition: t('tables', 'Transition'), + translate: t('tables', 'Translate'), + truck: t('tables', 'Truck'), + tsunami: t('tables', 'Tsunami'), + tune: t('tables', 'Tune'), + undo: t('tables', 'Undo'), + update: t('tables', 'Update'), + upload: t('tables', 'Upload'), + usb: t('tables', 'USB'), + vacuum: t('tables', 'Vacuum'), + vibrate: t('tables', 'Vibrate'), + video: t('tables', 'Video'), + violin: t('tables', 'Violin'), + voicemail: t('tables', 'Voicemail'), + volcano: t('tables', 'Volcano'), + volleyball: t('tables', 'Volleyball'), + vote: t('tables', 'Vote'), + walk: t('tables', 'Walk'), + wallet: t('tables', 'Wallet'), + wallpaper: t('tables', 'Wallpaper'), + watch: t('tables', 'Watch'), + water: t('tables', 'Water'), + watermark: t('tables', 'Watermark'), + web: t('tables', 'Web'), + widgets: t('tables', 'Widgets'), + wrench: t('tables', 'Wrench'), + youtube: t('tables', 'YouTube'), +} + +/** + * @param {string} name icon name from meta.json + * @return {string} translated name, or the raw name for an unknown icon + */ +export function iconLabel(name) { + return iconNames[name] ?? name +} diff --git a/src/shared/components/ncIconPicker/partials/Icon.vue b/src/shared/components/ncIconPicker/partials/Icon.vue index 738f4c15a4..4176e47293 100644 --- a/src/shared/components/ncIconPicker/partials/Icon.vue +++ b/src/shared/components/ncIconPicker/partials/Icon.vue @@ -4,12 +4,12 @@ -->