Skip to content

Commit 06eb235

Browse files
authored
Adding support for Tsubo, a Japanese unit of floorspace for Japan and Taiwan (#2101)
1 parent b9e4d33 commit 06eb235

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CalcViewModel/DataLoaders/UnitConverterDataLoader.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ void UnitConverterDataLoader::GetUnits(_In_ unordered_map<ViewMode, vector<Order
175175

176176
bool useWattInsteadOfKilowatt = m_currentRegionCode == "GB";
177177

178-
// Use Pyeong, a Korean floorspace unit.
179-
// https://en.wikipedia.org/wiki/Korean_units_of_measurement#Area
180-
bool usePyeong = m_currentRegionCode == L"KP" || m_currentRegionCode == L"KR";
178+
// Use 坪(Tsubo), or Pyeong in Korean, a Japanese unit of floorspace.
179+
// https://en.wikipedia.org/wiki/Japanese_units_of_measurement#Area
180+
bool usePyeong = m_currentRegionCode == L"JP" || m_currentRegionCode == L"TW" || m_currentRegionCode == L"KP" || m_currentRegionCode == L"KR";
181181

182182
vector<OrderedUnit> areaUnits;
183183
areaUnits.push_back(

0 commit comments

Comments
 (0)