@@ -14,19 +14,21 @@ This repository contains all the code related to the Android native application
## How to build
- Make sure that you have the latest **gradle** and the **android plugin** versions installed. Go to `File > Project Structure > Project` and make sure that you have the latest versions installed. Refer [this](https://developer.android.com/studio/releases/gradle-plugin.html#updating-gradle) to see the compatible versions.
- Make sure that you have the latest **Gradle** and the **Android plugin** versions installed. Go to `File > Project Structure > Project` and make sure that you have the latest versions installed. Refer [this](https://developer.android.com/studio/releases/gradle-plugin.html#updating-gradle) to see the compatible versions.
- Kotlin is already configured in the project. To check, go to `Tools > Kotlin > Configure Kotlin in project`. A message saying kotlin is already configured in the project pops up. You can update kotlin to the latest version by going to `Tools > Kotlin > Configure Kotlin updates` and download the latest version of kotlin.
### SDK Instructions
- This version requires the [Kotlin SDK](https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK) for Rocket.Chat. Clone the Kotlin SDK in by running `git clone https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK.git`.
- First, a build is required for the SDK, so that required jar files are generated. Make sure that the android repository and the kotlin sdk have the same immediate parent directory. Change the current directory to `Rocket.Chat.Android/app` and run the `build-sdk.sh` which will result in creating of the required jar file `core*.jar` and `common*.jar` in `Rocket.Chat.Android/app/libs`,by the following steps in your terminal window:
- First, a build is required for the SDK, so that required jar files are generated. Make sure that the Android repository and the Kotlin SDK have the same immediate parent directory. Change the current directory to `Rocket.Chat.Android/app` and run the `build-sdk.sh` which will result in creating of the required jar file `core*.jar` and `common*.jar` in `Rocket.Chat.Android/app/libs`, by the following steps in your terminal window:
```
cd Rocket.Chat.Android/app
./build-sdk.sh
```
**Note:***You need to have Java 8 as default Java for the system (project won't build when using a Java 9+ version).*
## How to run
### Command Line
...
...
@@ -37,7 +39,7 @@ cd Rocket.Chat.Android/app
### Android Studio
- After importing the project in android studio, go to `Run > Run app` and then select your device, or create a new virtual device by following the wizard.
- After importing the project in Android Studio, go to `Run > Run app` and then select your device, or create a new virtual device by following the wizard.
## Bug report & Feature request
...
...
@@ -45,4 +47,4 @@ Are you having a technical issue trying to compile the app, or setting up Push N
## Coding Style
Please follow our [coding style](https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md) when contributing.
Please follow the official [Kotlin coding convections](https://kotlinlang.org/docs/reference/coding-conventions.html) when contributing.
<itemname="item_contact_us">Kontaktieren Sie uns</item>
<itemname="item_licence">Lizenz</item>
<itemname="item_about">Über</item>
</string-array>
<!-- Regular information messages -->
...
...
@@ -140,11 +135,10 @@
<stringname="msg_ver_not_minimum">Die Server Version scheint älter als die minimale Version %1$s zu sein.\nBitte updaten Sie Ihren Server um sich einloggen zu können!</string>
On dirait que la version de votre serveur est inférieure à la version minimale requise %1$s.\nVeuillez mettre à jour votre serveur pour vous connecter!
</string>
<stringname="msg_cancel">ANNULER</string>
<stringname="msg_http_insecure">Lorsque vous utilisez HTTP, vous vous connectez à un serveur non sécurisé. Nous ne vous recommandons pas de le faire.</string>
<stringname="msg_error_checking_server_version">Une erreur est survenue lors de la vérification de la version de votre serveur, veuillez réessayer</string>
<stringname="msg_invalid_server_protocol">Le protocole sélectionné n\'est pas accepté par ce serveur, essayez d\'utiliser HTTPS</string>
...
...
@@ -336,14 +335,11 @@
<stringname="message_information_title">Informations sur le message</string>
<stringname="msg_log_out">Déconnecter…</string>
<stringname="msg_sent_attachment">Envoyé un fichier</string>
<!--TODO - Add proper translation-->
<stringname="message_room_changed_privacy">Room type changed to: %1$s by %2$s</string>
<stringname="message_room_changed_privacy">Room type changed to: %1$s by %2$s</string><!--TODO - Add proper translation-->
<!-- User Details -->
<stringname="message">Message</string><!-- TODO - Add proper translation -->
<stringname="timezone">Timezone</string><!-- TODO - Add proper translation -->
<stringname="error_opening_dm">Something went wrong while we were creating this conversation…</string><!-- TODO - Add proper translation -->
<stringname="retry">Retry</string><!-- TODO - Add proper translation -->
<!-- Report -->
<stringname="submit">Submit</string><!-- TODO - Add proper translation -->
<stringname="msg_ver_not_minimum">Sembra che la versione del tuo server sia inferiore alla versione minima richiesta %1$s.\nSi prega di aggiornare il server per accedere!</string>
<stringname="msg_update_app_version_in_order_to_continue">Версія сервера застаріла. Будь ласка, зв\'яжіться з адміністратором, щоб оновити сервер.</string>
<stringname="msg_ver_not_recommended">Здається, версія сервера менше ніж рекомендована %1$s. \nМожна увійти, але можуть виникнути ті чи інші проблеми під час роботи.</string>
<stringname="msg_ver_not_minimum">Здається, версія сервера менше ніж мінімально необхідна %1$s.\nДля роботи потрібно оновити сервер!</string>
<stringname="msg_cancel">ВІДМІНА</string>
<stringname="msg_http_insecure">При використанні HTTP ви підключаєтеся до потенційно небезпечного сервера. Ми не радимо вам це робити.</string>
<stringname="msg_error_checking_server_version">Під час перевірки версії вашого сервера сталася помилка, спробуйте ще раз.</string>
<stringname="msg_invalid_server_protocol">Використання обраного протоколу не дозволено на цьому сервері, спробуйте використати HTTPS</string>
...
...
@@ -336,10 +335,7 @@
<stringname="message_room_changed_privacy">Room type changed to: %1$s by %2$s</string><!-- TODO - Add proper translation -->
<!-- User Details -->
<stringname="message">Message</string>
<stringname="timezone">Timezone</string>
<stringname="error_opening_dm">Something went wrong while we were creating this conversation…</string><!-- TODO - Add proper translation -->
<stringname="retry">Retry</string><!-- TODO - Add proper translation -->
<!-- Report -->
<stringname="submit">Submit</string><!-- TODO - Add proper translation -->