add non-again tip for archive backup

This commit is contained in:
Eric House 2022-06-24 12:34:46 -07:00
parent 6ec78c0441
commit 08a8bc4189
4 changed files with 15 additions and 2 deletions

View file

@ -57,9 +57,10 @@ public class DlgDelegate {
LAUNCH_THEME_CONFIG,
SEND_LOGS,
OPEN_BYOD_DICT,
CLEAR_INT_STATS, // debug only
BACKUP_LOADDB,
BACKUP_OVERWRITE,
BACKUP_RETRY,
CLEAR_INT_STATS, // debug only
// BoardDelegate
UNDO_LAST_ACTION,

View file

@ -1474,6 +1474,10 @@ public class GamesListDelegate extends ListDelegateBase
openWithChecks( rowid, summary );
break;
case BACKUP_LOADDB:
startFileChooser( null );
break;
case BACKUP_OVERWRITE:
ArrayList<SaveWhat> whats = (ArrayList<SaveWhat>)params[0];
Uri uri = Uri.parse((String)params[1]);
@ -1920,7 +1924,10 @@ public class GamesListDelegate extends ListDelegateBase
showDialogFragment( DlgID.BACKUP_LOADSTORE );
break;
case R.id.games_menu_loaddb:
startFileChooser( null );
makeNotAgainBuilder( R.string.not_again_loaddb,
R.string.key_notagain_loaddb,
Action.BACKUP_LOADDB )
.show();
break;
case R.id.games_menu_writegit:

View file

@ -131,6 +131,7 @@
<string name="key_notagain_arrow">key_notagain_arrow</string>
<string name="key_notagain_turnchanged">key_notagain_turnchanged</string>
<string name="key_notagain_newfrom">key_notagain_newfrom</string>
<string name="key_notagain_loaddb">key_notagain_loaddb</string>
<string name="key_notagain_trading">key_notagain_trading</string>
<string name="key_notagain_hidenewgamebuttons">key_notagain_hidenewgamebuttons</string>
<string name="key_na_lookup">key_na_lookup</string>

View file

@ -27,6 +27,10 @@
<string name="archive_expl_games">All games and other data to
identify your device.</string>
<string name="not_again_loaddb">Import settings or game data from a
file you previously saved here, or copied from another
device.</string>
<string name="backup_bad_file_fmt">The file “%1$s” does not
contain CrossWords backup data.</string>