Commit 502fa325 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'tor/defect/untranslated-strings' into 'master'

Switch to correct localization function that strips namespaces

See merge request gitlab-org/gitlab!53244
parents 6f4c63c9 653163be
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