Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Toolkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Web Component Framework
Toolkit
Commits
aa929f4e
Commit
aa929f4e
authored
3 years ago
by
Reiter, Christoph
Browse files
Options
Downloads
Patches
Plain Diff
Remove an unused function
parent
b943a24c
No related branches found
Branches containing commit
No related tags found
1 merge request
!67
Create a new i18next instance for every web component
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/app-shell/src/i18n.js
+0
-10
0 additions, 10 deletions
packages/app-shell/src/i18n.js
with
0 additions
and
10 deletions
packages/app-shell/src/i18n.js
+
0
−
10
View file @
aa929f4e
...
@@ -8,13 +8,3 @@ const i18n = createInstance({en: en, de: de}, 'de', 'en');
...
@@ -8,13 +8,3 @@ const i18n = createInstance({en: en, de: de}, 'de', 'en');
export
function
createI18nInstance
()
{
export
function
createI18nInstance
()
{
return
i18n
.
cloneInstance
();
return
i18n
.
cloneInstance
();
}
}
/**
* Dummy function to mark strings as i18next keys for i18next-scanner
*
* @param {string} key
* @returns {string} The key param as is
*/
export
function
i18nKey
(
key
)
{
return
key
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment