1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-06-30 10:14:04 +00:00

Preparation to move dev branch to github

yep, it's finally here
This commit is contained in:
DrKLO 2014-03-23 03:20:13 +04:00
parent 4ede311055
commit 5141fc1cb2
11 changed files with 126 additions and 111 deletions

5
.gitignore vendored
View File

@ -1,5 +1,8 @@
.idea/
.gradle/
build/
obj/
*.iml
local.properties
local.properties
*.keystore
gradle.properties

View File

@ -18,7 +18,7 @@
package jawnae.pyronet;
import org.telegram.messenger.ConnectionsManager;
import org.telegram.messenger.BuildVars;
import org.telegram.messenger.FileLog;
import java.io.IOException;
@ -30,14 +30,14 @@ public class PyroClientAdapter implements PyroClientListener {
}
public void unconnectableClient(PyroClient client, Exception cause) {
if (ConnectionsManager.DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
FileLog.e("tmessages", "unconnectable");
}
}
public void droppedClient(PyroClient client, IOException cause) {
if (cause != null) {
if (ConnectionsManager.DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
FileLog.e("tmessages", this.getClass().getSimpleName() + ".droppedClient() caught exception: " + cause);
}
}

View File

@ -0,0 +1,18 @@
/*
* This is the source code of Telegram for Android v. 1.3.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2014.
*/
package org.telegram.messenger;
public class BuildVars {
public static boolean DEBUG_VERSION = true;
public static int APP_ID = 2458;
public static String APP_HASH = "5bce48dc7d331e62c955669eb7233217";
public static String HOCKEY_APP_HASH = "your-hockeyapp-api-key-here";
public static String GCM_SENDER_ID = "760348033672";
public static String SEND_LOGS_EMAIL = "email@gmail.com";
}

View File

@ -30,13 +30,6 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ConnectionsManager implements Action.ActionDelegate, TcpConnection.TcpConnectionDelegate {
public static boolean DEBUG_VERSION = true;
public static int APP_ID = 2458;
public static String APP_HASH = "5bce48dc7d331e62c955669eb7233217";
public static String HOCKEY_APP_HASH = "your-hockeyapp-api-key-here";
public static String GCM_SENDER_ID = "760348033672";
public static String SEND_LOGS_EMAIL = "email@gmail.com";
private HashMap<Integer, Datacenter> datacenters = new HashMap<Integer, Datacenter>();
private HashMap<Long, ArrayList<Long>> processedMessageIdsSet = new HashMap<Long, ArrayList<Long>>();
private HashMap<Long, Integer> nextSeqNoInSession = new HashMap<Long, Integer>();
@ -728,7 +721,7 @@ public class ConnectionsManager implements Action.ActionDelegate, TcpConnection.
request.initRequest = true;
TLRPC.initConnection invoke = new TLRPC.initConnection();
invoke.query = object;
invoke.api_id = APP_ID;
invoke.api_id = BuildVars.APP_ID;
try {
invoke.lang_code = Locale.getDefault().getCountry();
invoke.device_model = Build.MANUFACTURER + Build.MODEL;
@ -1637,7 +1630,7 @@ public class ConnectionsManager implements Action.ActionDelegate, TcpConnection.
NetworkMessage networkMessage = messages.get(0);
TLRPC.TL_protoMessage message = networkMessage.protoMessage;
if (DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
if (message.body instanceof TLRPC.invokeWithLayer12) {
FileLog.d("tmessages", sessionId + ":DC" + datacenter.datacenterId + "> Send message (" + message.seqno + ", " + message.msg_id + "): " + ((TLRPC.invokeWithLayer12)message.body).query);
} else if (message.body instanceof TLRPC.initConnection) {
@ -1677,7 +1670,7 @@ public class ConnectionsManager implements Action.ActionDelegate, TcpConnection.
for (NetworkMessage networkMessage : messages) {
TLRPC.TL_protoMessage message = networkMessage.protoMessage;
containerMessages.add(message);
if (DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
if (message.body instanceof TLRPC.invokeWithLayer12) {
FileLog.d("tmessages", sessionId + ":DC" + datacenter.datacenterId + "> Send message (" + message.seqno + ", " + message.msg_id + "): " + ((TLRPC.invokeWithLayer12)message.body).query);
} else if (message.body instanceof TLRPC.initConnection) {
@ -2445,7 +2438,7 @@ public class ConnectionsManager implements Action.ActionDelegate, TcpConnection.
} else {
connectionState = 1;
}
if (DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
try {
ConnectivityManager cm = (ConnectivityManager)ApplicationLoader.applicationContext.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo[] networkInfos = cm.getAllNetworkInfo();

View File

@ -514,7 +514,7 @@ public class ContactsController {
Utilities.RunOnUIThread(new Runnable() {
@Override
public void run() {
if (ConnectionsManager.DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
FileLog.e("tmessages", "need delete contacts");
for (HashMap.Entry<Integer, Contact> c : contactHashMap.entrySet()) {
Contact contact = c.getValue();
@ -590,7 +590,7 @@ public class ContactsController {
if (request) {
if (!toImport.isEmpty()) {
if (ConnectionsManager.DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
FileLog.e("tmessages", "start import contacts");
for (TLRPC.TL_inputPhoneContact contact : toImport) {
FileLog.e("tmessages", "add contact " + contact.first_name + " " + contact.last_name + " " + contact.phone);
@ -613,7 +613,7 @@ public class ContactsController {
MessagesStorage.getInstance().putCachedPhoneBook(contactsMap);
}
TLRPC.TL_contacts_importedContacts res = (TLRPC.TL_contacts_importedContacts)response;
if (ConnectionsManager.DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
for (TLRPC.User user : res.users) {
FileLog.e("tmessages", "received user " + user.first_name + " " + user.last_name + " " + user.phone);
}
@ -776,7 +776,7 @@ public class ContactsController {
if (user != null) {
usersDict.put(user.id, user);
if (ConnectionsManager.DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
FileLog.e("tmessages", "loaded user contact " + user.first_name + " " + user.last_name + " " + user.phone);
}
}
@ -1398,7 +1398,7 @@ public class ContactsController {
contactsParams.add(c);
req.contacts = contactsParams;
req.replace = false;
if (ConnectionsManager.DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
FileLog.e("tmessages", "add contact " + user.first_name + " " + user.last_name + " " + user.phone);
}
ConnectionsManager.getInstance().performRpc(req, new RPCRequest.RPCRequestDelegate() {
@ -1410,7 +1410,7 @@ public class ContactsController {
final TLRPC.TL_contacts_importedContacts res = (TLRPC.TL_contacts_importedContacts)response;
MessagesStorage.getInstance().putUsersAndChats(res.users, null, true, true);
if (ConnectionsManager.DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
for (TLRPC.User user : res.users) {
FileLog.e("tmessages", "received user " + user.first_name + " " + user.last_name + " " + user.phone);
}

View File

@ -40,7 +40,7 @@ public class FileLog {
}
public FileLog() {
if (!ConnectionsManager.DEBUG_VERSION) {
if (!BuildVars.DEBUG_VERSION) {
return;
}
dateFormat = FastDateFormat.getInstance("dd_MM_yyyy_HH_mm_ss", Locale.US);
@ -70,7 +70,7 @@ public class FileLog {
}
public static void e(final String tag, final String message, final Throwable exception) {
if (!ConnectionsManager.DEBUG_VERSION) {
if (!BuildVars.DEBUG_VERSION) {
return;
}
Log.e(tag, message, exception);
@ -91,7 +91,7 @@ public class FileLog {
}
public static void e(final String tag, final String message) {
if (!ConnectionsManager.DEBUG_VERSION) {
if (!BuildVars.DEBUG_VERSION) {
return;
}
Log.e(tag, message);
@ -111,7 +111,7 @@ public class FileLog {
}
public static void e(final String tag, final Exception e) {
if (!ConnectionsManager.DEBUG_VERSION) {
if (!BuildVars.DEBUG_VERSION) {
return;
}
e.printStackTrace();
@ -137,7 +137,7 @@ public class FileLog {
}
public static void d(final String tag, final String message) {
if (!ConnectionsManager.DEBUG_VERSION) {
if (!BuildVars.DEBUG_VERSION) {
return;
}
Log.d(tag, message);

View File

@ -27,6 +27,7 @@ import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesUtil;
import com.google.android.gms.gcm.GoogleCloudMessaging;
import org.telegram.messenger.BuildVars;
import org.telegram.messenger.ConnectionsManager;
import org.telegram.messenger.FileLog;
import org.telegram.messenger.MessagesController;
@ -228,7 +229,7 @@ public class ApplicationLoader extends Application {
while (count < 1000) {
try {
count++;
regid = gcm.register(ConnectionsManager.GCM_SENDER_ID);
regid = gcm.register(BuildVars.GCM_SENDER_ID);
sendRegistrationIdToBackend(true);
storeRegistrationId(applicationContext, regid);
return true;

View File

@ -35,6 +35,7 @@ import android.widget.TextView;
import android.widget.Toast;
import org.telegram.PhoneFormat.PhoneFormat;
import org.telegram.messenger.BuildVars;
import org.telegram.messenger.ConnectionsManager;
import org.telegram.messenger.FileLog;
import org.telegram.messenger.MessagesController;
@ -526,12 +527,12 @@ public class LaunchActivity extends ActionBarActivity implements NotificationCen
}
private void checkForCrashes() {
CrashManager.register(this, ConnectionsManager.HOCKEY_APP_HASH);
CrashManager.register(this, BuildVars.HOCKEY_APP_HASH);
}
private void checkForUpdates() {
if (ConnectionsManager.DEBUG_VERSION) {
UpdateManager.register(this, ConnectionsManager.HOCKEY_APP_HASH);
if (BuildVars.DEBUG_VERSION) {
UpdateManager.register(this, BuildVars.HOCKEY_APP_HASH);
}
}

View File

@ -26,6 +26,7 @@ import android.widget.EditText;
import android.widget.TextView;
import org.telegram.PhoneFormat.PhoneFormat;
import org.telegram.messenger.BuildVars;
import org.telegram.messenger.LocaleController;
import org.telegram.messenger.TLObject;
import org.telegram.messenger.TLRPC;
@ -328,8 +329,8 @@ public class LoginActivityPhoneView extends SlideView implements AdapterView.OnI
TLRPC.TL_auth_sendCode req = new TLRPC.TL_auth_sendCode();
String phone = PhoneFormat.stripExceptNumbers("" + codeField.getText() + phoneField.getText());
ConnectionsManager.getInstance().applyCountryPortNumber(phone);
req.api_hash = ConnectionsManager.APP_HASH;
req.api_id = ConnectionsManager.APP_ID;
req.api_hash = BuildVars.APP_HASH;
req.api_id = BuildVars.APP_ID;
req.sms_type = 0;
req.phone_number = phone;
req.lang_code = Locale.getDefault().getCountry();

View File

@ -34,6 +34,7 @@ import android.widget.TextView;
import android.widget.Toast;
import org.telegram.PhoneFormat.PhoneFormat;
import org.telegram.messenger.BuildVars;
import org.telegram.messenger.LocaleController;
import org.telegram.messenger.SerializedData;
import org.telegram.messenger.TLClassStore;
@ -169,7 +170,7 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
textSizeRow = rowCount++;
sendByEnterRow = rowCount++;
supportSectionRow = rowCount++;
if (ConnectionsManager.DEBUG_VERSION) {
if (BuildVars.DEBUG_VERSION) {
sendLogsRow = rowCount++;
clearLogsRow = rowCount++;
}
@ -484,7 +485,7 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
}
Intent i = new Intent(Intent.ACTION_SEND_MULTIPLE);
i.setType("message/rfc822") ;
i.putExtra(Intent.EXTRA_EMAIL, new String[]{ConnectionsManager.SEND_LOGS_EMAIL});
i.putExtra(Intent.EXTRA_EMAIL, new String[]{BuildVars.SEND_LOGS_EMAIL});
i.putExtra(Intent.EXTRA_SUBJECT, "last logs");
i.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris);
startActivity(Intent.createChooser(i, "Select email application."));

View File

@ -45,10 +45,10 @@
<string name="AwaitingEncryption">In attesa che %s si colleghi…</string>
<string name="EncryptionRejected">Chat segreta annullata</string>
<string name="EncryptionProcessing">Scambio delle chiavi di cifratura...</string>
<string name="EncryptedChatStartedOutgoing">%s si è unito alla tua chat segreta.</string>
<string name="EncryptedChatStartedOutgoing">%s si è unito alla chat segreta.</string>
<string name="EncryptedChatStartedIncoming">Sei entrato nella chat segreta.</string>
<string name="ClearHistory">Cancella cronologia</string>
<string name="DeleteChat">Elimina ed esci</string>
<string name="DeleteChat">Abbandona</string>
<string name="HiddenName">Nome nascosto</string>
<string name="SelectChat">Seleziona chat</string>
@ -57,9 +57,9 @@
<string name="FreeOfTotal">Liberi %1$s di %2$s</string>
<string name="UnknownError">Errore sconosciuto</string>
<string name="AccessError">Errore durante l\'accesso</string>
<string name="NoFiles">Non ci sono ancora file...</string>
<string name="NoFiles">Non ci sono file...</string>
<string name="FileUploadLimit">La dimensione del file non dovrebbe superare i %1$s</string>
<string name="NotMounted">Archiviazione non montata</string>
<string name="NotMounted">Memoria non montata</string>
<string name="UsbActive">Trasferimento USB attivo</string>
<string name="InternalStorage">Archiviazione interna</string>
<string name="ExternalStorage">Archiviazione esterna</string>
@ -68,10 +68,10 @@
<!--chat view-->
<string name="Invisible">invisibile</string>
<string name="Typing">scrivendo</string>
<string name="Typing">sta scrivendo</string>
<string name="Attach">Allega</string>
<string name="IsTyping">sta scrivendo</string>
<string name="AreTyping">stanno scrivendo…</string>
<string name="IsTyping">sta scrivendo</string>
<string name="AreTyping">scrivono</string>
<string name="AndMoreTyping">e altre %d persone</string>
<string name="GotAQuestion">Hai una domanda\nsu Telegram?</string>
<string name="ChatTakePhoto">Scatta una foto</string>
@ -79,42 +79,41 @@
<string name="ChatLocation">Posizione</string>
<string name="ChatVideo">Video</string>
<string name="ChatDocument">Documento</string>
<string name="NoMessages">Non ci sono ancora messaggi…</string>
<string name="NoMessages">Non ci sono messaggi…</string>
<string name="ViewPhoto">Visualizza foto</string>
<string name="ViewLocation">Visualizza posizione</string>
<string name="ViewVideo">Riproduci video</string>
<string name="ForwardedMessage">Messaggio inoltrato</string>
<string name="From">Da</string>
<string name="NoRecent">Nessuno recente</string>
<string name="Members">membri</string>
<string name="NoRecent">Nessuno messaggio recente</string>
<string name="Members">persone</string>
<string name="Message">Messaggio</string>
<string name="TypeMessage">Scrivi il messaggio</string>
<string name="TypeMessage">Invia un messaggio</string>
<string name="DOWNLOAD">Scarica</string>
<string name="Selected">Selezionato:</string>
<string name="ShareMyContactInfo">CONDIVIDI LE MIE INFORMAZIONI DI CONTATTO</string>
<string name="AddToContacts">AGGIUNGI AI CONTATTI</string>
<string name="EncryptedPlaceholderTitleIncoming">%s ti ha mandato un invito a una chat privata.</string>
<string name="EncryptedPlaceholderTitleOutgoing">Hai invitato %s a entrare in una chat segreta.</string>
<string name="EncryptedDescriptionTitle">Chat segrete:</string>
<string name="EncryptedPlaceholderTitleIncoming">%s ti ha invitato a partecipare ad una chat privata.</string>
<string name="EncryptedPlaceholderTitleOutgoing">Hai invitato %s a partecipare ad una chat segreta.</string>
<string name="EncryptedDescriptionTitle">Le chat segrete:</string>
<string name="EncryptedDescription1">Utilizzano la cifratura punto-punto</string>
<string name="EncryptedDescription2">Non lasciano traccia sui nostri server</string>
<string name="EncryptedDescription3">Hanno un contatore di autodistruzione</string>
<string name="EncryptedDescription3">Hanno un sistema di autodistruzione dei messaggi</string>
<string name="EncryptedDescription4">Non permettono linoltro</string>
<string name="OneNewMessage">%1$d nuovo messaggio</string>
<string name="FewNewMessages">%1$d nuovi messaggi</string>
<string name="YouWereKicked">Sei stato espulso da questo gruppo</string>
<string name="YouLeft">Hai lasciato il gruppo</string>
<string name="YouLeft">Hai abbandonato il gruppo</string>
<string name="DeleteThisGroup">Elimina questo gruppo</string>
<string name="SlideToCancel">TRASCINA PER ANNULLARE</string>
<string name="SaveToDownloads">Salva in download</string>
<!--notification-->
<string name="EncryptedChatRequested">Chat segreta richiesta</string>
<string name="EncryptedChatAccepted">Chat segreta iniziata</string>
<string name="MessageLifetimeChanged">%1$s imposta il contatore di autodistruzione a %2$s</string>
<string name="MessageLifetimeChangedOutgoing">Hai impostato il contatore di autodistruzione a %1$s</string>
<string name="MessageLifetimeRemoved">%1$s ha disabilitato il contatore di autodistruzione</string>
<string name="MessageLifetimeYouRemoved">Hai disabilitato il contatore di autodistruzione</string>
<string name="EncryptedChatAccepted">Chat segreta avviata</string>
<string name="MessageLifetimeChanged">%1$s ha impostato l\'autodistruzione dopo %2$s</string>
<string name="MessageLifetimeChangedOutgoing">Autodistruzione dopo %1$s</string>
<string name="MessageLifetimeRemoved">%1$s ha disabilitato l\'autodistruzione</string>
<string name="MessageLifetimeYouRemoved">Autodistruzione disabilitata</string>
<string name="MessageLifetime2s">2 secondi</string>
<string name="MessageLifetime5s">5 secondi</string>
<string name="MessageLifetime1m">1 minuto</string>
@ -127,47 +126,47 @@
<string name="NotificationMessagePhoto">%1$s ti ha inviato una foto</string>
<string name="NotificationMessageVideo">%1$s ti ha inviato un video</string>
<string name="NotificationMessageContact">%1$s ha condiviso un contatto con te</string>
<string name="NotificationMessageMap">%1$s ti ha inviato una posizione</string>
<string name="NotificationMessageMap">%1$s ti ha condiviso una posizione</string>
<string name="NotificationMessageDocument">%1$s ti ha inviato un documento</string>
<string name="NotificationMessageAudio">%1$s ti ha inviato dell\'audio</string>
<string name="NotificationMessageAudio">%1$s ti ha inviato un messaggio audio</string>
<string name="NotificationMessageGroupText">%1$s @ %2$s: %3$s</string>
<string name="NotificationMessageGroupNoText">%1$s ha inviato un messaggio al gruppo %2$s</string>
<string name="NotificationMessageGroupPhoto">%1$s ha inviato una foto al gruppo %2$s</string>
<string name="NotificationMessageGroupVideo">%1$s ha inviato un video al gruppo %2$s</string>
<string name="NotificationMessageGroupContact">%1$s ha condiviso un contatto con il gruppo %2$s</string>
<string name="NotificationMessageGroupMap">%1$s ha inviato una posizione al gruppo %2$s</string>
<string name="NotificationMessageGroupMap">%1$s ha condiviso la posizione con il gruppo %2$s</string>
<string name="NotificationMessageGroupDocument">%1$s ha inviato un documento al gruppo %2$s</string>
<string name="NotificationMessageGroupAudio">%1$s ha inviato dell\'audio al gruppo %2$s</string>
<string name="NotificationInvitedToGroup">%1$s ti ha invitato nel gruppo %2$s</string>
<string name="NotificationMessageGroupAudio">%1$s ha inviato un messaggio audio al gruppo %2$s</string>
<string name="NotificationInvitedToGroup">%1$s ti ha aggiunto al gruppo %2$s</string>
<string name="NotificationEditedGroupName">%1$s ha modificato il nome del gruppo %2$s</string>
<string name="NotificationEditedGroupPhoto">%1$s ha modificato la foto del gruppo %2$s</string>
<string name="NotificationGroupAddMember">%1$s ha invitato %3$s nel gruppo %2$s</string>
<string name="NotificationGroupAddMember">%1$s ha aggiunto %3$s al gruppo %2$s</string>
<string name="NotificationGroupKickMember">%1$s ha rimosso %3$s dal gruppo %2$s</string>
<string name="NotificationGroupKickYou">%1$s ti ha rimosso dal gruppo %2$s</string>
<string name="NotificationGroupLeftMember">%1$s ha lasciato il gruppo %2$s</string>
<string name="NotificationContactJoined">%1$s ha iniziato a usare Telegram!</string>
<string name="NotificationUnrecognizedDevice">%1$s,\nAbbiamo rilevato un accesso al tuo account da un nuovo dispositivo %2$s\n\nDispositivo: %3$s\nPosizione: %4$s\n\nSe non sei stato tu, puoi andare su Impostazioni - Termina tutte le sessioni.\n\nGrazie,\nla squadra di Telegram</string>
<string name="NotificationContactJoined">Anche %1$s usa Telegram!</string>
<string name="NotificationUnrecognizedDevice">%1$s,\nAbbiamo rilevato un accesso al tuo account da un nuovo dispositivo %2$s\n\nDispositivo: %3$s\nPosizione: %4$s\n\nSe non sei stato tu, puoi andare su Impostazioni - Termina tutte le sessioni.\n\nGrazie,\nil team di Telegram</string>
<string name="NotificationContactNewPhoto">%1$s ha aggiornato la foto del profilo</string>
<!--contacts view-->
<string name="SelectContact">Seleziona contatto</string>
<string name="SelectContact">Seleziona un contatto</string>
<string name="NoContacts">Ancora nessun contatto</string>
<string name="InviteText">Ciao, passa a Telegram: http://telegram.org/dl2</string>
<string name="TodayAt">oggi alle</string>
<string name="YesterdayAt">ieri alle</string>
<string name="OtherAt">alle</string>
<string name="Online">in linea</string>
<string name="Offline">non in linea</string>
<string name="Online">online</string>
<string name="Offline">disconnesso</string>
<string name="LastSeen">ultimo accesso</string>
<string name="LastSeenDate">ultimo accesso</string>
<string name="InviteFriends">Invita amici</string>
<!--group create view-->
<string name="SendMessageTo">Invia messaggio a...</string>
<string name="EnterGroupNamePlaceholder">Immetti il nome del gruppo</string>
<string name="MEMBER">MEMBRO</string>
<string name="SendMessageTo">Chat di gruppo con...</string>
<string name="EnterGroupNamePlaceholder">Nome del gruppo</string>
<string name="MEMBER">PERSONA</string>
<string name="GroupName">Nome gruppo</string>
<string name="MEMBERS">MEMBRI</string>
<string name="MEMBERS">PERSONE</string>
<string name="AllContacts">TUTTI I CONTATTI</string>
<!--group info view-->
@ -176,8 +175,8 @@
<string name="GroupInfo">Info gruppo</string>
<string name="SHAREDMEDIA">MEDIA CONDIVISI</string>
<string name="SETTINGS">IMPOSTAZIONI</string>
<string name="AddMember">Aggiungi membro</string>
<string name="DeleteAndExit">Elimina e lascia il gruppo</string>
<string name="AddMember">Aggiungi un contatto</string>
<string name="DeleteAndExit">Abbandona il gruppo</string>
<string name="Notifications">Notifiche</string>
<string name="KickFromGroup">Rimuovi dal gruppo</string>
@ -196,63 +195,62 @@
<string name="PHONE">TELEFONO</string>
<string name="StartEncryptedChat">Inizia chat segreta</string>
<string name="CreateEncryptedChatError">Si è verificato un errore.</string>
<string name="CreateEncryptedChatOutdatedError">Impossibile creare una chat segreta con %1$s.\n\n%2$s sta usando una vecchia versione di Telegram e deve prima aggiornarla.</string>
<string name="CreateEncryptedChatOutdatedError">Impossibile creare una chat segreta con %1$s.\n\n%2$s sta usando una vecchia versione di Telegram.</string>
<string name="SecretTitle">Chat segreta</string>
<string name="EncryptionKey">Chiave di cifratura</string>
<string name="MessageLifetime">Contatore di autodistruzione</string>
<string name="ShortMessageLifetimeForever">Spento</string>
<string name="MessageLifetime">Autodistruzione messaggi</string>
<string name="ShortMessageLifetimeForever">Non attiva</string>
<string name="ShortMessageLifetime2s">2s</string>
<string name="ShortMessageLifetime5s">5s</string>
<string name="ShortMessageLifetime1m">1m</string>
<string name="ShortMessageLifetime1h">1h</string>
<string name="ShortMessageLifetime1d">1g</string>
<string name="ShortMessageLifetime1w">1sett</string>
<string name="EncryptionKeyDescription">Questa immagine è una visualizzazione della chiave di cifratura per questa chat segreta con <![CDATA[<b>]]>%1$s<![CDATA[</b>]]>.<![CDATA[<br><br>]]>Se questa immagine è uguale sul telefono di <![CDATA[<b>]]>%2$s<![CDATA[</b>]]>, la chat è sicura al 200%%.<![CDATA[<br><br>]]>Per saperne di più, visita Telegram.org</string>
<string name="EncryptionKeyDescription">Questa immagine è una visualizzazione della chiave di cifratura per questa chat segreta con <![CDATA[<b>]]>%1$s<![CDATA[</b>]]>.<![CDATA[<br><br>]]>Se l\'immagine è uguale sul suo telefono, la chat è sicura al 200%%.<![CDATA[<br><br>]]>Per saperne di più, visita Telegram.org</string>
<!--settings view-->
<string name="ResetNotificationsText">Ripristina tutte le impostazioni di notifica predefinite</string>
<string name="TextSize">Dimensione testo messaggi</string>
<string name="ResetNotificationsText">Impostazioni predefinite ripristinate</string>
<string name="TextSize">Dimensione del testo</string>
<string name="AskAQuestion">Fai una domanda</string>
<string name="EnableAnimations">Abilita animazioni</string>
<string name="Unblock">Sblocca</string>
<string name="UnblockText">Tieni premuto sullutente per sbloccarlo.</string>
<string name="NoBlocked">Ancora nessun utente bloccato</string>
<string name="YourPhoneNumber">IL TUO NUMERO DI TELEFONO</string>
<string name="MessageNotifications">NOTIFICHE MESSAGGI</string>
<string name="NoBlocked">Nessun utente bloccato</string>
<string name="YourPhoneNumber">IL TUO NUMERO</string>
<string name="MessageNotifications">NOTIFICHE CHAT</string>
<string name="Alert">Avviso</string>
<string name="MessagePreview">Anteprima messaggio</string>
<string name="GroupNotifications">NOTIFICHE DI GRUPPO</string>
<string name="Sound">Suoni</string>
<string name="GroupNotifications">NOTIFICHE CHAT DI GRUPPO</string>
<string name="Sound">Tono notifiche</string>
<string name="InAppNotifications">NOTIFICHE IN-APP</string>
<string name="InAppSounds">Suoni in-app</string>
<string name="InAppVibrate">Vibrazione in-app</string>
<string name="Vibrate">Vibrazione</string>
<string name="InAppPreview">Anteprima in-app</string>
<string name="Reset">RIPRISTINA</string>
<string name="ResetAllNotifications">Ripristina tutte le notifiche</string>
<string name="ResetAllNotifications">Ripristina notifiche</string>
<string name="UndoAllCustom">Annulla tutte le impostazioni di notifica personalizzate per tutti i tuoi contatti e gruppi</string>
<string name="NotificationsAndSounds">Notifiche e suoni</string>
<string name="NotificationsAndSounds">Notifiche e toni</string>
<string name="BlockedUsers">Utenti bloccati</string>
<string name="SaveIncomingPhotos">Salva foto ricevute</string>
<string name="LogOut">Disconnetti</string>
<string name="YourFirstNameAndLastName">IL TUO NOME E COGNOME</string>
<string name="NoSound">Nessun suono</string>
<string name="YourFirstNameAndLastName">I TUOI DATI</string>
<string name="NoSound">Nessuno</string>
<string name="Default">Predefinito</string>
<string name="Support">SUPPORTO</string>
<string name="ChatBackground">Sfondo chat</string>
<string name="MessagesSettings">MESSAGGI</string>
<string name="SendByEnter">Spedisci con Invio</string>
<string name="TerminateAllSessions">Chiudi tutte le altre sessioni</string>
<string name="AutomaticPhotoDownload">SCARICAMENTO AUTOMATICO FOTO</string>
<string name="AutomaticAudioDownload">SCARICAMENTO AUDIO AUTOMATICO</string>
<string name="AutomaticPhotoDownloadGroups">Gruppi</string>
<string name="SendByEnter">Usa invio per inoltrare il messaggio</string>
<string name="TerminateAllSessions">Termina tutte le sessioni</string>
<string name="AutomaticPhotoDownload">SCARICA AUTOMATICAMENTE LE FOTO</string>
<string name="AutomaticPhotoDownloadGroups">Chat di gruppo</string>
<string name="AutomaticPhotoDownloadPrivateChats">Chat private</string>
<string name="Events">EVENTI</string>
<string name="ContactJoined">Un contatto si è collegato a Telegram</string>
<string name="ContactJoined">Un nuovo contatto utilizza Telegram</string>
<!--media view-->
<string name="NoMedia">Nessun media condiviso</string>
<string name="CancelDownload">Annulla scaricamento</string>
<string name="CancelDownload">Annulla download</string>
<!--map view-->
<string name="MyLocation">La mia posizione</string>
@ -265,7 +263,7 @@
<string name="ShareLocation">Condividi posizione</string>
<!--photo gallery view-->
<string name="ShowAllMedia">Mostra tutti i file media</string>
<string name="ShowAllMedia">Mostra tutti i media</string>
<string name="SaveToGallery">Salva nella galleria</string>
<string name="Of">di</string>
<string name="Gallery">Galleria</string>
@ -293,18 +291,18 @@
<!--messages-->
<string name="ActionKickUser">un1 ha rimosso un2</string>
<string name="ActionLeftUser">un1 ha lasciato il gruppo</string>
<string name="ActionLeftUser">un1 ha abbandonato il gruppo</string>
<string name="ActionAddUser">un1 ha aggiunto un2</string>
<string name="ActionRemovedPhoto">un1 ha rimosso la foto del gruppo</string>
<string name="ActionChangedPhoto">un1 ha cambiato la foto del gruppo</string>
<string name="ActionChangedTitle">un1 ha cambiato il nome del gruppo in un2</string>
<string name="ActionChangedPhoto">un1 ha modificato la foto del gruppo</string>
<string name="ActionChangedTitle">un1 ha modificato il nome del gruppo in un2</string>
<string name="ActionCreateGroup">un1 ha creato il gruppo</string>
<string name="ActionYouKickUser">Hai rimosso un2</string>
<string name="ActionYouLeftUser">Hai lasciato il gruppo</string>
<string name="ActionYouLeftUser">Hai abbandonato il gruppo</string>
<string name="ActionYouAddUser">Hai aggiunto un2</string>
<string name="ActionYouRemovedPhoto">Hai rimosso la foto del gruppo</string>
<string name="ActionYouChangedPhoto">Hai cambiato la foto del gruppo</string>
<string name="ActionYouChangedTitle">Hai cambiato il nome del gruppo in un2</string>
<string name="ActionYouChangedPhoto">Hai modificato la foto del gruppo</string>
<string name="ActionYouChangedTitle">Hai modificato il nome del gruppo in un2</string>
<string name="ActionYouCreateGroup">Hai creato il gruppo</string>
<string name="ActionKickUserYou">un1 ti ha rimosso</string>
<string name="ActionAddUserYou">un1 ti ha aggiunto</string>
@ -325,15 +323,14 @@
<string name="InvalidFirstName">Nome non valido</string>
<string name="InvalidLastName">Cognome non valido</string>
<string name="Loading">Caricamento…</string>
<string name="NoPlayerInstalled">Non hai un lettore video, per favore installane uno per continuare</string>
<string name="NoPlayerInstalled">Non hai nessun lettore video, per favore installane uno per continuare</string>
<string name="NoHandleAppInstalled">Non hai nessuna applicazione che può gestire il tipo mime \'%1$s\', installane una per continuare</string>
<string name="InviteUser">Questo utente non ha ancora Telegram, vuoi invitarlo?</string>
<string name="InviteUser">Questo utente non usa Telegram, vuoi invitarlo?</string>
<string name="AreYouSure">Sei sicuro?</string>
<string name="AddContactQ">Vuoi aggiungere il contatto?</string>
<string name="AddToTheGroup">Vuoi aggiungere %1$s al gruppo?</string>
<string name="ForwardMessagesTo">Vuoi inoltrare i messaggi a %1$s?</string>
<string name="DeleteChatQuestion">Vuoi eliminare questa chat?</string>
<string name="AddContactQ">Desideri aggiungere il contatto?</string>
<string name="AddToTheGroup">Desideri aggiungere %1$s al gruppo?</string>
<string name="ForwardMessagesTo">Desideri inoltrare il messaggio a %1$s?</string>
<string name="DeleteChatQuestion">Desideri eliminare la chat?</string>
<!--Intro view-->
<string name="Page1Title">Telegram</string>
<string name="Page2Title">Veloce</string>
@ -344,8 +341,8 @@
<string name="Page7Title">Privato</string>
<string name="Page1Message">Benvenuto nell\'era della messaggistica veloce e sicura</string>
<string name="Page2Message"><![CDATA[<b>Telegram</b>]]> consegna i messaggi più velocemente di qualsiasi altra applicazione</string>
<string name="Page3Message"><![CDATA[<b>Telegram</b>]]> è gratuita per sempre. Nessuna pubblicità. Nessun costo di abbonamento</string>
<string name="Page4Message"><![CDATA[<b>Telegram</b>]]> tiene al sicuro i tuoi messaggi dagli attacchi dei hacker</string>
<string name="Page3Message"><![CDATA[<b>Telegram</b>]]> è gratuito per sempre. Nessuna pubblicità. Nessun costo di abbonamento</string>
<string name="Page4Message"><![CDATA[<b>Telegram</b>]]> tiene al sicuro i tuoi messaggi da attacchi hacker</string>
<string name="Page5Message"><![CDATA[<b>Telegram</b>]]> non ha limiti sulle dimensioni dei tuoi file multimediali e delle chat</string>
<string name="Page6Message"><![CDATA[<b>Telegram</b>]]> ti consente di accedere ai messaggi da più dispositivi</string>
<string name="Page7Message"><![CDATA[<b>Telegram</b>]]> cifra in maniera sicura i messaggi e può far sì che si autodistruggano</string>