2021-03-11 19:13:27 +05:30
import { _ _ , s _ _ } from '~/locale' ;
2021-01-03 14:25:43 +05:30
2021-01-29 00:20:46 +05:30
export const GENERIC _ERROR = _ _ ( 'Something went wrong on our end. Please try again!' ) ;
2021-01-03 14:25:43 +05:30
export const DIFF _FILE _HEADER = {
optionsDropdownTitle : _ _ ( 'Options' ) ,
2021-03-11 19:13:27 +05:30
fileReviewLabel : _ _ ( 'Viewed' ) ,
fileReviewTooltip : _ _ ( 'Collapses this file (only for you) until it’ s changed again.' ) ,
2021-01-03 14:25:43 +05:30
} ;
2021-01-29 00:20:46 +05:30
export const DIFF _FILE = {
2021-03-11 19:13:27 +05:30
tooLarge : s _ _ ( 'MRDiffFile|Changes are too large to be shown.' ) ,
blobView : s _ _ ( 'MRDiffFile|View file @ %{commitSha}' ) ,
2021-01-29 00:20:46 +05:30
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' ) ,
autoCollapsed : _ _ ( 'Files with large changes are collapsed by default.' ) ,
expand : _ _ ( 'Expand file' ) ,
} ;
2023-03-04 22:38:38 +05:30
export const START _THREAD = _ _ ( 'Start another thread' ) ;
2021-02-22 17:27:13 +05:30
export const SETTINGS _DROPDOWN = {
2021-04-17 20:07:23 +05:30
whitespace : _ _ ( 'Show whitespace changes' ) ,
2021-02-22 17:27:13 +05:30
fileByFile : _ _ ( 'Show one file at a time' ) ,
2021-09-04 01:27:46 +05:30
preferences : _ _ ( 'Preferences' ) ,
2021-02-22 17:27:13 +05:30
} ;
2021-10-27 15:23:28 +05:30
export const CONFLICT _TEXT = {
both _modified : _ _ ( 'Conflict: This file was modified in both the source and target branches.' ) ,
modified _source _removed _target : _ _ (
'Conflict: This file was modified in the source branch, but removed in the target branch.' ,
) ,
modified _target _removed _source : _ _ (
'Conflict: This file was removed in the source branch, but modified in the target branch.' ,
) ,
renamed _same _file : _ _ (
'Conflict: This file was renamed differently in the source and target branches.' ,
) ,
removed _source _renamed _target : _ _ (
'Conflict: This file was removed in the source branch, but renamed in the target branch.' ,
) ,
removed _target _renamed _source : _ _ (
'Conflict: This file was renamed in the source branch, but removed in the target branch.' ,
) ,
both _added : _ _ (
'Conflict: This file was added both in the source and target branches, but with different contents.' ,
) ,
} ;
2022-10-11 01:57:18 +05:30
export const HIDE _COMMENTS = _ _ ( 'Hide comments' ) ;
2023-03-04 22:38:38 +05:30
export const NEW _CODE _QUALITY _FINDINGS = _ _ ( 'New code quality findings' ) ;