2020-04-08 14:13:33 +05:30
import { s _ _ } from '~/locale' ;
2020-03-13 15:44:24 +05:30
2020-04-08 14:13:33 +05:30
export const FETCH _IMAGES _LIST _ERROR _MESSAGE = s _ _ (
'ContainerRegistry|Something went wrong while fetching the packages list.' ,
2020-03-13 15:44:24 +05:30
) ;
2020-04-08 14:13:33 +05:30
export const FETCH _TAGS _LIST _ERROR _MESSAGE = s _ _ (
'ContainerRegistry|Something went wrong while fetching the tags list.' ,
2020-03-13 15:44:24 +05:30
) ;
2020-04-08 14:13:33 +05:30
export const DELETE _IMAGE _ERROR _MESSAGE = s _ _ (
'ContainerRegistry|Something went wrong while deleting the image.' ,
) ;
export const DELETE _IMAGE _SUCCESS _MESSAGE = s _ _ ( 'ContainerRegistry|Image deleted successfully' ) ;
export const DELETE _TAG _ERROR _MESSAGE = s _ _ (
'ContainerRegistry|Something went wrong while deleting the tag.' ,
) ;
export const DELETE _TAG _SUCCESS _MESSAGE = s _ _ ( 'ContainerRegistry|Tag deleted successfully' ) ;
export const DELETE _TAGS _ERROR _MESSAGE = s _ _ (
'ContainerRegistry|Something went wrong while deleting the tags.' ,
) ;
export const DELETE _TAGS _SUCCESS _MESSAGE = s _ _ ( 'ContainerRegistry|Tags deleted successfully' ) ;
2020-03-13 15:44:24 +05:30
export const DEFAULT _PAGE = 1 ;
export const DEFAULT _PAGE _SIZE = 10 ;
export const GROUP _PAGE _TYPE = 'groups' ;
export const LIST _KEY _TAG = 'name' ;
export const LIST _KEY _IMAGE _ID = 'short_revision' ;
export const LIST _KEY _SIZE = 'total_size' ;
export const LIST _KEY _LAST _UPDATED = 'created_at' ;
export const LIST _KEY _ACTIONS = 'actions' ;
export const LIST _KEY _CHECKBOX = 'checkbox' ;
2020-04-08 14:13:33 +05:30
export const LIST _LABEL _TAG = s _ _ ( 'ContainerRegistry|Tag' ) ;
export const LIST _LABEL _IMAGE _ID = s _ _ ( 'ContainerRegistry|Image ID' ) ;
export const LIST _LABEL _SIZE = s _ _ ( 'ContainerRegistry|Size' ) ;
export const LIST _LABEL _LAST _UPDATED = s _ _ ( 'ContainerRegistry|Last Updated' ) ;
export const EXPIRATION _POLICY _ALERT _TITLE = s _ _ (
'ContainerRegistry|Retention policy has been Enabled' ,
) ;
export const EXPIRATION _POLICY _ALERT _PRIMARY _BUTTON = s _ _ ( 'ContainerRegistry|Edit Settings' ) ;
export const EXPIRATION _POLICY _ALERT _FULL _MESSAGE = s _ _ (
'ContainerRegistry|The retention and expiration policy for this Container Registry has been enabled and will run in %{days}. For more information visit the %{linkStart}documentation%{linkEnd}' ,
) ;
export const EXPIRATION _POLICY _ALERT _SHORT _MESSAGE = s _ _ (
'ContainerRegistry|The retention and expiration policy for this Container Registry has been enabled. For more information visit the %{linkStart}documentation%{linkEnd}' ,
) ;