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

list.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: 339509931251b0fe9ab1d950f9f7cafd63ed9269 (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
38
39
40
41
42
43
44
45
import { s__, __, n__ } from '~/locale';
import { NAME_SORT_FIELD } from './common';

//  Translations strings

export const HARBOR_REGISTRY_TITLE = s__('HarborRegistry|Harbor Registry');

export const CONNECTION_ERROR_TITLE = s__('HarborRegistry|Harbor connection error');
export const CONNECTION_ERROR_MESSAGE = s__(
  `HarborRegistry|We are having trouble connecting to the Harbor Registry. Please try refreshing the page. If this error persists, please review %{docLinkStart}the documentation%{docLinkEnd}.`,
);

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

export const LIST_INTRO_TEXT = s__(
  `HarborRegistry|With the Harbor Registry, every project can have its own space to store images. %{docLinkStart}More information%{docLinkEnd}`,
);

export const imagesCountInfoText = (count) => {
  return n__(
    'HarborRegistry|%{count} Image repository',
    'HarborRegistry|%{count} Image repositories',
    count,
  );
};

export const EMPTY_RESULT_TITLE = s__('HarborRegistry|Sorry, your filter produced no results.');
export const EMPTY_RESULT_MESSAGE = s__(
  'HarborRegistry|To widen your search, change or remove the filters above.',
);

export const EMPTY_IMAGES_TITLE = s__(
  'HarborRegistry|There are no harbor images stored for this project',
);
export const EMPTY_IMAGES_MESSAGE = s__(
  'HarborRegistry|With the Harbor Registry, every project can connect to a harbor space to store its Docker images.',
);

export const SORT_FIELDS = [
  { orderBy: 'UPDATED', label: __('Updated') },
  { orderBy: 'CREATED', label: __('Created') },
  NAME_SORT_FIELD,
];