Skip to content

Translation in the "Sharing" administrator settings #14793

Description

@Valdnet

Translation in the "Sharing" administrator settings:

obraz

obraz

They are downloaded from the folder: settings\l10n instead of lib\l10n.

Or the translation should be moved to: settings\l10n.

Below is the code from the file :lib\private\Settings\Admin\Sharing.php

private function getSharePermissionList() {
		return [
			[
				'id' => 'cancreate',
				'label' => $this->l->t('Create'),
				'value' => Constants::PERMISSION_CREATE
			],
			[
				'id' => 'canupdate',
				'label' => $this->l->t('Change'),
				'value' => Constants::PERMISSION_UPDATE
			],
			[
				'id' => 'candelete',
				'label' => $this->l->t('Delete'),
				'value' => Constants::PERMISSION_DELETE
			],
			[
				'id' => 'canshare',
				'label' => $this->l->t('Share'),
				'value' => Constants::PERMISSION_SHARE
			],
		];
	}

App: Nextcloud v15.0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions