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

translations

This commit is contained in:
Riko Sakurauchi 2020-01-10 05:04:13 +08:00
parent 5b66a9f00d
commit 077ffcf418
No known key found for this signature in database
GPG Key ID: 25AC0345B92902AF
3 changed files with 78 additions and 22 deletions

View File

@ -1,39 +1,47 @@
## Telegram messenger for Android
# Nekogram
[Telegram](https://telegram.org) is a messaging app with a focus on speed and security. Its 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 theres 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)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
| [<img src="https://avatars2.githubusercontent.com/u/42698724?s=460&v=4" width="80px;"/><br /><sub>猫耳逆变器</sub>](https://github.com/NekoInverter)<br />[💻](https://github.com/Nekogram/Nekogram/commits?author=NekoInverter "Code") | [<img src="https://avatars1.githubusercontent.com/u/18373361?s=460&v=4" width="80px;"/><br /><sub>梨子</sub>](https://github.com/rikakomoe)<br />[💻](https://github.com/Nekogram/Nekogram/commits?author=rikakomoe "Code") [🚧](https://github.com/Nekogram/Nekogram/commits?author=rikakomoe "Maintenance") | [<img src="https://cdn5.telesco.pe/file/k9cnSEddTYCWf9SZwyxQqchUeFsXTbRmq2oL3pQNU_oBFp15J9qnpcKOFoGp9rd1alLepuRgbpp8oGhRetHJouTqYoggPY7CruPZAKM6mo2VkkCld3IcAx87PKC8KrE0CP5YeeIMt7gbnxD0yt_VNYK3Yws09MSeQdRr3hkNjh-SlYurJNYb_YM4JOJVONsLnMFaw8KfFzyRTdVMmgBP93vJdn1lLd8aehHpPgu_keeoaN0t4dZyRoxn9vbO33X6OOsugecKBuPuUjMjtmUfMDhdv8xb5UofI-cDFCboJ21n8Rrm0SY-ak6LU3V4cIDISKJv9NDwQbqfceNZ1PqBwQ.jpg" width="80px;"/><br /><sub>呆瓜</sub>](https://t.me/Duang)<br /> [🎨](#design-duang "Design") | [<img src="https://avatars3.githubusercontent.com/u/37411589?s=460&v=4" width="80px;"/><br /><sub>Red</sub>](https://github.com/tgbetauser)<br />[🌍](#translation-tgbetauser "Translation") |
| :---: | :---: | :---: | :---: |
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!

View File

@ -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);
}

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="NekoSettings">Impostazioni Neko</string>
<string name="IPv6">Prova a connetterti via IPv6</string>
<string name="MessageMenu">Menu messaggio</string>
<string name="HidePhone">Nascondi il mio numero</string>
<string name="Hide">Nascondi</string>
<string name="DeleteAllFromSelf">Elimina tutti i tuoi messaggi</string>
<string name="DeleteAllFromSelfAlert">Attenzione! Questo eliminerà **tutti i tuoi messaggi** da questa chat per **tutti i partecipanti.**</string>
<string name="BotLogin">Login con bot token</string>
<string name="InvalidAccessToken">Accesso col token non valido</string>
<string name="IgnoreBlocked">Ignora gli utenti bloccati nel gruppo</string>
<string name="Connection">Connessione</string>
<string name="Chat">Chat</string>
<string name="NameOrder">Ordine per nome</string>
<string name="FirstLast">Dal primo all\'ultimo</string>
<string name="LastFirst">Dall\'ultimo al primo</string>
<string name="TypefaceUseDefault">Usa il font di sistema di default</string>
<string name="NoQuoteForward">Inoltro senza citare</string>
<string name="Repeat">Ripeti</string>
<string name="AddToSavedMessages">Salva messaggio</string>
<string name="CreateMention">Crea menzione</string>
<string name="ForceTabletMode">Forza modalità tablet</string>
<string name="All">Tutte le chats</string>
<string name="Users">Utenti</string>
<string name="Groups">Gruppi</string>
<string name="Channels">Canali</string>
<string name="Bots">Bots</string>
<string name="Admins">Amministratore</string>
<string name="EnableNya">Invia messaggio con suffisso tenendo premuto.</string>
<string name="NyaSuffix">Suffisso del messaggio</string>
<string name="NyaSuffixHint">Suffisso</string>
<string name="Prpr">Peropero</string>
<string name="TransparentStatusBar">Barra di stato trasparente</string>
<string name="NavigationBarTint">Imposta colore per la barra di stato/navigazione</string>
<string name="NavigationBarColor">Colore barra di navigazione</string>
<string name="NavigationBarColorBlack">Nero</string>
<string name="NavigationBarColorActionBar">Usa il colore della barra d\'azione</string>
<string name="NavigationBarColorMessagePanel">Usa il colore del pannello dei messaggi</string>
<string name="EnableResidentNotification">Mostra notifica persistente</string>
<string name="DisableResidentNotification">Disabilita notifica persistente</string>
<string name="NekogramRunning">Nekogram è in esecuzione</string>
<string name="ChristmasEveryday">Vacanze di Natale ogni giorno*</string>
<string name="NewYearEveryday">Capodanno ogni giorno*</string>
<string name="HappyNewYearEveryday">Buon anno nuovo ogni giorno*</string>
<string name="ShowFireworks">Mostra fuochi d\'artificio*</string>
<string name="SomeItemsNeedRestart">Le opzioni con * potrebbero avere bisogno di un riavvio per avere effetto.</string>
</resources>