summaryrefslogtreecommitdiff
path: root/src/app.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.ts')
-rwxr-xr-xsrc/app.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/app.ts b/src/app.ts
index 9828905..9301484 100755
--- a/src/app.ts
+++ b/src/app.ts
@@ -125,12 +125,6 @@ async function initializeApp() {
console.error('handlebars-i18next helper is not properly loaded');
}
-
- (hbsInstance.handlebars as typeof Handlebars).registerHelper('pluralize', function(count: number, key: string, options: any) {
- const translation = i18next.t(key, { count: count });
- return translation;
- });
-
app.engine("handlebars", hbsInstance.engine);
app.set("view engine", "handlebars");
app.set("hbsInstance", hbsInstance);