Browse Source

Clean up Translation

habeebweeb 4 years ago
parent
commit
30cd5a4afd
1 changed files with 2 additions and 8 deletions
  1. 2 8
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Translation.cs

+ 2 - 8
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Translation.cs

@@ -77,18 +77,12 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 
         public static IEnumerable<string> GetList(string category, IEnumerable<string> list)
         {
-            return list.Select(uiName =>
-            {
-                return Get(category, uiName);
-            });
+            return list.Select(uiName => Get(category, uiName));
         }
 
         public static string[] GetList(string category, IEnumerable<KeyValuePair<string, string>> list)
         {
-            return list.Select(kvp =>
-            {
-                return Get(category, kvp.Key);
-            }).ToArray();
+            return list.Select(kvp => Get(category, kvp.Key)).ToArray();
         }
     }
 }