summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/diffs/i18n.js
blob: 4ec24d452bf4ad0d0eb4703c69f6090087f6893a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { __ } from '~/locale';

export const GENERIC_ERROR = __('Something went wrong on our end. Please try again!');

export const DIFF_FILE_HEADER = {
  optionsDropdownTitle: __('Options'),
};

export const DIFF_FILE = {
  blobView: __('You can %{linkStart}view the blob%{linkEnd} instead.'),
  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'),
};