mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Externalize string
This commit is contained in:
parent
e2659f8480
commit
8a0b010773
2 changed files with 2 additions and 1 deletions
|
@ -359,7 +359,7 @@ public class MainActivity extends StateDialogActivity
|
||||||
Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
|
Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
|
||||||
shareIntent.setType("text/plain");
|
shareIntent.setType("text/plain");
|
||||||
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, deviceId);
|
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, deviceId);
|
||||||
startActivity(Intent.createChooser(shareIntent, "Share device ID with"));
|
startActivity(Intent.createChooser(shareIntent, getString(R.string.share_device_id_chooser)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -626,5 +626,6 @@ Please report any problems you encounter via Github.</string>
|
||||||
<string name="could_not_access_deviceid">Could not access device ID.</string>
|
<string name="could_not_access_deviceid">Could not access device ID.</string>
|
||||||
<string name="browse">Browse</string>
|
<string name="browse">Browse</string>
|
||||||
<string name="no_sub_folder_is_selected">No sub folder is selected</string>
|
<string name="no_sub_folder_is_selected">No sub folder is selected</string>
|
||||||
|
<string name="share_device_id_chooser">Share device ID with</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue