Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
10188c93
Commit
10188c93
authored
Aug 04, 2018
by
divyanshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
onboarding transaltion
parent
2907f3b4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
OnBoardingFragment.kt
...ndroid/authentication/onboarding/ui/OnBoardingFragment.kt
+1
-1
fragment_authentication_on_boarding.xml
...c/main/res/layout/fragment_authentication_on_boarding.xml
+6
-6
strings.xml
app/src/main/res/values/strings.xml
+8
-0
No files found.
app/src/main/java/chat/rocket/android/authentication/onboarding/ui/OnBoardingFragment.kt
View file @
10188c93
...
@@ -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()}"
)
}
}
}
}
...
...
app/src/main/res/layout/fragment_authentication_on_boarding.xml
View file @
10188c93
...
@@ -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.C
hat"
android:text=
"
@string/msg_welcome_to_rocket_c
hat"
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 C
ommunication"
android:text=
"
@string/msg_open_source_c
ommunication"
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>
...
...
app/src/main/res/values/strings.xml
View file @
10188c93
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment