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
5884cc0f
Commit
5884cc0f
authored
Feb 22, 2018
by
samer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Portuguese Strings & Fixed Profile Update Bug
parent
ddd3aed8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
build.gradle
app/build.gradle
+0
-7
ProfilePresenter.kt
...t/rocket/android/profile/presentation/ProfilePresenter.kt
+1
-1
strings.xml
app/src/main/res/values-pt-rBR/strings.xml
+9
-0
No files found.
app/build.gradle
View file @
5884cc0f
...
@@ -121,11 +121,4 @@ kotlin {
...
@@ -121,11 +121,4 @@ kotlin {
}
}
}
}
// FIXME - build and install the sdk into the app/libs directory
// We were having some issues with the kapt generated files from the sdk when importing as a module
task
compileSdk
(
type:
Exec
)
{
commandLine
'./build-sdk.sh'
}
preBuild
.
dependsOn
compileSdk
apply
plugin:
'com.google.gms.google-services'
apply
plugin:
'com.google.gms.google-services'
app/src/main/java/chat/rocket/android/profile/presentation/ProfilePresenter.kt
View file @
5884cc0f
...
@@ -49,7 +49,7 @@ class ProfilePresenter @Inject constructor (private val view: ProfileView,
...
@@ -49,7 +49,7 @@ class ProfilePresenter @Inject constructor (private val view: ProfileView,
launchUI
(
strategy
)
{
launchUI
(
strategy
)
{
view
.
showLoading
()
view
.
showLoading
()
try
{
try
{
val
user
=
client
.
updateProfile
(
myselfId
,
email
,
name
,
username
)
client
.
updateProfile
(
myselfId
,
email
,
name
,
null
,
username
)
view
.
showProfileUpdateSuccessfullyMessage
()
view
.
showProfileUpdateSuccessfullyMessage
()
loadUserProfile
()
loadUserProfile
()
}
catch
(
exception
:
RocketChatException
)
{
}
catch
(
exception
:
RocketChatException
)
{
...
...
app/src/main/res/values-pt-rBR/strings.xml
View file @
5884cc0f
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
<string
name=
"title_sign_up"
>
Inscreva-se
</string>
<string
name=
"title_sign_up"
>
Inscreva-se
</string>
<string
name=
"title_legal_terms"
>
Termos Legais
</string>
<string
name=
"title_legal_terms"
>
Termos Legais
</string>
<string
name=
"title_chats"
>
Chats
</string>
<string
name=
"title_chats"
>
Chats
</string>
<string
name=
"title_settings"
>
Configurações
</string>
<string
name=
"title_profile"
>
Perfil
</string>
<string
name=
"title_profile"
>
Perfil
</string>
<string
name=
"title_update_profile"
>
Editar perfil
</string>
<string
name=
"title_update_profile"
>
Editar perfil
</string>
...
@@ -17,6 +18,12 @@
...
@@ -17,6 +18,12 @@
<string
name=
"action_update"
>
Atualizar
</string>
<string
name=
"action_update"
>
Atualizar
</string>
<string
name=
"action_logout"
>
Sair
</string>
<string
name=
"action_logout"
>
Sair
</string>
<string
name=
"action_files"
>
Arquivos
</string>
<string
name=
"action_files"
>
Arquivos
</string>
<string
name=
"action_confirm_password"
>
Confirme a nova senha
</string>
<!-- Settings List -->
<string-array
name=
"settings_actions"
>
<item
name=
"item_password"
>
Alterar senha
</item>
</string-array>
<!-- Regular information messages -->
<!-- Regular information messages -->
<string
name=
"msg_no_internet_connection"
>
Sem conexão à internet
</string>
<string
name=
"msg_no_internet_connection"
>
Sem conexão à internet
</string>
...
@@ -49,6 +56,8 @@
...
@@ -49,6 +56,8 @@
<string
name=
"msg_content_description_show_attachment_options"
>
Mostrar opções de anexo
</string>
<string
name=
"msg_content_description_show_attachment_options"
>
Mostrar opções de anexo
</string>
<string
name=
"msg_you"
>
Você
</string>
<string
name=
"msg_you"
>
Você
</string>
<string
name=
"msg_unknown"
>
Desconhecido
</string>
<string
name=
"msg_unknown"
>
Desconhecido
</string>
<string
name=
"msg_new_password"
>
Informe a nova senha
</string>
<string
name=
"msg_confirm_password"
>
Confirme a nova senha
</string>
<!-- System messages -->
<!-- System messages -->
<string
name=
"message_room_name_changed"
>
Nome da sala alterado para: %1$s por %2$s
</string>
<string
name=
"message_room_name_changed"
>
Nome da sala alterado para: %1$s por %2$s
</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