hide dup-mode option on release builds

This commit is contained in:
Eric House 2020-01-31 16:02:47 -08:00
parent f706eb0cc7
commit 64569840f4
10 changed files with 9 additions and 13 deletions

View file

@ -388,6 +388,13 @@ public class PrefsDelegate extends DelegateBase
hideOne( R.string.key_show_fcm, R.string.pref_group_relay_title );
}
if ( BuildConfig.DEBUG ) {
hideOne( R.string.key_logging_on, R.string.advanced_summary );
hideOne( R.string.key_enable_debug, R.string.advanced_summary );
} else {
hideOne( R.string.key_unhide_dupmode, R.string.advanced_summary );
}
if ( CommonPrefs.getDupModeHidden( m_activity ) ) {
hideOne( R.string.key_init_dupmodeon, R.string.key_prefs_defaults );
}

View file

@ -2196,10 +2196,8 @@
<string name="relay_via_http_first_summary">(instead of as fallback for custom protocol)</string>
<string name="dict_host">Wordlist download URL</string>
<string name="logging_on">Enable logging</string>
<string name="logging_on_summary">(release builds only)</string>
<string name="debug_features">Enable debug features</string>
<string name="debug_features_summary">Menuitems etc. (release builds
only)</string>
<string name="debug_features_summary">Menuitems etc.</string>
<string name="board_menu_game_netstats">Network stats</string>
<string name="board_menu_game_showInvites">Show invites</string>
<string name="netstats_title">Game network stats</string>

View file

@ -373,11 +373,11 @@
<!-- For Debugging -->
<PreferenceScreen android:title="@string/advanced"
android:summary="@string/advanced_summary"
android:key="@string/advanced_summary"
>
<CheckBoxPreference android:key="@string/key_logging_on"
android:title="@string/logging_on"
android:summary="@string/logging_on_summary"
android:defaultValue="false"
/>
<CheckBoxPreference android:key="@string/key_enable_debug"

View file

@ -652,7 +652,6 @@ Introduïu el vostre nom aquí. S\'usarà en crear partides noves. (Podreu
<string name="advanced">Per a depuració</string>
<string name="advanced_summary">No hauríeu de necessitar això...</string>
<string name="relay_host">Amfitrió de repetició</string>
<string name="logging_on_summary">(només construccions de desenvolupament)</string>
<string name="debug_features">Habilita les característiques de depuració</string>
<string name="debug_features_summary">Elements del menú, etc. (només construccions de depuració)</string>
<string name="name_dict_fmt">%1$s/%2$s</string>

View file

@ -733,7 +733,6 @@
<string name="disable_nag_summary">Nicht benachrichtigen, egal wie lange ich schon am Zug bin</string>
<string name="advanced">Zur Fehlersuche</string>
<string name="logging_on">Protokollierung aktivieren</string>
<string name="logging_on_summary">(nur bei Release-Builds)</string>
<string name="debug_features">Fehlersuche aktivieren</string>
<string name="board_menu_game_netstats">Netzwerk-Statistiken</string>
<string name="gamel_menu_loaddb">Partien von SD-Karte laden</string>

View file

@ -2864,9 +2864,6 @@ changement, ou l\'éditer pour lui attribuer une façon de se connecter ?</stri
<!--<string name="logging_on">Enable logging</string>-->
<string name="logging_on">Activer les logs</string>
<!--XLATE-ME-->
<!--<string name="logging_on_summary">(release builds only)</string>-->
<string name="logging_on_summary">(seulement pour les release builds)</string>
<!--XLATE-ME-->
<!--<string name="debug_features">Enable debug features</string>-->
<string name="debug_features">Activer les fonctionnalités de débuggage</string>
<!--XLATE-ME-->

View file

@ -710,7 +710,6 @@
<string name="redir_host">リダイレクト ホストを招待</string>
<string name="dict_host">単語リストのダウンロード URL</string>
<string name="logging_on">ログを有効にする</string>
<string name="logging_on_summary">(リリース ビルドのみ)</string>
<string name="debug_features">デバッグ機能を有効にする</string>
<string name="debug_features_summary">メニュー項目等 (リリース ビルドのみ)</string>
<string name="title_send_data_sms">データとして SMS を送信</string>

View file

@ -666,7 +666,6 @@
<string name="relay_host">Relé-vert</string>
<string name="relay_via_http_first">Bruk vev-API-er først</string>
<string name="dict_host">Ordlistenedlastingsnettadresse</string>
<string name="logging_on_summary">(kun utgivelsesbygg)</string>
<string name="debug_features_summary">Menyelementer osv. (kun utgivelsesbygg)</string>
<string name="netstats_title">Spillnettverksstatistikk</string>
<string name="git_rev_title">Kildekodeversjons-ID</string>

View file

@ -712,7 +712,6 @@
<string name="redir_host">Host om uitnodigingen door te sturen</string>
<string name="dict_host">Woordenlijst download URL</string>
<string name="logging_on">Schakel logs in</string>
<string name="logging_on_summary">(enkel uitgegeven versies)</string>
<string name="debug_features">Schakel debug functies in</string>
<string name="debug_features_summary">Menuitems etc. (enkel uitgegeven versies)</string>
<string name="title_send_data_sms">Verstuur SMS als data</string>

View file

@ -765,7 +765,6 @@
<string name="relay_via_http_first_summary">(zamiast jako powrót do niestandardowego protokołu)</string>
<string name="dict_host">Adres URL pobierania listy słów kluczowych</string>
<string name="logging_on">Włącz rejestrowanie</string>
<string name="logging_on_summary">(tylko wersje kompilacji)</string>
<string name="debug_features">Włącz funkcje debugowania</string>
<string name="debug_features_summary">Elementy menu itp. (Tylko wersje kompilacji)</string>
<string name="board_menu_game_netstats">Statystyki sieci</string>