浏览代码

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();
         }
     }
 }