Browse Source

Merge pull request #485 from xpirt/dev

update italian translations and minor changes
master
Anthony Restaino 8 years ago committed by GitHub
parent
commit
e54afe7584
  1. 2
      app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java
  2. 2
      app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java
  3. 8
      app/src/main/java/acr/browser/lightning/fragment/GeneralSettingsFragment.java
  4. 79
      app/src/main/res/values-it/strings.xml
  5. 3
      app/src/main/res/values/strings.xml

2
app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

@ -2009,6 +2009,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
if (currentTab != null) { if (currentTab != null) {
if (currentTab.canGoBack()) { if (currentTab.canGoBack()) {
currentTab.goBack(); currentTab.goBack();
closeDrawers(null);
} else { } else {
mPresenter.deleteTab(mTabsManager.positionOf(currentTab)); mPresenter.deleteTab(mTabsManager.positionOf(currentTab));
} }
@ -2021,6 +2022,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
if (currentTab != null) { if (currentTab != null) {
if (currentTab.canGoForward()) { if (currentTab.canGoForward()) {
currentTab.goForward(); currentTab.goForward();
closeDrawers(null);
} }
} }
} }

2
app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java

@ -363,7 +363,7 @@ public class LightningDialogBuilder {
uiController.handleNewTab(NewTab.BACKGROUND, url); uiController.handleNewTab(NewTab.BACKGROUND, url);
} }
}, },
new BrowserDialog.Item(R.string.dialog_open_incognito_tab, activity instanceof MainActivity) { new BrowserDialog.Item(R.string.dialog_open_incognito_tab) {
@Override @Override
public void onClick() { public void onClick() {
uiController.handleNewTab(NewTab.INCOGNITO, url); uiController.handleNewTab(NewTab.INCOGNITO, url);

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

@ -155,7 +155,13 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
boolean enableJSBool = mPreferenceManager.getJavaScriptEnabled(); boolean enableJSBool = mPreferenceManager.getJavaScriptEnabled();
cbAds.setEnabled(BuildConfig.FULL_VERSION); cbAds.setEnabled(BuildConfig.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);

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

@ -23,39 +23,40 @@
<string name="action_history">Cronologia</string> <string name="action_history">Cronologia</string>
<string name="action_bookmarks">Segnalibri</string> <string name="action_bookmarks">Segnalibri</string>
<string name="action_add_bookmark">Aggiungi segnalibro</string> <string name="action_add_bookmark">Aggiungi segnalibro</string>
<string name="action_copy">Copia Link</string> <string name="action_copy">Copia indirizzo link</string>
<string name="action_forward">Avanti</string> <string name="action_forward">Avanti</string>
<string name="settings">Impostazioni</string> <string name="settings">Impostazioni</string>
<string name="location">Localizzazione</string> <string name="location">Posizione</string>
<string name="password">Salva password</string> <string name="password">Salva password</string>
<string name="agent">User Agent</string> <string name="agent">User Agent</string>
<string name="flash">Abilita Adobe Flash</string> <string name="flash">Abilita Adobe Flash</string>
<string name="home">Home</string> <string name="home">Pagina iniziale</string>
<string name="fullscreen">Schermo intero</string> <string name="fullscreen">Schermo intero</string>
<string name="java">Abilita JavaScript</string> <string name="java">Abilita JavaScript</string>
<string name="download">Scegli un percorso</string> <string name="download">Scegli un percorso</string>
<string name="settings_advanced">Avanzate</string> <string name="settings_advanced">Avanzate</string>
<string name="apache">Apache License 2.0</string> <string name="apache">Apache License 2.0</string>
<string name="version">Versione app</string> <string name="version">Versione App</string>
<string name="cache">Cancella la cache all\'uscita</string> <string name="cache">Cancella la cache in chiusura</string>
<string name="reflow">Abilita il reflow del testo</string> <string name="reflow">Abilità il reflow del testo</string>
<string name="block">Blocca immagini</string> <string name="block">Blocca immagini</string>
<string name="window">Consenti a siti di aprire nuove schede</string> <string name="window">Consenti a siti di aprire nuove finestre</string>
<string name="cookies">Abilita cookie</string> <string name="version">Versione app</string>
<string name="cookies">Abilita cookies</string>
<string name="importbookmarks">Importa preferiti da browser</string> <string name="importbookmarks">Importa preferiti da browser</string>
<string name="size">Dimensione dei caratteri</string> <string name="size">Dimensione dei caratteri</string>
<string name="recommended">Consigliato</string> <string name="recommended">Consigliato</string>
<string name="search">Motore di ricerca</string> <string name="search">Motore di ricerca</string>
<string name="search_hint">Cerca</string> <string name="search_hint">Cerca</string>
<string name="restore">Ripristina schede chiuse all\'avvio</string>
<string name="stock_browser">Browser di sistema</string>
<string name="stock_browser_unavailable">Nessun browser stock trovato</string>
<string name="stock_browser_available">Browser stock supportato trovato</string>
<string name="fullScreenOption">Nascondi la barra di stato mentre navighi</string>
<string name="clear_cookies">Cancella i cookies</string>
<string name="wideViewPort">Adatta le pagine allo schermo</string> <string name="wideViewPort">Adatta le pagine allo schermo</string>
<string name="overViewMode">Visualizza le pagine alla massima larghezza</string> <string name="overViewMode">Visualizza le pagine alla massima larghezza</string>
<string name="restore">Ripristina le schede precedentemente attive alla riapertura</string>
<string name="supported_browsers_title">Browser supportati</string> <string name="supported_browsers_title">Browser supportati</string>
<string name="stock_browser">Browser di sistema</string>
<string name="stock_browser_unavailable">Nessun browser di sistema rilevato</string>
<string name="stock_browser_available">Rilevato browser di sistema supportato</string>
<string name="fullScreenOption">Nascondi la barra di stato durante la navigazione</string>
<string name="clear_cookies">Cancella i cookie</string>
<string name="clear_history">Cancella la cronologia</string> <string name="clear_history">Cancella la cronologia</string>
<string name="dialog_image">Cosa vuoi fare con questa immagine?</string> <string name="dialog_image">Cosa vuoi fare con questa immagine?</string>
<string name="action_download">Scarica</string> <string name="action_download">Scarica</string>
@ -103,13 +104,12 @@
<string name="action_back">Indietro</string> <string name="action_back">Indietro</string>
<string name="action_find">Trova nella pagina</string> <string name="action_find">Trova nella pagina</string>
<string name="download_pending">Avvio download\u2026</string> <string name="download_pending">Avvio download\u2026</string>
<string name="cannot_download">È possibile scaricare solo da URL \"http\" o \"https\".</string>
<string name="problem_download">URL non supportato: scaricamento fallito</string> <string name="problem_download">URL non supportato: scaricamento fallito</string>
<string name="problem_location_download">Impssibile scaricare nella posizione scelta</string> <string name="problem_location_download">Impssibile scaricare nella posizione scelta</string>
<string name="download_no_sdcard_dlg_title" >Nessuna scheda SD trovata.</string> <string name="download_no_sdcard_dlg_title" >Nessuna scheda SD trovata.</string>
<string name="download_no_sdcard_dlg_msg" >È necessario un archivio per il download.</string> <string name="download_no_sdcard_dlg_msg" >È necessario un archivio per il download.</string>
<string name="download_sdcard_busy_dlg_title">Archivio non disponibile</string> <string name="download_sdcard_busy_dlg_title">Nessuna unità USB disponibile</string>
<string name="download_sdcard_busy_dlg_msg" >L\'archivio è occupato. Per permettere i download, scollega il dispositivo dal computer.</string> <string name="download_sdcard_busy_dlg_msg">Unità USB occupata. Per continuare il download, spegnere l\'unità USB dalla notifica.</string>
<string name="incognito_cookies">Abilita i cookie nella modalità incognito</string> <string name="incognito_cookies">Abilita i cookie nella modalità incognito</string>
<string name="title_flash">Adobe Flash Player</string> <string name="title_flash">Adobe Flash Player</string>
<string name="action_manual">Manuale</string> <string name="action_manual">Manuale</string>
@ -125,7 +125,7 @@
<string name="message_text_copied">Testo copiato negli appunti</string> <string name="message_text_copied">Testo copiato negli appunti</string>
<string name="message_link_copied">Link copiato negli appunti</string> <string name="message_link_copied">Link copiato negli appunti</string>
<string name="custom_url">URL personalizzato</string> <string name="custom_url">URL personalizzato</string>
<string name="message_blocked_local">L\'apertura del file locale è stata bloccata.</string> <string name="message_blocked_local">Caricamento file locale bloccato</string>
<string name="licenses">Licenze Open Source</string> <string name="licenses">Licenze Open Source</string>
<string name="suggestion">Cerca</string> <string name="suggestion">Cerca</string>
<string name="block_ads">Blocca annunci</string> <string name="block_ads">Blocca annunci</string>
@ -175,8 +175,8 @@
<string name="android_open_source_project">Android Open Source Project</string> <string name="android_open_source_project">Android Open Source Project</string>
<string name="hphosts_ad_server_list">hpHosts Ad Server List</string> <string name="hphosts_ad_server_list">hpHosts Ad Server List</string>
<string name="deleted_tab">Scheda precedente riaperta</string> <string name="deleted_tab">Scheda precedente riaperta</string>
<string name="rendering_mode">Gamma</string> <string name="rendering_mode">Modalità Rendering</string>
<string name="name_inverted">Inversa</string> <string name="name_inverted">Inverso</string>
<string name="name_grayscale">Scala di grigi</string> <string name="name_grayscale">Scala di grigi</string>
<string name="name_inverted_grayscale">Scala di grigi inversa</string> <string name="name_inverted_grayscale">Scala di grigi inversa</string>
<string name="name_increase_contrast">Alto contrasto</string> <string name="name_increase_contrast">Alto contrasto</string>
@ -199,8 +199,8 @@
<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="close_other_tabs">Chiudi le altre schede</string>
<string name="third_party">Blocca cookie di terze parti</string> <string name="third_party">Blocca cookies di terze parti</string>
<string name="color_mode">Colora la barra di ricerca</string> <string name="color_mode">Attiva modalità colore</string>
<string name="reading_mode">Modalità lettura</string> <string name="reading_mode">Modalità lettura</string>
<string name="loading">Caricamento&#8230;</string> <string name="loading">Caricamento&#8230;</string>
<string name="loading_failed">Impossibile caricare la pagina web.</string> <string name="loading_failed">Impossibile caricare la pagina web.</string>
@ -225,21 +225,22 @@
<string name="action_rename">Rinomina</string> <string name="action_rename">Rinomina</string>
<string name="title_rename_folder">Rinomina la cartella</string> <string name="title_rename_folder">Rinomina la cartella</string>
<string name="dialog_folder">Cosa vuoi fare con questa cartella?</string> <string name="dialog_folder">Cosa vuoi fare con questa cartella?</string>
<string name="clear_web_storage">Cancella il Web Storage</string> <string name="clear_web_storage">Cancella memoria siti</string>
<string name="clear_web_storage_exit">Cancella il Web Storage all\'uscita</string> <string name="clear_web_storage_exit">Cancella memoria siti in chiusura</string>
<string name="message_web_storage_cleared">Web Storage cancellato</string> <string name="message_web_storage_cleared">Memoria siti cancellata</string>
<string name="hosts_source">Fonte file host</string> <string name="hosts_source">Fonte file host</string>
<string name="settings_adblock">Impostazioni del blocco annunci</string> <string name="settings_adblock">Impostazioni del blocco annunci</string>
<string name="tabs_in_drawer">Sposta le schede nel menu</string> <string name="tabs_in_drawer">Mostra le schede nel menù</string>
<string name="swap_bookmarks_and_tabs">Scambia menu delle schede e segnalibri</string> <string name="do_not_track">\"Non tenere traccia\"</string>
<string name="do_not_track">\'Non tenere traccia\'</string>
<string name="remove_identifying_headers">Rimuovi header di identificazione</string> <string name="remove_identifying_headers">Rimuovi header di identificazione</string>
<string name="action_add_to_homescreen">Aggiungi alla home</string> <string name="action_add_to_homescreen">Aggiungi a schermata Home</string>
<string name="message_added_to_homescreen">Scorciatoia aggiunta</string> <string name="message_added_to_homescreen">Scorciatoia aggiunta</string>
<string name="action_delete_all_bookmarks">Elimina 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="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 frequenti</string> <string name="faq_description">Domande più frequenti</string>
<!-- debug strings --> <!-- debug strings -->
<string name="debug_title">Impostazioni di debug</string> <string name="debug_title">Impostazioni di debug</string>
@ -247,15 +248,15 @@
<string name="app_restart">Riavvia l\'applicazione per applicare le modifiche.</string> <string name="app_restart">Riavvia l\'applicazione per applicare le modifiche.</string>
<!-- Dialogs --> <!-- Dialogs -->
<string name="dialog_open_new_tab">Apri in una nuova scheda</string> <string name="dialog_open_new_tab">Apri in un\'altra scheda</string>
<string name="dialog_open_background_tab">Apri in background</string> <string name="dialog_open_background_tab">Apri in una scheda in background</string>
<string name="dialog_open_incognito_tab">Apri in incognito</string> <string name="dialog_open_incognito_tab">Apri in scheda in incognito</string>
<string name="dialog_remove_bookmark">Elimina segnalibro</string> <string name="dialog_remove_bookmark">Rimuovi segnalibro</string>
<string name="dialog_edit_bookmark">Modifica segnalibro</string> <string name="dialog_edit_bookmark">Modifica segnalibro</string>
<string name="dialog_remove_from_history">Rimuovi dalla cronologia</string> <string name="dialog_remove_from_history">Rimuovi dalla cronologia</string>
<string name="dialog_download_image">Salva immagine</string> <string name="dialog_download_image">Scarica immagine</string>
<string name="dialog_copy_link">Copia link</string> <string name="dialog_copy_link">Copia indirizzo link</string>
<string name="dialog_rename_folder">Rinomina cartella</string> <string name="dialog_rename_folder">Rinomina cartella</string>
<string name="dialog_remove_folder">Elimina cartella</string> <string name="dialog_remove_folder">Rimuovi cartella</string>
<string name="dialog_title_close_browser">Esci</string> <string name="dialog_title_close_browser">Chiudi browser</string>
</resources> </resources>

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

@ -226,6 +226,7 @@
<string name="action_add_to_homescreen">Add to home screen</string> <string name="action_add_to_homescreen">Add to home screen</string>
<string name="message_added_to_homescreen">Shortcut added to home screen</string> <string name="message_added_to_homescreen">Shortcut added to home screen</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>
@ -242,6 +243,8 @@
<string name="dialog_remove_bookmark">Remove bookmark</string> <string name="dialog_remove_bookmark">Remove bookmark</string>
<string name="dialog_edit_bookmark">Edit bookmark</string> <string name="dialog_edit_bookmark">Edit bookmark</string>
<string name="dialog_remove_from_history">Remove from history</string> <string name="dialog_remove_from_history">Remove from history</string>
<string name="dialog_image_new_tab">Open image in new tab</string>
<string name="dialog_image_background_tab">Open image in background tab</string>
<string name="dialog_download_image">Download image</string> <string name="dialog_download_image">Download image</string>
<string name="dialog_copy_link">Copy link</string> <string name="dialog_copy_link">Copy link</string>
<string name="dialog_rename_folder">Rename folder</string> <string name="dialog_rename_folder">Rename folder</string>

Loading…
Cancel
Save