From 8d8eb7987add667d539b5e1fe6d7eca4733b9b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BA=AE?= Date: Tue, 15 Dec 2020 10:41:28 +0800 Subject: [PATCH 1/3] Add chinese abbreviations for area,length,mass units --- CodeGen/PrefixInfo.cs | 5 ++- Common/UnitDefinitions/Area.json | 62 +++++++++++++++++++++++++++--- Common/UnitDefinitions/Length.json | 32 +++++++++++++++ Common/UnitDefinitions/Mass.json | 24 ++++++++++++ 4 files changed, 116 insertions(+), 7 deletions(-) diff --git a/CodeGen/PrefixInfo.cs b/CodeGen/PrefixInfo.cs index 73d62c9517..331774c7c7 100644 --- a/CodeGen/PrefixInfo.cs +++ b/CodeGen/PrefixInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using CodeGen.JsonTypes; @@ -11,6 +11,7 @@ namespace CodeGen internal class PrefixInfo { private const string Russian = "ru-RU"; + private const string Chinese = "zh-CN"; public static readonly IReadOnlyDictionary Entries = new[] { @@ -30,7 +31,7 @@ internal class PrefixInfo new PrefixInfo(Prefix.Deci, "1e-1d", "d", (Russian, "д")), new PrefixInfo(Prefix.Deca, "1e1d", "da", (Russian, "да")), new PrefixInfo(Prefix.Hecto, "1e2d", "h", (Russian, "г")), - new PrefixInfo(Prefix.Kilo, "1e3d", "k", (Russian, "к")), + new PrefixInfo(Prefix.Kilo, "1e3d", "k", (Russian, "к"),(Chinese, "千")), new PrefixInfo(Prefix.Mega, "1e6d", "M", (Russian, "М")), new PrefixInfo(Prefix.Giga, "1e9d", "G", (Russian, "Г")), new PrefixInfo(Prefix.Tera, "1e12d", "T", (Russian, "Т")), diff --git a/Common/UnitDefinitions/Area.json b/Common/UnitDefinitions/Area.json index 656640fc74..fed60e94ff 100644 --- a/Common/UnitDefinitions/Area.json +++ b/Common/UnitDefinitions/Area.json @@ -22,6 +22,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "км²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方公里" ] } ] }, @@ -41,6 +45,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "м²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方米" ] } ] }, @@ -60,6 +68,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "дм²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方分米" ] } ] }, @@ -79,6 +91,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "см²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方厘米" ] } ] }, @@ -98,6 +114,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "мм²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方毫米" ] } ] }, @@ -117,6 +137,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "мкм²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方微米" ] } ] }, @@ -136,6 +160,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "миля²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方英里" ] } ] }, @@ -155,6 +183,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "ярд²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方码" ] } ] }, @@ -174,6 +206,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "фут²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方英尺" ] } ] }, @@ -212,6 +248,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "дюйм²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方英寸" ] } ] }, @@ -225,9 +265,13 @@ "Culture": "en-US", "Abbreviations": [ "ac" ] }, - { + { "Culture": "ru-RU", "Abbreviations": [ "акр" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "英亩" ] } ] }, @@ -241,9 +285,13 @@ "Culture": "en-US", "Abbreviations": [ "ha" ] }, - { + { "Culture": "ru-RU", "Abbreviations": [ "га" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "英亩" ] } ] }, @@ -255,11 +303,15 @@ "Localization": [ { "Culture": "en-US", - "Abbreviations": ["nmi²"] + "Abbreviations": [ "nmi²" ] }, - { + { "Culture": "ru-RU", - "Abbreviations": ["морск.миля²"] + "Abbreviations": [ "морск.миля²" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "平方海里" ] } ] } diff --git a/Common/UnitDefinitions/Length.json b/Common/UnitDefinitions/Length.json index 66889554e2..7e17c888f6 100644 --- a/Common/UnitDefinitions/Length.json +++ b/Common/UnitDefinitions/Length.json @@ -23,6 +23,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "м" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "米" ] } ] }, @@ -42,6 +46,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "миля" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "英里" ] } ] }, @@ -61,6 +69,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "ярд" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "码" ] } ] }, @@ -80,6 +92,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "фут" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "英尺" ] } ] }, @@ -114,6 +130,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "дюйм" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "英寸" ] } ] }, @@ -133,6 +153,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "мил" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "密耳" ] } ] }, @@ -152,6 +176,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "мил" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "纳米" ] } ] }, @@ -201,6 +229,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "микродюйм" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "微英寸" ] } ] }, diff --git a/Common/UnitDefinitions/Mass.json b/Common/UnitDefinitions/Mass.json index f2f4f007a7..bbda2f4f61 100644 --- a/Common/UnitDefinitions/Mass.json +++ b/Common/UnitDefinitions/Mass.json @@ -23,6 +23,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "г" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "克" ] } ] }, @@ -43,6 +47,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "т" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "吨" ] } ] }, @@ -64,6 +72,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "тонна малая" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "短吨" ] } ] }, @@ -85,6 +97,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "тонна большая" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "长吨" ] } ] }, @@ -106,6 +122,10 @@ { "Culture": "ru-RU", "Abbreviations": [ "фунт" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "磅" ] } ] }, @@ -123,6 +143,10 @@ { "Culture": "en-US", "Abbreviations": [ "oz" ] + }, + { + "Culture": "zh-CN", + "Abbreviations": [ "盎司" ] } ] }, From 52d2c5bc3965c37944249a6d0208c4d317c81776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BA=AE?= Date: Tue, 15 Dec 2020 11:09:23 +0800 Subject: [PATCH 2/3] More Chinese prefixes --- CodeGen/PrefixInfo.cs | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/CodeGen/PrefixInfo.cs b/CodeGen/PrefixInfo.cs index 331774c7c7..1ec641b3b6 100644 --- a/CodeGen/PrefixInfo.cs +++ b/CodeGen/PrefixInfo.cs @@ -19,26 +19,26 @@ internal class PrefixInfo // when creating decimal conversion functions in CodeGen.Generator.FixConversionFunctionsForDecimalValueTypes. // SI prefixes - new PrefixInfo(Prefix.Yocto, "1e-24d", "y"), - new PrefixInfo(Prefix.Zepto, "1e-21d", "z"), - new PrefixInfo(Prefix.Atto, "1e-18d", "a", (Russian, "а")), - new PrefixInfo(Prefix.Femto, "1e-15d", "f", (Russian, "ф")), - new PrefixInfo(Prefix.Pico, "1e-12d", "p", (Russian, "п")), - new PrefixInfo(Prefix.Nano, "1e-9d", "n", (Russian, "н")), - new PrefixInfo(Prefix.Micro, "1e-6d", "µ", (Russian, "мк")), - new PrefixInfo(Prefix.Milli, "1e-3d", "m", (Russian, "м")), - new PrefixInfo(Prefix.Centi, "1e-2d", "c", (Russian, "с")), - new PrefixInfo(Prefix.Deci, "1e-1d", "d", (Russian, "д")), - new PrefixInfo(Prefix.Deca, "1e1d", "da", (Russian, "да")), - new PrefixInfo(Prefix.Hecto, "1e2d", "h", (Russian, "г")), + new PrefixInfo(Prefix.Yocto, "1e-24d", "y",(Chinese, "夭")), + new PrefixInfo(Prefix.Zepto, "1e-21d", "z",(Chinese, "仄")), + new PrefixInfo(Prefix.Atto, "1e-18d", "a", (Russian, "а"),(Chinese, "阿")), + new PrefixInfo(Prefix.Femto, "1e-15d", "f", (Russian, "ф"),(Chinese, "飞")), + new PrefixInfo(Prefix.Pico, "1e-12d", "p", (Russian, "п"),(Chinese, "皮")), + new PrefixInfo(Prefix.Nano, "1e-9d", "n", (Russian, "н"),(Chinese, "纳")), + new PrefixInfo(Prefix.Micro, "1e-6d", "µ", (Russian, "мк"),(Chinese, "微")), + new PrefixInfo(Prefix.Milli, "1e-3d", "m", (Russian, "м"),(Chinese, "毫")), + new PrefixInfo(Prefix.Centi, "1e-2d", "c", (Russian, "с"),(Chinese, "厘")), + new PrefixInfo(Prefix.Deci, "1e-1d", "d", (Russian, "д"),(Chinese, "分")), + new PrefixInfo(Prefix.Deca, "1e1d", "da", (Russian, "да"),(Chinese, "十")), + new PrefixInfo(Prefix.Hecto, "1e2d", "h", (Russian, "г"),(Chinese, "百")), new PrefixInfo(Prefix.Kilo, "1e3d", "k", (Russian, "к"),(Chinese, "千")), - new PrefixInfo(Prefix.Mega, "1e6d", "M", (Russian, "М")), - new PrefixInfo(Prefix.Giga, "1e9d", "G", (Russian, "Г")), - new PrefixInfo(Prefix.Tera, "1e12d", "T", (Russian, "Т")), - new PrefixInfo(Prefix.Peta, "1e15d", "P", (Russian, "П")), - new PrefixInfo(Prefix.Exa, "1e18d", "E", (Russian, "Э")), - new PrefixInfo(Prefix.Zetta, "1e21d", "Z"), - new PrefixInfo(Prefix.Yotta, "1e24d", "Y"), + new PrefixInfo(Prefix.Mega, "1e6d", "M", (Russian, "М"),(Chinese, "兆")), + new PrefixInfo(Prefix.Giga, "1e9d", "G", (Russian, "Г"),(Chinese, "吉")), + new PrefixInfo(Prefix.Tera, "1e12d", "T", (Russian, "Т"),(Chinese, "太")), + new PrefixInfo(Prefix.Peta, "1e15d", "P", (Russian, "П"),(Chinese, "拍")), + new PrefixInfo(Prefix.Exa, "1e18d", "E", (Russian, "Э"),(Chinese, "艾")), + new PrefixInfo(Prefix.Zetta, "1e21d", "Z",(Chinese, "泽")), + new PrefixInfo(Prefix.Yotta, "1e24d", "Y",(Chinese, "尧")), // Binary prefixes new PrefixInfo(Prefix.Kibi, "1024d", "Ki"), From b4f838eb0a392e9183ef0a6cf12a9a989cca615a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BA=AE?= Date: Thu, 17 Dec 2020 08:41:05 +0800 Subject: [PATCH 3/3] run generate-code.bat --- .../GeneratedCode/UnitAbbreviationsCache.g.cs | 46 +++++++++++++++++++ .../GeneratedCode/UnitAbbreviationsCache.g.cs | 46 +++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/UnitAbbreviationsCache.g.cs b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/UnitAbbreviationsCache.g.cs index 10794e04e0..8010a12064 100644 --- a/UnitsNet.WindowsRuntimeComponent/GeneratedCode/UnitAbbreviationsCache.g.cs +++ b/UnitsNet.WindowsRuntimeComponent/GeneratedCode/UnitAbbreviationsCache.g.cs @@ -111,30 +111,43 @@ private static readonly (string CultureName, Type UnitType, int UnitValue, strin ("en-US", typeof(ApparentPowerUnit), (int)ApparentPowerUnit.Voltampere, new string[]{"VA"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.Acre, new string[]{"ac"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.Acre, new string[]{"акр"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.Acre, new string[]{"英亩"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.Hectare, new string[]{"ha"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.Hectare, new string[]{"га"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.Hectare, new string[]{"英亩"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareCentimeter, new string[]{"cm²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareCentimeter, new string[]{"см²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareCentimeter, new string[]{"平方厘米"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareDecimeter, new string[]{"dm²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareDecimeter, new string[]{"дм²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareDecimeter, new string[]{"平方分米"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareFoot, new string[]{"ft²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareFoot, new string[]{"фут²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareFoot, new string[]{"平方英尺"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareInch, new string[]{"in²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareInch, new string[]{"дюйм²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareInch, new string[]{"平方英寸"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareKilometer, new string[]{"km²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareKilometer, new string[]{"км²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareKilometer, new string[]{"平方公里"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareMeter, new string[]{"m²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareMeter, new string[]{"м²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareMeter, new string[]{"平方米"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareMicrometer, new string[]{"µm²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareMicrometer, new string[]{"мкм²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareMicrometer, new string[]{"平方微米"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareMile, new string[]{"mi²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareMile, new string[]{"миля²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareMile, new string[]{"平方英里"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareMillimeter, new string[]{"mm²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareMillimeter, new string[]{"мм²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareMillimeter, new string[]{"平方毫米"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareNauticalMile, new string[]{"nmi²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareNauticalMile, new string[]{"морск.миля²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareNauticalMile, new string[]{"平方海里"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareYard, new string[]{"yd²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareYard, new string[]{"ярд²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareYard, new string[]{"平方码"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.UsSurveySquareFoot, new string[]{"ft² (US)"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.UsSurveySquareFoot, new string[]{"фут² (US)"}), ("en-US", typeof(AreaDensityUnit), (int)AreaDensityUnit.KilogramPerSquareMeter, new string[]{"kg/m²"}), @@ -613,42 +626,56 @@ private static readonly (string CultureName, Type UnitType, int UnitValue, strin ("en-US", typeof(LengthUnit), (int)LengthUnit.AstronomicalUnit, new string[]{"au", "ua"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Centimeter, new string[]{"cm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Centimeter, new string[]{"см"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Centimeter, new string[]{"厘米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Chain, new string[]{"ch"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Decimeter, new string[]{"dm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Decimeter, new string[]{"дм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Decimeter, new string[]{"分米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.DtpPica, new string[]{"pica"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.DtpPoint, new string[]{"pt"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Fathom, new string[]{"fathom"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Foot, new string[]{"ft", "'", "′"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Foot, new string[]{"фут"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Foot, new string[]{"英尺"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Hand, new string[]{"h", "hh"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Hectometer, new string[]{"hm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Hectometer, new string[]{"гм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Hectometer, new string[]{"百米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Inch, new string[]{"in", "\"", "″"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Inch, new string[]{"дюйм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Inch, new string[]{"英寸"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.KilolightYear, new string[]{"kly"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Kilometer, new string[]{"km"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Kilometer, new string[]{"км"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Kilometer, new string[]{"千米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Kiloparsec, new string[]{"kpc"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.LightYear, new string[]{"ly"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.MegalightYear, new string[]{"Mly"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Megaparsec, new string[]{"Mpc"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Meter, new string[]{"m"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Meter, new string[]{"м"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Meter, new string[]{"米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Microinch, new string[]{"µin"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Microinch, new string[]{"микродюйм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Microinch, new string[]{"微英寸"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Micrometer, new string[]{"µm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Micrometer, new string[]{"мкм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Micrometer, new string[]{"微米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Mil, new string[]{"mil"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Mil, new string[]{"мил"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Mil, new string[]{"密耳"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Mile, new string[]{"mi"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Mile, new string[]{"миля"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Mile, new string[]{"英里"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Millimeter, new string[]{"mm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Millimeter, new string[]{"мм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Millimeter, new string[]{"毫米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Nanometer, new string[]{"nm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Nanometer, new string[]{"нм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Nanometer, new string[]{"纳米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.NauticalMile, new string[]{"NM"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.NauticalMile, new string[]{"мил"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.NauticalMile, new string[]{"纳米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Parsec, new string[]{"pc"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.PrinterPica, new string[]{"pica"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.PrinterPoint, new string[]{"pt"}), @@ -658,6 +685,7 @@ private static readonly (string CultureName, Type UnitType, int UnitValue, strin ("en-US", typeof(LengthUnit), (int)LengthUnit.UsSurveyFoot, new string[]{"ftUS"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Yard, new string[]{"yd"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Yard, new string[]{"ярд"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Yard, new string[]{"码"}), ("en-US", typeof(LevelUnit), (int)LevelUnit.Decibel, new string[]{"dB"}), ("en-US", typeof(LevelUnit), (int)LevelUnit.Neper, new string[]{"Np"}), ("en-US", typeof(LinearDensityUnit), (int)LinearDensityUnit.GramPerCentimeter, new string[]{"g/cm"}), @@ -724,46 +752,64 @@ private static readonly (string CultureName, Type UnitType, int UnitValue, strin ("en-US", typeof(MagnetizationUnit), (int)MagnetizationUnit.AmperePerMeter, new string[]{"A/m"}), ("en-US", typeof(MassUnit), (int)MassUnit.Centigram, new string[]{"cg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Centigram, new string[]{"сг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Centigram, new string[]{"厘克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Decagram, new string[]{"dag"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Decagram, new string[]{"даг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Decagram, new string[]{"十克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Decigram, new string[]{"dg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Decigram, new string[]{"дг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Decigram, new string[]{"分克"}), ("en-US", typeof(MassUnit), (int)MassUnit.EarthMass, new string[]{"em"}), ("en-US", typeof(MassUnit), (int)MassUnit.Grain, new string[]{"gr"}), ("en-US", typeof(MassUnit), (int)MassUnit.Gram, new string[]{"g"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Gram, new string[]{"г"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Gram, new string[]{"克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Hectogram, new string[]{"hg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Hectogram, new string[]{"гг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Hectogram, new string[]{"百克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Kilogram, new string[]{"kg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Kilogram, new string[]{"кг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Kilogram, new string[]{"千克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Kilopound, new string[]{"klb", "klbs", "klbm"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Kilopound, new string[]{"кфунт"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Kilopound, new string[]{"千磅"}), ("en-US", typeof(MassUnit), (int)MassUnit.Kilotonne, new string[]{"kt"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Kilotonne, new string[]{"кт"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Kilotonne, new string[]{"千吨"}), ("en-US", typeof(MassUnit), (int)MassUnit.LongHundredweight, new string[]{"cwt"}), ("en-US", typeof(MassUnit), (int)MassUnit.LongTon, new string[]{"long tn"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.LongTon, new string[]{"тонна большая"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.LongTon, new string[]{"长吨"}), ("en-US", typeof(MassUnit), (int)MassUnit.Megapound, new string[]{"Mlb", "Mlbs", "Mlbm"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Megapound, new string[]{"Мфунт"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Megapound, new string[]{"兆磅"}), ("en-US", typeof(MassUnit), (int)MassUnit.Megatonne, new string[]{"Mt"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Megatonne, new string[]{"Мт"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Megatonne, new string[]{"兆吨"}), ("en-US", typeof(MassUnit), (int)MassUnit.Microgram, new string[]{"µg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Microgram, new string[]{"мкг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Microgram, new string[]{"微克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Milligram, new string[]{"mg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Milligram, new string[]{"мг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Milligram, new string[]{"毫克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Nanogram, new string[]{"ng"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Nanogram, new string[]{"нг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Nanogram, new string[]{"纳克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Ounce, new string[]{"oz"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Ounce, new string[]{"盎司"}), ("en-US", typeof(MassUnit), (int)MassUnit.Pound, new string[]{"lb", "lbs", "lbm"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Pound, new string[]{"фунт"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Pound, new string[]{"磅"}), ("en-US", typeof(MassUnit), (int)MassUnit.ShortHundredweight, new string[]{"cwt"}), ("en-US", typeof(MassUnit), (int)MassUnit.ShortTon, new string[]{"t (short)", "short tn", "ST"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.ShortTon, new string[]{"тонна малая"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.ShortTon, new string[]{"短吨"}), ("en-US", typeof(MassUnit), (int)MassUnit.Slug, new string[]{"slug"}), ("en-US", typeof(MassUnit), (int)MassUnit.SolarMass, new string[]{"M⊙"}), ("en-US", typeof(MassUnit), (int)MassUnit.Stone, new string[]{"st"}), ("en-US", typeof(MassUnit), (int)MassUnit.Tonne, new string[]{"t"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Tonne, new string[]{"т"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Tonne, new string[]{"吨"}), ("en-US", typeof(MassConcentrationUnit), (int)MassConcentrationUnit.CentigramPerDeciliter, new string[]{"cg/dL"}), ("en-US", typeof(MassConcentrationUnit), (int)MassConcentrationUnit.CentigramPerLiter, new string[]{"cg/L"}), ("en-US", typeof(MassConcentrationUnit), (int)MassConcentrationUnit.CentigramPerMicroliter, new string[]{"cg/μL"}), diff --git a/UnitsNet/GeneratedCode/UnitAbbreviationsCache.g.cs b/UnitsNet/GeneratedCode/UnitAbbreviationsCache.g.cs index 712b5fa4be..725b6a3b00 100644 --- a/UnitsNet/GeneratedCode/UnitAbbreviationsCache.g.cs +++ b/UnitsNet/GeneratedCode/UnitAbbreviationsCache.g.cs @@ -111,30 +111,43 @@ private static readonly (string CultureName, Type UnitType, int UnitValue, strin ("en-US", typeof(ApparentPowerUnit), (int)ApparentPowerUnit.Voltampere, new string[]{"VA"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.Acre, new string[]{"ac"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.Acre, new string[]{"акр"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.Acre, new string[]{"英亩"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.Hectare, new string[]{"ha"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.Hectare, new string[]{"га"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.Hectare, new string[]{"英亩"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareCentimeter, new string[]{"cm²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareCentimeter, new string[]{"см²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareCentimeter, new string[]{"平方厘米"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareDecimeter, new string[]{"dm²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareDecimeter, new string[]{"дм²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareDecimeter, new string[]{"平方分米"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareFoot, new string[]{"ft²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareFoot, new string[]{"фут²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareFoot, new string[]{"平方英尺"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareInch, new string[]{"in²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareInch, new string[]{"дюйм²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareInch, new string[]{"平方英寸"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareKilometer, new string[]{"km²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareKilometer, new string[]{"км²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareKilometer, new string[]{"平方公里"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareMeter, new string[]{"m²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareMeter, new string[]{"м²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareMeter, new string[]{"平方米"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareMicrometer, new string[]{"µm²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareMicrometer, new string[]{"мкм²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareMicrometer, new string[]{"平方微米"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareMile, new string[]{"mi²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareMile, new string[]{"миля²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareMile, new string[]{"平方英里"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareMillimeter, new string[]{"mm²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareMillimeter, new string[]{"мм²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareMillimeter, new string[]{"平方毫米"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareNauticalMile, new string[]{"nmi²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareNauticalMile, new string[]{"морск.миля²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareNauticalMile, new string[]{"平方海里"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.SquareYard, new string[]{"yd²"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.SquareYard, new string[]{"ярд²"}), + ("zh-CN", typeof(AreaUnit), (int)AreaUnit.SquareYard, new string[]{"平方码"}), ("en-US", typeof(AreaUnit), (int)AreaUnit.UsSurveySquareFoot, new string[]{"ft² (US)"}), ("ru-RU", typeof(AreaUnit), (int)AreaUnit.UsSurveySquareFoot, new string[]{"фут² (US)"}), ("en-US", typeof(AreaDensityUnit), (int)AreaDensityUnit.KilogramPerSquareMeter, new string[]{"kg/m²"}), @@ -613,42 +626,56 @@ private static readonly (string CultureName, Type UnitType, int UnitValue, strin ("en-US", typeof(LengthUnit), (int)LengthUnit.AstronomicalUnit, new string[]{"au", "ua"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Centimeter, new string[]{"cm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Centimeter, new string[]{"см"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Centimeter, new string[]{"厘米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Chain, new string[]{"ch"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Decimeter, new string[]{"dm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Decimeter, new string[]{"дм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Decimeter, new string[]{"分米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.DtpPica, new string[]{"pica"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.DtpPoint, new string[]{"pt"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Fathom, new string[]{"fathom"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Foot, new string[]{"ft", "'", "′"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Foot, new string[]{"фут"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Foot, new string[]{"英尺"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Hand, new string[]{"h", "hh"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Hectometer, new string[]{"hm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Hectometer, new string[]{"гм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Hectometer, new string[]{"百米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Inch, new string[]{"in", "\"", "″"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Inch, new string[]{"дюйм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Inch, new string[]{"英寸"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.KilolightYear, new string[]{"kly"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Kilometer, new string[]{"km"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Kilometer, new string[]{"км"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Kilometer, new string[]{"千米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Kiloparsec, new string[]{"kpc"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.LightYear, new string[]{"ly"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.MegalightYear, new string[]{"Mly"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Megaparsec, new string[]{"Mpc"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Meter, new string[]{"m"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Meter, new string[]{"м"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Meter, new string[]{"米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Microinch, new string[]{"µin"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Microinch, new string[]{"микродюйм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Microinch, new string[]{"微英寸"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Micrometer, new string[]{"µm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Micrometer, new string[]{"мкм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Micrometer, new string[]{"微米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Mil, new string[]{"mil"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Mil, new string[]{"мил"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Mil, new string[]{"密耳"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Mile, new string[]{"mi"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Mile, new string[]{"миля"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Mile, new string[]{"英里"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Millimeter, new string[]{"mm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Millimeter, new string[]{"мм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Millimeter, new string[]{"毫米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Nanometer, new string[]{"nm"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Nanometer, new string[]{"нм"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Nanometer, new string[]{"纳米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.NauticalMile, new string[]{"NM"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.NauticalMile, new string[]{"мил"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.NauticalMile, new string[]{"纳米"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Parsec, new string[]{"pc"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.PrinterPica, new string[]{"pica"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.PrinterPoint, new string[]{"pt"}), @@ -658,6 +685,7 @@ private static readonly (string CultureName, Type UnitType, int UnitValue, strin ("en-US", typeof(LengthUnit), (int)LengthUnit.UsSurveyFoot, new string[]{"ftUS"}), ("en-US", typeof(LengthUnit), (int)LengthUnit.Yard, new string[]{"yd"}), ("ru-RU", typeof(LengthUnit), (int)LengthUnit.Yard, new string[]{"ярд"}), + ("zh-CN", typeof(LengthUnit), (int)LengthUnit.Yard, new string[]{"码"}), ("en-US", typeof(LevelUnit), (int)LevelUnit.Decibel, new string[]{"dB"}), ("en-US", typeof(LevelUnit), (int)LevelUnit.Neper, new string[]{"Np"}), ("en-US", typeof(LinearDensityUnit), (int)LinearDensityUnit.GramPerCentimeter, new string[]{"g/cm"}), @@ -724,46 +752,64 @@ private static readonly (string CultureName, Type UnitType, int UnitValue, strin ("en-US", typeof(MagnetizationUnit), (int)MagnetizationUnit.AmperePerMeter, new string[]{"A/m"}), ("en-US", typeof(MassUnit), (int)MassUnit.Centigram, new string[]{"cg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Centigram, new string[]{"сг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Centigram, new string[]{"厘克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Decagram, new string[]{"dag"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Decagram, new string[]{"даг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Decagram, new string[]{"十克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Decigram, new string[]{"dg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Decigram, new string[]{"дг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Decigram, new string[]{"分克"}), ("en-US", typeof(MassUnit), (int)MassUnit.EarthMass, new string[]{"em"}), ("en-US", typeof(MassUnit), (int)MassUnit.Grain, new string[]{"gr"}), ("en-US", typeof(MassUnit), (int)MassUnit.Gram, new string[]{"g"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Gram, new string[]{"г"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Gram, new string[]{"克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Hectogram, new string[]{"hg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Hectogram, new string[]{"гг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Hectogram, new string[]{"百克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Kilogram, new string[]{"kg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Kilogram, new string[]{"кг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Kilogram, new string[]{"千克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Kilopound, new string[]{"klb", "klbs", "klbm"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Kilopound, new string[]{"кфунт"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Kilopound, new string[]{"千磅"}), ("en-US", typeof(MassUnit), (int)MassUnit.Kilotonne, new string[]{"kt"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Kilotonne, new string[]{"кт"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Kilotonne, new string[]{"千吨"}), ("en-US", typeof(MassUnit), (int)MassUnit.LongHundredweight, new string[]{"cwt"}), ("en-US", typeof(MassUnit), (int)MassUnit.LongTon, new string[]{"long tn"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.LongTon, new string[]{"тонна большая"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.LongTon, new string[]{"长吨"}), ("en-US", typeof(MassUnit), (int)MassUnit.Megapound, new string[]{"Mlb", "Mlbs", "Mlbm"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Megapound, new string[]{"Мфунт"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Megapound, new string[]{"兆磅"}), ("en-US", typeof(MassUnit), (int)MassUnit.Megatonne, new string[]{"Mt"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Megatonne, new string[]{"Мт"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Megatonne, new string[]{"兆吨"}), ("en-US", typeof(MassUnit), (int)MassUnit.Microgram, new string[]{"µg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Microgram, new string[]{"мкг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Microgram, new string[]{"微克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Milligram, new string[]{"mg"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Milligram, new string[]{"мг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Milligram, new string[]{"毫克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Nanogram, new string[]{"ng"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Nanogram, new string[]{"нг"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Nanogram, new string[]{"纳克"}), ("en-US", typeof(MassUnit), (int)MassUnit.Ounce, new string[]{"oz"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Ounce, new string[]{"盎司"}), ("en-US", typeof(MassUnit), (int)MassUnit.Pound, new string[]{"lb", "lbs", "lbm"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Pound, new string[]{"фунт"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Pound, new string[]{"磅"}), ("en-US", typeof(MassUnit), (int)MassUnit.ShortHundredweight, new string[]{"cwt"}), ("en-US", typeof(MassUnit), (int)MassUnit.ShortTon, new string[]{"t (short)", "short tn", "ST"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.ShortTon, new string[]{"тонна малая"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.ShortTon, new string[]{"短吨"}), ("en-US", typeof(MassUnit), (int)MassUnit.Slug, new string[]{"slug"}), ("en-US", typeof(MassUnit), (int)MassUnit.SolarMass, new string[]{"M⊙"}), ("en-US", typeof(MassUnit), (int)MassUnit.Stone, new string[]{"st"}), ("en-US", typeof(MassUnit), (int)MassUnit.Tonne, new string[]{"t"}), ("ru-RU", typeof(MassUnit), (int)MassUnit.Tonne, new string[]{"т"}), + ("zh-CN", typeof(MassUnit), (int)MassUnit.Tonne, new string[]{"吨"}), ("en-US", typeof(MassConcentrationUnit), (int)MassConcentrationUnit.CentigramPerDeciliter, new string[]{"cg/dL"}), ("en-US", typeof(MassConcentrationUnit), (int)MassConcentrationUnit.CentigramPerLiter, new string[]{"cg/L"}), ("en-US", typeof(MassConcentrationUnit), (int)MassConcentrationUnit.CentigramPerMicroliter, new string[]{"cg/μL"}),