Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Merge requests
!1244
Resolve "Include correct Vuetify translations"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Include correct Vuetify translations"
857-include-correct-vuetify-translations
into
master
Overview
0
Commits
2
Pipelines
6
Changes
3
Merged
Julian
requested to merge
857-include-correct-vuetify-translations
into
master
1 year ago
Overview
0
Commits
2
Pipelines
6
Changes
3
Expand
Closes
#857 (closed)
0
0
Merge request reports
Compare
master
version 4
a0ef06a1
1 year ago
version 3
f2e936e0
1 year ago
version 2
c869fbdd
1 year ago
version 1
aed27c24
1 year ago
master (base)
and
latest version
latest version
578e1c58
2 commits,
1 year ago
version 4
a0ef06a1
1 commit,
1 year ago
version 3
f2e936e0
1 commit,
1 year ago
version 2
c869fbdd
1 commit,
1 year ago
version 1
aed27c24
1 commit,
1 year ago
3 files
+
13
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
aleksis/core/frontend/plugins/aleksis.js
+
10
−
0
Options
@@ -5,6 +5,7 @@
// aleksisAppImporter is a virtual module defined in Vite config
import
{
appMessages
}
from
"
aleksisAppImporter
"
;
import
aleksisMixin
from
"
../mixins/aleksis.js
"
;
import
*
as
langs
from
"
@/vuetify/src/locale
"
;
console
.
debug
(
"
Defining AleksisVue plugin
"
);
const
AleksisVue
=
{};
@@ -115,6 +116,15 @@ AleksisVue.install = function (Vue) {
}
};
/**
* Load vuetifys built-in translations
*/
Vue
.
prototype
.
$loadVuetifyMessages
=
function
()
{
for
(
const
[
locale
,
messages
]
of
Object
.
entries
(
langs
))
{
this
.
$i18n
.
mergeLocaleMessage
(
locale
,
{
$vuetify
:
messages
});
}
};
/**
* Invalidate state and force reload from server.
*
Loading