소스 검색

Clean up Translation

habeebweeb 4 년 전
부모
커밋
30cd5a4afd
1개의 변경된 파일2개의 추가작업 그리고 8개의 파일을 삭제
  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();
         }
     }
 }