debian-mirror-gitlab/app/assets/javascripts/diffs/i18n.js

23 lines
721 B
JavaScript
Raw Normal View History

2021-01-03 14:25:43 +05:30
import { __ } from '~/locale';
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-01-29 00:20:46 +05:30
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'),
};
2021-02-22 17:27:13 +05:30
export const SETTINGS_DROPDOWN = {
fileByFile: __('Show one file at a time'),
};