From 246f6fe478ca018ce7d26e99b22ea8a3b97fc973 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 11 Feb 2011 08:17:12 +0000 Subject: (svn r22056) -Fix [FS#4408]: metric and imperial HP are not the same. As imperial HP are used internally, set a conversion rate for metric HP -Change: make the imperial HP to kW conversions a bit more precise --- src/strings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/strings.cpp b/src/strings.cpp index aef219881..c6ad1f445 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -600,7 +600,7 @@ static const Units _units[] = { }, { // Metric (km/h, hp, metric ton, litre, kN, metre) { 103, 6}, STR_UNITS_VELOCITY_METRIC, - { 1, 0}, STR_UNITS_POWER_METRIC, + {4153, 12}, STR_UNITS_POWER_METRIC, { 1, 0}, STR_UNITS_WEIGHT_SHORT_METRIC, STR_UNITS_WEIGHT_LONG_METRIC, {1000, 0}, STR_UNITS_VOLUME_SHORT_METRIC, STR_UNITS_VOLUME_LONG_METRIC, { 1, 0}, STR_UNITS_FORCE_SI, @@ -608,7 +608,7 @@ static const Units _units[] = { }, { // SI (m/s, kilowatt, kilogram, cubic metre, kilonewton, metre) {1831, 12}, STR_UNITS_VELOCITY_SI, - { 764, 10}, STR_UNITS_POWER_SI, + {6109, 13}, STR_UNITS_POWER_SI, {1000, 0}, STR_UNITS_WEIGHT_SHORT_SI, STR_UNITS_WEIGHT_LONG_SI, { 1, 0}, STR_UNITS_VOLUME_SHORT_SI, STR_UNITS_VOLUME_LONG_SI, { 1, 0}, STR_UNITS_FORCE_SI, -- cgit v1.2.3-54-g00ecf