remove more uneccessary code
This commit is contained in:
parent
b6535c55a3
commit
00474a9cf9
15 changed files with 16 additions and 43 deletions
|
@ -990,13 +990,11 @@
|
|||
<string name="add_favorite_dialog_default_favourite_name">Oblíbené</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">Oblíbené místo \'\'{0}\'\' bylo přidáno.</string>
|
||||
|
||||
<!-- string name="favourites_context_menu_title">Kontextové menu</string -->
|
||||
<string name="favourites_context_menu_navigate">Navigovat do</string>
|
||||
<string name="favourites_context_menu_edit">Upravit oblíbené</string>
|
||||
<string name="favourites_context_menu_delete">Smazat oblíbené</string>
|
||||
<string name="favourites_edit_dialog_title">Přejmenovat oblíbené</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">
|
||||
<string name="favourites_remove_dialog_msg">
|
||||
Opravdu chcete odstranit oblíbené místo?
|
||||
</string>
|
||||
<string name="favourites_remove_dialog_success">Oblíbené místo {0} bylo vymazáno.</string>
|
||||
|
|
|
@ -744,13 +744,11 @@
|
|||
<string name="add_favorite_dialog_default_favourite_name">Favorit</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">Favorit Punkt \'\'{0}\'\' wurde erfolgreich hinzugefügt.</string>
|
||||
|
||||
<!-- string name="favourites_context_menu_title">Kontextmenü</string -->
|
||||
<string name="favourites_context_menu_navigate">Als Ziel wählen</string>
|
||||
<string name="favourites_context_menu_edit">Favorit bearbeiten</string>
|
||||
<string name="favourites_context_menu_delete">Favorit löschen</string>
|
||||
<string name="favourites_edit_dialog_title">Favorit umbenennen</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">Wollen Sie den Punkt wirklich löschen?</string>
|
||||
<string name="favourites_remove_dialog_msg">Wollen Sie den Punkt wirklich löschen?</string>
|
||||
<string name="favourites_remove_dialog_success">Der Punkt {0} wurde erfolgreich gelöscht.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Eingabetext des Fehlers</string>
|
||||
|
|
|
@ -146,10 +146,8 @@
|
|||
<string name="favourites_context_menu_delete">Borrrar favorito</string>
|
||||
<string name="favourites_context_menu_edit">Editar favorite</string>
|
||||
<string name="favourites_context_menu_navigate">Navegar a</string>
|
||||
<!-- string name="favourites_context_menu_title">Menú contextual</string -->
|
||||
<string name="favourites_edit_dialog_title">Renombrar favorito</string>
|
||||
<string name="favourites_remove_dialog_success">Se borró el punto favorito {0}.</string>
|
||||
<string name="favourites_remove_dialog_title">¿Está seguro/a?</string>
|
||||
<string name="favourites_remove_dialog_msg">¿Está seguro/a?</string>
|
||||
<string name="filter_current_poiButton">Filtro</string>
|
||||
<string name="filter_existing_indexes">Se descargó el filtro</string>
|
||||
<string name="finished_task">Terminado</string>
|
||||
|
|
|
@ -714,12 +714,10 @@ navigate_point_format_D, DM & DMS
|
|||
<string name="add_favorite_dialog_top_text">Nom du favoris</string>
|
||||
<string name="add_favorite_dialog_default_favourite_name">Favoris</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">Le point \'\'{0}\'\' à été ajouté aux favoris.</string>
|
||||
<!-- string name="favourites_context_menu_title">Menu contextuel</string -->
|
||||
<string name="favourites_context_menu_navigate">Se déplacer vers</string>
|
||||
<string name="favourites_context_menu_edit">Modifier favori</string>
|
||||
<string name="favourites_context_menu_delete">Supprimer favori</string>
|
||||
<string name="favourites_edit_dialog_title">Renommer le favori</string>
|
||||
<string name="favourites_remove_dialog_title">Voulez-vous vraiment supprimer ce favori ?</string>
|
||||
<string name="favourites_remove_dialog_msg">Voulez-vous vraiment supprimer ce favori ?</string>
|
||||
<string name="favourites_remove_dialog_success">Suppression du favori {0} réussi.</string>
|
||||
<string name="osb_add_dialog_title">Description du bogue</string>
|
||||
<string name="osb_add_dialog_success">Le bogue a bien été créé</string>
|
||||
|
|
|
@ -725,13 +725,11 @@
|
|||
<string name="add_favorite_dialog_default_favourite_name">Kedvenc</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">Kedvenc pont: \'\'{0}\'\' sikeresen hozzáadva.</string>
|
||||
|
||||
<!-- string name="favourites_context_menu_title">Eszközök menü</string -->
|
||||
<string name="favourites_context_menu_navigate">Beállítás célpontnak</string>
|
||||
<string name="favourites_context_menu_edit">Kedvenc szerkesztése</string>
|
||||
<string name="favourites_context_menu_delete">Kedvenc törlése</string>
|
||||
<string name="favourites_edit_dialog_title">Kedvenc átnevezése</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">Törlöd ezt a kedvenc pontot?</string>
|
||||
<string name="favourites_remove_dialog_msg">Törlöd ezt a kedvenc pontot?</string>
|
||||
<string name="favourites_remove_dialog_success">{0} kedvenc pont sikeresen törölve.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Hiba leírása</string>
|
||||
|
|
|
@ -721,13 +721,11 @@
|
|||
<string name="add_favorite_dialog_default_favourite_name">Favorito</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">Il punto favorito \'\'{0}\'\' è stato aggiunto.</string>
|
||||
|
||||
<!-- string name="favourites_context_menu_title">Menu contestuale</string -->
|
||||
<string name="favourites_context_menu_navigate">Navigare verso</string>
|
||||
<string name="favourites_context_menu_edit">Modifica favorito</string>
|
||||
<string name="favourites_context_menu_delete">Elimina favorito</string>
|
||||
<string name="favourites_edit_dialog_title">Inserire il nuovo nome per il punto favorito</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">Si è sicuri di voler eliminare il punto favorito?</string>
|
||||
<string name="favourites_remove_dialog_msg">Si è sicuri di voler eliminare il punto favorito?</string>
|
||||
<string name="favourites_remove_dialog_success">Il punto favorito {0} è stato eliminato.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Inserire la descrizione del bug</string>
|
||||
|
|
|
@ -706,13 +706,11 @@ name="recalculate_route_to_your_location">現在地に従ってルートを再
|
|||
<string name="add_favorite_dialog_favourite_added_template">お気に入り地点
|
||||
\'\'{0}\'\' が追加されました。</string>
|
||||
|
||||
<!-- string name="favourites_context_menu_title">コンテキストメニュー</string -->
|
||||
<string name="favourites_context_menu_navigate">ナビゲート先</string>
|
||||
<string name="favourites_context_menu_edit">お気に入りを編集</string>
|
||||
<string name="favourites_context_menu_delete">お気に入りを削除</string>
|
||||
<string name="favourites_edit_dialog_title">お気に入りをリネーム</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">本当にお気に入り地点を削除しますか?</string>
|
||||
<string name="favourites_remove_dialog_msg">本当にお気に入り地点を削除しますか?</string>
|
||||
<string name="favourites_remove_dialog_success">お気に入り地点 {0}
|
||||
は削除されました。</string>
|
||||
|
||||
|
|
|
@ -735,13 +735,11 @@
|
|||
<string name="add_favorite_dialog_default_favourite_name">Ulubione</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">Favorite point \'\'{0}\'\' was added successfully.</string>
|
||||
|
||||
<!-- string name="favourites_context_menu_title">Menu kontekstowe</string -->
|
||||
<string name="favourites_context_menu_navigate">Nawiguj do</string>
|
||||
<string name="favourites_context_menu_edit">Edytuj</string>
|
||||
<string name="favourites_context_menu_delete">Usuń</string>
|
||||
<string name="favourites_edit_dialog_title">Zmień nazwę</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">Czy na pewno chcesz usunąć ulubiony punkt?</string>
|
||||
<string name="favourites_remove_dialog_msg">Czy na pewno chcesz usunąć ulubiony punkt?</string>
|
||||
<string name="favourites_remove_dialog_success">Ulubiony punkt {0} został usunięty.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Wprowadź opis błędu</string>
|
||||
|
|
|
@ -411,12 +411,10 @@
|
|||
<string name="add_favorite_dialog_top_text">Digite o nome do favorito</string>
|
||||
<string name="add_favorite_dialog_default_favourite_name">Favorito</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">O ponto \'\'{0}\'\' foi adicionado aos favoritos.</string>
|
||||
<!-- string name="favourites_context_menu_title">Menu contextual</string -->
|
||||
<string name="favourites_context_menu_navigate">Mover-se para</string>
|
||||
<string name="favourites_context_menu_edit">Modificar favorito</string>
|
||||
<string name="favourites_context_menu_delete">Apagar favorito</string>
|
||||
<string name="favourites_edit_dialog_title">Modificar nome do favorito</string>
|
||||
<string name="favourites_remove_dialog_title">Você quer mesmo apagar este favorito?</string>
|
||||
<string name="favourites_remove_dialog_msg">Você quer mesmo apagar este favorito?</string>
|
||||
<string name="favourites_remove_dialog_success">Favorito {0} apagado com sucesso.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Descrição do bug</string>
|
||||
|
|
|
@ -676,13 +676,11 @@
|
|||
<string name="add_favorite_dialog_default_favourite_name">Избранная</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">Точка \'\'{0}\'\' была успешно добавлена к Избранным.</string>
|
||||
|
||||
<!-- string name="favourites_context_menu_title">Контекстное меню</string -->
|
||||
<string name="favourites_context_menu_navigate">Идти к</string>
|
||||
<string name="favourites_context_menu_edit">Редактировать точку</string>
|
||||
<string name="favourites_context_menu_delete">Удалить точку</string>
|
||||
<string name="favourites_edit_dialog_title">Введите новое имя точки</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">Вы действительно хотите удалить точку из Избранных?</string>
|
||||
<string name="favourites_remove_dialog_msg">Вы действительно хотите удалить точку из Избранных?</string>
|
||||
<string name="favourites_remove_dialog_success">Точка {0} была успешно удалена из Избранных.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Подробно опишите ошибку</string>
|
||||
|
|
|
@ -728,13 +728,11 @@
|
|||
<string name="add_favorite_dialog_default_favourite_name">Obľúbené</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">Obľúbený bod \'\'{0}\'\' bol úspešne pridaný.</string>
|
||||
|
||||
<!-- string name="favourites_context_menu_title">Kontextové menu</string -->
|
||||
<string name="favourites_context_menu_navigate">Navigovať sem</string>
|
||||
<string name="favourites_context_menu_edit">Upraviť obľúbený bod</string>
|
||||
<string name="favourites_context_menu_delete">Vymazať obľúbený bod</string>
|
||||
<string name="favourites_edit_dialog_title">Premenovať obľúbený bod</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">Ste si istý?</string>
|
||||
<string name="favourites_remove_dialog_msg">Ste si istý?</string>
|
||||
<string name="favourites_remove_dialog_success">Obľúbený bod {0} bol úspešne zmazaný.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Zadajte popis k chybe</string>
|
||||
|
|
|
@ -731,13 +731,11 @@ Translator: Le Viet Thanh; email: lethanhx2k@gmail.com -->
|
|||
<string name="add_favorite_dialog_default_favourite_name">Ưa thích</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">Điểm ưa thích \'\'{0}\'\' đã được thêm thành công.</string>
|
||||
|
||||
<!-- string name="favourites_context_menu_title">Context menu</string -->
|
||||
<string name="favourites_context_menu_navigate">Dẫn đường tới</string>
|
||||
<string name="favourites_context_menu_edit">Sửa Ưa thích</string>
|
||||
<string name="favourites_context_menu_delete">Xóa Ưa thích </string>
|
||||
<string name="favourites_edit_dialog_title">Đổi tên Ưa thích</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">Bạn có muốn xóa điểm ưa thích?</string>
|
||||
<string name="favourites_remove_dialog_msg">Bạn có muốn xóa điểm ưa thích?</string>
|
||||
<string name="favourites_remove_dialog_success">Điểm Ưa thích {0} đã xóa thành công.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Nhập thông tin bug</string>
|
||||
|
|
|
@ -751,13 +751,11 @@
|
|||
<string name="add_favorite_dialog_default_favourite_name">Favorite</string>
|
||||
<string name="add_favorite_dialog_favourite_added_template">Favorite point \'\'{0}\'\' was added successfully.</string>
|
||||
|
||||
<!-- string name="favourites_context_menu_title">Context menu</string -->
|
||||
<string name="favourites_context_menu_navigate">Set as destination</string>
|
||||
<string name="favourites_context_menu_edit">Edit favorite</string>
|
||||
<string name="favourites_context_menu_delete">Delete favorite</string>
|
||||
<string name="favourites_edit_dialog_title">Rename favorite</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">Remove favorite point?</string>
|
||||
<string name="favourites_remove_dialog_msg">Remove favorite point?</string>
|
||||
<string name="favourites_remove_dialog_success">Favorite point {0} was succesfully deleted.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Enter bug text</string>
|
||||
|
|
|
@ -93,7 +93,6 @@ public class FavouritesActivity extends ExpandableListActivity {
|
|||
if (child == -1) {
|
||||
return;
|
||||
}
|
||||
// menu.setHeaderTitle(R.string.favourites_context_menu_title);
|
||||
|
||||
menu.add(0, SHOW_ON_MAP, 0, R.string.show_poi_on_map);
|
||||
menu.add(0, NAVIGATE_TO, 1, R.string.favourites_context_menu_navigate);
|
||||
|
@ -257,7 +256,7 @@ public class FavouritesActivity extends ExpandableListActivity {
|
|||
MapActivity.launchMapActivityMoveToTop(this);
|
||||
} else if (aItem.getItemId() == EDIT_ITEM) {
|
||||
Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setTitle(R.string.favourites_edit_dialog_title);
|
||||
builder.setTitle(R.string.favourites_context_menu_edit);
|
||||
final View v = getLayoutInflater().inflate(R.layout.favourite_edit_dialog, getExpandableListView(), false);
|
||||
final AutoCompleteTextView cat = (AutoCompleteTextView) v.findViewById(R.id.Category);
|
||||
final EditText editText = (EditText) v.findViewById(R.id.Name);
|
||||
|
@ -283,7 +282,7 @@ public class FavouritesActivity extends ExpandableListActivity {
|
|||
if (aItem.getItemId() == DELETE_ITEM) {
|
||||
final Resources resources = this.getResources();
|
||||
Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setMessage(R.string.favourites_remove_dialog_title);
|
||||
builder.setMessage(R.string.favourites_remove_dialog_msg);
|
||||
builder.setNegativeButton(R.string.default_buttons_no, null);
|
||||
builder.setPositiveButton(R.string.default_buttons_yes, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
|
|
|
@ -114,7 +114,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
|
||||
protected Dialog createAddFavouriteDialog(final Bundle args) {
|
||||
Builder builder = new AlertDialog.Builder(mapActivity);
|
||||
builder.setTitle(R.string.favourites_edit_dialog_title);
|
||||
builder.setTitle(R.string.favourites_context_menu_edit);
|
||||
final View v = mapActivity.getLayoutInflater().inflate(R.layout.favourite_edit_dialog, null, false);
|
||||
final FavouritesDbHelper helper = getMyApplication().getFavorites();
|
||||
builder.setView(v);
|
||||
|
|
Loading…
Reference in a new issue