Skip to content
Snippets Groups Projects
Commit aee165f6 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Remove unused function

parent 2815fee3
No related branches found
No related tags found
No related merge requests found
Pipeline #51614 passed
......@@ -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',
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment