Author: Adam <git@apiote.xyz>
add positions to format strings
app/src/main/res/values/strings.xml | 24 ++++++++++++------------
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f32859adeab279291dc0da8294a9124ae7224571..dc1fabe61fcce23886a57900cd2a55d6ab034a2d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -20,9 +20,9 @@You are offline. Connect to the Internet <string name="error_gps">Cannot obtain location</string> <string name="no_departures">No departures</string> <string name="waiting_position">waiting for position</string> - <string name="vehicle_headsign">%s » %s</string> - <string name="vehicle_headsign_content_description">%s towards %s</string> - <string name="speed_in_km_per_h">%.3f km/h</string> + <string name="vehicle_headsign">%1$s » %2$s</string> + <string name="vehicle_headsign_content_description">%1$s towards %2$s</string> + <string name="speed_in_km_per_h">%1$.3f km/h</string> <string name="congestion_unknown">unknown</string> <string name="congestion_smooth">smooth</string> <string name="congestion_stop_and_go">stop and go</string> @@ -36,24 +36,24 @@standing only <string name="occupancy_crowded">crowded</string> <string name="occupancy_full">full</string> <string name="occupancy_wont_let">won’t let in</string> - <string name="stop_title">%s [%s]</string> + <string name="stop_title">%1$s [%2$s]</string> <string name="no_map_app">No maps app installed</string> - <string name="departure_headsign">» %s</string> - <string name="departure_headsign_content_description">towards %s</string> + <string name="departure_headsign">» %1$s</string> + <string name="departure_headsign_content_description">towards %1$s</string> <string name="departure_momentarily">momentarily</string> <string name="departure_departed">departed</string> <string name="departure_now">now</string> - <string name="at_time">at %02d:%02d</string> - <string name="at_time_realtime">at %02d:%02d:%02d</string> + <string name="at_time">at %1$02d:%2$02d</string> + <string name="at_time_realtime">at %1$02d:%2$02d:%3$02d</string> <string name="on_demand">on demand</string> <string name="no_boarding">no boarding</string> <string name="on_boarding">on-boarding</string> <string name="off_boarding">off-boarding</string> <string name="boarding">can board</string> - <string name="line_headsigns">%s «» %s</string> - <string name="line_headsigns_content_description">between %s and %s</string> + <string name="line_headsigns">%1$s «» %2$s</string> + <string name="line_headsigns_content_description">between %1$s and %2$s</string> <string name="stops_nearby">Stops nearby</string> - <string name="results_for">Results for ‘%s’</string> + <string name="results_for">Results for ‘%1$s’</string> <string name="bimba_server_address_hint">Bimba server</string> <string name="bimba_server_token_hint">Token</string> <string name="bimba_server_continue_button">Continue</string> @@ -78,7 +78,7 @@Error <string name="rate_limit">Rate limit</string> <string name="server_rate_limited_question">This server is rate-limited and no token was given. Do you want to continue?</string> <string name="server_private_question">This server is private and no token was given</string> - <string name="last_update">Last update: %s</string> + <string name="last_update">Last update: %1$s</string> <string name="title_feeds">Feeds</string> <string name="title_servers">Servers</string> <string name="title_cities">Cities</string>