1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-10 20:15:54 +00:00

Change "Create Node" to "Add Node" (ref #64).

This commit is contained in:
Felix Ableitner 2014-07-28 01:36:45 +02:00
parent 44311601d2
commit 1639123232
3 changed files with 8 additions and 8 deletions

View file

@ -115,7 +115,7 @@ public class NodeSettingsActivity extends PreferenceActivity implements
} }
if (getIntent().getAction().equals(ACTION_CREATE)) { if (getIntent().getAction().equals(ACTION_CREATE)) {
setTitle(R.string.create_node); setTitle(R.string.add_node);
mNode = new RestApi.Node(); mNode = new RestApi.Node();
mNode.Name = ""; mNode.Name = "";
mNode.NodeID = ""; mNode.NodeID = "";

View file

@ -4,7 +4,7 @@
<item <item
android:id="@+id/create" android:id="@+id/create"
android:title="@string/create" android:title="@string/add"
android:showAsAction="always" /> android:showAsAction="always" />
<item <item
@ -13,4 +13,4 @@
android:title="@string/share_node_id" android:title="@string/share_node_id"
android:showAsAction="always" /> android:showAsAction="always" />
</menu> </menu>

View file

@ -9,9 +9,6 @@
<!-- Title of the "add repo" menu action --> <!-- Title of the "add repo" menu action -->
<string name="add_repo">Add Repository</string> <string name="add_repo">Add Repository</string>
<!-- Title of the "add node" menu action -->
<string name="add_node">Add Node</string>
<!-- Title of the "share node id" menu action --> <!-- Title of the "share node id" menu action -->
<string name="share_node_id">Share Node ID</string> <string name="share_node_id">Share Node ID</string>
@ -107,7 +104,7 @@
<!-- Title for RepoSettingsActivity in edit mode --> <!-- Title for RepoSettingsActivity in edit mode -->
<string name="edit_repo">Edit Repository</string> <string name="edit_repo">Edit Repository</string>
<!-- Used to confirm repo/node creation --> <!-- Menu item to confirm repo creation -->
<string name="create">Create</string> <string name="create">Create</string>
<!-- Dialog shown when attempting to delete a repository --> <!-- Dialog shown when attempting to delete a repository -->
@ -141,7 +138,10 @@
<string name="delete_node">Delete Node</string> <string name="delete_node">Delete Node</string>
<!-- Title for NodeSettingsActivity in create mode --> <!-- Title for NodeSettingsActivity in create mode -->
<string name="create_node">Create Node</string> <string name="add_node">Add Node</string>
<!-- Menu item to confirm adding a node -->
<string name="add">Add</string>
<!-- Title for NodeSettingsActivity in edit mode --> <!-- Title for NodeSettingsActivity in edit mode -->
<string name="edit_node">Edit Node</string> <string name="edit_node">Edit Node</string>