Welcome to mirror list, hosted at ThFree Co, Russian Federation.

details.js « constants « harbor_registry « packages_and_registries « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5b4b85ec31e782d9546597107132929afb32ac39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { s__, __, n__ } from '~/locale';

export const FETCH_ARTIFACT_LIST_ERROR_MESSAGE = s__(
  'HarborRegistry|Something went wrong while fetching the artifact list.',
);

export const NO_ARTIFACTS_TITLE = s__('HarborRegistry|This image has no artifacts');

export const NO_TAGS_MATCHING_FILTERS_TITLE = s__('HarborRegistry|The filter returned no results');

export const NO_TAGS_MATCHING_FILTERS_DESCRIPTION = s__(
  'HarborRegistry|Please try different search criteria',
);

export const DIGEST_LABEL = s__('HarborRegistry|Digest: %{imageId}');
export const CREATED_AT_LABEL = s__('HarborRegistry|Published %{timeInfo}');

export const NOT_AVAILABLE_TEXT = __('Not applicable.');
export const NOT_AVAILABLE_SIZE = __('0 bytes');

export const TOKEN_TYPE_TAG_NAME = 'tag_name';

export const FETCH_TAGS_ERROR_MESSAGE = s__(
  'HarborRegistry|Something went wrong while fetching the tags.',
);

export const TAG_LABEL = s__('HarborRegistry|Tag');
export const EMPTY_TAG_LABEL = s__('HarborRegistry|-- tags');

export const EMPTY_ARTIFACTS_LABEL = s__('HarborRegistry|-- artifacts');
export const artifactsLabel = (count) => {
  return n__('%d artifact', '%d artifacts', count);
};

export const tagsCountText = (count) => {
  return n__('%d tag', '%d tags', count);
};