Commit 653163be authored by Thomas Randolph's avatar Thomas Randolph Committed by Natalia Tepluhina

Switch to correct localization function that strips namespaces

parent 6e4cf6fb
import { __ } from '~/locale'; import { __, s__ } from '~/locale';
export const GENERIC_ERROR = __('Something went wrong on our end. Please try again!'); export const GENERIC_ERROR = __('Something went wrong on our end. Please try again!');
...@@ -9,8 +9,8 @@ export const DIFF_FILE_HEADER = { ...@@ -9,8 +9,8 @@ export const DIFF_FILE_HEADER = {
}; };
export const DIFF_FILE = { export const DIFF_FILE = {
tooLarge: __('MRDiffFile|Changes are too large to be shown.'), tooLarge: s__('MRDiffFile|Changes are too large to be shown.'),
blobView: __('MRDiffFile|View file @ %{commitSha}'), blobView: s__('MRDiffFile|View file @ %{commitSha}'),
editInFork: __( 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.", "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.",
), ),
......
---
title: Switch to correct localization function that strips namespaces
merge_request: 53244
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment