Commit c7dfe315 authored by aniket's avatar aniket

adds missing translations

parent db741a34
......@@ -18,6 +18,7 @@ import chat.rocket.android.members.adapter.MembersAdapter
import chat.rocket.android.members.viewmodel.MemberViewModel
import chat.rocket.android.util.extensions.setVisible
import chat.rocket.android.util.extensions.showToast
import chat.rocket.android.util.extensions.textContent
import chat.rocket.android.widget.DividerItemDecoration
import com.jakewharton.rxbinding2.widget.RxTextView
import dagger.android.AndroidInjection
......@@ -155,12 +156,12 @@ class AddMembersActivity : AppCompatActivity(), AddMembersView {
} else {
toolbar_action_text.alpha = 1.0f
}
toolbar_title.text = getString(R.string.title_add_members, membersToAdd.size)
toolbar_title.textContent = getString(R.string.title_add_members, membersToAdd.size.toString())
}
private fun setUpToolBar() {
setSupportActionBar(toolbar)
toolbar_title.text = getString(R.string.title_add_members, 0)
toolbar_title.text = getString(R.string.title_add_members, "0")
toolbar_action_text.text = getString(R.string.action_select_members)
supportActionBar?.setDisplayHomeAsUpEnabled(true)
......
......@@ -17,8 +17,7 @@
<string name="title_about">Acerca de</string>
// TODO: Add proper translation.
<string name="title_create_new_channel">Create New Channel</string>
// TODO: Add proper translation.
<string name="title_add_members">Invite Members (%d)</string>
<string name="title_add_members">Invita a los miembros (%s)</string>
<!-- Actions -->
<string name="action_connect">Conectar</string>
......@@ -132,6 +131,14 @@
<string name="msg_no_search_found">No se han encontrado resultados</string>
// TODO: Add proper translation.
<string name="msg_member_already_added">You have already selected this user</string>
// TODO: Add proper translation.
<string name="msg_channel_created_successfully">"Channel created successfully</string>
// TODO: Add proper translation.
<string name="msg_channel_name">Channel Name</string>
// TODO: Add proper translation.
<string name="msg_add_members">Add Members</string>
// TODO: Add proper translation.
<string name="msg_search">Search</string>
<!-- System messages -->
<string name="message_room_name_changed">Nombre de la sala cambiado para: %1$s por %2$s</string>
......@@ -254,4 +261,9 @@
<string name="notif_action_reply_hint">RESPUESTA</string>
<string name="notif_error_sending">La respuesta ha fallado. Inténtalo de nuevo.</string>
<string name="notif_success_sending">Mensaje enviado a %1$s!</string>
<string name="private_channel_type">Privado</string>
<string name="public_channel_type">Público</string>
<string name="private_channel_type_description">Visible solo para ti y para aquellos a quienes invitas</string>
<string name="public_channel_description">Visible para todos</string>
</resources>
......@@ -17,8 +17,7 @@
<string name="title_about">Sur</string>
// TODO: Add proper translation.
<string name="title_create_new_channel">Create New Channel</string>
// TODO: Add proper translation.
<string name="title_add_members">Invite Members (%d)</string>
<string name="title_add_members">Inviter des membres (%s)</string>
<!-- Actions -->
<string name="action_connect">Se connecter</string>
......@@ -132,6 +131,14 @@
<string name="msg_no_search_found">Aucun résultat trouvé</string>
// TODO: Add proper translation.
<string name="msg_member_already_added">You have already selected this user</string>
// TODO: Add proper translation.
<string name="msg_channel_created_successfully">"Channel created successfully</string>
// TODO: Add proper translation.
<string name="msg_channel_name">Channel Name</string>
// TODO: Add proper translation.
<string name="msg_add_members">Add Members</string>
// TODO: Add proper translation.
<string name="msg_search">Search</string>
<!-- System messages -->
<string name="message_room_name_changed">Le nom de le salle a changé à: %1$s par %2$s</string>
......@@ -255,4 +262,9 @@
<string name="notif_action_reply_hint">RÉPONDRE</string>
<string name="notif_error_sending">La réponse a échoué. Veuillez réessayer.</string>
<string name="notif_success_sending">Message envoyé à %1$s!</string>
<string name="private_channel_type">Privé</string>
<string name="public_channel_type">Public</string>
<string name="private_channel_type_description">Visible uniquement pour vous et ceux que vous invitez</string>
<string name="public_channel_description">Visible par tout le monde</string>
</resources>
......@@ -18,8 +18,7 @@
<string name="title_about">परिचय</string>
// TODO: Add proper translation.
<string name="title_create_new_channel">Create New Channel</string>
// TODO: Add proper translation.
<string name="title_add_members">Invite Members (%d)</string>
<string name="title_add_members">सदस्यों को आमंत्रित करें (%s)</string>
<!-- Actions -->
<string name="action_connect">जुडिये</string>
......@@ -134,6 +133,14 @@
<string name="msg_no_search_found">कोई परिणाम नहीं मिला</string>
// TODO: Add proper translation.
<string name="msg_member_already_added">You have already selected this user</string>
// TODO: Add proper translation.
<string name="msg_channel_created_successfully">"Channel created successfully</string>
// TODO: Add proper translation.
<string name="msg_channel_name">Channel Name</string>
// TODO: Add proper translation.
<string name="msg_add_members">Add Members</string>
// TODO: Add proper translation.
<string name="msg_search">Search</string>
<!-- System messages -->
<string name="message_room_name_changed">%2$s ने रूम का नाम बदलकर %1$s किया</string>
......@@ -256,4 +263,9 @@
<string name="notif_action_reply_hint">जवाब</string>
<string name="notif_error_sending">उत्तर विफल हुआ है। कृपया फिर से प्रयास करें।</string>
<string name="notif_success_sending">संदेश भेजा गया %1$s!</string>
<string name="private_channel_type">निजी</string>
<string name="public_channel_type">सार्वजनिक</string>
<string name="private_channel_type_description">केवल आप के लिए दृश्यमान और जिन्हें आप आमंत्रित करते हैं</string>
<string name="public_channel_description">हर किसी के लिए दृश्यमान</string>
</resources>
\ No newline at end of file
......@@ -17,8 +17,7 @@
<string name="title_about">Sobre</string>
// TODO: Add proper translation.
<string name="title_create_new_channel">Create New Channel</string>
// TODO: Add proper translation.
<string name="title_add_members">Invite Members (%d)</string>
<string name="title_add_members">Convidar membros (%s)</string>
<!-- Actions -->
<string name="action_connect">Conectar</string>
......@@ -124,6 +123,14 @@
<string name="msg_no_search_found">nenhum resultado encontrado</string>
// TODO: Add proper translation.
<string name="msg_member_already_added">You have already selected this user</string>
// TODO: Add proper translation.
<string name="msg_channel_created_successfully">"Channel created successfully</string>
// TODO: Add proper translation.
<string name="msg_channel_name">Channel Name</string>
// TODO: Add proper translation.
<string name="msg_add_members">Add Members</string>
// TODO: Add proper translation.
<string name="msg_search">Search</string>
<!-- System messages -->
<string name="message_room_name_changed">Nome da sala alterado para: %1$s por %2$s</string>
......@@ -242,4 +249,9 @@
<string name="notif_action_reply_hint">RESPONDER</string>
<string name="notif_error_sending">Falha ao enviar a mensagem.</string>
<string name="notif_success_sending">Mensagem enviada para %1$s!</string>
<string name="private_channel_type">Privado</string>
<string name="public_channel_type">Público</string>
<string name="private_channel_type_description">Visível apenas para você e para aqueles a quem você convida</string>
<string name="public_channel_description">Visível para todos</string>
</resources>
......@@ -16,7 +16,7 @@
<string name="title_password">Change Password</string>
<string name="title_update_profile">Update profile</string>
<string name="title_create_new_channel">Create New Channel</string>
<string name="title_add_members">Invite Members (%d)</string>
<string name="title_add_members">Invite Members (%s)</string>
<string name="title_about">About</string>
<!-- Actions -->
......
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