diff --git a/README.md b/README.md index 8cc7ac88d..e823ad8b0 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,47 @@ -## Telegram messenger for Android +# Nekogram [Telegram](https://telegram.org) is a messaging app with a focus on speed and security. It’s superfast, simple and free. -This repo contains the official source code for [Telegram App for Android](https://play.google.com/store/apps/details?id=org.telegram.messenger). -## Creating your Telegram Application +Nekogram is an UNOFFICIAL app that uses Telegram's API. -We welcome all developers to use our API and source code to create applications on our platform. -There are several things we require from **all developers** for the moment. +- Google play store: https://play.google.com/store/apps/details?id=tw.nekomimi.nekogram +- Update news: https://t.me/Zuragram +- APKs: https://github.com/Nekogram/Nekogram/releases +- Feedback: https://github.com/Nekogram/Nekogram/issues +- Feedback (Chinese): https://t.me/makurabot +- Chat group (Chinese & English): Join our channel (https://t.me/Zuragram) and click "Chat" -1. [**Obtain your own api_id**](https://core.telegram.org/api/obtaining_api_id) for your application. -2. Please **do not** use the name Telegram for your app — or make sure your users understand that it is unofficial. -3. Kindly **do not** use our standard logo (white paper plane in a blue circle) as your app's logo. -3. Please study our [**security guidelines**](https://core.telegram.org/mtproto/security_guidelines) and take good care of your users' data and privacy. -4. Please remember to publish **your** code too in order to comply with the licences. - -### API, Protocol documentation +## API, Protocol documentation Telegram API manuals: https://core.telegram.org/api MTproto protocol manuals: https://core.telegram.org/mtproto -### Compilation Guide +## Compilation Guide **Note**: In order to support [reproducible builds](https://core.telegram.org/reproducible-builds), this repo contains dummy release.keystore, google-services.json and filled variables inside BuildVars.java. Before publishing your own APKs please make sure to replace all these files with your own. You will require Android Studio 3.4, Android NDK rev. 20 and Android SDK 8.1 -1. Download the Telegram source code from https://github.com/DrKLO/Telegram ( git clone https://github.com/DrKLO/Telegram.git ) +1. Download the Nekogram source code from https://github.com/Nekogram/Nekogram ( git clone https://github.com/Nekogram/Nekogram.git ) 2. Copy your release.keystore into TMessagesProj/config -3. Fill out RELEASE_KEY_PASSWORD, RELEASE_KEY_ALIAS, RELEASE_STORE_PASSWORD in gradle.properties to access your release.keystore -4. Go to https://console.firebase.google.com/, create two android apps with application IDs org.telegram.messenger and org.telegram.messenger.beta, turn on firebase messaging and download google-services.json, which should be copied to the same folder as TMessagesProj. -5. Open the project in the Studio (note that it should be opened, NOT imported). -6. Fill out values in TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java – there’s a link for each of the variables showing where and which data to obtain. -7. You are ready to compile Telegram. +3. Fill out RELEASE_KEY_PASSWORD, RELEASE_KEY_ALIAS, RELEASE_STORE_PASSWORD in local.properties to access your release.keystore +4. Open the project in the Studio (note that it should be opened, NOT imported). +5. You are ready to compile Nekogram. -### Localization +## Localization -We moved all translations to https://translations.telegram.org/en/android/. Please use it. +Nekogram is forked from Telegram, thus most locales follows the translations of Telegram for Android, checkout https://translations.telegram.org/en/android/. + +As for the Nekogram specialized strings, translations are located at `TMessagesProj/src/main/res/values-{language-code}/strings_neko.xml`. + +## Contributors + +Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): + + +| [
猫耳逆变器](https://github.com/NekoInverter)
[💻](https://github.com/Nekogram/Nekogram/commits?author=NekoInverter "Code") | [
梨子](https://github.com/rikakomoe)
[💻](https://github.com/Nekogram/Nekogram/commits?author=rikakomoe "Code") [🚧](https://github.com/Nekogram/Nekogram/commits?author=rikakomoe "Maintenance") | [
呆瓜](https://t.me/Duang)
[🎨](#design-duang "Design") | [
Red](https://github.com/tgbetauser)
[🌍](#translation-tgbetauser "Translation") | +| :---: | :---: | :---: | :---: | + + +This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome! diff --git a/TMessagesProj/src/main/java/org/telegram/ui/SettingsActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/SettingsActivity.java index a6d7a7b89..4b8c1d9a2 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/SettingsActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/SettingsActivity.java @@ -2393,7 +2393,7 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter abi = "universal " + Build.CPU_ABI + " " + Build.CPU_ABI2; break; } - cell.setText(String.format("Nekogram %1$s\r\nIcon by @Duang", String.format(Locale.US, "v%s (%d) %s", pInfo.versionName, code, abi))); + cell.setText(String.format("%1$s %2$s", LocaleController.getString("Nekogram", R.string.Nekogram), String.format(Locale.US, "v%s (%d) %s", pInfo.versionName, code, abi))); } catch (Exception e) { FileLog.e(e); } diff --git a/TMessagesProj/src/main/res/values-it/strings_neko.xml b/TMessagesProj/src/main/res/values-it/strings_neko.xml new file mode 100644 index 000000000..dc47d2368 --- /dev/null +++ b/TMessagesProj/src/main/res/values-it/strings_neko.xml @@ -0,0 +1,48 @@ + + + Impostazioni Neko + Prova a connetterti via IPv6 + Menu messaggio + Nascondi il mio numero + Nascondi + Elimina tutti i tuoi messaggi + Attenzione! Questo eliminerà **tutti i tuoi messaggi** da questa chat per **tutti i partecipanti.** + Login con bot token + Accesso col token non valido + Ignora gli utenti bloccati nel gruppo + Connessione + Chat + Ordine per nome + Dal primo all\'ultimo + Dall\'ultimo al primo + Usa il font di sistema di default + Inoltro senza citare + Ripeti + Salva messaggio + Crea menzione + Forza modalità tablet + Tutte le chats + Utenti + Gruppi + Canali + Bots + Amministratore + Invia messaggio con suffisso tenendo premuto. + Suffisso del messaggio + Suffisso + Peropero + Barra di stato trasparente + Imposta colore per la barra di stato/navigazione + Colore barra di navigazione + Nero + Usa il colore della barra d\'azione + Usa il colore del pannello dei messaggi + Mostra notifica persistente + Disabilita notifica persistente + Nekogram è in esecuzione + Vacanze di Natale ogni giorno* + Capodanno ogni giorno* + Buon anno nuovo ogni giorno* + Mostra fuochi d\'artificio* + Le opzioni con * potrebbero avere bisogno di un riavvio per avere effetto. +