Commit 10188c93 authored by divyanshu's avatar divyanshu

onboarding transaltion

parent 2907f3b4
...@@ -90,7 +90,7 @@ class OnBoardingFragment : Fragment(), OnBoardingView { ...@@ -90,7 +90,7 @@ class OnBoardingFragment : Fragment(), OnBoardingView {
private fun connectToCommunityServer() { private fun connectToCommunityServer() {
ui { ui {
val url = "open.rocket.chat" val url = getString(R.string.community_server)
presenter.connect("$protocol${url.sanitize()}") presenter.connect("$protocol${url.sanitize()}")
} }
} }
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<TextView <TextView
android:id="@+id/text_onboarding_title" android:id="@+id/text_onboarding_title"
style="@style/Authentication.Headline.TextView" style="@style/Authentication.Headline.TextView"
android:text="Welcome to Rocket.Chat" android:text="@string/msg_welcome_to_rocket_chat"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/image_on_boarding" app:layout_constraintTop_toBottomOf="@id/image_on_boarding"
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<TextView <TextView
android:id="@+id/text_onboarding_description" android:id="@+id/text_onboarding_description"
style="@style/Authentication.Description.TextView" style="@style/Authentication.Description.TextView"
android:text="Open Source Communication" android:text="@string/msg_open_source_communication"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/text_onboarding_title" app:layout_constraintTop_toBottomOf="@id/text_onboarding_title"
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
android:textStyle="bold" android:textStyle="bold"
android:textColor="#1d74f5" android:textColor="#1d74f5"
android:letterSpacing="0.04" android:letterSpacing="0.04"
android:text="Connect with a server" android:text="@string/action_connect_server"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_toEndOf="@id/image_connect_server" /> android:layout_toEndOf="@id/image_connect_server" />
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
android:textStyle="bold" android:textStyle="bold"
android:textColor="#1d74f5" android:textColor="#1d74f5"
android:letterSpacing="0.04" android:letterSpacing="0.04"
android:text="Join in the community" android:text="@string/action_join_community"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_toEndOf="@id/image_join_community" /> android:layout_toEndOf="@id/image_join_community" />
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
android:textStyle="normal" android:textStyle="normal"
android:textColor="#9ea2a8" android:textColor="#9ea2a8"
android:letterSpacing="0.04" android:letterSpacing="0.04"
android:text="open.rocket.chat" android:text="@string/community_server"
android:layout_below="@id/text_join_community" android:layout_below="@id/text_join_community"
android:layout_toEndOf="@id/image_join_community"/> android:layout_toEndOf="@id/image_join_community"/>
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
android:textStyle="bold" android:textStyle="bold"
android:textColor="#fff" android:textColor="#fff"
android:letterSpacing="0.04" android:letterSpacing="0.04"
android:text="Create a new server" android:text="@string/action_create_server"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_toEndOf="@id/image_new_server" /> android:layout_toEndOf="@id/image_new_server" />
</RelativeLayout> </RelativeLayout>
......
...@@ -40,6 +40,9 @@ ...@@ -40,6 +40,9 @@
<string name="action_invisible">Invisible</string> <string name="action_invisible">Invisible</string>
<string name="action_drawing">Drawing</string> <string name="action_drawing">Drawing</string>
<string name="action_save_to_gallery">Save to gallery</string> <string name="action_save_to_gallery">Save to gallery</string>
<string name="action_connect_server">Connect with a server</string>
<string name="action_join_community">Join in the community</string>
<string name="action_create_server">Create a new server</string>
<!-- Settings List --> <!-- Settings List -->
<string-array name="settings_actions"> <string-array name="settings_actions">
...@@ -126,6 +129,8 @@ ...@@ -126,6 +129,8 @@
<string name="msg_file_description">File description</string> <string name="msg_file_description">File description</string>
<string name="msg_send">Send</string> <string name="msg_send">Send</string>
<string name="msg_sent_attachment">Sent an attachment</string> <string name="msg_sent_attachment">Sent an attachment</string>
<string name="msg_welcome_to_rocket_chat">Welcome to Rocket.Chat</string>
<string name="msg_open_source_communication">Open Source Communication</string>
<!-- Create channel messages --> <!-- Create channel messages -->
<string name="msg_private_channel">Private</string> <string name="msg_private_channel">Private</string>
...@@ -275,4 +280,7 @@ ...@@ -275,4 +280,7 @@
<string name="notif_success_sending">Message sent to %1$s!</string> <string name="notif_success_sending">Message sent to %1$s!</string>
<string name="read_by">Read by</string> <string name="read_by">Read by</string>
<string name="message_information_title">Message information</string> <string name="message_information_title">Message information</string>
<!-- Community Server-->
<string name="community_server" translatable="false">open.rocket.chat</string>
</resources> </resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment