Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Signature Frontend
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
Electronic Signature Service
Signature Frontend
Commits
aee165f6
Commit
aee165f6
authored
3 years ago
by
Reiter, Christoph
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused function
parent
2815fee3
No related branches found
No related tags found
No related merge requests found
Pipeline
#51614
passed
3 years ago
Stage: test
Stage: deploy
Stage: e2e
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
i18next-scanner.config.js
+1
-1
1 addition, 1 deletion
i18next-scanner.config.js
src/i18n.js
+0
-10
0 additions, 10 deletions
src/i18n.js
with
1 addition
and
11 deletions
i18next-scanner.config.js
+
1
−
1
View file @
aee165f6
...
...
@@ -8,7 +8,7 @@ module.exports = {
removeUnusedKeys
:
true
,
lngs
:
[
'
en
'
,
'
de
'
],
func
:
{
list
:
[
'
i18n.t
'
,
'
i18nKey
'
]
list
:
[
'
i18n.t
'
]
},
resource
:
{
loadPath
:
'
src/i18n/{{lng}}/{{ns}}.json
'
,
...
...
This diff is collapsed.
Click to expand it.
src/i18n.js
+
0
−
10
View file @
aee165f6
...
...
@@ -8,13 +8,3 @@ const i18n = createInstance({en: en, de: de}, 'de', 'en');
export
function
createI18nInstance
()
{
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