mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
remove debug option that no longer works
(NFC send-to-self would be very different now.)
This commit is contained in:
parent
0153928bcd
commit
ae0d2facb4
15 changed files with 7 additions and 47 deletions
|
@ -1279,10 +1279,7 @@ public class BoardDelegate extends DelegateBase
|
|||
? (SentInvitesInfo)params[0] : null;
|
||||
switch( means ) {
|
||||
case NFC:
|
||||
if ( XWPrefs.getNFCToSelfEnabled( m_activity ) ) {
|
||||
makeConfirmThenBuilder( R.string.nfc_to_self, Action.NFC_TO_SELF )
|
||||
.show();
|
||||
} else if ( ! NFCUtils.nfcAvail( m_activity )[1] ) {
|
||||
if ( ! NFCUtils.nfcAvail( m_activity )[1] ) {
|
||||
showDialogFragment( DlgID.ENABLE_NFC );
|
||||
} else {
|
||||
makeOkOnlyBuilder( R.string.nfc_just_tap ).show();
|
||||
|
|
|
@ -79,7 +79,7 @@ public class InviteChoicesAlert extends DlgDelegateAlert {
|
|||
if ( WiDirWrapper.enabled() ) {
|
||||
add( items, means, R.string.invite_choice_p2p, InviteMeans.WIFIDIRECT );
|
||||
}
|
||||
if ( XWPrefs.getNFCToSelfEnabled( context ) || NFCUtils.nfcAvail( context )[0] ) {
|
||||
if ( NFCUtils.nfcAvail( context )[0] ) {
|
||||
add( items, means, R.string.invite_choice_nfc, InviteMeans.NFC );
|
||||
}
|
||||
add( items, means, R.string.slmenu_copy_sel, InviteMeans.CLIPBOARD );
|
||||
|
|
|
@ -61,11 +61,6 @@ public class XWPrefs {
|
|||
return getPrefsBoolean( context, R.string.key_enable_dup_invite, false );
|
||||
}
|
||||
|
||||
public static boolean getNFCToSelfEnabled( Context context )
|
||||
{
|
||||
return getPrefsBoolean( context, R.string.key_enable_nfc_toself, false );
|
||||
}
|
||||
|
||||
public static boolean getIgnoreFCM( Context context )
|
||||
{
|
||||
String curValue =
|
||||
|
|
|
@ -126,7 +126,6 @@
|
|||
<string name="key_na_dicts">key_na_dicts</string>
|
||||
<string name="key_enable_debug">key_enable_debug</string>
|
||||
<string name="key_enable_dup_invite">key_enable_dup_invite</string>
|
||||
<string name="key_enable_nfc_toself">key_enable_nfc_toself</string>
|
||||
<string name="key_enable_sms_toself">key_enable_sms_toself</string>
|
||||
<string name="key_show_fcm">key_show_fcm2</string>
|
||||
<string name="key_nag_intervals">key_nag_intervals</string>
|
||||
|
|
|
@ -2198,8 +2198,6 @@
|
|||
<string name="xlations_locale">Fake locale for translation</string>
|
||||
<string name="enable_dupes_summary">Accept invitations more than once</string>
|
||||
<string name="nag_intervals">Reminder intervals (minutes1,minutes2,…)</string>
|
||||
<string name="enable_nfc_toself_title">Enable NFC to self</string>
|
||||
<string name="enable_nfc_toself_summary">Fake invitation to aid debugging</string>
|
||||
<string name="enable_sms_toself_title">Short-circuit SMS to self</string>
|
||||
<string name="enable_sms_toself_summary">Skip radio when phone numbers same</string>
|
||||
<string name="force_radio_title">Pretend to have radio</string>
|
||||
|
|
|
@ -390,12 +390,6 @@
|
|||
android:defaultValue="false"
|
||||
/>
|
||||
|
||||
<CheckBoxPreference android:key="@string/key_enable_nfc_toself"
|
||||
android:title="@string/enable_nfc_toself_title"
|
||||
android:summary="@string/enable_nfc_toself_summary"
|
||||
android:defaultValue="false"
|
||||
/>
|
||||
|
||||
<PreferenceScreen android:title="@string/pref_group_relay_title"
|
||||
android:summary="@string/pref_group_relay_summary"
|
||||
android:key="@string/pref_group_relay_title"
|
||||
|
|
|
@ -2204,8 +2204,6 @@
|
|||
<string name="xlations_locale">Ekaf elacol rof noitalsnart</string>
|
||||
<string name="enable_dupes_summary">Tpecca snoitativni erom naht ecno</string>
|
||||
<string name="nag_intervals">Rednimer slavretni ,2setunim,1setunim(...)</string>
|
||||
<string name="enable_nfc_toself_title">Elbane CFN ot fles</string>
|
||||
<string name="enable_nfc_toself_summary">Ekaf noitativni ot dia gniggubed</string>
|
||||
<string name="enable_sms_toself_title">Tiucric-trohs SMS ot fles</string>
|
||||
<string name="enable_sms_toself_summary">Piks oidar nehw enohp srebmun emas</string>
|
||||
<string name="force_radio_title">Dneterp ot evah oidar</string>
|
||||
|
|
|
@ -722,8 +722,6 @@ Introduïu el vostre nom aquí. S\'usarà en crear partides noves. (Podreu
|
|||
<string name="netstats_title">Estadístiques de la partida en xarxa</string>
|
||||
<string name="git_rev_title">ID de la versió de codi font</string>
|
||||
<string name="proxy_port">Port de l\'aparell repetidor</string>
|
||||
<string name="enable_nfc_toself_title">Habilita NFC a un mateix</string>
|
||||
<string name="enable_nfc_toself_summary">Simula la invitació per a ajudar a la depuració</string>
|
||||
<string name="enable_sms_toself_title">SMS curtcircuit a un mateix</string>
|
||||
<string name="force_radio_title">Simula tenir ràdio</string>
|
||||
<string name="radio_name_real">No ho simulis</string>
|
||||
|
@ -980,4 +978,4 @@ aparells seleccionats?</string>
|
|||
<string name="invite_choice_data_sms">SMS de dades</string>
|
||||
<string name="empty_bt_inviter">Encara no s\'ha detectat cap aparell aparellat.</string>
|
||||
<string name="checkbox_archive">Mou a l\'arxiu</string>
|
||||
</resources>
|
||||
</resources>
|
||||
|
|
|
@ -2204,8 +2204,6 @@
|
|||
<string name="xlations_locale">FAKE LOCALE FOR TRANSLATION</string>
|
||||
<string name="enable_dupes_summary">ACCEPT INVITATIONS MORE THAN ONCE</string>
|
||||
<string name="nag_intervals">REMINDER INTERVALS (MINUTES1,MINUTES2,...)</string>
|
||||
<string name="enable_nfc_toself_title">ENABLE NFC TO SELF</string>
|
||||
<string name="enable_nfc_toself_summary">FAKE INVITATION TO AID DEBUGGING</string>
|
||||
<string name="enable_sms_toself_title">SHORT-CIRCUIT SMS TO SELF</string>
|
||||
<string name="enable_sms_toself_summary">SKIP RADIO WHEN PHONE NUMBERS SAME</string>
|
||||
<string name="force_radio_title">PRETEND TO HAVE RADIO</string>
|
||||
|
|
|
@ -740,7 +740,6 @@
|
|||
<string name="gamel_menu_writegit">Git-Informationen in die Zwischenablage kopieren</string>
|
||||
<string name="enable_dupes_summary">Einladungen mehrfach annehmen</string>
|
||||
<string name="nag_intervals">Erinnerungsintervall (Minuten1, Minuten2, …)</string>
|
||||
<string name="enable_nfc_toself_summary">Pseudo-Einladung zur Fehlersuche</string>
|
||||
<string name="radio_name_gsm">GSM</string>
|
||||
<string name="radio_name_cdma">CDMA</string>
|
||||
<string name="got_langdict_title">Standard-Wortliste für Sprache holen</string>
|
||||
|
@ -881,7 +880,6 @@
|
|||
<string name="gamel_menu_storedb">Partien auf SD-Kartie speichern</string>
|
||||
<string name="enable_dupes_title">Doppelte Einladungen annehmen</string>
|
||||
<string name="xlations_locale">Pseudo-Locale zum Übersetzen</string>
|
||||
<string name="enable_nfc_toself_title">NFC-Selbstverbindung aktivieren</string>
|
||||
<string name="enable_sms_toself_title">SMS-Selbstverbindung aktivieren</string>
|
||||
<string name="enable_sms_toself_summary">Mobilfunk weglassen bei gleichen Nummern</string>
|
||||
<string name="force_radio_title">Mobilfunk vortäuschen</string>
|
||||
|
@ -1005,4 +1003,4 @@
|
|||
<string name="not_again_longtap_lookup">Sie können Wörter nachschlagen, BEVOR sie als Züge übertragen werden - durch langes Antippen, genau wie bei gebundenen Wörtern.
|
||||
\n
|
||||
\nVerwenden Sie diese Funktion, um die Gültigkeit von Wörtern zu überprüfen, die Sie spielen möchten, oder um ein unbekanntes Wort als Hinweis nachzuschlagen.</string>
|
||||
</resources>
|
||||
</resources>
|
||||
|
|
|
@ -2924,13 +2924,6 @@ les release builds)</string>
|
|||
<!--XLATE-ME-->
|
||||
<!--<string name="nag_intervals">Reminder intervals (minutes1,minutes2,...)</string>-->
|
||||
<string name="nag_intervals">Intervalles des rappels (minutes1,minutes2,…)</string>
|
||||
<!--XLATE-ME-->
|
||||
<!--<string name="enable_nfc_toself_title">Enable NFC to self</string>-->
|
||||
<string name="enable_nfc_toself_title">Activer la NFC à soi-même</string>
|
||||
<!--XLATE-ME-->
|
||||
<!--<string name="enable_nfc_toself_summary">Fake invitation to aid debugging</string>-->
|
||||
<string name="enable_nfc_toself_summary">Fausse invitation pour aider le
|
||||
débuggage</string>
|
||||
<!--XLATE-ME-->
|
||||
<!--<string name="enable_sms_toself_title">Short-circuit SMS to self</string>-->
|
||||
<string name="enable_sms_toself_title">Court-circuiter les SMS vers soi-même</string>
|
||||
|
@ -3223,4 +3216,4 @@ Vous pouvez la ré-ouvrir pour que la permission soit redemandée. Ou vous pouve
|
|||
<string name="btservice_expl">Cette notification est présente dès que CrossWords tourne en tâche de fond pour recevoir des messages Bluetooth. Elle reste pendant environ 15 minutes après que CrossWords ait démarré ou qu\'un message Bluetooth ait été reçu.</string>
|
||||
<string name="sms_invite_flakey">Cette nouvelle option lance l\'appli SMS par défaut avec une invitation prête à l\'envoie… si elle marche. Les applis SMS sont toutes différentes : certaine sont réticentes.</string>
|
||||
<string name="sms_invite_fail">Impossible de lancer l\'appli SMS</string>
|
||||
</resources>
|
||||
</resources>
|
||||
|
|
|
@ -727,8 +727,6 @@
|
|||
<string name="xlations_locale">翻訳の擬似地域</string>
|
||||
<string name="enable_dupes_summary">2 回以上の招待を受け入れます</string>
|
||||
<string name="nag_intervals">リマインダーの間隔 (分1、分2、...)</string>
|
||||
<string name="enable_nfc_toself_title">自分への NFC を有効にする</string>
|
||||
<string name="enable_nfc_toself_summary">デバッグを支援するための擬似招待状</string>
|
||||
<string name="enable_sms_toself_title">自分に SMS を短絡させる</string>
|
||||
<string name="enable_sms_toself_summary">電話番号が同じときに無線をスキップします</string>
|
||||
<string name="force_radio_title">無線があるとみなす</string>
|
||||
|
@ -1006,4 +1004,4 @@ WiFi ダイレクト経由で接続可能なデバイスはありません。</s
|
|||
<string name="not_again_longtap_lookup">単語を移動としてコミットする前に -- 長押しして、コミットされた単語と同じように単語を調べることができます。
|
||||
\n
|
||||
\nこの機能を使用して、考えている単語の有効性を確認したり、ヒントとして提供される見慣れない単語を調べたりします。</string>
|
||||
</resources>
|
||||
</resources>
|
||||
|
|
|
@ -681,8 +681,6 @@
|
|||
<string name="enable_dupes_title">Godta duplikatinvitasjoner</string>
|
||||
<string name="xlations_locale">Juks til lokale for oversettelse</string>
|
||||
<string name="nag_intervals">Påminnelsesintervall (minutt1,minutt2,…)</string>
|
||||
<string name="enable_nfc_toself_title">Skru på NFC til egen enhet</string>
|
||||
<string name="enable_nfc_toself_summary">Juks til invitasjon for å hjelpe i feilrettingsøyemed</string>
|
||||
<string name="enable_smsproto_title">Bruk ny/eksperimentell SMS-kode</string>
|
||||
<string name="enable_smsproto_summary">(Krever at motparten bruker det også)</string>
|
||||
<string name="nfc_to_self">Send via NFC til egen ehet?</string>
|
||||
|
@ -1002,4 +1000,4 @@
|
|||
<string name="relay_poll_name_no_fcm">Kun prøv: Ingen FCM-meldinger</string>
|
||||
<string name="relay_poll_name_no_polling">Kun FCM: Ingen prøving</string>
|
||||
<string name="relay_poll_name_both">Forvalg: Miks prøving og FCM</string>
|
||||
</resources>
|
||||
</resources>
|
||||
|
|
|
@ -729,8 +729,6 @@
|
|||
<string name="xlations_locale">Neppe taal voor vertalingen</string>
|
||||
<string name="enable_dupes_summary">Accepteer uitnodigingen meer dan eens</string>
|
||||
<string name="nag_intervals">Herinnering intervallen (minuten1,minuten2,...)</string>
|
||||
<string name="enable_nfc_toself_title">Schakel NFC naar zelf in</string>
|
||||
<string name="enable_nfc_toself_summary">Nepuitnodiging om debuggen te ondersteunen</string>
|
||||
<string name="enable_sms_toself_title">Stuur SMS berichten naar zelf</string>
|
||||
<string name="enable_sms_toself_summary">Schakel radio over als telefoonnummers gelijk zijn</string>
|
||||
<string name="force_radio_title">Doe net alsof er een radio is</string>
|
||||
|
|
|
@ -784,8 +784,6 @@
|
|||
<string name="xlations_locale">Fałszywy język do tłumaczenia</string>
|
||||
<string name="enable_dupes_summary">Akceptuj zaproszenia więcej niż raz</string>
|
||||
<string name="nag_intervals">Przypomnienie w odstępach (1 minuty, 2 minut,...)</string>
|
||||
<string name="enable_nfc_toself_title">Włącz NFC dla siebie (samoczynnie\?)</string>
|
||||
<string name="enable_nfc_toself_summary">Fałszywe zaproszenie do pomocy w debugowaniu</string>
|
||||
<string name="enable_sms_toself_title">Akceptuj SMS do siebie</string>
|
||||
<string name="radio_name_gsm">GSM</string>
|
||||
<string name="radio_name_cdma">CDMA</string>
|
||||
|
|
Loading…
Reference in a new issue