diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 58cc471384..6f8653cfbb 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -9,6 +9,8 @@ 3. All your modified/created strings are in the top of the file (to make easier find what\'s translated). PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy --> + + Registered name My nickname User red diff --git a/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java b/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java index d38ab05534..5b30062ef9 100644 --- a/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java +++ b/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java @@ -641,9 +641,6 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements final View mgv = v.findViewById(R.id.MyGroupName); final EditText nickname = (EditText) v.findViewById(R.id.NickName); - if(app.getSettings().OSMO_USER_NAME.get().isEmpty()) { - app.getSettings().OSMO_USER_NAME.set(getString(R.string.osmo_user_name) + " " + new Random(10)); - } nickname.setText(app.getSettings().OSMO_USER_NAME.get()); device.setChecked(true); @@ -658,6 +655,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements } else { labelTracker.setText(R.string.osmo_connect_to_group_id); labelName.setText(R.string.osmo_group_name); + name.setHint(R.string.osmo_use_server_name); mgv.setVisibility(View.VISIBLE); } }