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
7cf12e8d
Commit
7cf12e8d
authored
Oct 02, 2018
by
shubhsherl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localized string
parent
43f070b6
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
31 additions
and
4 deletions
+31
-4
MainPresenter.kt
...va/chat/rocket/android/main/presentation/MainPresenter.kt
+4
-3
strings.xml
app/src/main/res/values-de/strings.xml
+2
-0
strings.xml
app/src/main/res/values-es/strings.xml
+2
-1
strings.xml
app/src/main/res/values-fr/strings.xml
+3
-0
strings.xml
app/src/main/res/values-hi-rIN/strings.xml
+3
-0
strings.xml
app/src/main/res/values-ja/strings.xml
+3
-0
strings.xml
app/src/main/res/values-pt-rBR/strings.xml
+3
-0
strings.xml
app/src/main/res/values-ru-rRU/strings.xml
+3
-0
strings.xml
app/src/main/res/values-tr/strings.xml
+3
-0
strings.xml
app/src/main/res/values-uk/strings.xml
+3
-0
strings.xml
app/src/main/res/values/strings.xml
+2
-0
No files found.
app/src/main/java/chat/rocket/android/main/presentation/MainPresenter.kt
View file @
7cf12e8d
...
@@ -2,6 +2,7 @@ package chat.rocket.android.main.presentation
...
@@ -2,6 +2,7 @@ package chat.rocket.android.main.presentation
import
android.app.AlertDialog
import
android.app.AlertDialog
import
android.content.Context
import
android.content.Context
import
chat.rocket.android.R
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.db.DatabaseManagerFactory
import
chat.rocket.android.db.DatabaseManagerFactory
import
chat.rocket.android.emoji.Emoji
import
chat.rocket.android.emoji.Emoji
...
@@ -165,9 +166,9 @@ class MainPresenter @Inject constructor(
...
@@ -165,9 +166,9 @@ class MainPresenter @Inject constructor(
fun
showLogoutDialog
(
context
:
Context
)
{
fun
showLogoutDialog
(
context
:
Context
)
{
val
builder
=
AlertDialog
.
Builder
(
context
)
val
builder
=
AlertDialog
.
Builder
(
context
)
builder
.
setMessage
(
"Are you sure ?"
)
builder
.
setMessage
(
R
.
string
.
title_confirmation
)
builder
.
setPositiveButton
(
"LogOut"
)
{
_
,
_
->
logout
()}
builder
.
setPositiveButton
(
R
.
string
.
action_logout
)
{
_
,
_
->
logout
()}
.
setNegativeButton
(
"Stay"
)
{
dialog
,
_
->
dialog
.
cancel
()
}
.
setNegativeButton
(
R
.
string
.
action_stay
)
{
dialog
,
_
->
dialog
.
cancel
()
}
builder
.
create
().
show
()
builder
.
create
().
show
()
}
}
/**
/**
...
...
app/src/main/res/values-de/strings.xml
View file @
7cf12e8d
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
<string
name=
"title_update_profile"
>
Update Profil
</string>
<string
name=
"title_update_profile"
>
Update Profil
</string>
<string
name=
"title_about"
>
Über
</string>
<string
name=
"title_about"
>
Über
</string>
<string
name=
"title_create_channel"
>
Erstelle Raum
</string>
<string
name=
"title_create_channel"
>
Erstelle Raum
</string>
<string
name=
"title_confirmation"
>
Are You Sure?
</string>
<!-- TODO Add translation -->
<!-- Actions -->
<!-- Actions -->
<string
name=
"action_connect"
>
Verbinde
</string>
<string
name=
"action_connect"
>
Verbinde
</string>
...
@@ -33,6 +34,7 @@
...
@@ -33,6 +34,7 @@
<string
name=
"action_create_channel"
>
Erstelle Raum
</string>
<string
name=
"action_create_channel"
>
Erstelle Raum
</string>
<string
name=
"action_create"
>
Erstelle
</string>
<string
name=
"action_create"
>
Erstelle
</string>
<string
name=
"action_logout"
>
Abmelden
</string>
<string
name=
"action_logout"
>
Abmelden
</string>
<string
name=
"action_stay"
>
Stay
</string>
<!-- TODO Add translation -->
<string
name=
"action_files"
>
Dateien
</string>
<string
name=
"action_files"
>
Dateien
</string>
<string
name=
"action_confirm_password"
>
Bestätige Passwort Änderung
</string>
<string
name=
"action_confirm_password"
>
Bestätige Passwort Änderung
</string>
<string
name=
"action_join_chat"
>
Trete Chat bei
</string>
<string
name=
"action_join_chat"
>
Trete Chat bei
</string>
...
...
app/src/main/res/values-es/strings.xml
View file @
7cf12e8d
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<string
name=
"title_update_profile"
>
Actualización del perfil
</string>
<string
name=
"title_update_profile"
>
Actualización del perfil
</string>
<string
name=
"title_about"
>
Acerca de
</string>
<string
name=
"title_about"
>
Acerca de
</string>
<string
name=
"title_create_channel"
>
Crear canal
</string>
<string
name=
"title_create_channel"
>
Crear canal
</string>
<string
name=
"title_confirmation"
>
Are You Sure?
</string>
<!-- TODO Add translation -->
<!-- Actions -->
<!-- Actions -->
<string
name=
"action_connect"
>
Conectar
</string>
<string
name=
"action_connect"
>
Conectar
</string>
<string
name=
"action_use_this_username"
>
Usa este nombre de usuario
</string>
<string
name=
"action_use_this_username"
>
Usa este nombre de usuario
</string>
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
<string
name=
"action_create_channel"
>
Crear canal
</string>
<string
name=
"action_create_channel"
>
Crear canal
</string>
<string
name=
"action_create"
>
Create
</string>
<string
name=
"action_create"
>
Create
</string>
<string
name=
"action_logout"
>
Cerrar sesión
</string>
<string
name=
"action_logout"
>
Cerrar sesión
</string>
<string
name=
"action_stay"
>
Stay
</string>
<!-- TODO Add translation -->
<string
name=
"action_files"
>
Archivos
</string>
<string
name=
"action_files"
>
Archivos
</string>
<string
name=
"action_confirm_password"
>
Confirmar cambio de contraseña
</string>
<string
name=
"action_confirm_password"
>
Confirmar cambio de contraseña
</string>
<string
name=
"action_join_chat"
>
Unirse al chat
</string>
<string
name=
"action_join_chat"
>
Unirse al chat
</string>
...
...
app/src/main/res/values-fr/strings.xml
View file @
7cf12e8d
...
@@ -20,6 +20,8 @@
...
@@ -20,6 +20,8 @@
<string
name=
"title_update_profile"
>
Mettre à jour le profil
</string>
<string
name=
"title_update_profile"
>
Mettre à jour le profil
</string>
<string
name=
"title_about"
>
À propos
</string>
<string
name=
"title_about"
>
À propos
</string>
<string
name=
"title_create_channel"
>
Créer salon
</string>
<string
name=
"title_create_channel"
>
Créer salon
</string>
<string
name=
"title_confirmation"
>
Are You Sure?
</string>
<!-- TODO Add translation -->
<!-- Actions -->
<!-- Actions -->
...
@@ -34,6 +36,7 @@
...
@@ -34,6 +36,7 @@
<string
name=
"action_create_channel"
>
Créer salon
</string>
<string
name=
"action_create_channel"
>
Créer salon
</string>
<string
name=
"action_create"
>
Créer
</string>
<string
name=
"action_create"
>
Créer
</string>
<string
name=
"action_logout"
>
Se déconnecter
</string>
<string
name=
"action_logout"
>
Se déconnecter
</string>
<string
name=
"action_stay"
>
Stay
</string>
<!-- TODO Add translation -->
<string
name=
"action_files"
>
Fichiers
</string>
<string
name=
"action_files"
>
Fichiers
</string>
<string
name=
"action_confirm_password"
>
Confirmer le mot de passe
</string>
<string
name=
"action_confirm_password"
>
Confirmer le mot de passe
</string>
<string
name=
"action_join_chat"
>
Rejoignez le chat
</string>
<string
name=
"action_join_chat"
>
Rejoignez le chat
</string>
...
...
app/src/main/res/values-hi-rIN/strings.xml
View file @
7cf12e8d
...
@@ -20,6 +20,8 @@
...
@@ -20,6 +20,8 @@
<string
name=
"title_update_profile"
>
प्रोफ़ाइल अपडेट करें
</string>
<string
name=
"title_update_profile"
>
प्रोफ़ाइल अपडेट करें
</string>
<string
name=
"title_about"
>
परिचय
</string>
<string
name=
"title_about"
>
परिचय
</string>
<string
name=
"title_create_channel"
>
चैनल बनाएं
</string>
<string
name=
"title_create_channel"
>
चैनल बनाएं
</string>
<string
name=
"title_confirmation"
>
Are You Sure?
</string>
<!-- TODO Add translation -->
<!-- Actions -->
<!-- Actions -->
<string
name=
"action_connect"
>
जुडिये
</string>
<string
name=
"action_connect"
>
जुडिये
</string>
...
@@ -33,6 +35,7 @@
...
@@ -33,6 +35,7 @@
<string
name=
"action_create_channel"
>
चैनल बनाएं
</string>
<string
name=
"action_create_channel"
>
चैनल बनाएं
</string>
<string
name=
"action_create"
>
बनाएं
</string>
<string
name=
"action_create"
>
बनाएं
</string>
<string
name=
"action_logout"
>
लोग आउट करें
</string>
<string
name=
"action_logout"
>
लोग आउट करें
</string>
<string
name=
"action_stay"
>
Stay
</string>
<!-- TODO Add translation -->
<string
name=
"action_files"
>
फ़ाइलें
</string>
<string
name=
"action_files"
>
फ़ाइलें
</string>
<string
name=
"action_confirm_password"
>
पासवर्ड परिवर्तन की पुष्टि करें
</string>
<string
name=
"action_confirm_password"
>
पासवर्ड परिवर्तन की पुष्टि करें
</string>
<string
name=
"action_join_chat"
>
चैट में शामिल हों
</string>
<string
name=
"action_join_chat"
>
चैट में शामिल हों
</string>
...
...
app/src/main/res/values-ja/strings.xml
View file @
7cf12e8d
...
@@ -22,6 +22,8 @@
...
@@ -22,6 +22,8 @@
<string
name=
"title_update_profile"
>
プロフィールの更新
</string>
<string
name=
"title_update_profile"
>
プロフィールの更新
</string>
<string
name=
"title_about"
>
About
</string>
<string
name=
"title_about"
>
About
</string>
<string
name=
"title_create_channel"
>
新しいチャネルを作成します
</string>
<string
name=
"title_create_channel"
>
新しいチャネルを作成します
</string>
<string
name=
"title_confirmation"
>
Are You Sure?
</string>
<!-- TODO Add translation -->
<!-- Actions -->
<!-- Actions -->
<string
name=
"action_connect"
>
接続
</string>
<string
name=
"action_connect"
>
接続
</string>
...
@@ -35,6 +37,7 @@
...
@@ -35,6 +37,7 @@
<string
name=
"action_create_channel"
>
チャンネル作成
</string>
<string
name=
"action_create_channel"
>
チャンネル作成
</string>
<string
name=
"action_create"
>
作ります
</string>
<string
name=
"action_create"
>
作ります
</string>
<string
name=
"action_logout"
>
ログアウト
</string>
<string
name=
"action_logout"
>
ログアウト
</string>
<string
name=
"action_stay"
>
Stay
</string>
<!-- TODO Add translation -->
<string
name=
"action_files"
>
ファイル
</string>
<string
name=
"action_files"
>
ファイル
</string>
<string
name=
"action_confirm_password"
>
変更したパスワードの確認
</string>
<string
name=
"action_confirm_password"
>
変更したパスワードの確認
</string>
<string
name=
"action_join_chat"
>
チャットに参加
</string>
<string
name=
"action_join_chat"
>
チャットに参加
</string>
...
...
app/src/main/res/values-pt-rBR/strings.xml
View file @
7cf12e8d
...
@@ -20,6 +20,8 @@
...
@@ -20,6 +20,8 @@
<string
name=
"title_update_profile"
>
Editar perfil
</string>
<string
name=
"title_update_profile"
>
Editar perfil
</string>
<string
name=
"title_about"
>
Sobre
</string>
<string
name=
"title_about"
>
Sobre
</string>
<string
name=
"title_create_channel"
>
Criar chat
</string>
<string
name=
"title_create_channel"
>
Criar chat
</string>
<string
name=
"title_confirmation"
>
Are You Sure?
</string>
<!-- TODO Add translation -->
<!-- Actions -->
<!-- Actions -->
<string
name=
"action_connect"
>
Conectar
</string>
<string
name=
"action_connect"
>
Conectar
</string>
...
@@ -33,6 +35,7 @@
...
@@ -33,6 +35,7 @@
<string
name=
"action_create_channel"
>
Criar chat
</string>
<string
name=
"action_create_channel"
>
Criar chat
</string>
<string
name=
"action_create"
>
Criar
</string>
<string
name=
"action_create"
>
Criar
</string>
<string
name=
"action_logout"
>
Sair
</string>
<string
name=
"action_logout"
>
Sair
</string>
<string
name=
"action_stay"
>
Stay
</string>
<!-- TODO Add translation -->
<string
name=
"action_files"
>
Arquivos
</string>
<string
name=
"action_files"
>
Arquivos
</string>
<string
name=
"action_confirm_password"
>
Confirme a nova senha
</string>
<string
name=
"action_confirm_password"
>
Confirme a nova senha
</string>
<string
name=
"action_join_chat"
>
Entrar no Chat
</string>
<string
name=
"action_join_chat"
>
Entrar no Chat
</string>
...
...
app/src/main/res/values-ru-rRU/strings.xml
View file @
7cf12e8d
...
@@ -20,6 +20,8 @@
...
@@ -20,6 +20,8 @@
<string
name=
"title_update_profile"
>
Обновить профиль
</string>
<string
name=
"title_update_profile"
>
Обновить профиль
</string>
<string
name=
"title_about"
>
О программе
</string>
<string
name=
"title_about"
>
О программе
</string>
<string
name=
"title_create_channel"
>
Создать новый канал
</string>
<string
name=
"title_create_channel"
>
Создать новый канал
</string>
<string
name=
"title_confirmation"
>
Are You Sure?
</string>
<!-- TODO Add translation -->
<!-- Actions -->
<!-- Actions -->
<string
name=
"action_connect"
>
Подключиться
</string>
<string
name=
"action_connect"
>
Подключиться
</string>
...
@@ -33,6 +35,7 @@
...
@@ -33,6 +35,7 @@
<string
name=
"action_create_channel"
>
Создать канал
</string>
<string
name=
"action_create_channel"
>
Создать канал
</string>
<string
name=
"action_create"
>
Создать
</string>
<string
name=
"action_create"
>
Создать
</string>
<string
name=
"action_logout"
>
Выйти
</string>
<string
name=
"action_logout"
>
Выйти
</string>
<string
name=
"action_stay"
>
Stay
</string>
<!-- TODO Add translation -->
<string
name=
"action_files"
>
Файлы
</string>
<string
name=
"action_files"
>
Файлы
</string>
<string
name=
"action_confirm_password"
>
Подтверждение изменения пароля
</string>
<string
name=
"action_confirm_password"
>
Подтверждение изменения пароля
</string>
<string
name=
"action_join_chat"
>
Присоединиться к чату
</string>
<string
name=
"action_join_chat"
>
Присоединиться к чату
</string>
...
...
app/src/main/res/values-tr/strings.xml
View file @
7cf12e8d
...
@@ -20,6 +20,8 @@
...
@@ -20,6 +20,8 @@
<string
name=
"title_update_profile"
>
Profilinizi Düzenleyin
</string>
<string
name=
"title_update_profile"
>
Profilinizi Düzenleyin
</string>
<string
name=
"title_about"
>
Hakkında
</string>
<string
name=
"title_about"
>
Hakkında
</string>
<string
name=
"title_create_channel"
>
Yeni Kanal Oluştur
</string>
<string
name=
"title_create_channel"
>
Yeni Kanal Oluştur
</string>
<string
name=
"title_confirmation"
>
Are You Sure?
</string>
<!-- TODO Add translation -->
<!-- Actions -->
<!-- Actions -->
<string
name=
"action_connect"
>
Bağlan
</string>
<string
name=
"action_connect"
>
Bağlan
</string>
...
@@ -33,6 +35,7 @@
...
@@ -33,6 +35,7 @@
<string
name=
"action_create_channel"
>
Yeni Kanal Oluştur
</string>
<string
name=
"action_create_channel"
>
Yeni Kanal Oluştur
</string>
<string
name=
"action_create"
>
Oluştur
</string>
<string
name=
"action_create"
>
Oluştur
</string>
<string
name=
"action_logout"
>
Çıkış Yap
</string>
<string
name=
"action_logout"
>
Çıkış Yap
</string>
<string
name=
"action_stay"
>
Stay
</string>
<!-- TODO Add translation -->
<string
name=
"action_files"
>
Dosyalar
</string>
<string
name=
"action_files"
>
Dosyalar
</string>
<string
name=
"action_confirm_password"
>
Şifre Değişikliğini Onaylayın
</string>
<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_join_chat"
>
Sohbete Bağlan
</string>
...
...
app/src/main/res/values-uk/strings.xml
View file @
7cf12e8d
...
@@ -20,6 +20,8 @@
...
@@ -20,6 +20,8 @@
<string
name=
"title_update_profile"
>
Оновити профіль
</string>
<string
name=
"title_update_profile"
>
Оновити профіль
</string>
<string
name=
"title_about"
>
"Про програму"
</string>
<string
name=
"title_about"
>
"Про програму"
</string>
<string
name=
"title_create_channel"
>
Створити новий канал
</string>
<string
name=
"title_create_channel"
>
Створити новий канал
</string>
<string
name=
"title_confirmation"
>
Are You Sure?
</string>
<!-- TODO Add translation -->
<!-- Actions -->
<!-- Actions -->
<string
name=
"action_connect"
>
Підключитися
</string>
<string
name=
"action_connect"
>
Підключитися
</string>
...
@@ -33,6 +35,7 @@
...
@@ -33,6 +35,7 @@
<string
name=
"action_create_channel"
>
Створити канал
</string>
<string
name=
"action_create_channel"
>
Створити канал
</string>
<string
name=
"action_create"
>
Створити
</string>
<string
name=
"action_create"
>
Створити
</string>
<string
name=
"action_logout"
>
Вийти
</string>
<string
name=
"action_logout"
>
Вийти
</string>
<string
name=
"action_stay"
>
Stay
</string>
<!-- TODO Add translation -->
<string
name=
"action_files"
>
Файли
</string>
<string
name=
"action_files"
>
Файли
</string>
<string
name=
"action_confirm_password"
>
Підтвердження зміни пароля
</string>
<string
name=
"action_confirm_password"
>
Підтвердження зміни пароля
</string>
<string
name=
"action_join_chat"
>
Приєднатися до чату
</string>
<string
name=
"action_join_chat"
>
Приєднатися до чату
</string>
...
...
app/src/main/res/values/strings.xml
View file @
7cf12e8d
...
@@ -32,6 +32,7 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
...
@@ -32,6 +32,7 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<string
name=
"title_update_profile"
>
Update profile
</string>
<string
name=
"title_update_profile"
>
Update profile
</string>
<string
name=
"title_about"
>
About
</string>
<string
name=
"title_about"
>
About
</string>
<string
name=
"title_create_channel"
>
Create Channel
</string>
<string
name=
"title_create_channel"
>
Create Channel
</string>
<string
name=
"title_confirmation"
>
Are You Sure?
</string>
<!-- Actions -->
<!-- Actions -->
<string
name=
"action_connect"
>
Connect
</string>
<string
name=
"action_connect"
>
Connect
</string>
...
@@ -45,6 +46,7 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
...
@@ -45,6 +46,7 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<string
name=
"action_create_channel"
>
Create channel
</string>
<string
name=
"action_create_channel"
>
Create channel
</string>
<string
name=
"action_create"
>
Create
</string>
<string
name=
"action_create"
>
Create
</string>
<string
name=
"action_logout"
>
Logout
</string>
<string
name=
"action_logout"
>
Logout
</string>
<string
name=
"action_stay"
>
Stay
</string>
<string
name=
"action_files"
>
Files
</string>
<string
name=
"action_files"
>
Files
</string>
<string
name=
"action_confirm_password"
>
Confirm Password Change
</string>
<string
name=
"action_confirm_password"
>
Confirm Password Change
</string>
<string
name=
"action_join_chat"
>
Join Chat
</string>
<string
name=
"action_join_chat"
>
Join Chat
</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