Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
project-creation
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
frontend
libraries
project-creation
Merge requests
!11
Fix: Localization for DeleteModal
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Fix: Localization for DeleteModal
Hotfix/324-fixDateSelection
into
master
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Benedikt Heinrichs
requested to merge
Hotfix/324-fixDateSelection
into
master
5 years ago
Overview
0
Commits
1
Pipelines
1
Changes
2
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ae909a0f
1 commit,
5 years ago
2 files
+
19
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
src/components/DeleteModal.vue
+
15
−
0
View file @ ae909a0f
Edit in single-file editor
Open in Web IDE
Show full file
@@ -42,7 +42,18 @@
import
Vue
from
'
vue
'
;
import
{
ProjectApi
,
defaultOnCatch
,
redirectToProject
}
from
'
@coscine/api-connection
'
;
import
locales
from
'
../locale/locales
'
;
import
VueI18n
from
'
vue-i18n
'
;
Vue
.
use
(
VueI18n
);
const
i18n
=
new
VueI18n
({
locale
:
'
en
'
,
// set locale
messages
:
locales
,
// set locale messages
silentFallbackWarn
:
true
,
});
export
default
Vue
.
extend
({
i18n
,
name
:
'
DeleteModal
'
,
data
()
{
return
{
@@ -52,7 +63,11 @@ export default Vue.extend({
deleteButtonStyle
:
'
danger
'
,
}
},
beforeMount
()
{
i18n
.
locale
=
this
.
$props
.
languageLocale
;
},
props
:
{
languageLocale
:
String
,
projectId
:
String
,
displayName
:
String
,
projectParentId
:
String
,
Loading