@@ -14,20 +14,21 @@ This repository contains all the code related to the Android native application
## How to build
- You need to download the latest [Android Studio Preview](https://developer.android.com/studio/preview/) version since the stable IDE version does not support the [JetPack](https://developer.android.com/jetpack/) that is being used on this application.
- 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
...
...
@@ -38,12 +39,12 @@ 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
Are you having a technical issue trying to compile the app, or setting up Push Notifications? Please use our Community Support channel for that: https://forums.rocket.chat/c/community-support. The issues are only suppose to be used for bugs, improvements and features in the native Android application.
Are you having a technical issue trying to compile the app, or setting up Push Notifications? Please use our Community Support channel for that: https://forums.rocket.chat/c/community-support. The issues are only supposed to be used for bugs, improvements, and features in the native Android application.
## 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 conventions](https://kotlinlang.org/docs/reference/coding-conventions.html) when contributing.
<stringname="msg_no_messages_yet">Noch keine Nachrichten</string>
<stringname="msg_ok">OK</string>
<stringname="msg_build">Build %1$d - %2$s - %3$s</string><!-- TODO Add translation -->
<stringname="msg_update_app_version_in_order_to_continue">Server Version veraltet. Bitte kontaktieren Sie ihren Server Administrator.</string>
<stringname="msg_ver_not_recommended">Die Server Version scheint älter als die empfolene Version %1$s zu sein.\nSie können sich trotzdem einloggen, aber es kann zu einem unerwartetem Verhalten kommen.</string>
<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>
<stringname="msg_content_description_show_more_login_options">Show more login options</string><!-- TODO Translate-->
<stringname="msg_content_description_show_attachment_options">Mostrar opciones de archivo adjunto</string>
...
...
@@ -119,14 +121,13 @@
<stringname="msg_preview_photo">Foto</string>
<stringname="msg_preview_file">Fichero</string>
<stringname="msg_no_messages_yet">Aún no hay mensajes</string>
<stringname="msg_ok">OK</string>
<stringname="msg_build">Build %1$d - %2$s - %3$s</string><!-- TODO Add translation -->
<stringname="msg_update_app_version_in_order_to_continue">Versión del servidor actualizada. Póngase en contacto con el administrador del servidor para actualizar la versión del servidor y continuar.</string>
<stringname="msg_ver_not_recommended">
Parece que la versión de tu servidor está por debajo de la versión recomendada %1$s.\nAún puede iniciar sesión, pero puede experimentar comportamientos inesperados.</string>
<stringname="msg_ver_not_minimum">
Parece que la versión del servidor está por debajo de la versión mínima requerida %1$s.\nActualice su servidor para iniciar sesión!
</string>
<stringname="msg_cancel">CANCELAR</string>
<stringname="msg_http_insecure">Al usar HTTP, te estás conectando a un servidor inseguro. No te recomendamos que hagas eso.</string>
<stringname="msg_error_checking_server_version">Se ha producido un error al verificar la versión de su servidor, intente de nuevo</string>
<stringname="msg_invalid_server_protocol">El protocolo seleccionado no es aceptado por este servidor, intente usar HTTPS</string>
...
...
@@ -336,10 +337,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><!-- 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 -->
<stringname="msg_build">Build %1$d - %2$s - %3$s</string><!-- TODO Add translation -->
<stringname="msg_update_app_version_in_order_to_continue">نسخهی سرور منسوخ شده است. لطفا برای ادامه دادن با مدیر سرور خود تماس بگیرید تا سرور را به روز کند.</string>
<stringname="msg_ver_not_recommended">
Looks like your server version is below the recommended version %1$s.\nYou can still login but you may experience unexpected behaviors.</string>
<stringname="msg_ver_not_minimum"><!-- TODO Add translation -->
Looks like your server version is below the minimum required version %1$s.\nPlease upgrade your server to login!
<stringname="Invite_user_to_join_channel_all_from">دعوت کردن تمام اعضاء از کانال [#channel] تا به این کانال بپیوندند</string><!-- TODO Add translation -->
<stringname="Invite_user_to_join_channel_all_to">دعوت از تمامی اعضای این کانال برای پیوستن به کانال [#channel]</string><!-- TODO Add translation -->
<stringname="Archive">بایگانی</string>
<stringname="Remove_someone_from_room">حذف کردن کسی از این کانال</string>
<stringname="Leave_the_current_channel">کانال کنونی را ترک نمایید</string>
<stringname="Displays_action_text">نمایش فعالیت متن</string>
<stringname="Direct_message_someone">ارسال پیام مستقیم به کسی</string>
<stringname="Mute_someone_in_room">صامت کردن کسی در اتاق</string>
<stringname="Unmute_someone_in_room">صدا دار کردن کسی در این اتاق</string>
<stringname="Invite_user_to_join_channel">دعوت از یک کاربر برای پیوستن به این کانال</string>
<stringname="Unarchive">Unarchive</string><!-- TODO Add translation -->
<stringname="Join_the_given_channel">پیوستن به کانال داده شده</string>
<stringname="Guggy_Command_Description">ساخت یک gif بر اساس متن آمادهشده</string>
<itemname="item_preferences">Preferences</item><!-- TODO Add translation -->
<itemname="item_password">Change password</item><!-- TODO Add translation -->
<itemname="change_language">Change language</item><!-- TODO Add translation -->
<itemname="item_share_app">Share app</item><!-- TODO Add translation -->
<itemname="item_rate_us">Rate us</item><!-- TODO Add translation -->
<itemname="item_contact_us">Contact us</item><!-- TODO Add translation -->
...
...
@@ -120,14 +121,13 @@
<stringname="msg_preview_photo">Photo</string>
<stringname="msg_preview_file">Fichier</string>
<stringname="msg_no_messages_yet">Aucun message pour le moment</string>
<stringname="msg_ok">OK</string>
<stringname="msg_build">Build %1$d - %2$s - %3$s</string><!-- TODO Add translation -->
<stringname="msg_update_app_version_in_order_to_continue">La version du serveur est trop ancienne. Veuillez contacter l\'administateur pour mettre à jour le serveur afin de pouvoir vous y connecter.</string>
<stringname="msg_ver_not_recommended">
On dirait que la version de votre serveur est en dessous de la version recommandée %1$s.\nVous pouvez toujours vous connecter mais vous pouvez rencontrer des comportements inattendus.</string>
<stringname="msg_ver_not_minimum">
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>
...
...
@@ -335,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_no_messages_yet">अभी तक कोई पोस्ट नहीं</string>
<stringname="msg_build">Build %1$d - %2$s - %3$s</string><!-- TODO Add translation -->
<stringname="msg_update_app_version_in_order_to_continue">पुराना सर्वर वर्शन। जारी रखने के लिए सर्वर वर्शन को अद्यतन करने के लिए कृपया सर्वर व्यवस्थापक से संपर्क करें।</string>
<stringname="msg_ok">ठीक है</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>
...
...
@@ -152,7 +152,7 @@
<stringname="msg_delete_message">संदेश को हटाएं</string>
<stringname="msg_delete_description">क्या आप निश्चित रूप से यह संदेश हटाना चाहते हैं</string>
<stringname="msg_welcome_to_rocket_chat">Rocket.Chat में आपका स्वागत है</string>
<stringname="msg_team_communication">Team Communication</string><!-- TODO Translate -->
<stringname="msg_update_app_version_in_order_to_continue">Versione server non aggiornata. Si prega di contattare l\'amministratore del server per aggiornare la versione del server per continuare.</string>
<stringname="msg_ver_not_recommended">Sembra che la versione del tuo server sia inferiore alla versione consigliata %1$s.\nÈ ancora possibile accedere ma è possibile che si verifichino comportamenti imprevisti.</string>
<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">Versão do servidor desatualizada. Por favor, entre em contato com o administrador do sistema para continuar.</string>
<stringname="msg_ver_not_recommended">
Parece que a versão do seu servidor está abaixo da recomendada %1$s.\nVocê ainda assim pode logar e continuar mas podem ocorrer alguns problemas inesperados.
...
...
@@ -130,7 +131,6 @@
</string>
<stringname="msg_no_chat_title">Nenhuma mensagem de chat</string>
<stringname="msg_no_chat_description">Comece a conversar para ver suas\nmensagens aqui.</string>
<stringname="msg_cancel">CANCELAR</string>
<stringname="msg_http_insecure">Usando HTTP, você estará conectando a um servidor não seguro, não recomendamos sua utilização.</string>
<stringname="msg_error_checking_server_version">Ocorreu um erro verificando a versão do servidor, por favor tente novamente</string>
<stringname="msg_invalid_server_protocol">O protocolo selecionado não é suportado pelo servidor, por favor utilize HTTPS e tente novamente</string>
...
...
@@ -205,13 +205,12 @@
<stringname="message_user_joined_channel">Entrou na sala</string>
<stringname="msg_update_app_version_in_order_to_continue">Версия сервера устарела. Пожалуйста, свяжитесь с администратором, чтобы обновить сервер.</string>
<stringname="msg_ver_not_recommended">Похоже, версия сервера меньше рекомендуемой %1$s.\nМожно войти, но могут возникнуть те или иные проблемы при работе.\n</string>
<stringname="msg_ver_not_minimum">Похоже, версия сервера меньше минимально необходимой %1$s.\nДля работы потребуется обновить сервер!</string>
<stringname="msg_build">Build %1$d - %2$s - %3$s</string><!-- TODO Add translation -->
<stringname="msg_update_app_version_in_order_to_continue">Geçerliliğini yitirmiş uygulamanızın sürümü. Lütfen, sistem yöneticisine bildiriniz.</string>
<stringname="msg_ver_not_recommended">
Görünüşe göre uygulamanızın sürümü önerilen %1$s sürümünden daha düşük.\nBuna rağmen sisteme giriş yapıp kullanabilirsiniz, fakat beklenmeyen hatalarla karşılaşabilirsiniz.</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 -->
<stringname="msg_update_app_version_in_order_to_continue">Out to date server version. Please contact the server admin to update the server version in order to continue.</string>
<stringname="msg_ver_not_recommended">
Looks like your server version is below the recommended version %1$s.\nYou can still login but you may experience unexpected behaviors.</string>