Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5f28c6da
Commit
5f28c6da
authored
Oct 20, 2021
by
Ezekiel Kigbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reuse existing gitlab pot translations
parent
8ac220f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/vue_shared/components/confirm_danger/confirm_danger_modal.vue
...shared/components/confirm_danger/confirm_danger_modal.vue
+1
-1
app/assets/javascripts/vue_shared/components/confirm_danger/constants.js
...scripts/vue_shared/components/confirm_danger/constants.js
+1
-1
No files found.
app/assets/javascripts/vue_shared/components/confirm_danger/confirm_danger_modal.vue
View file @
5f28c6da
...
...
@@ -78,7 +78,7 @@ export default {
<p
data-testid=
"confirm-danger-warning"
>
{{
$options
.
i18n
.
CONFIRM_DANGER_WARNING
}}
</p>
<p
data-testid=
"confirm-danger-phrase"
>
<gl-sprintf
:message=
"$options.i18n.CONFIRM_DANGER_PHRASE_TEXT"
>
<template
#code
>
<template
#
phrase_
code
>
<code>
{{
phrase
}}
</code>
</
template
>
</gl-sprintf>
...
...
app/assets/javascripts/vue_shared/components/confirm_danger/constants.js
View file @
5f28c6da
...
...
@@ -7,5 +7,5 @@ export const CONFIRM_DANGER_WARNING = __(
'
This action can lead to data loss. To prevent accidental actions we ask you to confirm your intention.
'
,
);
export
const
CONFIRM_DANGER_PHRASE_TEXT
=
__
(
'
Please type %{code} to proceed or close this modal to cancel.
'
,
'
Please type %{
phrase_
code} to proceed or close this modal to cancel.
'
,
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment