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
7c524d97
Commit
7c524d97
authored
Apr 08, 2019
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds change user status view.
parent
bd967505
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
247 additions
and
81 deletions
+247
-81
ProfilePresenter.kt
...t/rocket/android/profile/presentation/ProfilePresenter.kt
+28
-7
ProfileView.kt
...a/chat/rocket/android/profile/presentation/ProfileView.kt
+8
-1
ProfileFragment.kt
...in/java/chat/rocket/android/profile/ui/ProfileFragment.kt
+53
-3
dialog_status.xml
app/src/main/res/layout/dialog_status.xml
+45
-0
fragment_profile.xml
app/src/main/res/layout/fragment_profile.xml
+13
-1
strings.xml
app/src/main/res/values-ar/strings.xml
+6
-5
strings.xml
app/src/main/res/values-de/strings.xml
+6
-4
strings.xml
app/src/main/res/values-es/strings.xml
+6
-4
strings.xml
app/src/main/res/values-fa/strings.xml
+6
-4
strings.xml
app/src/main/res/values-fr/strings.xml
+6
-4
strings.xml
app/src/main/res/values-hi-rIN/strings.xml
+6
-4
strings.xml
app/src/main/res/values-it/strings.xml
+6
-4
strings.xml
app/src/main/res/values-ja/strings.xml
+6
-4
strings.xml
app/src/main/res/values-pt-rBR/strings.xml
+6
-4
strings.xml
app/src/main/res/values-pt-rPT/strings.xml
+7
-5
strings.xml
app/src/main/res/values-ru-rRU/strings.xml
+6
-4
strings.xml
app/src/main/res/values-tr/strings.xml
+6
-4
strings.xml
app/src/main/res/values-uk/strings.xml
+6
-4
strings.xml
app/src/main/res/values-zh-rCN/strings.xml
+7
-5
strings.xml
app/src/main/res/values-zh-rTW/strings.xml
+7
-5
strings.xml
app/src/main/res/values/strings.xml
+7
-5
No files found.
app/src/main/java/chat/rocket/android/profile/presentation/ProfilePresenter.kt
View file @
7c524d97
...
...
@@ -15,20 +15,18 @@ import chat.rocket.android.server.infraestructure.ConnectionManagerFactory
import
chat.rocket.android.server.infraestructure.RocketChatClientFactory
import
chat.rocket.android.server.presentation.CheckServerPresenter
import
chat.rocket.android.util.extension.compressImageAndGetByteArray
import
chat.rocket.android.util.extension.gethash
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.toHex
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.retryIO
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.model.UserStatus
import
chat.rocket.common.model.userStatusOf
import
chat.rocket.common.util.ifNull
import
chat.rocket.core.RocketChatClient
import
chat.rocket.core.internal.re
st.deleteOwnAccount
import
chat.rocket.core.internal.re
altime.setDefaultStatus
import
chat.rocket.core.internal.rest.resetAvatar
import
chat.rocket.core.internal.rest.setAvatar
import
chat.rocket.core.internal.rest.updateProfile
import
kotlinx.coroutines.Dispatchers
import
kotlinx.coroutines.withContext
import
java.util.*
import
javax.inject.Inject
...
...
@@ -64,6 +62,7 @@ class ProfilePresenter @Inject constructor(
view
.
showLoading
()
try
{
view
.
showProfile
(
user
?.
status
.
toString
(),
serverUrl
.
avatarUrl
(
user
?.
username
?:
""
),
user
?.
name
?:
""
,
user
?.
username
?:
""
,
...
...
@@ -82,9 +81,17 @@ class ProfilePresenter @Inject constructor(
view
.
showLoading
()
try
{
user
?.
id
?.
let
{
id
->
retryIO
{
client
.
updateProfile
(
userId
=
id
,
email
=
email
,
name
=
name
,
username
=
username
)
}
retryIO
{
client
.
updateProfile
(
userId
=
id
,
email
=
email
,
name
=
name
,
username
=
username
)
}
view
.
showProfileUpdateSuccessfullyMessage
()
view
.
showProfile
(
user
.
status
.
toString
(),
serverUrl
.
avatarUrl
(
user
.
username
?:
""
),
name
,
username
,
...
...
@@ -175,4 +182,18 @@ class ProfilePresenter @Inject constructor(
}
}
}
}
fun
updateStatus
(
status
:
UserStatus
)
{
launchUI
(
strategy
)
{
try
{
client
.
setDefaultStatus
(
status
)
}
catch
(
exception
:
RocketChatException
)
{
exception
.
message
?.
let
{
view
.
showMessage
(
it
)
}.
ifNull
{
view
.
showGenericErrorMessage
()
}
}
}
}
}
\ No newline at end of file
app/src/main/java/chat/rocket/android/profile/presentation/ProfileView.kt
View file @
7c524d97
...
...
@@ -9,12 +9,19 @@ interface ProfileView : TokenView, LoadingView, MessageView {
/**
* Shows the user profile.
*
* @param status The user status.
* @param avatarUrl The user avatar URL.
* @param name The user display name.
* @param username The user username.
* @param email The user email.
*/
fun
showProfile
(
avatarUrl
:
String
,
name
:
String
,
username
:
String
,
email
:
String
?)
fun
showProfile
(
status
:
String
,
avatarUrl
:
String
,
name
:
String
,
username
:
String
,
email
:
String
?
)
/**
* Reloads the user avatar (after successfully updating it).
...
...
app/src/main/java/chat/rocket/android/profile/ui/ProfileFragment.kt
View file @
7c524d97
...
...
@@ -11,6 +11,8 @@ import android.view.Menu
import
android.view.MenuItem
import
android.view.View
import
android.view.ViewGroup
import
android.widget.RadioGroup
import
androidx.appcompat.app.AlertDialog
import
androidx.appcompat.app.AppCompatActivity
import
androidx.appcompat.view.ActionMode
import
androidx.core.net.toUri
...
...
@@ -30,6 +32,8 @@ import chat.rocket.android.util.extensions.showToast
import
chat.rocket.android.util.extensions.textContent
import
chat.rocket.android.util.extensions.ui
import
chat.rocket.android.util.invalidateFirebaseToken
import
chat.rocket.common.model.UserStatus
import
chat.rocket.common.model.userStatusOf
import
com.facebook.drawee.backends.pipeline.Fresco
import
dagger.android.support.AndroidSupportInjection
import
io.reactivex.disposables.CompositeDisposable
...
...
@@ -50,6 +54,7 @@ fun newInstance() = ProfileFragment()
class
ProfileFragment
:
Fragment
(),
ProfileView
,
ActionMode
.
Callback
{
@Inject
lateinit
var
presenter
:
ProfilePresenter
@Inject
lateinit
var
analyticsManager
:
AnalyticsManager
private
var
currentStatus
=
""
private
var
currentName
=
""
private
var
currentUsername
=
""
private
var
currentEmail
=
""
...
...
@@ -72,11 +77,12 @@ class ProfileFragment : Fragment(), ProfileView, ActionMode.Callback {
super
.
onViewCreated
(
view
,
savedInstanceState
)
setupToolbar
()
setupListeners
()
if
(
Build
.
VERSION
.
SDK_INT
<=
Build
.
VERSION_CODES
.
M
)
{
tintEditTextDrawableStart
()
}
presenter
.
loadUserProfile
()
setupListeners
()
subscribeEditTexts
()
analyticsManager
.
logScreenView
(
ScreenViewEvent
.
Profile
)
...
...
@@ -106,13 +112,21 @@ class ProfileFragment : Fragment(), ProfileView, ActionMode.Callback {
super
.
onPrepareOptionsMenu
(
menu
)
}
override
fun
showProfile
(
avatarUrl
:
String
,
name
:
String
,
username
:
String
,
email
:
String
?)
{
override
fun
showProfile
(
status
:
String
,
avatarUrl
:
String
,
name
:
String
,
username
:
String
,
email
:
String
?
)
{
ui
{
text_status
.
text
=
getString
(
R
.
string
.
status
,
status
.
capitalize
())
image_avatar
.
setImageURI
(
avatarUrl
)
text_name
.
textContent
=
name
text_username
.
textContent
=
username
text_email
.
textContent
=
email
?:
""
currentStatus
=
status
currentName
=
name
currentUsername
=
username
currentEmail
=
email
?:
""
...
...
@@ -124,7 +138,6 @@ class ProfileFragment : Fragment(), ProfileView, ActionMode.Callback {
override
fun
reloadUserAvatar
(
avatarUrl
:
String
)
{
Fresco
.
getImagePipeline
().
evictFromCache
(
avatarUrl
.
toUri
())
image_avatar
.
setImageURI
(
avatarUrl
)
// (activity as MainActivity).setAvatar(avatarUrl)
}
override
fun
showProfileUpdateSuccessfullyMessage
()
{
...
...
@@ -198,6 +211,8 @@ class ProfileFragment : Fragment(), ProfileView, ActionMode.Callback {
}
private
fun
setupListeners
()
{
text_status
.
setOnClickListener
{
showStatusDialog
(
currentStatus
)
}
image_avatar
.
setOnClickListener
{
showUpdateAvatarOptions
()
}
view_dim
.
setOnClickListener
{
hideUpdateAvatarOptions
()
}
...
...
@@ -281,4 +296,39 @@ class ProfileFragment : Fragment(), ProfileView, ActionMode.Callback {
text_email
.
isEnabled
=
value
}
}
private
fun
showStatusDialog
(
currentStatus
:
String
)
{
val
dialogLayout
=
layoutInflater
.
inflate
(
R
.
layout
.
dialog_status
,
null
)
val
radioGroup
=
dialogLayout
.
findViewById
<
RadioGroup
>(
R
.
id
.
radio_group_status
)
radioGroup
.
check
(
when
(
userStatusOf
(
currentStatus
))
{
is
UserStatus
.
Online
->
R
.
id
.
radio_button_online
is
UserStatus
.
Away
->
R
.
id
.
radio_button_away
is
UserStatus
.
Busy
->
R
.
id
.
radio_button_busy
else
->
R
.
id
.
radio_button_invisible
}
)
var
newStatus
:
UserStatus
=
userStatusOf
(
currentStatus
)
radioGroup
.
setOnCheckedChangeListener
{
_
,
checkId
->
when
(
checkId
)
{
R
.
id
.
radio_button_online
->
newStatus
=
UserStatus
.
Online
()
R
.
id
.
radio_button_away
->
newStatus
=
UserStatus
.
Away
()
R
.
id
.
radio_button_busy
->
newStatus
=
UserStatus
.
Busy
()
else
->
newStatus
=
UserStatus
.
Offline
()
}
}
context
?.
let
{
AlertDialog
.
Builder
(
it
)
.
setView
(
dialogLayout
)
.
setPositiveButton
(
R
.
string
.
msg_change_status
)
{
dialog
,
_
->
presenter
.
updateStatus
(
newStatus
)
text_status
.
text
=
getString
(
R
.
string
.
status
,
newStatus
.
toString
().
capitalize
())
this
.
currentStatus
=
newStatus
.
toString
()
dialog
.
dismiss
()
}.
show
()
}
}
}
app/src/main/res/layout/dialog_status.xml
0 → 100644
View file @
7c524d97
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
android:padding=
"24dp"
>
<RadioGroup
android:id=
"@+id/radio_group_status"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<RadioButton
android:id=
"@+id/radio_button_online"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:padding=
"8dp"
android:text=
"@string/msg_online"
android:textSize=
"18sp"
/>
<RadioButton
android:id=
"@+id/radio_button_away"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:padding=
"8dp"
android:text=
"@string/msg_away"
android:textSize=
"18sp"
/>
<RadioButton
android:id=
"@+id/radio_button_busy"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:padding=
"8dp"
android:text=
"@string/msg_busy"
android:textSize=
"18sp"
/>
<RadioButton
android:id=
"@+id/radio_button_invisible"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:padding=
"8dp"
android:text=
"@string/msg_invisible"
android:textSize=
"18sp"
/>
</RadioGroup>
</LinearLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_profile.xml
View file @
7c524d97
...
...
@@ -35,12 +35,24 @@
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
/>
<TextView
android:id=
"@+id/text_status"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
android:paddingTop=
"10dp"
android:paddingBottom=
"10dp"
android:text=
"@string/status"
android:textColor=
"#DE000000"
android:textSize=
"18sp"
android:textStyle=
"normal"
/>
<EditText
android:id=
"@+id/text_name"
style=
"@style/Profile.EditText"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:layout_marginTop=
"
32
dp"
android:layout_marginTop=
"
16
dp"
android:drawableStart=
"@drawable/ic_person_black_20dp"
android:hint=
"@string/msg_name"
android:inputType=
"textCapWords"
/>
...
...
app/src/main/res/values-ar/strings.xml
View file @
7c524d97
...
...
@@ -43,10 +43,10 @@
<string
name=
"action_attach_a_files"
>
إضافة ملف
</string>
<string
name=
"action_confirm_password"
>
تأكيد تغيير كلمة السر
</string>
<string
name=
"action_join_chat"
>
إنضم للمحادثة
</string>
<string
name=
"
action
_online"
>
متصل
</string>
<string
name=
"
action
_away"
>
بعيد
</string>
<string
name=
"
action
_busy"
>
مشغول
</string>
<string
name=
"
action
_invisible"
>
مخفي
</string>
<string
name=
"
msg
_online"
>
متصل
</string>
<string
name=
"
msg
_away"
>
بعيد
</string>
<string
name=
"
msg
_busy"
>
مشغول
</string>
<string
name=
"
msg
_invisible"
>
مخفي
</string>
<string
name=
"action_drawing"
>
رسم
</string>
<string
name=
"action_save_to_gallery"
>
حفظ في المعرض
</string>
<string
name=
"action_select_photo_from_gallery"
>
اختيار صورة من المعرض
</string>
...
...
@@ -73,6 +73,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
نأسف حدث خطأ ما حاول مرة أخرى
</string>
<string
name=
"msg_no_data_to_display"
>
لا يوجد بيانات للعرض
</string>
...
...
@@ -341,7 +343,6 @@
<!-- User Details -->
<string
name=
"timezone"
>
المنظقة الزمنية
</string>
<string
name=
"status"
translatable=
"false"
>
Status
</string>
<!-- Report -->
<string
name=
"submit"
>
تأكيد
</string>
...
...
app/src/main/res/values-de/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
Eine Datei anhängen
</string>
<string
name=
"action_confirm_password"
>
Bestätige Passwort Änderung
</string>
<string
name=
"action_join_chat"
>
Trete Chat bei
</string>
<string
name=
"
action
_online"
>
Online
</string>
<string
name=
"
action
_away"
>
Abwesend
</string>
<string
name=
"
action
_busy"
>
Beschäftigt
</string>
<string
name=
"
action
_invisible"
>
Unsichtbar
</string>
<string
name=
"
msg
_online"
>
Online
</string>
<string
name=
"
msg
_away"
>
Abwesend
</string>
<string
name=
"
msg
_busy"
>
Beschäftigt
</string>
<string
name=
"
msg
_invisible"
>
Unsichtbar
</string>
<string
name=
"action_drawing"
>
Zeichnung
</string>
<string
name=
"action_save_to_gallery"
>
Sichern in Galerie
</string>
<string
name=
"action_select_photo_from_gallery"
>
Foto aus der Galerie auswählen
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
Entschuldigung, ein Fehler ist aufgetreten, bitte versuchen Sie es noch einmal.
</string>
<string
name=
"msg_no_data_to_display"
>
Keine Anzeigedaten vorhanden
</string>
...
...
app/src/main/res/values-es/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
Attach a file
</string>
<!-- TODO Add translation -->
<string
name=
"action_confirm_password"
>
Confirmar cambio de contraseña
</string>
<string
name=
"action_join_chat"
>
Unirse al chat
</string>
<string
name=
"
action
_online"
>
Conectado(s)
</string>
<string
name=
"
action
_away"
>
Ausente
</string>
<string
name=
"
action
_busy"
>
Ocupado
</string>
<string
name=
"
action
_invisible"
>
Invisible
</string>
<string
name=
"
msg
_online"
>
Conectado(s)
</string>
<string
name=
"
msg
_away"
>
Ausente
</string>
<string
name=
"
msg
_busy"
>
Ocupado
</string>
<string
name=
"
msg
_invisible"
>
Invisible
</string>
<string
name=
"action_drawing"
>
Dibujo
</string>
<string
name=
"action_save_to_gallery"
>
Guardar en la galería
</string>
<string
name=
"action_select_photo_from_gallery"
>
Select photo from gallery
</string>
<!-- TODO Add translation -->
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
Lo sentimos, ha ocurrido un error, por favor intente de nuevo
</string>
<string
name=
"msg_no_data_to_display"
>
No hay información para mostrar
</string>
...
...
app/src/main/res/values-fa/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
ضمیمه کردن پرونده
</string>
<string
name=
"action_confirm_password"
>
موافقت با تغییر گذرواژه
</string>
<string
name=
"action_join_chat"
>
به گفتوگو بپیوندید
</string>
<string
name=
"
action
_online"
>
آنلاین
</string>
<string
name=
"
action
_away"
>
Away
</string>
<!-- TODO Add translation -->
<string
name=
"
action
_busy"
>
مشغول
</string>
<string
name=
"
action
_invisible"
>
نامرئی
</string>
<string
name=
"
msg
_online"
>
آنلاین
</string>
<string
name=
"
msg
_away"
>
Away
</string>
<!-- TODO Add translation -->
<string
name=
"
msg
_busy"
>
مشغول
</string>
<string
name=
"
msg
_invisible"
>
نامرئی
</string>
<string
name=
"action_drawing"
>
کشیدن
</string>
<string
name=
"action_save_to_gallery"
>
ذخیره در آلبوم
</string>
<string
name=
"action_select_photo_from_gallery"
>
انتخاب عکس از آلبوم
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
متاسفانه مشکلی رخ داد، لطفا دوباره تلاش کنید
</string>
<string
name=
"msg_no_data_to_display"
>
اطلاعاتی برای نمایش وجود نداد
</string>
...
...
app/src/main/res/values-fr/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
Joindre un fichier
</string>
<string
name=
"action_confirm_password"
>
Confirmer le mot de passe
</string>
<string
name=
"action_join_chat"
>
Rejoignez le chat
</string>
<string
name=
"
action
_online"
>
En ligne
</string>
<string
name=
"
action
_away"
>
Loin
</string>
<string
name=
"
action
_busy"
>
Occupé
</string>
<string
name=
"
action
_invisible"
>
Invisible
</string>
<string
name=
"
msg
_online"
>
En ligne
</string>
<string
name=
"
msg
_away"
>
Loin
</string>
<string
name=
"
msg
_busy"
>
Occupé
</string>
<string
name=
"
msg
_invisible"
>
Invisible
</string>
<string
name=
"action_drawing"
>
Dessin
</string>
<string
name=
"action_save_to_gallery"
>
Sauvegarder vers la gallerie
</string>
<string
name=
"action_select_photo_from_gallery"
>
Sélectionner depuis la gallerie
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
Désolé, une erreur s\'est produite. Veuillez réessayer
</string>
<string
name=
"msg_no_data_to_display"
>
Aucune donnée à afficher
</string>
...
...
app/src/main/res/values-hi-rIN/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
एक फ़ाइल जोडो
</string>
<string
name=
"action_confirm_password"
>
पासवर्ड परिवर्तन की पुष्टि करें
</string>
<string
name=
"action_join_chat"
>
चैट में शामिल हों
</string>
<string
name=
"
action
_online"
>
ऑनलाइन
</string>
<string
name=
"
action
_away"
>
दूर
</string>
<string
name=
"
action
_busy"
>
व्यस्त
</string>
<string
name=
"
action
_invisible"
>
अदृश्य
</string>
<string
name=
"
msg
_online"
>
ऑनलाइन
</string>
<string
name=
"
msg
_away"
>
दूर
</string>
<string
name=
"
msg
_busy"
>
व्यस्त
</string>
<string
name=
"
msg
_invisible"
>
अदृश्य
</string>
<string
name=
"action_save_to_gallery"
>
गैलरी में सहेजें
</string>
<string
name=
"action_drawing"
>
चित्रकारी
</string>
<string
name=
"action_select_photo_from_gallery"
>
गैलरी से फोटो का चयन करें
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
क्षमा करें, एक त्रुटि हुई है, कृपया पुनः प्रयास करें
</string>
<string
name=
"msg_no_data_to_display"
>
डेटा प्रदर्शित करने के लिए उपलब्ध नहीं हैं
</string>
...
...
app/src/main/res/values-it/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
Ceangail comhad
</string>
<string
name=
"action_confirm_password"
>
Conferma Cambio Password
</string>
<string
name=
"action_join_chat"
>
Iscriviti alla stanza
</string>
<string
name=
"
action
_online"
>
In linea
</string>
<string
name=
"
action
_away"
>
Lontano
</string>
<string
name=
"
action
_busy"
>
Occupato
</string>
<string
name=
"
action
_invisible"
>
Invisibile
</string>
<string
name=
"
msg
_online"
>
In linea
</string>
<string
name=
"
msg
_away"
>
Lontano
</string>
<string
name=
"
msg
_busy"
>
Occupato
</string>
<string
name=
"
msg
_invisible"
>
Invisibile
</string>
<string
name=
"action_drawing"
>
Disegno
</string>
<string
name=
"action_save_to_gallery"
>
Salva in galleria
</string>
<string
name=
"action_select_photo_from_gallery"
>
Seleziona foto dalla galleria
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
Mi dispiace, si è verificato un errore, per favore riprova
</string>
<string
name=
"msg_no_data_to_display"
>
Nessun dato da visualizzare
</string>
...
...
app/src/main/res/values-ja/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
Attach a file
</string>
<!-- TODO Add translation -->
<string
name=
"action_confirm_password"
>
変更したパスワードの確認
</string>
<string
name=
"action_join_chat"
>
チャットに参加
</string>
<string
name=
"
action
_online"
>
オンライン
</string>
<string
name=
"
action
_away"
>
離席中
</string>
<string
name=
"
action
_busy"
>
取り込み中
</string>
<string
name=
"
action
_invisible"
>
状態を隠す
</string>
<string
name=
"
msg
_online"
>
オンライン
</string>
<string
name=
"
msg
_away"
>
離席中
</string>
<string
name=
"
msg
_busy"
>
取り込み中
</string>
<string
name=
"
msg
_invisible"
>
状態を隠す
</string>
<string
name=
"action_drawing"
>
絵を描く
</string>
<string
name=
"action_save_to_gallery"
>
ギャラリーに保存
</string>
<string
name=
"action_select_photo_from_gallery"
>
ギャラリーの写真を選択
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
エラーが発生しました。もう一度お試しください。
</string>
<string
name=
"msg_no_data_to_display"
>
表示するデータがありません
</string>
...
...
app/src/main/res/values-pt-rBR/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
Anexar um arquivo
</string>
<string
name=
"action_confirm_password"
>
Confirme a nova senha
</string>
<string
name=
"action_join_chat"
>
Entrar no Chat
</string>
<string
name=
"
action
_online"
>
Online
</string>
<string
name=
"
action
_away"
>
Ausente
</string>
<string
name=
"
action
_busy"
>
Ocupado
</string>
<string
name=
"
action
_invisible"
>
Invisível
</string>
<string
name=
"
msg
_online"
>
Online
</string>
<string
name=
"
msg
_away"
>
Ausente
</string>
<string
name=
"
msg
_busy"
>
Ocupado
</string>
<string
name=
"
msg
_invisible"
>
Invisível
</string>
<string
name=
"action_drawing"
>
Desenhando
</string>
<string
name=
"action_save_to_gallery"
>
Salvar na galeria
</string>
<string
name=
"action_select_photo_from_gallery"
>
Escolher foto da galeria
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
Desculpe, ocorreu um erro, tente novamente
</string>
<string
name=
"msg_no_data_to_display"
>
Nenhum dado para exibir
</string>
...
...
app/src/main/res/values-pt-rPT/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
Enviar um ficheiro
</string>
<string
name=
"action_confirm_password"
>
Confirme a alteração da palavra-passe
</string>
<string
name=
"action_join_chat"
>
Entre no chat
</string>
<string
name=
"
action
_online"
>
Online
</string>
<string
name=
"
action
_away"
>
Ausente
</string>
<string
name=
"
action
_busy"
>
Ocupado
</string>
<string
name=
"
action
_invisible"
>
Invisível
</string>
<string
name=
"
msg
_online"
>
Online
</string>
<string
name=
"
msg
_away"
>
Ausente
</string>
<string
name=
"
msg
_busy"
>
Ocupado
</string>
<string
name=
"
msg
_invisible"
>
Invisível
</string>
<string
name=
"action_drawing"
>
A desenhar
</string>
<string
name=
"action_save_to_gallery"
>
Guardar na galeria
</string>
<string
name=
"action_select_photo_from_gallery"
>
Selecione a foto da galeria
</string>
...
...
@@ -70,6 +70,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
Lamentamos, ocorreu um erro, tente novamente
</string>
<string
name=
"msg_no_data_to_display"
>
Sem dados para mostrar
</string>
...
...
@@ -335,7 +337,7 @@
<!-- User Details -->
<string
name=
"timezone"
>
Fuso Horário
</string>
<string
name=
"status"
>
Estado
</string>
<string
name=
"status"
>
Estado
: %1$s
</string>
<!-- Report -->
<string
name=
"submit"
>
Enviar
</string>
...
...
app/src/main/res/values-ru-rRU/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
Прикрепить файл
</string>
<string
name=
"action_confirm_password"
>
Подтверждение изменения пароля
</string>
<string
name=
"action_join_chat"
>
Присоединиться к чату
</string>
<string
name=
"
action
_online"
>
Онлайн
</string>
<string
name=
"
action
_away"
>
Отошел
</string>
<string
name=
"
action
_busy"
>
Занят
</string>
<string
name=
"
action
_invisible"
>
Невидимый
</string>
<string
name=
"
msg
_online"
>
Онлайн
</string>
<string
name=
"
msg
_away"
>
Отошел
</string>
<string
name=
"
msg
_busy"
>
Занят
</string>
<string
name=
"
msg
_invisible"
>
Невидимый
</string>
<string
name=
"action_drawing"
>
Рисунок
</string>
<string
name=
"action_save_to_gallery"
>
Сохранить в галерею
</string>
<string
name=
"action_select_photo_from_gallery"
>
Выбрать из галереи
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
Произошла ошибка, повторите попытку.
</string>
<string
name=
"msg_no_data_to_display"
>
Нет данных для отображения
</string>
...
...
app/src/main/res/values-tr/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
Attach a file
</string>
<!-- TODO Add translation -->
<string
name=
"action_confirm_password"
>
Şifre Değişikliğini Onaylayın
</string>
<string
name=
"action_join_chat"
>
Sohbete Bağlan
</string>
<string
name=
"
action
_online"
>
Çevrimiçi
</string>
<string
name=
"
action
_away"
>
Uzakta
</string>
<string
name=
"
action
_busy"
>
Meşgul
</string>
<string
name=
"
action
_invisible"
>
Görünmez
</string>
<string
name=
"
msg
_online"
>
Çevrimiçi
</string>
<string
name=
"
msg
_away"
>
Uzakta
</string>
<string
name=
"
msg
_busy"
>
Meşgul
</string>
<string
name=
"
msg
_invisible"
>
Görünmez
</string>
<string
name=
"action_drawing"
>
Çizim
</string>
<string
name=
"action_save_to_gallery"
>
Galeriye kaydet
</string>
<string
name=
"action_select_photo_from_gallery"
>
Galeriden resim seç
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
Üzgünüz! bir hata oluştu. Lütfen daha sonra tekrar deneyiniz.
</string>
<string
name=
"msg_no_data_to_display"
>
Görüntülenecek veri bulunmamaktadır.
</string>
...
...
app/src/main/res/values-uk/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
Attach a file
</string>
<!-- TODO Add translation -->
<string
name=
"action_confirm_password"
>
Підтвердження зміни пароля
</string>
<string
name=
"action_join_chat"
>
Приєднатися до чату
</string>
<string
name=
"
action
_online"
>
Онлайн
</string>
<string
name=
"
action
_away"
>
Відійшов
</string>
<string
name=
"
action
_busy"
>
Зайнятий
</string>
<string
name=
"
action
_invisible"
>
Невидимий
</string>
<string
name=
"
msg
_online"
>
Онлайн
</string>
<string
name=
"
msg
_away"
>
Відійшов
</string>
<string
name=
"
msg
_busy"
>
Зайнятий
</string>
<string
name=
"
msg
_invisible"
>
Невидимий
</string>
<string
name=
"action_drawing"
>
Малюнок
</string>
<string
name=
"action_save_to_gallery"
>
Зберегти до галереї
</string>
<string
name=
"action_select_photo_from_gallery"
>
Вибрати з галереї
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
Сталася помилка, спробуйте ще раз.
</string>
<string
name=
"msg_no_data_to_display"
>
Немає даних для відображення
</string>
...
...
app/src/main/res/values-zh-rCN/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
添加附件
</string>
<string
name=
"action_confirm_password"
>
确认修改密码
</string>
<string
name=
"action_join_chat"
>
加入聊天
</string>
<string
name=
"
action
_online"
>
在线
</string>
<string
name=
"
action
_away"
>
离开
</string>
<string
name=
"
action
_busy"
>
忙碌
</string>
<string
name=
"
action
_invisible"
>
隐身
</string>
<string
name=
"
msg
_online"
>
在线
</string>
<string
name=
"
msg
_away"
>
离开
</string>
<string
name=
"
msg
_busy"
>
忙碌
</string>
<string
name=
"
msg
_invisible"
>
隐身
</string>
<string
name=
"action_drawing"
>
绘画
</string>
<string
name=
"action_save_to_gallery"
>
保存到图库
</string>
<string
name=
"action_select_photo_from_gallery"
>
从图库选照片
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
对不起发生了错误,请重试
</string>
<string
name=
"msg_no_data_to_display"
>
没有数据显示
</string>
...
...
@@ -335,7 +337,7 @@
<!-- User Details -->
<string
name=
"timezone"
>
时区
</string>
<string
name=
"status"
translatable=
"false"
>
状态
</string>
<string
name=
"status"
translatable=
"false"
>
状态
: %1$s
</string>
<!-- Report -->
<string
name=
"submit"
>
提交
</string>
...
...
app/src/main/res/values-zh-rTW/strings.xml
View file @
7c524d97
...
...
@@ -42,10 +42,10 @@
<string
name=
"action_attach_a_files"
>
添加檔案
</string>
<string
name=
"action_confirm_password"
>
確認修改密碼
</string>
<string
name=
"action_join_chat"
>
加入聊天
</string>
<string
name=
"
action
_online"
>
線上
</string>
<string
name=
"
action
_away"
>
離線
</string>
<string
name=
"
action
_busy"
>
忙碌
</string>
<string
name=
"
action
_invisible"
>
隱藏
</string>
<string
name=
"
msg
_online"
>
線上
</string>
<string
name=
"
msg
_away"
>
離線
</string>
<string
name=
"
msg
_busy"
>
忙碌
</string>
<string
name=
"
msg
_invisible"
>
隱藏
</string>
<string
name=
"action_drawing"
>
畫畫中...
</string>
<string
name=
"action_save_to_gallery"
>
保存到相簿
</string>
<string
name=
"action_select_photo_from_gallery"
>
從相簿中選取照片
</string>
...
...
@@ -72,6 +72,8 @@
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<!-- TODO Translate -->
<string
name=
"msg_delete_account"
>
Delete account
</string>
<!-- TODO Translate -->
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- TODO Translate -->
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
發生了錯誤,請稍後試試
</string>
<string
name=
"msg_no_data_to_display"
>
沒有資料
</string>
...
...
@@ -335,7 +337,7 @@
<!-- User Details -->
<string
name=
"timezone"
>
時區
</string>
<string
name=
"status"
translatable=
"false"
>
狀態
</string>
<string
name=
"status"
translatable=
"false"
>
狀態
: %1$s
</string>
<!-- Report -->
<string
name=
"submit"
>
提交
</string>
...
...
app/src/main/res/values/strings.xml
View file @
7c524d97
...
...
@@ -54,10 +54,10 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<string
name=
"action_attach_a_files"
>
Attach a file
</string>
<string
name=
"action_confirm_password"
>
Confirm Password Change
</string>
<string
name=
"action_join_chat"
>
Join Chat
</string>
<string
name=
"
action
_online"
>
Online
</string>
<string
name=
"
action
_away"
>
Away
</string>
<string
name=
"
action
_busy"
>
Busy
</string>
<string
name=
"
action
_invisible"
>
Invisible
</string>
<string
name=
"
msg
_online"
>
Online
</string>
<string
name=
"
msg
_away"
>
Away
</string>
<string
name=
"
msg
_busy"
>
Busy
</string>
<string
name=
"
msg
_invisible"
>
Invisible
</string>
<string
name=
"action_drawing"
>
Drawing
</string>
<string
name=
"action_save_to_gallery"
>
Save to gallery
</string>
<string
name=
"action_select_photo_from_gallery"
>
Select photo from gallery
</string>
...
...
@@ -84,6 +84,8 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<string
name=
"msg_logout_from_rocket_chat"
>
Logout from Rocket.Chat
</string>
<string
name=
"msg_delete_account"
>
Delete account
</string>
<string
name=
"msg_change_status"
>
Change status
</string>
<!-- Regular information messages -->
<string
name=
"msg_generic_error"
>
Sorry, an error has occurred, please try again
</string>
<string
name=
"msg_no_data_to_display"
>
No data to display
</string>
...
...
@@ -351,7 +353,7 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<!-- User Details -->
<string
name=
"timezone"
>
Timezone
</string>
<string
name=
"status"
translatable=
"false"
>
Status
</string>
<string
name=
"status"
translatable=
"false"
>
Status
: %1$s
</string>
<!-- Report -->
<string
name=
"submit"
>
Submit
</string>
...
...
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