Browse Source

Inform people about flash player support

.. and update italian translations again.
master
Andrei Conache 8 years ago
parent
commit
182757e2e6
  1. 8
      app/src/main/java/acr/browser/lightning/fragment/GeneralSettingsFragment.java
  2. 3
      app/src/main/res/values-it/strings.xml
  3. 1
      app/src/main/res/values/strings.xml

8
app/src/main/java/acr/browser/lightning/fragment/GeneralSettingsFragment.java

@ -152,7 +152,13 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
boolean enableJSBool = mPreferenceManager.getJavaScriptEnabled(); boolean enableJSBool = mPreferenceManager.getJavaScriptEnabled();
cbAds.setEnabled(Constants.FULL_VERSION); cbAds.setEnabled(Constants.FULL_VERSION);
cbFlash.setEnabled(API < Build.VERSION_CODES.KITKAT);
if (API < Build.VERSION_CODES.KITKAT) {
cbFlash.setEnabled(true);
} else {
cbFlash.setEnabled(false);
cbFlash.setSummary(getResources().getString(R.string.flash_not_supported));
}
cbImages.setChecked(imagesBool); cbImages.setChecked(imagesBool);
cbJsScript.setChecked(enableJSBool); cbJsScript.setChecked(enableJSBool);

3
app/src/main/res/values-it/strings.xml

@ -183,6 +183,7 @@
<string name="settings_about_explain">Informazioni sulla versione, l\'autore e licenze.</string> <string name="settings_about_explain">Informazioni sulla versione, l\'autore e licenze.</string>
<string name="close_tab">Chiudi scheda</string> <string name="close_tab">Chiudi scheda</string>
<string name="close_all_tabs">Chiudi tutte le schede</string> <string name="close_all_tabs">Chiudi tutte le schede</string>
<string name="close_other_tabs">Chiudi le altre schede</string>
<string name="third_party">Blocca cookies di terze parti</string> <string name="third_party">Blocca cookies di terze parti</string>
<string name="color_mode">Attiva modalità colore</string> <string name="color_mode">Attiva modalità colore</string>
<string name="reading_mode">Modalità lettura</string> <string name="reading_mode">Modalità lettura</string>
@ -221,6 +222,8 @@
<string name="message_added_to_homescreen">Scorciatoia aggiunta</string> <string name="message_added_to_homescreen">Scorciatoia aggiunta</string>
<string name="action_delete_all_bookmarks">Cancella tutti i segnalibri</string> <string name="action_delete_all_bookmarks">Cancella tutti i segnalibri</string>
<string name="swap_bookmarks_and_tabs">Inverti pannello segnalibri con schede</string> <string name="swap_bookmarks_and_tabs">Inverti pannello segnalibri con schede</string>
<string name="dialog_title_close_browser">Chiudi browser</string>
<string name="flash_not_supported">Flash Player non è supportato dal tuo sistema!</string>
<string name="faq">FAQ</string> <string name="faq">FAQ</string>
<string name="faq_description">Domande più frequenti</string> <string name="faq_description">Domande più frequenti</string>

1
app/src/main/res/values/strings.xml

@ -237,6 +237,7 @@
<string name="action_add_to_homescreen">Add to Homescreen</string> <string name="action_add_to_homescreen">Add to Homescreen</string>
<string name="message_added_to_homescreen">Shortcut Added to Homescreen</string> <string name="message_added_to_homescreen">Shortcut Added to Homescreen</string>
<string name="action_delete_all_bookmarks">Delete all bookmarks</string> <string name="action_delete_all_bookmarks">Delete all bookmarks</string>
<string name="flash_not_supported">Flash Player is not supported by your system!</string>
<string name="faq">FAQ</string> <string name="faq">FAQ</string>
<string name="faq_description">Frequently Asked Questions</string> <string name="faq_description">Frequently Asked Questions</string>

Loading…
Cancel
Save