2021-02-03 18:09:25 +00:00
import { _ _ , s _ _ } from '~/locale' ;
2020-10-13 18:08:58 +00:00
2020-10-27 21:08:45 +00:00
export const GENERIC _ERROR = _ _ ( 'Something went wrong on our end. Please try again!' ) ;
2020-10-13 18:08:58 +00:00
export const DIFF _FILE _HEADER = {
optionsDropdownTitle : _ _ ( 'Options' ) ,
2021-01-25 09:09:10 +00:00
fileReviewLabel : _ _ ( 'Viewed' ) ,
fileReviewTooltip : _ _ ( 'Collapses this file (only for you) until it’ s changed again.' ) ,
2020-10-13 18:08:58 +00:00
} ;
2020-10-27 21:08:45 +00:00
export const DIFF _FILE = {
2021-02-03 18:09:25 +00:00
tooLarge : s _ _ ( 'MRDiffFile|Changes are too large to be shown.' ) ,
blobView : s _ _ ( 'MRDiffFile|View file @ %{commitSha}' ) ,
2020-10-27 21:08:45 +00:00
editInFork : _ _ (
"You're not allowed to %{tag_start}edit%{tag_end} files in this project directly. Please fork this project, make your changes there, and submit a merge request." ,
) ,
fork : _ _ ( 'Fork' ) ,
cancel : _ _ ( 'Cancel' ) ,
2020-10-30 15:08:59 +00:00
autoCollapsed : _ _ ( 'Files with large changes are collapsed by default.' ) ,
expand : _ _ ( 'Expand file' ) ,
2020-10-27 21:08:45 +00:00
} ;
2020-12-02 21:09:44 +00:00
export const SETTINGS _DROPDOWN = {
2021-02-24 21:11:16 +00:00
whitespace : _ _ ( 'Show whitespace changes' ) ,
2020-12-02 21:09:44 +00:00
fileByFile : _ _ ( 'Show one file at a time' ) ,
2021-06-06 09:09:59 +00:00
preferences : _ _ ( 'Preferences' ) ,
2020-12-02 21:09:44 +00:00
} ;