mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
add newbie warning against using Firefox for wordlist downloads.
This commit is contained in:
parent
6a6e5b2f4f
commit
991c042e78
3 changed files with 13 additions and 1 deletions
|
@ -102,6 +102,7 @@
|
|||
<string name="key_notagain_newfrom">key_notagain_newfrom</string>
|
||||
<string name="key_notagain_trading">key_notagain_trading</string>
|
||||
<string name="key_na_lookup">key_na_lookup</string>
|
||||
<string name="key_na_firefox">key_na_firefox</string>
|
||||
<string name="key_na_browse">key_na_browse</string>
|
||||
<string name="key_na_browseall">key_na_browseall</string>
|
||||
<string name="key_na_values">key_na_values</string>
|
||||
|
|
|
@ -2192,4 +2192,9 @@
|
|||
play – if he/she is also using NFC.</string>
|
||||
|
||||
<string name="pct_suffix">\u0020pct.</string>
|
||||
|
||||
<string name="not_again_firefox">If Android gives you a choice of
|
||||
browsers for viewing the wordlists downloads page, DO NOT choose
|
||||
Firefox. Some versions have a bug that can cause the wordlists to
|
||||
be lost.</string>
|
||||
</resources>
|
||||
|
|
|
@ -79,6 +79,7 @@ public class DictsActivity extends XWExpandableListActivity
|
|||
|
||||
// For new callback alternative
|
||||
private static final int DELETE_DICT_ACTION = 1;
|
||||
private static final int DOWNLOAD_DICT_ACTION = 2;
|
||||
|
||||
private static final int MOVE_DICT = DlgDelegate.DIALOG_LAST + 1;
|
||||
private static final int SET_DEFAULT = DlgDelegate.DIALOG_LAST + 2;
|
||||
|
@ -643,6 +644,9 @@ public class DictsActivity extends XWExpandableListActivity
|
|||
clearSelections();
|
||||
}
|
||||
break;
|
||||
case DOWNLOAD_DICT_ACTION:
|
||||
startDownload( (Intent)params[0] );
|
||||
break;
|
||||
default:
|
||||
Assert.fail();
|
||||
}
|
||||
|
@ -665,7 +669,9 @@ public class DictsActivity extends XWExpandableListActivity
|
|||
private void startDownload( int lang, String name )
|
||||
{
|
||||
Intent intent = mkDownloadIntent( this, lang, name );
|
||||
startDownload( intent );
|
||||
showNotAgainDlgThen( R.string.not_again_firefox,
|
||||
R.string.key_na_firefox,
|
||||
DOWNLOAD_DICT_ACTION, intent );
|
||||
}
|
||||
|
||||
private void startDownload( Intent downloadIntent )
|
||||
|
|
Loading…
Reference in a new issue