@tolgee/core
Advanced tools
Comparing version 5.33.3-prerelease.4a586561.0 to 5.33.3-prerelease.53f1bab1.0
{ | ||
"name": "@tolgee/core", | ||
"version": "5.33.3-prerelease.4a586561.0", | ||
"version": "5.33.3-prerelease.53f1bab1.0", | ||
"description": "Library providing ability to translate messages directly in context of developed application.", | ||
@@ -76,3 +76,3 @@ "main": "./dist/tolgee.cjs.js", | ||
"sideEffects": false, | ||
"gitHead": "015d697be5ab0ce506ca01c48af8d3a5f1a17272" | ||
"gitHead": "60d37427d95b58d6d8522167b35722f8796197d7" | ||
} |
@@ -12,3 +12,3 @@ import { TolgeePlugin } from '../types'; | ||
export const DevToolsPlugin = | ||
(postfix = ''): TolgeePlugin => | ||
(suffix = ''): TolgeePlugin => | ||
(tolgee, tools) => { | ||
@@ -19,3 +19,3 @@ tolgee.updateOptions({ apiKey: 'test', apiUrl: 'test' }); | ||
return Promise.resolve({ | ||
test: { sub: `${language}.${namespace || 'default'}${postfix}` }, | ||
test: { sub: `${language}.${namespace || 'default'}${suffix}` }, | ||
}); | ||
@@ -28,3 +28,3 @@ }, | ||
export const BackendPlugin = | ||
(postfix = ''): TolgeePlugin => | ||
(suffix = ''): TolgeePlugin => | ||
(tolgee, tools) => { | ||
@@ -34,3 +34,3 @@ tools.addBackend({ | ||
return Promise.resolve({ | ||
test: { sub: `${language}.${namespace || 'default'}${postfix}` }, | ||
test: { sub: `${language}.${namespace || 'default'}${suffix}` }, | ||
}); | ||
@@ -37,0 +37,0 @@ }, |
999237