From ac2d46d109a5f0b39b65e772329dab5ad2e269f3 Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 19 May 2015 06:51:45 -0700 Subject: [PATCH] Don't show network status icon, nor respond to taps, for standalone games. --- xwords4/android/XWords4/archive/R.java | 473 +++++++++--------- .../android/XWords4/res/values/strings.xml | 3 - .../XWords4/res_src/values-ba_CK/strings.xml | 3 - .../XWords4/res_src/values-ca_PS/strings.xml | 3 - .../XWords4/res_src/values-fr/strings.xml | 5 - .../XWords4/res_src/values-pt/strings.xml | 3 - .../XWords4/res_src/values-sk/strings.xml | 3 - .../eehouse/android/xw4/BoardDelegate.java | 16 +- .../android/xw4/ConnStatusHandler.java | 6 +- 9 files changed, 247 insertions(+), 268 deletions(-) diff --git a/xwords4/android/XWords4/archive/R.java b/xwords4/android/XWords4/archive/R.java index 545671608..72e39db92 100644 --- a/xwords4/android/XWords4/archive/R.java +++ b/xwords4/android/XWords4/archive/R.java @@ -444,23 +444,23 @@ public final class R { /** Another paragraph in the about dialog */ public static final int about_web=0x7f0501bb; - public static final int add_done_fmt=0x7f050267; - public static final int add_to_study_fmt=0x7f050261; + public static final int add_done_fmt=0x7f050266; + public static final int add_to_study_fmt=0x7f050260; /** Debugging stuff. Localize if you think your langauge users will care. */ - public static final int advanced=0x7f0502cc; + public static final int advanced=0x7f0502cb; /** This button takes you to the normal Game Configure screen */ public static final int advanced_config=0x7f050176; - public static final int advanced_summary=0x7f0502cd; + public static final int advanced_summary=0x7f0502cc; /** */ public static final int alert_empty_dict_fmt=0x7f0501d6; /** The name of the app. Not localized! */ public static final int app_name=0x7f050001; - public static final int app_not_found_fmt=0x7f0502ac; + public static final int app_not_found_fmt=0x7f0502ab; public static final int app_version=0x7f050000; /** the background color of the area outside the board, e.g. between entries in the scoreboard @@ -518,7 +518,7 @@ public final class R { asking. */ public static final int board_menu_game_left=0x7f0500f2; - public static final int board_menu_game_netstats=0x7f0502d7; + public static final int board_menu_game_netstats=0x7f0502d6; /** Meaningful only for networked games, this menu causes all messages that have not yet been acknowledged by a remote device in the game to be resent. Eventually I hope to be @@ -527,7 +527,7 @@ public final class R { */ public static final int board_menu_game_resend=0x7f0500f6; public static final int board_menu_game_resign=0x7f0500f5; - public static final int board_menu_invite=0x7f05025a; + public static final int board_menu_invite=0x7f050259; /** */ public static final int board_menu_pass=0x7f0501c9; @@ -598,7 +598,7 @@ public final class R { /** Title of device picker during invitation to a game via Bluetooth */ public static final int bt_invite_title=0x7f0501f0; - public static final int bt_no_devs=0x7f0502ab; + public static final int bt_no_devs=0x7f0502aa; /** Turn Bluetooth on In the Bluetooth invite device dialog */ @@ -616,7 +616,7 @@ public final class R { /** The only button available when the above message is displayed */ public static final int button_close_game=0x7f050187; - public static final int button_decline=0x7f05023a; + public static final int button_decline=0x7f050239; /** */ public static final int button_default_both=0x7f0500a4; @@ -642,7 +642,7 @@ public final class R { reset a game. */ public static final int button_discard=0x7f050196; - public static final int button_discard_changes=0x7f0502c6; + public static final int button_discard_changes=0x7f0502c5; /** */ public static final int button_done=0x7f0501c6; @@ -652,17 +652,17 @@ public final class R { /** Text of button displayed when downloading is an option */ public static final int button_download=0x7f05018a; - public static final int button_edit=0x7f0502c5; - public static final int button_enable_bt=0x7f050225; - public static final int button_enable_sms=0x7f050224; - public static final int button_go_settings=0x7f05025c; + public static final int button_edit=0x7f0502c4; + public static final int button_enable_bt=0x7f050224; + public static final int button_enable_sms=0x7f050223; + public static final int button_go_settings=0x7f05025b; /** */ public static final int button_invite=0x7f0501ef; /** text of button to juggle (randomly rearrange order of) players */ public static final int button_juggle_players=0x7f0500af; - public static final int button_later=0x7f050226; + public static final int button_later=0x7f050225; /** New strings that need to be documented and found a home above. */ @@ -734,12 +734,12 @@ public final class R { in many places. */ public static final int button_ok=0x7f050191; - public static final int button_reconnect=0x7f05024c; + public static final int button_reconnect=0x7f05024b; /** Button shown in game over dialog triggering creation of new game with the same players and parameters as the one that just ended. */ - public static final int button_rematch=0x7f05024b; + public static final int button_rematch=0x7f05024a; /** When you select the list_item_reset contextual menu, you are asked to confirm. This is the text of the first button ("Cancel" is the second). @@ -796,8 +796,8 @@ public final class R { */ public static final int button_trade_commit=0x7f0500d5; public static final int button_yes=0x7f050193; - public static final int cannot_delete_default_group_fmt=0x7f05024a; - public static final int change_group=0x7f05024f; + public static final int cannot_delete_default_group_fmt=0x7f050249; + public static final int change_group=0x7f05024e; /** text of button in About Crosswords dialog summoning above dialog */ @@ -843,7 +843,7 @@ public final class R { substituted for %1$s. */ public static final int chat_title_fmt=0x7f050170; - public static final int checkupdates_none_found=0x7f050228; + public static final int checkupdates_none_found=0x7f050227; /** color of the "crosshairs", lines drawn vertically and horizontally through the square the user is currently touching in order to guide the fat-fingered (most of us) in @@ -851,7 +851,7 @@ public final class R { on the board. */ public static final int clr_crosshairs=0x7f05013a; - public static final int config_no_connvia=0x7f0502c4; + public static final int config_no_connvia=0x7f0502c3; /** */ public static final int confirm_clear=0x7f0501ff; @@ -861,7 +861,7 @@ public final class R { of the language is substituted for %1$s. */ public static final int confirm_deleteonly_dicts_fmt=0x7f0500a0; - public static final int confirm_get_locdict_fmt=0x7f0502cb; + public static final int confirm_get_locdict_fmt=0x7f0502ca; /** Text of confirmation dialog for above */ public static final int confirm_revert_all=0x7f05010f; @@ -878,22 +878,22 @@ public final class R { public static final int confirm_save_title=0x7f0500c9; /** */ - public static final int confirm_sms_expl=0x7f05021d; + public static final int confirm_sms_expl=0x7f05021c; /** */ - public static final int confirm_sms_leave=0x7f05021f; + public static final int confirm_sms_leave=0x7f05021e; /** */ - public static final int confirm_sms_prompt=0x7f05021e; + public static final int confirm_sms_prompt=0x7f05021d; /** */ - public static final int confirm_sms_title=0x7f05021c; + public static final int confirm_sms_title=0x7f05021b; /** */ - public static final int confirm_sms_unlimited=0x7f050220; + public static final int confirm_sms_unlimited=0x7f05021f; /** */ - public static final int confirm_sms_willpay=0x7f050221; + public static final int confirm_sms_willpay=0x7f050220; /** text of dialog shown when the menu item board_menu_undo_last is chosen. */ @@ -927,53 +927,50 @@ public final class R { public static final int connect_one_hour=0x7f050157; public static final int connect_six_hours=0x7f050158; public static final int connect_thirty_mins=0x7f050156; - public static final int connection_via_label=0x7f0502bd; + public static final int connection_via_label=0x7f0502bc; /** */ - public static final int connstat_lastother_succ_fmt=0x7f050214; + public static final int connstat_lastother_succ_fmt=0x7f050213; /** */ - public static final int connstat_lastother_unsucc_fmt=0x7f050215; + public static final int connstat_lastother_unsucc_fmt=0x7f050214; /** */ - public static final int connstat_lastreceipt_fmt=0x7f050216; + public static final int connstat_lastreceipt_fmt=0x7f050215; /** */ - public static final int connstat_lastsend_fmt=0x7f050213; + public static final int connstat_lastsend_fmt=0x7f050212; /** */ - public static final int connstat_net_fmt=0x7f050210; + public static final int connstat_net_fmt=0x7f05020f; /** */ - public static final int connstat_nonet=0x7f05020f; + public static final int connstat_noreceipt=0x7f050216; /** */ - public static final int connstat_noreceipt=0x7f050217; + public static final int connstat_relay=0x7f050217; /** */ - public static final int connstat_relay=0x7f050218; + public static final int connstat_sms=0x7f050218; /** */ - public static final int connstat_sms=0x7f050219; + public static final int connstat_succ=0x7f050210; /** */ - public static final int connstat_succ=0x7f050211; - /** - */ - public static final int connstat_unsucc=0x7f050212; + public static final int connstat_unsucc=0x7f050211; /** title of dialog brought up in response to the board_menu_game_counts menu. The dialog lists all tiles in the language being used for the game together with how many of each there are are and how many points each is worth. */ public static final int counts_values_title=0x7f05019c; - public static final int cur_menu_marker_fmt=0x7f050259; + public static final int cur_menu_marker_fmt=0x7f050258; /** */ public static final int cur_tiles_fmt=0x7f0501d1; - public static final int data_gsm_only=0x7f050276; - public static final int debug_features=0x7f0502d3; - public static final int debug_features_summary=0x7f0502d4; + public static final int data_gsm_only=0x7f050275; + public static final int debug_features=0x7f0502d2; + public static final int debug_features_summary=0x7f0502d3; /** dictionary used by default for human players when creating new game */ @@ -983,9 +980,9 @@ public final class R { public static final int default_host=0x7f050073; /** label within default wordlists in app preferences */ - public static final int default_language=0x7f0502ad; - public static final int default_loc=0x7f05023d; - public static final int default_loc_summary=0x7f05023e; + public static final int default_language=0x7f0502ac; + public static final int default_loc=0x7f05023c; + public static final int default_loc_summary=0x7f05023d; /** Welcome dialog text */ public static final int default_name_message=0x7f0501b8; @@ -1013,7 +1010,7 @@ public final class R { */ public static final int default_robodict=0x7f05011d; public static final int default_update_url=0x7f050079; - public static final int delete_dicts=0x7f050298; + public static final int delete_dicts=0x7f050297; /** Playing via SMS is currently disabled. You can enable it in Settings->Network game settings. @@ -1023,16 +1020,16 @@ public final class R { /** */ public static final int dict_browse_nowords_fmt=0x7f0501d3; - public static final int dict_desc_fmt=0x7f05029f; - public static final int dict_host=0x7f0502d0; - public static final int dict_info_fmt=0x7f05029c; + public static final int dict_desc_fmt=0x7f05029e; + public static final int dict_host=0x7f0502cf; + public static final int dict_info_fmt=0x7f05029b; /** label for dropdown by which wordlist is chosen that this player will use. The language the game will use (which constrains the choice of wordlists) is substituted in for "%1$s". */ public static final int dict_lang_label_fmt=0x7f0500d1; - public static final int dict_on_server=0x7f05029e; + public static final int dict_on_server=0x7f05029d; /** string name="invite_mime">text/plainDisplay snapshots of games */ - public static final int dropped_dupe=0x7f050258; + public static final int dropped_dupe=0x7f050257; /** Shown in the main screen when you launch Crosswords from an invitation (received in email or messaging app, say) and there's already a game running that matches that invitation. @@ -1102,24 +1099,24 @@ public final class R { /** Shows in SMS Invite dialog when no phone numbers have been saved previously */ public static final int empty_sms_inviter=0x7f0501fd; - public static final int enable_dupes_summary=0x7f0502e1; - public static final int enable_dupes_title=0x7f0502df; - public static final int enable_nfc=0x7f05025b; - public static final int enable_nfc_toself_summary=0x7f0502e4; - public static final int enable_nfc_toself_title=0x7f0502e3; - public static final int enable_pubroom_summary=0x7f0502bc; - public static final int enable_pubroom_title=0x7f0502bb; + public static final int enable_dupes_summary=0x7f0502e0; + public static final int enable_dupes_title=0x7f0502de; + public static final int enable_nfc=0x7f05025a; + public static final int enable_nfc_toself_summary=0x7f0502e3; + public static final int enable_nfc_toself_title=0x7f0502e2; + public static final int enable_pubroom_summary=0x7f0502bb; + public static final int enable_pubroom_title=0x7f0502ba; /** */ - public static final int enable_sms=0x7f05021a; + public static final int enable_sms=0x7f050219; /** */ - public static final int enable_sms_summary=0x7f05021b; - public static final int enable_sms_toself_summary=0x7f0502e6; - public static final int enable_sms_toself_title=0x7f0502e5; + public static final int enable_sms_summary=0x7f05021a; + public static final int enable_sms_toself_summary=0x7f0502e5; + public static final int enable_sms_toself_title=0x7f0502e4; public static final int entering_trade=0x7f0500d7; - public static final int err_dup_invite_fmt=0x7f0502b6; - public static final int expl_update_url=0x7f0502f0; + public static final int err_dup_invite_fmt=0x7f0502b5; + public static final int expl_update_url=0x7f0502ef; /** if this preference is checked, a dialog will be posted every time a robot makes a move or a move is received from a remote player. @@ -1138,9 +1135,9 @@ public final class R { /** Explanatory text appears in the dialog */ public static final int force_expl=0x7f0500cc; - public static final int force_radio_title=0x7f0502e7; - public static final int force_tablet_summary=0x7f0502a3; - public static final int force_tablet_title=0x7f0502a2; + public static final int force_radio_title=0x7f0502e6; + public static final int force_tablet_summary=0x7f0502a2; + public static final int force_tablet_title=0x7f0502a1; /** ############################################################ # :Dialogs: @@ -1188,7 +1185,7 @@ public final class R { game to make changes */ public static final int game_locked=0x7f0500ab; - public static final int game_name_group_title=0x7f050249; + public static final int game_name_group_title=0x7f050248; /** */ public static final int game_name_label=0x7f0501f4; @@ -1201,15 +1198,15 @@ public final class R { /** Put nothing in the summary space, so it just reads "Game 2" */ public static final int game_summary_field_empty=0x7f050128; - public static final int game_summary_field_gameid=0x7f0502ee; + public static final int game_summary_field_gameid=0x7f0502ed; /** Put the language there, so it reads "Game 2 (English)" */ public static final int game_summary_field_language=0x7f050129; - public static final int game_summary_field_npackets=0x7f0502ef; + public static final int game_summary_field_npackets=0x7f0502ee; /** List names of opponents (summarized), e.g. "Game 2 (vs Kati)" */ public static final int game_summary_field_opponents=0x7f05012a; - public static final int game_summary_field_rowid=0x7f0502ed; + public static final int game_summary_field_rowid=0x7f0502ec; /** List the state of the game, "Game over" or "10 moves made" etc. */ @@ -1222,7 +1219,7 @@ public final class R { public static final int gamel_menu_checkmoves=0x7f05008a; /** */ - public static final int gamel_menu_checkupdates=0x7f050227; + public static final int gamel_menu_checkupdates=0x7f050226; /** ############################################################ # :Menus: @@ -1235,20 +1232,20 @@ public final class R { Brings up the Wordlists (formerly Dictionaries) screen */ public static final int gamel_menu_dicts=0x7f050088; - public static final int gamel_menu_loaddb=0x7f0502de; - public static final int gamel_menu_storedb=0x7f0502dd; - public static final int gamel_menu_study=0x7f050264; + public static final int gamel_menu_loaddb=0x7f0502dd; + public static final int gamel_menu_storedb=0x7f0502dc; + public static final int gamel_menu_study=0x7f050263; /** */ public static final int get_sms_number=0x7f0501fe; - public static final int getinfo=0x7f050297; + public static final int getinfo=0x7f050296; public static final int git_rev=0x7f05007b; - public static final int git_rev_title=0x7f0502d9; - public static final int got_langdict_summary=0x7f0502f2; - public static final int got_langdict_title=0x7f0502f1; + public static final int git_rev_title=0x7f0502d8; + public static final int got_langdict_summary=0x7f0502f1; + public static final int got_langdict_title=0x7f0502f0; public static final int green=0x7f050140; - public static final int group_cur_games=0x7f050246; - public static final int group_new_games=0x7f050247; + public static final int group_cur_games=0x7f050245; + public static final int group_new_games=0x7f050246; /** Used as the default name for remote players displayed within the Game configure screen */ @@ -1311,12 +1308,12 @@ public final class R { public static final int info_title=0x7f050199; /** */ - public static final int inform_dict_diffdict_fmt=0x7f050232; + public static final int inform_dict_diffdict_fmt=0x7f050231; /** */ - public static final int inform_dict_diffversion_fmt=0x7f050230; - public static final int inform_dict_download=0x7f050233; - public static final int inform_dict_title=0x7f050231; + public static final int inform_dict_diffversion_fmt=0x7f05022f; + public static final int inform_dict_download=0x7f050232; + public static final int inform_dict_title=0x7f050230; /** Will new games, on default, randomly rearrange the start order of players. */ @@ -1350,9 +1347,9 @@ public final class R { */ public static final int invite_chooser_fmt=0x7f05016d; public static final int invite_chooser_sms=0x7f05016f; - public static final int invite_dict_missing_body_fmt=0x7f050238; - public static final int invite_dict_missing_body_noname_fmt=0x7f050239; - public static final int invite_dict_missing_title=0x7f050237; + public static final int invite_dict_missing_body_fmt=0x7f050237; + public static final int invite_dict_missing_body_noname_fmt=0x7f050238; + public static final int invite_dict_missing_title=0x7f050236; public static final int invite_host=0x7f050075; /** This is the body of the html version of the invitation. A URL is created with parameters describing the game and @@ -1365,8 +1362,8 @@ public final class R { */ public static final int invite_if_nfc=0x7f0500dd; public static final int invite_mime=0x7f050077; - public static final int invite_multi_summary=0x7f0502ba; - public static final int invite_multi_title=0x7f0502b9; + public static final int invite_multi_summary=0x7f0502b9; + public static final int invite_multi_title=0x7f0502b8; /** Most users create games with only two players, which is the default, but Crosswords supports up to four. When I'm using the above string to encourage the opener of a game missing @@ -1379,7 +1376,7 @@ public final class R { /** */ public static final int invite_progress_title=0x7f0501e1; - public static final int invite_stays=0x7f0502c1; + public static final int invite_stays=0x7f0502c0; /** Send invitation using SMS (texting) or via email? Send invitation using NFC (Android @@ -1542,30 +1539,30 @@ public final class R { different wordlists.) */ public static final int lang_label=0x7f0500b0; - public static final int lang_name_arabic=0x7f050281; - public static final int lang_name_catalan=0x7f050288; - public static final int lang_name_czech=0x7f05028b; - public static final int lang_name_danish=0x7f050285; - public static final int lang_name_dutch=0x7f050287; - public static final int lang_name_english=0x7f05027d; - public static final int lang_name_french=0x7f05027e; - public static final int lang_name_german=0x7f05027f; - public static final int lang_name_greek=0x7f05028c; - public static final int lang_name_italian=0x7f050286; - public static final int lang_name_polish=0x7f050284; - public static final int lang_name_portuguese=0x7f050289; - public static final int lang_name_russian=0x7f05028a; - public static final int lang_name_slovak=0x7f05028d; - public static final int lang_name_spanish=0x7f050282; - public static final int lang_name_swedish=0x7f050283; - public static final int lang_name_turkish=0x7f050280; - public static final int lang_unknown=0x7f0502a0; + public static final int lang_name_arabic=0x7f050280; + public static final int lang_name_catalan=0x7f050287; + public static final int lang_name_czech=0x7f05028a; + public static final int lang_name_danish=0x7f050284; + public static final int lang_name_dutch=0x7f050286; + public static final int lang_name_english=0x7f05027c; + public static final int lang_name_french=0x7f05027d; + public static final int lang_name_german=0x7f05027e; + public static final int lang_name_greek=0x7f05028b; + public static final int lang_name_italian=0x7f050285; + public static final int lang_name_polish=0x7f050283; + public static final int lang_name_portuguese=0x7f050288; + public static final int lang_name_russian=0x7f050289; + public static final int lang_name_slovak=0x7f05028c; + public static final int lang_name_spanish=0x7f050281; + public static final int lang_name_swedish=0x7f050282; + public static final int lang_name_turkish=0x7f05027f; + public static final int lang_unknown=0x7f05029f; public static final int langdict_label=0x7f0500b1; - public static final int list_group_default=0x7f050243; - public static final int list_group_delete=0x7f050241; - public static final int list_group_movedown=0x7f050245; - public static final int list_group_moveup=0x7f050244; - public static final int list_group_rename=0x7f050242; + public static final int list_group_default=0x7f050242; + public static final int list_group_delete=0x7f050240; + public static final int list_group_movedown=0x7f050244; + public static final int list_group_moveup=0x7f050243; + public static final int list_group_rename=0x7f050241; /** ############## menu items ############## pulls up dialog to configure the selected game */ @@ -1596,9 +1593,9 @@ public final class R { public static final int list_item_reset=0x7f050093; /** formatting for last move summary in notifications */ - public static final int lmi_pass_fmt=0x7f0502a8; - public static final int lmi_phony_fmt=0x7f0502a9; - public static final int lmi_tiles_fmt=0x7f0502aa; + public static final int lmi_pass_fmt=0x7f0502a7; + public static final int lmi_phony_fmt=0x7f0502a8; + public static final int lmi_tiles_fmt=0x7f0502a9; /** One of the strings used in the right column of the list of installed wordlists to describe those that are part of Crosswords and that cannot be uninstalled or moved. @@ -1616,32 +1613,32 @@ public final class R { /** */ public static final int loc_external=0x7f0500a7; - public static final int loc_filters_all=0x7f050279; - public static final int loc_filters_menu=0x7f05027b; - public static final int loc_filters_modified=0x7f05027c; - public static final int loc_filters_prompt=0x7f050277; - public static final int loc_filters_screen=0x7f05027a; - public static final int loc_fmts_mismatch=0x7f050292; + public static final int loc_filters_all=0x7f050278; + public static final int loc_filters_menu=0x7f05027a; + public static final int loc_filters_modified=0x7f05027b; + public static final int loc_filters_prompt=0x7f050276; + public static final int loc_filters_screen=0x7f050279; + public static final int loc_fmts_mismatch=0x7f050291; /** see move_dictf above */ public static final int loc_internal=0x7f0500a6; - public static final int loc_item_check=0x7f05028f; + public static final int loc_item_check=0x7f05028e; /** for loc item edit menu */ - public static final int loc_item_clear=0x7f05028e; - public static final int loc_item_copy_bless=0x7f050291; - public static final int loc_item_copy_eng=0x7f050290; - public static final int loc_lang_blessed=0x7f050272; - public static final int loc_lang_local=0x7f050273; - public static final int loc_menu_xlate=0x7f050271; - public static final int loc_search_prompt=0x7f050278; + public static final int loc_item_clear=0x7f05028d; + public static final int loc_item_copy_bless=0x7f050290; + public static final int loc_item_copy_eng=0x7f05028f; + public static final int loc_lang_blessed=0x7f050271; + public static final int loc_lang_local=0x7f050272; + public static final int loc_menu_xlate=0x7f050270; + public static final int loc_search_prompt=0x7f050277; /** This is the "hint" printed in light text in the empty player name field */ public static final int local_name_hint=0x7f050175; - public static final int logging_on=0x7f0502d1; - public static final int logging_on_summary=0x7f0502d2; - public static final int lookup_title=0x7f05026d; + public static final int logging_on=0x7f0502d0; + public static final int logging_on_summary=0x7f0502d1; + public static final int lookup_title=0x7f05026c; /** */ public static final int manual_owner_name=0x7f0501fb; @@ -1666,7 +1663,7 @@ public final class R { /** text of menu that brings up the Settings (preferences) dialog */ public static final int menu_prefs=0x7f050089; - public static final int menu_rateme=0x7f05025f; + public static final int menu_rateme=0x7f05025e; /** */ public static final int menu_toggle_values=0x7f05020c; @@ -1682,11 +1679,11 @@ public final class R { /** body of notification shown when invitation requires a wordslist that's not installed */ - public static final int missing_dict_detail=0x7f050236; + public static final int missing_dict_detail=0x7f050235; /** Title of notification shown when invitation requires a wordslist that's not installed */ - public static final int missing_dict_title=0x7f050235; + public static final int missing_dict_title=0x7f050234; /** Used as a substitute for the names of remote players when they aren't available yet because the connection is not complete. Displayed in the lists of players found in each @@ -1741,16 +1738,16 @@ public final class R { /** Text of progress indicator shown while check is being conducted */ public static final int msgs_progress=0x7f05008b; - public static final int nag_body_fmt=0x7f0502a5; - public static final int nag_intervals=0x7f0502e2; + public static final int nag_body_fmt=0x7f0502a4; + public static final int nag_intervals=0x7f0502e1; /** Nagging: title of notification reminder message */ - public static final int nag_title=0x7f0502a4; + public static final int nag_title=0x7f0502a3; /** above is inserted in this the last time I warn */ - public static final int nag_warn_last_fmt=0x7f0502a6; + public static final int nag_warn_last_fmt=0x7f0502a5; public static final int name_copy_fmt=0x7f0501f5; - public static final int name_dict_fmt=0x7f0502dc; + public static final int name_dict_fmt=0x7f0502db; public static final int nbs_port=0x7f05007a; /** text of checkbox. If this checkbox is checked, games created for network play will by default have the hint feature @@ -1762,19 +1759,19 @@ public final class R { elsewhere in this file) */ public static final int nethints_allowed_sum=0x7f05011f; - public static final int netstats_title=0x7f0502d8; - public static final int network_advanced_summary=0x7f0502b8; - public static final int network_advanced_title=0x7f0502b7; + public static final int netstats_title=0x7f0502d7; + public static final int network_advanced_summary=0x7f0502b7; + public static final int network_advanced_title=0x7f0502b6; public static final int network_behavior=0x7f050150; /** explanation of the above */ public static final int network_behavior_summary=0x7f050151; /** */ - public static final int new_app_avail=0x7f05022c; + public static final int new_app_avail=0x7f05022b; /** */ - public static final int new_app_avail_fmt=0x7f05022b; + public static final int new_app_avail_fmt=0x7f05022a; /** */ public static final int new_bt_body_fmt=0x7f0501e8; @@ -1786,15 +1783,15 @@ public final class R { public static final int new_btmove_title=0x7f0501eb; /** */ - public static final int new_dict_avail=0x7f050229; + public static final int new_dict_avail=0x7f050228; /** */ - public static final int new_dict_avail_fmt=0x7f05022a; - public static final int new_game=0x7f0502af; - public static final int new_game_message=0x7f0502b1; - public static final int new_game_message_net=0x7f0502b3; - public static final int new_game_message_nodflt=0x7f0502b2; - public static final int new_game_networked=0x7f0502b0; + public static final int new_dict_avail_fmt=0x7f050229; + public static final int new_game=0x7f0502ae; + public static final int new_game_message=0x7f0502b0; + public static final int new_game_message_net=0x7f0502b2; + public static final int new_game_message_nodflt=0x7f0502b1; + public static final int new_game_networked=0x7f0502af; /** */ public static final int new_move_body=0x7f0501ec; @@ -1871,9 +1868,9 @@ public final class R { /** */ public static final int newgame_sms_header=0x7f0501f6; - public static final int newgroup_label=0x7f050240; - public static final int nfc_just_tap=0x7f0502c2; - public static final int nfc_to_self=0x7f0502ec; + public static final int newgroup_label=0x7f05023f; + public static final int nfc_just_tap=0x7f0502c1; + public static final int nfc_to_self=0x7f0502eb; /** Title of dialog for renaming game (triggered by selecting list_item_rename) If you try to copy a networked game you get this error @@ -1919,7 +1916,7 @@ public final class R { you get this error message */ public static final int no_games_to_refresh=0x7f05008c; - public static final int no_market=0x7f050260; + public static final int no_market=0x7f05025f; /** displayed when you long-tap a scoreboard entry and there's no most recent score to show */ @@ -1942,7 +1939,7 @@ public final class R { arrow appears. This explains it. */ public static final int not_again_arrow=0x7f0501b4; - public static final int not_again_backclears=0x7f050253; + public static final int not_again_backclears=0x7f050252; /** */ public static final int not_again_browse=0x7f0501d4; @@ -1970,19 +1967,19 @@ public final class R { for games with more than two devices, which are rare. */ public static final int not_again_conndmid=0x7f0501b2; - public static final int not_again_dicts=0x7f0502a1; + public static final int not_again_dicts=0x7f0502a0; /** This is shown when you choose the board_menu_done menu item. It's to let you know that there's a shortcut that does almost the same thing. */ public static final int not_again_done=0x7f0501af; - public static final int not_again_enablepublic=0x7f0502c8; + public static final int not_again_enablepublic=0x7f0502c7; /** Shown when you tap the flip button on the toolbar of the main Board screen */ public static final int not_again_flip=0x7f0501aa; - public static final int not_again_fmt_expl=0x7f050293; - public static final int not_again_hidenewgamebuttons=0x7f0502bf; + public static final int not_again_fmt_expl=0x7f050292; + public static final int not_again_hidenewgamebuttons=0x7f0502be; /** Shown when you tap the next hint button on the toolbar of the main Board screen */ @@ -2006,8 +2003,8 @@ public final class R { /** Shown when you first pick the list_item_new_from menuitem */ public static final int not_again_newfrom=0x7f0501b6; - public static final int not_again_newselect=0x7f050252; - public static final int not_again_studycopy=0x7f05026c; + public static final int not_again_newselect=0x7f050251; + public static final int not_again_studycopy=0x7f05026b; /** The following strings (all whose names start with "not_again") appear in the New user info dialog. @@ -2042,7 +2039,7 @@ public final class R { the main Board screen */ public static final int not_again_zoom=0x7f0501ab; - public static final int note_none=0x7f05029d; + public static final int note_none=0x7f05029c; /** This text is displayed as the "summary" for both of the notify choices above, as extra information. (There could be different strings if it makes more sense in your language.) @@ -2063,7 +2060,7 @@ public final class R { device */ public static final int notify_vibrate=0x7f05015b; - public static final int nplayers_prompt=0x7f0502b5; + public static final int nplayers_prompt=0x7f0502b4; /** text of label identifying the field where human players can enter an option password. The label and field disappear when the robot player checkbox is checked because it makes no @@ -2078,7 +2075,7 @@ public final class R { can tap a nearby person\'s device to invite him/her to play – if he/she is also using NFC. */ - public static final int pct_suffix=0x7f05025e; + public static final int pct_suffix=0x7f05025d; /** If this preference is checked, tapping on the scoreboard entry for any player reveals that player's tiles and any pending move (after asking for his password if one is set.) @@ -2152,17 +2149,17 @@ public final class R { non-networked games */ public static final int players_label_standalone=0x7f0500ac; - public static final int pref_group_l10n_summary=0x7f0502f8; - public static final int pref_group_l10n_title=0x7f0502f7; - public static final int pref_group_relay_summary=0x7f0502f6; - public static final int pref_group_relay_title=0x7f0502f5; - public static final int pref_group_sms_summary=0x7f0502f4; - public static final int pref_group_sms_title=0x7f0502f3; + public static final int pref_group_l10n_summary=0x7f0502f7; + public static final int pref_group_l10n_title=0x7f0502f6; + public static final int pref_group_relay_summary=0x7f0502f5; + public static final int pref_group_relay_title=0x7f0502f4; + public static final int pref_group_sms_summary=0x7f0502f3; + public static final int pref_group_sms_title=0x7f0502f2; /** Label for the first "human player" name preference */ public static final int pref_human_name=0x7f050118; - public static final int pref_item_update_summary=0x7f0502fa; - public static final int pref_item_update_title=0x7f0502f9; + public static final int pref_item_update_summary=0x7f0502f9; + public static final int pref_item_update_title=0x7f0502f8; /** Label for the first player color preference */ public static final int pref_player1_name=0x7f050114; @@ -2239,15 +2236,15 @@ public final class R { public static final int prefs_names_summary=0x7f050113; /** Used when prev player's name can't be looked up */ - public static final int prev_player=0x7f0502a7; - public static final int progress_title=0x7f05029b; + public static final int prev_player=0x7f0502a6; + public static final int progress_title=0x7f05029a; /** */ public static final int prompt_max_len=0x7f0501da; /** */ public static final int prompt_min_len=0x7f0501d9; - public static final int proxy_port=0x7f0502db; + public static final int proxy_port=0x7f0502da; /** Short for "points", this is shown at the right end of the tray in place of the first tile placed along with the points the current move would earn if committed. @@ -2263,10 +2260,10 @@ public final class R { middle of a game, like "do you want to commit this move?" */ public static final int query_title=0x7f0501a0; - public static final int radio_name_cdma=0x7f0502eb; - public static final int radio_name_gsm=0x7f0502ea; - public static final int radio_name_real=0x7f0502e8; - public static final int radio_name_tablet=0x7f0502e9; + public static final int radio_name_cdma=0x7f0502ea; + public static final int radio_name_gsm=0x7f0502e9; + public static final int radio_name_real=0x7f0502e7; + public static final int radio_name_tablet=0x7f0502e8; /** ############################################################ # :Dialogs: @@ -2280,30 +2277,30 @@ public final class R { the color preferences dialog */ public static final int red=0x7f05013f; - public static final int redir_host=0x7f0502cf; + public static final int redir_host=0x7f0502ce; /** Title of dialog used to alert players to relay-related problems with the current game. */ public static final int relay_alert=0x7f0500e1; - public static final int relay_alert_title=0x7f050251; - public static final int relay_host=0x7f0502ce; - public static final int relay_port=0x7f0502da; + public static final int relay_alert_title=0x7f050250; + public static final int relay_host=0x7f0502cd; + public static final int relay_port=0x7f0502d9; /** Shown in toast when relaunching after switching dicts */ - public static final int reload_new_dict_fmt=0x7f050234; - public static final int rematch_msg=0x7f0502c7; - public static final int remote_digesting=0x7f050295; - public static final int remote_empty=0x7f050294; + public static final int reload_new_dict_fmt=0x7f050233; + public static final int rematch_msg=0x7f0502c6; + public static final int remote_digesting=0x7f050294; + public static final int remote_empty=0x7f050293; /** checkbox determining of this player is on this device or remote. If remote, then the rest of the fields disappear (since they will be set by the remote device.) */ public static final int remote_label=0x7f0500cf; - public static final int remote_no_net=0x7f050296; + public static final int remote_no_net=0x7f050295; /** */ public static final int remote_undone=0x7f050204; - public static final int rename_group_label=0x7f050248; + public static final int rename_group_label=0x7f050247; /** text within rename dialog (triggered by selecting list_item_rename) */ @@ -2340,9 +2337,9 @@ public final class R { /** title for popup of public rooms found on server */ public static final int room_public_prompt=0x7f0500b6; - public static final int sel_games_fmt=0x7f050254; - public static final int sel_groups_fmt=0x7f050255; - public static final int sel_items_fmt=0x7f050270; + public static final int sel_games_fmt=0x7f050253; + public static final int sel_groups_fmt=0x7f050254; + public static final int sel_items_fmt=0x7f05026f; /** ############################################################ # :Dialogs: @@ -2354,7 +2351,7 @@ public final class R { possible answers are the three button text strings below. */ public static final int set_default_message_fmt=0x7f0500a1; - public static final int set_pref=0x7f0502be; + public static final int set_pref=0x7f0502bd; /** text of separator marking out other-setting area of the dialog */ public static final int settings_label=0x7f0500b9; @@ -2366,8 +2363,8 @@ public final class R { /** clarification of above */ public static final int show_arrow_summary=0x7f050131; - public static final int show_remote=0x7f050299; - public static final int show_wordlist_browser=0x7f050250; + public static final int show_remote=0x7f050298; + public static final int show_wordlist_browser=0x7f05024f; /** If this preference is checked, the user will not be asked to confirm after selecting the "Turn done" menu (or tapping the points display at the right end of the tray) @@ -2376,17 +2373,17 @@ public final class R { /** explanation of the above */ public static final int skip_confirm_turn_summary=0x7f050147; - public static final int slmenu_clear_sel=0x7f050266; - public static final int slmenu_copy_sel=0x7f050265; - public static final int slmenu_deselect_all=0x7f05026f; - public static final int slmenu_select_all=0x7f05026e; + public static final int slmenu_clear_sel=0x7f050265; + public static final int slmenu_copy_sel=0x7f050264; + public static final int slmenu_deselect_all=0x7f05026e; + public static final int slmenu_select_all=0x7f05026d; public static final int sms_bad_proto_fmt=0x7f0501ea; /** Title of phone number picker during invitation to a game via SMS */ public static final int sms_invite_title=0x7f0501f1; - public static final int sms_ready_text=0x7f05025d; - public static final int square_tiles=0x7f05024d; - public static final int square_tiles_summary=0x7f05024e; + public static final int sms_ready_text=0x7f05025c; + public static final int square_tiles=0x7f05024c; + public static final int square_tiles_summary=0x7f05024d; /** Used in formatting moves and history */ public static final int str_bonus_all=0x7f050108; @@ -2447,7 +2444,7 @@ public final class R { */ public static final int str_phony_rejected=0x7f050104; - public static final int str_placer_fmt=0x7f05022f; + public static final int str_placer_fmt=0x7f05022e; /** Shown when using the the Game configure screen to configure a networked game and you try to make all players local. */ @@ -2463,7 +2460,7 @@ public final class R { /** Used in formatting remote player move summaries */ public static final int str_remote_moved_fmt=0x7f0500fd; - public static final int str_resigned_fmt=0x7f05022e; + public static final int str_resigned_fmt=0x7f05022d; /** ############################################################ # Board info/error dialog messages @@ -2506,7 +2503,7 @@ public final class R { public static final int str_two_tiles_first_move=0x7f05017a; /** Used in formatting final scores display */ - public static final int str_winner_fmt=0x7f05022d; + public static final int str_winner_fmt=0x7f05022c; /** Used in formatting game history (not move summaries since information about the current rack is hidden then) */ @@ -2543,10 +2540,10 @@ public final class R { /** Used in formatting exchange move summaries */ public static final int strss_traded_for_fmt=0x7f050103; - public static final int study_langpick=0x7f050269; - public static final int study_no_lang_fmt=0x7f05026a; - public static final int study_no_lists=0x7f05026b; - public static final int studylist_title_fmt=0x7f050268; + public static final int study_langpick=0x7f050268; + public static final int study_no_lang_fmt=0x7f050269; + public static final int study_no_lists=0x7f05026a; + public static final int studylist_title_fmt=0x7f050267; /** If substituting an existing same-language wordlist by choosing button_substdict user gets to choose from a list of wordlists. This is the title of that list. @@ -2592,12 +2589,12 @@ public final class R { cannot happen. */ public static final int summary_relay_wait_fmt=0x7f050082; - public static final int summary_send_data_sms=0x7f0502d6; + public static final int summary_send_data_sms=0x7f0502d5; /** explanation of the above */ public static final int summary_sort_tiles=0x7f050149; - public static final int summary_studyon=0x7f050263; - public static final int summary_thumbsize=0x7f050256; + public static final int summary_studyon=0x7f050262; + public static final int summary_thumbsize=0x7f050255; /** */ public static final int summary_wait_guest=0x7f0501e4; @@ -2608,7 +2605,7 @@ public final class R { part of the game and that the user should ignore it. */ public static final int tell_unused=0x7f050119; - public static final int thumb_off=0x7f050257; + public static final int thumb_off=0x7f050256; /** color of the tiles' background */ public static final int tile_back=0x7f05013b; @@ -2627,7 +2624,7 @@ public final class R { /** Title of preference in which you select which addressing modes network games will use to communicate */ - public static final int title_addrs_pref=0x7f0502ae; + public static final int title_addrs_pref=0x7f0502ad; /** ############################################################ # :Screens: @@ -2671,19 +2668,19 @@ public final class R { window title */ public static final int title_prefs=0x7f05010b; - public static final int title_send_data_sms=0x7f0502d5; + public static final int title_send_data_sms=0x7f0502d4; /** If this preference is checked, tiles in the rack will be re-ordered alphabetically whenever tiles are added, i.e. after ever move. */ public static final int title_sort_tiles=0x7f050148; - public static final int title_studyon=0x7f050262; + public static final int title_studyon=0x7f050261; /** title of dialog allowing user to pick tiles "face up". (This feature is not yet supported on Android.) */ public static final int title_tile_picker=0x7f05019a; - public static final int update_dicts_fmt=0x7f05029a; - public static final int use_defaults=0x7f0502b4; + public static final int update_dicts_fmt=0x7f050299; + public static final int use_defaults=0x7f0502b3; /** text of checkbox controlling whether there's a game timer */ public static final int use_timer=0x7f0500bc; @@ -2691,24 +2688,24 @@ public final class R { line in a game summary. The \u0020 is a space in xml. */ public static final int vs_join=0x7f050107; - public static final int waiting_title=0x7f0502c0; - public static final int warn_bt_disabled=0x7f050223; - public static final int warn_no_comms=0x7f0502c3; + public static final int waiting_title=0x7f0502bf; + public static final int warn_bt_disabled=0x7f050222; + public static final int warn_no_comms=0x7f0502c2; /** */ public static final int warn_nomobile_fmt=0x7f0501fc; /** */ - public static final int warn_sms_disabled=0x7f050222; + public static final int warn_sms_disabled=0x7f050221; /** */ public static final int warn_unlimited=0x7f050203; /** */ public static final int word_search_hint=0x7f0501ce; - public static final int xlations_enabled_summary=0x7f050275; - public static final int xlations_enabled_title=0x7f050274; - public static final int xlations_locale=0x7f0502e0; + public static final int xlations_enabled_summary=0x7f050274; + public static final int xlations_enabled_title=0x7f050273; + public static final int xlations_locale=0x7f0502df; /** Empty in English, this should contain the name of the translator/creator of the strings.xml file for this language diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index 2692f3769..9e4eb91a8 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -1973,9 +1973,6 @@ Building game summary… - - This is a standalone game. There is - no network status. Network status for game connected via %1$s: diff --git a/xwords4/android/XWords4/res_src/values-ba_CK/strings.xml b/xwords4/android/XWords4/res_src/values-ba_CK/strings.xml index 7bfb7df1e..d224cef03 100644 --- a/xwords4/android/XWords4/res_src/values-ba_CK/strings.xml +++ b/xwords4/android/XWords4/res_src/values-ba_CK/strings.xml @@ -1710,9 +1710,6 @@ Gnidliub emag yrammus… - Siht si a enoladnats emag. Ereht si - on krowten sutats. - Krowten sutats rof emag detcennoc aiv %1$s: diff --git a/xwords4/android/XWords4/res_src/values-ca_PS/strings.xml b/xwords4/android/XWords4/res_src/values-ca_PS/strings.xml index 3ca40d716..cc1ad0316 100644 --- a/xwords4/android/XWords4/res_src/values-ca_PS/strings.xml +++ b/xwords4/android/XWords4/res_src/values-ca_PS/strings.xml @@ -1710,9 +1710,6 @@ BUILDING GAME SUMMARY… - THIS IS A STANDALONE GAME. THERE IS - NO NETWORK STATUS. - NETWORK STATUS FOR GAME CONNECTED VIA %1$s: diff --git a/xwords4/android/XWords4/res_src/values-fr/strings.xml b/xwords4/android/XWords4/res_src/values-fr/strings.xml index 4ef7bf8d3..7ade88bf5 100644 --- a/xwords4/android/XWords4/res_src/values-fr/strings.xml +++ b/xwords4/android/XWords4/res_src/values-fr/strings.xml @@ -2485,11 +2485,6 @@ illimités ? Annulez si vous n\'êtes pas sûr. Création du résumé de la partie… - - - Cette partie est autonome. Il n\'y a pas -d\'état du réseau. diff --git a/xwords4/android/XWords4/res_src/values-pt/strings.xml b/xwords4/android/XWords4/res_src/values-pt/strings.xml index f063f3fbe..da91c1437 100644 --- a/xwords4/android/XWords4/res_src/values-pt/strings.xml +++ b/xwords4/android/XWords4/res_src/values-pt/strings.xml @@ -1723,9 +1723,6 @@ Carregando resumo do jogo... - Este é um jogo local. Não - há informações de rede. - Informações de rede para jogo conectado por %1$s: diff --git a/xwords4/android/XWords4/res_src/values-sk/strings.xml b/xwords4/android/XWords4/res_src/values-sk/strings.xml index b0e1f4c72..a4162beab 100644 --- a/xwords4/android/XWords4/res_src/values-sk/strings.xml +++ b/xwords4/android/XWords4/res_src/values-sk/strings.xml @@ -1212,9 +1212,6 @@ XLATE ME: Network status for game connected via %1$s: - XLATE ME: This is a standalone game. There is - no network status. - XLATE ME: Building game summary… XLATE ME: Browse wordlist diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java index 5d86ba995..a1c7f386e 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java @@ -1251,13 +1251,15 @@ public class BoardDelegate extends DelegateBase public void onStatusClicked() { final String msg = ConnStatusHandler.getStatusText( m_activity, m_connTypes ); - post( new Runnable() { - public void run() { - m_dlgBytes = msg; - m_dlgTitle = R.string.info_title; - showDialog( DlgID.DLG_CONNSTAT ); - } - } ); + if ( null != msg ) { + post( new Runnable() { + public void run() { + m_dlgBytes = msg; + m_dlgTitle = R.string.info_title; + showDialog( DlgID.DLG_CONNSTAT ); + } + } ); + } } public Handler getHandler() diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/ConnStatusHandler.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/ConnStatusHandler.java index 96007d6d3..e9baf00f8 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/ConnStatusHandler.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/ConnStatusHandler.java @@ -176,7 +176,7 @@ public class ConnStatusHandler { { String msg; if ( null == connTypes || 0 == connTypes.size() ) { - msg = LocUtils.getString( context, R.string.connstat_nonet ); + msg = null; } else { StringBuffer sb = new StringBuffer(); String tmp; @@ -294,8 +294,8 @@ public class ConnStatusHandler { public static void draw( Context context, Canvas canvas, Resources res, CommsConnTypeSet connTypes, boolean isSolo ) { - synchronized( s_lockObj ) { - if ( null != s_rect ) { + if ( !isSolo && null != s_rect ) { + synchronized( s_lockObj ) { Rect rect = new Rect( s_rect ); int quarterHeight = rect.height() / 4;