Yuki Takei 3 سال پیش
والد
کامیت
7c79864ccf
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      packages/app/src/pages/utils/commons.ts

+ 1 - 2
packages/app/src/pages/utils/commons.ts

@@ -78,12 +78,11 @@ export const getNextI18NextConfig = async(
     ?? configManager.getConfig('crowi', 'app:globalLang') as Lang
     ?? configManager.getConfig('crowi', 'app:globalLang') as Lang
     ?? Lang.en_US;
     ?? Lang.en_US;
 
 
-  // TODO: Consider to not include translation as default or other architecture idea
-  // see: https://redmine.weseek.co.jp/issues/107092
   const namespaces = ['commons'];
   const namespaces = ['commons'];
   if (namespacesRequired != null) {
   if (namespacesRequired != null) {
     namespaces.push(...namespacesRequired);
     namespaces.push(...namespacesRequired);
   }
   }
+  // TODO: deprecate 'translation.json' in the future
   else {
   else {
     namespaces.push('translation');
     namespaces.push('translation');
   }
   }