1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 12:51:16 +00:00

Use "Restart Now" instead of "OK" (fixes #406).

This commit is contained in:
Felix Ableitner 2015-06-11 01:24:35 +02:00
parent e07262551f
commit 97ec3f91eb
2 changed files with 7 additions and 4 deletions

View file

@ -368,7 +368,7 @@ public class RestApi implements SyncthingService.OnWebGuiAvailableListener,
? new AlertDialog.Builder(activity, AlertDialog.THEME_HOLO_LIGHT)
: new AlertDialog.Builder(activity);
builder.setMessage(R.string.restart_title)
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
.setPositiveButton(R.string.restart_now, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
mContext.startService(intent);

View file

@ -402,11 +402,14 @@ Please report any problems you encounter via Github.</string>
<!-- Title of the notification shown when a restart is needed -->
<string name="restart_title">Restart Needed</string>
<!-- Text of the notification shown when a restart is needed -->
<string name="restart_notification_text">Click here to restart syncthing now</string>
<!-- Text for positive button in restart dialog -->
<string name="restart_now">Restart Now</string>
<!-- Text for the dismiss button of the restart Activity -->
<string name="restart_later">Restart Later</string>
<string name="restart_later">Later</string>
<!-- Text of the notification shown when a restart is needed -->
<string name="restart_notification_text">Click here to restart syncthing now</string>
<!-- Shown when a device ID is copied to the clipboard -->
<string name="device_id_copied_to_clipboard">Device ID copied to clipboard</string>