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
57507918
Commit
57507918
authored
Nov 26, 2018
by
Leonardo Aramaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show Report message action to context menu
parent
3a5d33f2
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
285 additions
and
13 deletions
+285
-13
ChatRoomAdapter.kt
...a/chat/rocket/android/chatroom/adapter/ChatRoomAdapter.kt
+16
-0
ChatRoomPresenter.kt
...rocket/android/chatroom/presentation/ChatRoomPresenter.kt
+13
-0
ChatRoomFragment.kt
.../java/chat/rocket/android/chatroom/ui/ChatRoomFragment.kt
+35
-0
dialog_report.xml
app/src/main/res/layout/dialog_report.xml
+129
-0
message_actions.xml
app/src/main/res/menu/message_actions.xml
+11
-9
strings.xml
app/src/main/res/values-de/strings.xml
+6
-0
strings.xml
app/src/main/res/values-es/strings.xml
+5
-0
strings.xml
app/src/main/res/values-fr/strings.xml
+8
-1
strings.xml
app/src/main/res/values-hi-rIN/strings.xml
+8
-0
strings.xml
app/src/main/res/values-it/strings.xml
+9
-1
strings.xml
app/src/main/res/values-ja/strings.xml
+9
-1
strings.xml
app/src/main/res/values-pt-rBR/strings.xml
+8
-0
strings.xml
app/src/main/res/values-ru-rRU/strings.xml
+8
-0
strings.xml
app/src/main/res/values-tr/strings.xml
+6
-0
strings.xml
app/src/main/res/values-uk/strings.xml
+8
-0
strings.xml
app/src/main/res/values/strings.xml
+6
-1
No files found.
app/src/main/java/chat/rocket/android/chatroom/adapter/ChatRoomAdapter.kt
View file @
57507918
...
...
@@ -251,6 +251,9 @@ class ChatRoomAdapter(
R
.
id
.
action_message_permalink
->
{
actionSelectListener
?.
copyPermalink
(
id
)
}
R
.
id
.
action_message_report
->
{
actionSelectListener
?.
reportMessage
(
id
)
}
else
->
{
TODO
(
"Not implemented"
)
}
...
...
@@ -260,16 +263,29 @@ class ChatRoomAdapter(
}
interface
OnActionSelected
{
fun
showMessageInfo
(
id
:
String
)
fun
citeMessage
(
roomName
:
String
,
roomType
:
String
,
messageId
:
String
,
mentionAuthor
:
Boolean
)
fun
copyMessage
(
id
:
String
)
fun
editMessage
(
roomId
:
String
,
messageId
:
String
,
text
:
String
)
fun
toogleStar
(
id
:
String
,
star
:
Boolean
)
fun
tooglePin
(
id
:
String
,
pin
:
Boolean
)
fun
deleteMessage
(
roomId
:
String
,
id
:
String
)
fun
showReactions
(
id
:
String
)
fun
openDirectMessage
(
roomName
:
String
,
message
:
String
)
fun
sendMessage
(
chatRoomId
:
String
,
text
:
String
)
fun
copyPermalink
(
id
:
String
)
fun
reportMessage
(
id
:
String
)
}
}
app/src/main/java/chat/rocket/android/chatroom/presentation/ChatRoomPresenter.kt
View file @
57507918
...
...
@@ -60,6 +60,7 @@ import chat.rocket.core.internal.rest.joinChat
import
chat.rocket.core.internal.rest.markAsRead
import
chat.rocket.core.internal.rest.messages
import
chat.rocket.core.internal.rest.pinMessage
import
chat.rocket.core.internal.rest.reportMessage
import
chat.rocket.core.internal.rest.runCommand
import
chat.rocket.core.internal.rest.searchMessages
import
chat.rocket.core.internal.rest.sendMessage
...
...
@@ -373,6 +374,18 @@ class ChatRoomPresenter @Inject constructor(
}
}
fun
reportMessage
(
messageId
:
String
,
description
:
String
)
{
launchUI
(
strategy
)
{
try
{
retryIO
(
"reportMessage($messageId, $description)"
)
{
client
.
reportMessage
(
messageId
=
messageId
,
description
=
description
)
}
}
catch
(
ex
:
RocketChatException
)
{
Timber
.
e
(
ex
)
}
}
}
fun
selectFile
()
{
view
.
showFileSelection
(
settings
.
uploadMimeTypeFilter
())
}
...
...
app/src/main/java/chat/rocket/android/chatroom/ui/ChatRoomFragment.kt
View file @
57507918
...
...
@@ -86,6 +86,8 @@ import dagger.android.support.AndroidSupportInjection
import
io.reactivex.Observable
import
io.reactivex.disposables.CompositeDisposable
import
io.reactivex.disposables.Disposable
import
kotlinx.android.synthetic.main.dialog_report.view.*
import
kotlinx.android.synthetic.main.emoji_image_row_item.*
import
kotlinx.android.synthetic.main.emoji_image_row_item.view.*
import
kotlinx.android.synthetic.main.emoji_row_item.view.*
import
kotlinx.android.synthetic.main.fragment_chat_room.*
...
...
@@ -93,6 +95,7 @@ import kotlinx.android.synthetic.main.message_attachment_options.*
import
kotlinx.android.synthetic.main.message_composer.*
import
kotlinx.android.synthetic.main.message_list.*
import
kotlinx.android.synthetic.main.reaction_praises_list_item.view.*
import
kotlinx.android.synthetic.main.reaction_praises_list_item.*
import
timber.log.Timber
import
java.io.File
import
java.io.IOException
...
...
@@ -1169,4 +1172,36 @@ class ChatRoomFragment : Fragment(), ChatRoomView, EmojiKeyboardListener, EmojiR
override
fun
sendMessage
(
chatRoomId
:
String
,
text
:
String
)
{
presenter
.
sendMessage
(
chatRoomId
,
text
,
null
)
}
override
fun
reportMessage
(
id
:
String
)
{
val
root
=
LayoutInflater
.
from
(
requireContext
()).
inflate
(
R
.
layout
.
dialog_report
,
null
)
val
disposable
=
CompositeDisposable
()
val
dialog
=
androidx
.
appcompat
.
app
.
AlertDialog
.
Builder
(
requireContext
())
.
setTitle
(
R
.
string
.
action_msg_report
)
.
setCancelable
(
true
)
.
setView
(
root
)
.
setOnDismissListener
{
disposable
.
clear
()
}
.
show
()
with
(
root
)
{
disposable
.
add
(
edit_text_description
.
asObservable
()
.
skip
(
1
)
.
subscribe
{
if
(
it
.
isNotEmpty
())
text_view_error
.
fadeOut
()
}
)
button_send_report
.
setOnClickListener
{
val
description
=
edit_text_description
.
text
.
toString
()
if
(
description
.
isBlank
())
{
text_view_error
.
fadeIn
()
}
else
{
dialog
.
dismiss
()
presenter
.
reportMessage
(
messageId
=
id
,
description
=
description
)
}
}
}
}
}
app/src/main/res/layout/dialog_report.xml
0 → 100644
View file @
57507918
<?xml version="1.0" encoding="utf-8"?>
<!--<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"-->
<!--xmlns:app="http://schemas.android.com/apk/res-auto"-->
<!--xmlns:tools="http://schemas.android.com/tools"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:fillViewport="true">-->
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingBottom=
"16dp"
>
<!--<com.google.android.material.appbar.AppBarLayout-->
<!--android:id="@+id/appBarLayout"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:background="@color/colorPrimary"-->
<!--android:theme="@style/Theme.AppCompat.Light.NoActionBar">-->
<!--<androidx.appcompat.widget.Toolbar-->
<!--android:id="@+id/toolbar"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="?attr/actionBarSize"-->
<!--app:layout_scrollFlags="scroll|enterAlways"-->
<!--app:navigationIcon="?android:attr/homeAsUpIndicator"-->
<!--app:popupTheme="@style/ThemeOverlay.AppCompat.Light"-->
<!--app:theme="@style/ActionModeStyle">-->
<!--<RelativeLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content">-->
<!--<TextView-->
<!--android:id="@+id/text_change_password"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_alignParentStart="true"-->
<!--android:ellipsize="end"-->
<!--android:maxLines="1"-->
<!--android:text="@string/action_msg_report"-->
<!--android:textColor="@color/colorWhite"-->
<!--android:textSize="18sp"-->
<!--android:textStyle="bold" />-->
<!--</RelativeLayout>-->
<!--</androidx.appcompat.widget.Toolbar>-->
<!--</com.google.android.material.appbar.AppBarLayout>-->
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/guideline_start"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
app:layout_constraintGuide_begin=
"24dp"
/>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/guideline_end"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
app:layout_constraintGuide_end=
"24dp"
/>
<!--<TextView-->
<!--android:id="@+id/text_view_report_label"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="Description"-->
<!--android:textColor="@color/darkGray"-->
<!--app:layout_constraintStart_toStartOf="@+id/guideline_start"-->
<!--app:layout_constraintTop_toTopOf="parent" />-->
<!--<TextView-->
<!--android:id="@+id/text_view_required"-->
<!--android:layout_width="0dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginStart="8dp"-->
<!--android:text="(required)"-->
<!--android:textColor="@color/darkGray"-->
<!--android:textSize="14sp"-->
<!--app:layout_constraintEnd_toEndOf="@+id/guideline_end"-->
<!--app:layout_constraintStart_toEndOf="@id/text_view_report_label"-->
<!--app:layout_constraintTop_toTopOf="parent" />-->
<EditText
android:id=
"@+id/edit_text_description"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:inputType=
"textCapSentences|textMultiLine"
android:maxLines=
"4"
android:overScrollMode=
"always"
android:scrollbarStyle=
"insideInset"
android:scrollbars=
"vertical"
android:textSize=
"16sp"
app:layout_constraintEnd_toEndOf=
"@+id/guideline_end"
app:layout_constraintStart_toStartOf=
"@+id/guideline_start"
app:layout_constraintTop_toTopOf=
"parent"
tools:text=
"Jot something untoward..."
/>
<TextView
android:id=
"@+id/text_view_error"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:text=
"@string/required"
android:textColor=
"@color/colorRed"
android:visibility=
"gone"
app:layout_constraintEnd_toEndOf=
"@+id/guideline_end"
app:layout_constraintStart_toStartOf=
"@+id/guideline_start"
app:layout_constraintTop_toBottomOf=
"@+id/edit_text_description"
tools:visibility=
"visible"
/>
<Button
android:id=
"@+id/button_send_report"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:background=
"@drawable/rounded_color_accent"
android:fontFamily=
"sans-serif-medium"
android:text=
"@string/submit"
android:textColor=
"@android:color/white"
app:layout_constraintEnd_toEndOf=
"@+id/guideline_end"
app:layout_constraintStart_toStartOf=
"@+id/guideline_start"
app:layout_constraintTop_toBottomOf=
"@id/text_view_error"
/>
1
</androidx.constraintlayout.widget.ConstraintLayout>
<!--</androidx.core.widget.NestedScrollView>-->
app/src/main/res/menu/message_actions.xml
View file @
57507918
...
...
@@ -6,11 +6,19 @@
android:id=
"@+id/action_message_info"
android:icon=
"@drawable/ic_action_message_info_outline_24dp"
android:title=
"@string/action_msg_info"
/>
<item
android:id=
"@+id/action_message_reply"
android:icon=
"@drawable/ic_action_message_reply_24dp"
android:title=
"@string/action_msg_reply"
/>
<item
android:id=
"@+id/action_message_edit"
android:icon=
"@drawable/ic_action_message_edit_24dp"
android:title=
"@string/action_msg_edit"
/>
<item
android:id=
"@+id/action_menu_msg_react"
android:icon=
"@drawable/ic_add_reaction"
android:title=
"@string/action_msg_add_reaction"
/>
<item
android:id=
"@+id/action_message_permalink"
...
...
@@ -27,11 +35,6 @@
android:icon=
"@drawable/ic_action_message_copy_24dp"
android:title=
"@string/action_msg_copy"
/>
<item
android:id=
"@+id/action_menu_msg_react"
android:icon=
"@drawable/ic_add_reaction"
android:title=
"@string/action_msg_add_reaction"
/>
<!--<item-->
<!--android:id="@+id/action_menu_msg_share"-->
<!--andrtextIconicon="@drawable/ic_share_black_24px"-->
...
...
@@ -48,9 +51,8 @@
android:title=
"@string/action_msg_pin"
/>
<item
android:id=
"@+id/action_message_edit"
android:icon=
"@drawable/ic_action_message_edit_24dp"
android:title=
"@string/action_msg_edit"
/>
android:id=
"@+id/action_message_report"
android:title=
"@string/action_msg_report"
/>
<item
android:id=
"@+id/action_message_delete"
...
...
app/src/main/res/values-de/strings.xml
View file @
57507918
...
...
@@ -225,6 +225,8 @@
<string
name=
"action_msg_add_reaction"
>
Reaktion hinzufügen
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_copy_permalink"
>
Copy permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
Bearbeiten nicht erlaubt
</string>
...
...
@@ -334,4 +336,8 @@
<!-- User Details -->
<string
name=
"message"
>
Message
</string>
<!--TODO - Add proper translation-->
<string
name=
"timezone"
>
Timezone
</string>
<!--TODO - Add proper translation-->
<!-- Report -->
<string
name=
"submit"
>
Submit
</string>
<string
name=
"required"
>
*required
</string>
</resources>
app/src/main/res/values-es/strings.xml
View file @
57507918
...
...
@@ -220,6 +220,8 @@
<string
name=
"action_title_editing"
>
Edición de mensaje
</string>
<string
name=
"action_msg_add_reaction"
>
Añadir una reacción
</string>
<string
name=
"action_msg_copy_permalink"
>
Copiar permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
La edición no és permitida
</string>
...
...
@@ -335,4 +337,7 @@
<!-- User Details -->
<string
name=
"message"
>
Message
</string>
<!-- TODO - Add proper translation -->
<string
name=
"timezone"
>
Timezone
</string>
<!-- TODO - Add proper translation -->
<!-- Report -->
<string
name=
"submit"
>
Submit
</string>
<!--TODO - Add proper translation-->
<string
name=
"required"
>
*required
</string>
<!--TODO - Add proper translation-->
</resources>
app/src/main/res/values-fr/strings.xml
View file @
57507918
...
...
@@ -226,6 +226,8 @@
<string
name=
"action_msg_add_reaction"
>
Ajouter une réaction
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_copy_permalink"
>
Copy permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
L\'édition n\'est pas autorisée
</string>
...
...
@@ -340,4 +342,9 @@
<string
name=
"message"
>
Message
</string>
<!-- TODO - Add proper translation -->
<string
name=
"timezone"
>
Timezone
</string>
</resources>
\ No newline at end of file
<!-- Report -->
<!--TODO - Add proper translation-->
<string
name=
"submit"
>
Submit
</string>
<!--TODO - Add proper translation-->
<string
name=
"required"
>
*required
</string>
</resources>
app/src/main/res/values-hi-rIN/strings.xml
View file @
57507918
...
...
@@ -227,6 +227,8 @@
<string
name=
"action_title_editing"
>
संपादन संदेश
</string>
<string
name=
"action_msg_add_reaction"
>
प्रतिक्रिया जोड़ें
</string>
<string
name=
"action_msg_copy_permalink"
>
परमालिंक कॉपी करें
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
संपादन की अनुमति नहीं है
</string>
...
...
@@ -339,4 +341,10 @@
<string
name=
"message"
>
Message
</string>
<!-- TODO - Add proper translation -->
<string
name=
"timezone"
>
Timezone
</string>
<!-- Report -->
<!--TODO - Add proper translation-->
<string
name=
"submit"
>
Submit
</string>
<!--TODO - Add proper translation-->
<string
name=
"required"
>
*required
</string>
</resources>
app/src/main/res/values-it/strings.xml
View file @
57507918
...
...
@@ -222,7 +222,9 @@
<string
name=
"action_msg_share"
>
Condividi
</string>
<string
name=
"action_title_editing"
>
Modifica messaggio
</string>
<string
name=
"action_msg_add_reaction"
>
Aggiungi reazione
</string>
<string
name=
"action_msg_copy_permalink"
>
Copia permalink
</string>
3
<string
name=
"action_msg_copy_permalink"
>
Copia permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
La modifica non è consentita
</string>
...
...
@@ -334,4 +336,10 @@
<string
name=
"message"
>
Message
</string>
<!-- TODO - Add proper translation -->
<string
name=
"timezone"
>
Timezone
</string>
<!-- Report -->
<!--TODO - Add proper translation-->
<string
name=
"submit"
>
Submit
</string>
<!--TODO - Add proper translation-->
<string
name=
"required"
>
*required
</string>
</resources>
app/src/main/res/values-ja/strings.xml
View file @
57507918
...
...
@@ -228,6 +228,8 @@
<string
name=
"action_title_editing"
>
メッセージの編集
</string>
<string
name=
"action_msg_add_reaction"
>
リアクションする
</string>
<string
name=
"action_msg_copy_permalink"
>
パーマリンクのコピー
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
編集は許可されていません
</string>
...
...
@@ -341,4 +343,10 @@
<string
name=
"message"
>
Message
</string>
<!-- TODO - Add proper translation -->
<string
name=
"timezone"
>
Timezone
</string>
</resources>
\ No newline at end of file
<!-- Report -->
<!--TODO - Add proper translation-->
<string
name=
"submit"
>
Submit
</string>
<!--TODO - Add proper translation-->
<string
name=
"required"
>
*required
</string>
</resources>
app/src/main/res/values-pt-rBR/strings.xml
View file @
57507918
...
...
@@ -225,6 +225,8 @@
<string
name=
"action_title_editing"
>
Editando mensagem
</string>
<string
name=
"action_msg_add_reaction"
>
Adicionar reação
</string>
<string
name=
"action_msg_copy_permalink"
>
Copiar permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Reportar
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
Edição não permitida
</string>
...
...
@@ -338,4 +340,10 @@
<string
name=
"message"
>
Mensagem
</string>
<!-- TODO - Add proper translation -->
<string
name=
"timezone"
>
Fuso horário
</string>
<!-- Report -->
<!--TODO - Add proper translation-->
<string
name=
"submit"
>
Enviar
</string>
<!--TODO - Add proper translation-->
<string
name=
"required"
>
*obrigatório
</string>
</resources>
app/src/main/res/values-ru-rRU/strings.xml
View file @
57507918
...
...
@@ -224,6 +224,8 @@
<string
name=
"action_title_editing"
>
Редактирование сообщения
</string>
<string
name=
"action_msg_add_reaction"
>
Отреагировать
</string>
<string
name=
"action_msg_copy_permalink"
>
Копировать ссылку
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
Редактирование запрещено
</string>
...
...
@@ -336,4 +338,10 @@
<string
name=
"message"
>
Message
</string>
<!-- TODO - Add proper translation -->
<string
name=
"timezone"
>
Timezone
</string>
<!-- Report -->
<!--TODO - Add proper translation-->
<string
name=
"submit"
>
Submit
</string>
<!--TODO - Add proper translation-->
<string
name=
"required"
>
*required
</string>
</resources>
app/src/main/res/values-tr/strings.xml
View file @
57507918
...
...
@@ -228,6 +228,8 @@
<string
name=
"action_msg_add_reaction"
>
Tepki Ekle
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_copy_permalink"
>
Copy permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
Düzenlemeye izin verilmiyor
</string>
...
...
@@ -337,4 +339,8 @@
<!-- User Details -->
<string
name=
"message"
>
Message
</string>
<!--TODO - Add proper translation-->
<string
name=
"timezone"
>
Timezone
</string>
<!--TODO - Add proper translation-->
<!-- Report -->
<string
name=
"submit"
>
Submit
</string>
<!--TODO - Add proper translation-->
<string
name=
"required"
>
*required
</string>
<!--TODO - Add proper translation-->
</resources>
app/src/main/res/values-uk/strings.xml
View file @
57507918
...
...
@@ -224,6 +224,8 @@
<string
name=
"action_msg_add_reaction"
>
Відреагувати
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_copy_permalink"
>
Copy permalink
</string>
<!-- TODO - Add proper translation -->
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
Редагування заборонено
</string>
...
...
@@ -338,4 +340,10 @@
<string
name=
"message"
>
Message
</string>
<!-- TODO - Add proper translation -->
<string
name=
"timezone"
>
Timezone
</string>
<!-- Report -->
<!--TODO - Add proper translation-->
<string
name=
"submit"
>
Submit
</string>
<!--TODO - Add proper translation-->
<string
name=
"required"
>
*required
</string>
</resources>
app/src/main/res/values/strings.xml
View file @
57507918
...
...
@@ -240,6 +240,7 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<string
name=
"action_title_editing"
>
Editing Message
</string>
<string
name=
"action_msg_add_reaction"
>
Add reaction
</string>
<string
name=
"action_msg_copy_permalink"
>
Copy permalink
</string>
<string
name=
"action_msg_report"
>
Report
</string>
<!-- Permission messages -->
<string
name=
"permission_editing_not_allowed"
>
Editing is not allowed
</string>
...
...
@@ -352,4 +353,8 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<string
name=
"message"
>
Message
</string>
<string
name=
"timezone"
>
Timezone
</string>
<string
name=
"status"
translatable=
"false"
>
Status
</string>
</resources>
\ No newline at end of file
<!-- Report -->
<string
name=
"submit"
>
Submit
</string>
<string
name=
"required"
>
*required
</string>
</resources>
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