forked from upstream-mirrors/OpenTracks
ICU's MessageFormat handles plurals for floats (getQuantityString does not).
Fixes #1584.
This commit is contained in:
@@ -554,29 +554,65 @@ limitations under the License.
|
||||
<string name="value_smallest_recommended">Smallest (recommended)</string>
|
||||
<!-- Voice -->
|
||||
<plurals name="voiceHours">
|
||||
<item quantity="one">1 hour</item>
|
||||
<item quantity="other">%1$d hours</item>
|
||||
<item quantity="one">1 hour [Replaced by VoiceHoursPlural]</item>
|
||||
<item quantity="other">%1$d hours [Replaced by VoiceHoursPlural]</item>
|
||||
</plurals>
|
||||
<plurals name="voiceMinutes">
|
||||
<item quantity="one">1 minute</item>
|
||||
<item quantity="other">%1$d minutes</item>
|
||||
<item quantity="one">1 minute [Replaced by VoiceMinutesPlural]</item>
|
||||
<item quantity="other">%1$d minutes [Replaced by VoiceMinutesPlural]</item>
|
||||
</plurals>
|
||||
<plurals name="voiceSeconds">
|
||||
<item quantity="one">1 second</item>
|
||||
<item quantity="other">%1$d seconds</item>
|
||||
<item quantity="one">1 second [Replaced by voiceSecondsPlural]</item>
|
||||
<item quantity="other">%1$d seconds [Replaced by voiceSecondsPlural]</item>
|
||||
</plurals>
|
||||
<plurals name="voiceSpeedKilometersPerHour">
|
||||
<item quantity="one">1 kilometer per hour</item>
|
||||
<item quantity="other">%1$.1f kilometers per hour</item>
|
||||
<item quantity="one">1 kilometer per hour [Replaced by voiceSpeedKilometersPerHourPlural]</item>
|
||||
<item quantity="other">%1$.1f kilometers per hour [Replaced by voiceSpeedKilometersPerHourPlural]</item>
|
||||
</plurals>
|
||||
<plurals name="voiceSpeedMilesPerHour">
|
||||
<item quantity="one">1 mile per hour</item>
|
||||
<item quantity="other">%1$.1f miles per hour</item>
|
||||
<item quantity="one">1 mile per hour [Replaced by voiceSpeedMilesPerHourPlural]</item>
|
||||
<item quantity="other">%1$.1f miles per hour [Replaced by voiceSpeedMilesPerHourPlural]</item>
|
||||
</plurals>
|
||||
<plurals name="voiceSpeedMKnots">
|
||||
<item quantity="one">1 knot</item>
|
||||
<item quantity="other">%1$.1f knots</item>
|
||||
<item quantity="one">1 knot [Replaced by voiceSpeedMKnotsPlural]</item>
|
||||
<item quantity="other">%1$.1f knots [Replaced by voiceSpeedMKnotsPlural]</item>
|
||||
</plurals>
|
||||
<string name="voiceHoursPlural">
|
||||
{n, plural,
|
||||
=1 {1 hour}
|
||||
other {{n,number} hours}
|
||||
}
|
||||
</string>
|
||||
<string name="voiceMinutesPlural">
|
||||
{n, plural,
|
||||
=1 {1 minute}
|
||||
other {{n,number} minutes}
|
||||
}
|
||||
</string>
|
||||
<string name="voiceSecondsPlural">
|
||||
{n, plural,
|
||||
=1 {1 second}
|
||||
other {{n,number} seconds}
|
||||
}
|
||||
</string>
|
||||
<string name="voiceSpeedKilometersPerHourPlural">
|
||||
{n, plural,
|
||||
=1 {1 kilometer per hour}
|
||||
other {{n,number,#.0} kilometers per hour}
|
||||
}
|
||||
</string>
|
||||
<string name="voiceSpeedMilesPerHourPlural">
|
||||
{n, plural,
|
||||
=1 {1 mile per hour}
|
||||
other {{n,number,#.0} miles per hour}
|
||||
}
|
||||
</string>
|
||||
<string name="voiceSpeedMKnotsPlural">
|
||||
{n, plural,
|
||||
=1 {1 knot}
|
||||
other {{n,number,#.0} knots}
|
||||
}
|
||||
</string>
|
||||
<string name="voice_on_device_speaker_title">Use the device\'s speaker</string>
|
||||
<string name="voice_per_kilometer">per kilometer</string>
|
||||
<string name="voice_per_mile">per mile</string>
|
||||
@@ -587,17 +623,35 @@ limitations under the License.
|
||||
<string name="speed">Average moving speed</string>
|
||||
<string name="total_distance">Total distance</string>
|
||||
<plurals name="voiceDistanceKilometers">
|
||||
<item quantity="one">1 kilometer</item>
|
||||
<item quantity="other">%1$.1f kilometers</item>
|
||||
<item quantity="one">1 kilometer [Replaced by voiceDistanceKilometersPlural]</item>
|
||||
<item quantity="other">%1$.1f kilometers [Replaced by voiceDistanceKilometersPlural]</item>
|
||||
</plurals>
|
||||
<plurals name="voiceDistanceMiles">
|
||||
<item quantity="one">1 mile</item>
|
||||
<item quantity="other">%1$.1f miles</item>
|
||||
<item quantity="one">1 mile [Replaced by voiceDistanceMilesPlural]</item>
|
||||
<item quantity="other">%1$.1f miles [Replaced by voiceDistanceMilesPlural]</item>
|
||||
</plurals>
|
||||
<plurals name="voiceDistanceNauticalMiles">
|
||||
<item quantity="one">1 nautical mile</item>
|
||||
<item quantity="other">%1$.1f nautical miles</item>
|
||||
<item quantity="one">1 nautical mile [Replaced by voiceDistanceNauticalMilesPlural]</item>
|
||||
<item quantity="other">%1$.1f nautical miles [Replaced by voiceDistanceNauticalMilesPlural]</item>
|
||||
</plurals>
|
||||
<string name="voiceDistanceKilometersPlural">
|
||||
{n, plural,
|
||||
=1 {1 kilometer}
|
||||
other {{n,number,#.0} kilometers}
|
||||
}
|
||||
</string>
|
||||
<string name="voiceDistanceMilesPlural">
|
||||
{n, plural,
|
||||
=1 {1 mile}
|
||||
other {{n,number,#.0} miles}
|
||||
}
|
||||
</string>
|
||||
<string name="voiceDistanceNauticalMilesPlural">
|
||||
{n, plural,
|
||||
=1 {1 nautical mile}
|
||||
other {{n,number,#.0} nautical miles}
|
||||
}
|
||||
</string>
|
||||
<string name="average_heart_rate">Average heart rate</string>
|
||||
<string name="current_heart_rate">Current heart rate</string>
|
||||
<!-- Waypoint Type -->
|
||||
|
||||
Reference in New Issue
Block a user