| 68 | { return XO("%.1f secs").Format( value ); } |
| 69 | |
| 70 | TranslatableString RatioTextFormat( int sliderValue, double value ) |
| 71 | { |
| 72 | auto format = (sliderValue % 10 == 0) |
| 73 | /* i18n-hint: Unless your language has a different convention for ratios, |
| 74 | * like 8:1, leave as is.*/ |
| 75 | ? XO("%.0f:1") |
| 76 | /* i18n-hint: Unless your language has a different convention for ratios, |
| 77 | * like 8:1, leave as is.*/ |
| 78 | : XO("%.1f:1"); |
| 79 | return format.Format( value ); |
| 80 | } |
| 81 | |
| 82 | TranslatableString RatioLabelFormat( int sliderValue, double value ) |
| 83 | { |
no outgoing calls
no test coverage detected