From c631d40aa3c0a66005cb9ff48aa7b314a822d70b Mon Sep 17 00:00:00 2001
From: Marco Rodolfi <marco.rodolfi@tuta.io>
Date: Tue, 30 May 2023 19:32:41 +0200
Subject: Missed a toaster for the react tools

---
 frontend/src/utils/TranslationHelper.tsx | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'frontend/src/utils/TranslationHelper.tsx')

diff --git a/frontend/src/utils/TranslationHelper.tsx b/frontend/src/utils/TranslationHelper.tsx
index 457a3159..99584d6b 100644
--- a/frontend/src/utils/TranslationHelper.tsx
+++ b/frontend/src/utils/TranslationHelper.tsx
@@ -7,6 +7,7 @@ import { InstallType } from '../plugin';
 export enum TranslationClass {
   PLUGIN_LOADER = 'PluginLoader',
   PLUGIN_INSTALL_MODAL = 'PluginInstallModal',
+  DEVELOPER = 'Developer',
 }
 
 interface TranslationHelperProps {
@@ -47,6 +48,10 @@ const TranslationHelper: FC<TranslationHelperProps> = ({
                   ? t(TranslationClass.PLUGIN_INSTALL_MODAL + '.update.' + trans_text, i18n_args)
                   : t(TranslationClass.PLUGIN_INSTALL_MODAL + '.update.' + trans_text);
             }
+          case TranslationClass.DEVELOPER:
+            return i18n_args
+              ? t(TranslationClass.DEVELOPER + '.' + trans_text, i18n_args)
+              : t(TranslationClass.DEVELOPER + '.' + trans_text);
           default:
             logger.error('We should never fall in the default case!');
             return '';
-- 
cgit v1.2.3

