Toast vertaald

This commit is contained in:
Robin Koedood
2021-01-14 10:36:49 +01:00
parent 018de5688e
commit e8ea9f7982
3 changed files with 3 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ public class RouteDetailFragment extends Fragment {
public void startRoute(View view) {
ApiHandler.INSTANCE.getDirections(route);
RouteHandler.INSTANCE.followRoute(route);
Toast.makeText(requireContext(), "Route started!", Toast.LENGTH_SHORT).show();
Toast.makeText(requireContext(), R.string.route_started_toast, Toast.LENGTH_SHORT).show();
// navigates to the HomeFragment and refreshes the BottomNavigation
refreshable.refreshAndNavigateTo(R.id.locations);
}

View File

@@ -34,4 +34,5 @@
<string name="notification_text">Je bent bijna bij %1$s</string>
<string name="hour">uur</string>
<string name="minutes">minuten</string>
<string name="route_started_toast">Route is gestart!</string>
</resources>

View File

@@ -32,4 +32,5 @@
<string name="start_location">Start location</string>
<string name="hour">hour</string>
<string name="minutes">minutes</string>
<string name="route_started_toast">Route started!</string>
</resources>