From c763f5cf0fb4b855a0d51fda20907b8428fd0e82 Mon Sep 17 00:00:00 2001 From: Fabian-K <fabian.kajzar@sap.com> Date: Tue, 9 Jun 2020 12:00:45 +0200 Subject: [PATCH] Bullet Point Lists (#297) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * added further info section to negative test result * bullet points as custom view with proper styling * moved BulletPointList.kt to proper package Co-authored-by: harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by: Jakob Möller <jakob.moeller@sap.com> --- .../coronawarnapp/ui/view/BulletPointList.kt | 28 +++++++++++++++ .../src/main/res/drawable/bullet_point.xml | 5 +++ .../include_submission_done_content.xml | 2 +- ... include_submission_done_further_info.xml} | 6 ++-- .../res/layout/include_submission_intro.xml | 11 +++--- .../layout/include_submission_test_result.xml | 12 +++++++ ...sion_test_result_negative_further_info.xml | 34 +++++++++++++++++++ .../res/layout/view_bullet_point_entry.xml | 30 ++++++++++++++++ .../src/main/res/values-de/strings.xml | 4 --- .../src/main/res/values-en/strings.xml | 4 --- Corona-Warn-App/src/main/res/values/attrs.xml | 4 +++ .../src/main/res/values/dimens.xml | 9 ++++- .../src/main/res/values/strings.xml | 25 +++++++++++--- 13 files changed, 149 insertions(+), 25 deletions(-) create mode 100644 Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/view/BulletPointList.kt create mode 100644 Corona-Warn-App/src/main/res/drawable/bullet_point.xml rename Corona-Warn-App/src/main/res/layout/{include_further_info.xml => include_submission_done_further_info.xml} (88%) create mode 100644 Corona-Warn-App/src/main/res/layout/include_submission_test_result_negative_further_info.xml create mode 100644 Corona-Warn-App/src/main/res/layout/view_bullet_point_entry.xml diff --git a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/view/BulletPointList.kt b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/view/BulletPointList.kt new file mode 100644 index 000000000..3459e2adf --- /dev/null +++ b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/view/BulletPointList.kt @@ -0,0 +1,28 @@ +package de.rki.coronawarnapp.ui.view + +import android.content.Context +import android.util.AttributeSet +import android.widget.LinearLayout +import android.widget.TextView +import androidx.core.content.withStyledAttributes +import de.rki.coronawarnapp.R + +class BulletPointList(context: Context, attrs: AttributeSet) : LinearLayout(context, attrs) { + + private lateinit var entries: Array<CharSequence> + + init { + orientation = VERTICAL + + context.withStyledAttributes(attrs, R.styleable.BulletPointList) { + entries = getTextArray(R.styleable.BulletPointList_entries) + } + + entries.forEachIndexed { i, entry -> + // add point entry + inflate(context, R.layout.view_bullet_point_entry, this) + // set content + this.getChildAt(i).findViewById<TextView>(R.id.bullet_point_content).text = entry + } + } +} diff --git a/Corona-Warn-App/src/main/res/drawable/bullet_point.xml b/Corona-Warn-App/src/main/res/drawable/bullet_point.xml new file mode 100644 index 000000000..9b3021520 --- /dev/null +++ b/Corona-Warn-App/src/main/res/drawable/bullet_point.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="oval"> + <solid android:color="@color/colorTextPrimary1" /> +</shape> \ No newline at end of file diff --git a/Corona-Warn-App/src/main/res/layout/include_submission_done_content.xml b/Corona-Warn-App/src/main/res/layout/include_submission_done_content.xml index 94660425b..b8b3c7620 100644 --- a/Corona-Warn-App/src/main/res/layout/include_submission_done_content.xml +++ b/Corona-Warn-App/src/main/res/layout/include_submission_done_content.xml @@ -63,7 +63,7 @@ app:riskLevel="@{RiskLevelConstants.INCREASED_RISK}" /> <include - layout="@layout/include_further_info" + layout="@layout/include_submission_done_further_info" android:layout_width="@dimen/match_constraint" android:layout_height="wrap_content" android:layout_marginTop="@dimen/spacing_normal" diff --git a/Corona-Warn-App/src/main/res/layout/include_further_info.xml b/Corona-Warn-App/src/main/res/layout/include_submission_done_further_info.xml similarity index 88% rename from Corona-Warn-App/src/main/res/layout/include_further_info.xml rename to Corona-Warn-App/src/main/res/layout/include_submission_done_further_info.xml index ca9c5f42b..708f6a0a7 100644 --- a/Corona-Warn-App/src/main/res/layout/include_further_info.xml +++ b/Corona-Warn-App/src/main/res/layout/include_submission_done_further_info.xml @@ -20,14 +20,12 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> - <TextView + <de.rki.coronawarnapp.ui.view.BulletPointList android:id="@+id/further_info_text" - style="@style/subtitle" android:layout_width="@dimen/match_constraint" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/spacing_normal" android:layout_marginTop="@dimen/spacing_normal" - android:text="@string/submission_done_further_info_enum" + app:entries="@array/submission_done_further_info_bullet_points" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/further_info_title" /> diff --git a/Corona-Warn-App/src/main/res/layout/include_submission_intro.xml b/Corona-Warn-App/src/main/res/layout/include_submission_intro.xml index c60a1ff19..be603c139 100644 --- a/Corona-Warn-App/src/main/res/layout/include_submission_intro.xml +++ b/Corona-Warn-App/src/main/res/layout/include_submission_intro.xml @@ -46,18 +46,15 @@ app:layout_constraintStart_toStartOf="@id/guideline_start" app:layout_constraintTop_toBottomOf="@+id/submission_intro_headline" /> - <TextView - android:id="@+id/submission_intro_text_enum" - style="@style/subtitle" - android:focusable="false" + <de.rki.coronawarnapp.ui.view.BulletPointList android:layout_width="@dimen/match_constraint" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/spacing_normal" android:paddingBottom="@dimen/spacing_normal" - android:text="@string/submission_intro_enum" + android:focusable="false" + app:entries="@array/submission_intro_bullet_points" app:layout_constraintEnd_toEndOf="@id/guideline_end" app:layout_constraintStart_toStartOf="@id/guideline_start" - app:layout_constraintTop_toBottomOf="@+id/submission_intro_text" /> + app:layout_constraintTop_toBottomOf="@id/submission_intro_text" /> <include layout="@layout/merge_guidelines_side" /> diff --git a/Corona-Warn-App/src/main/res/layout/include_submission_test_result.xml b/Corona-Warn-App/src/main/res/layout/include_submission_test_result.xml index 74da81201..62eae1e3d 100644 --- a/Corona-Warn-App/src/main/res/layout/include_submission_test_result.xml +++ b/Corona-Warn-App/src/main/res/layout/include_submission_test_result.xml @@ -65,6 +65,17 @@ app:layout_constraintStart_toStartOf="@+id/guideline_start" app:layout_constraintTop_toBottomOf="@+id/submission_test_result_subtitle" /> + <include + android:id="@+id/submission_test_result_negative_info" + layout="@layout/include_submission_test_result_negative_further_info" + android:layout_width="@dimen/match_constraint" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/spacing_large" + android:visibility="@{FormatterSubmissionHelper.formatTestResultNegativeStepsVisible(submissionViewModel.deviceUiState)}" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/submission_test_result_negative_steps" /> + <include android:id="@+id/submission_test_result_positive_steps" layout="@layout/include_test_result_positive_steps" @@ -87,6 +98,7 @@ app:layout_constraintStart_toStartOf="@+id/guideline_start" app:layout_constraintTop_toBottomOf="@+id/submission_test_result_subtitle" /> + <include layout="@layout/merge_guidelines_side" /> <include layout="@layout/merge_guidelines_card" /> diff --git a/Corona-Warn-App/src/main/res/layout/include_submission_test_result_negative_further_info.xml b/Corona-Warn-App/src/main/res/layout/include_submission_test_result_negative_further_info.xml new file mode 100644 index 000000000..7beff057f --- /dev/null +++ b/Corona-Warn-App/src/main/res/layout/include_submission_test_result_negative_further_info.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<layout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + + <androidx.constraintlayout.widget.ConstraintLayout + android:id="@+id/further_info" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@color/colorSurface2" + android:padding="@dimen/spacing_normal" + app:layout_constraintTop_toTopOf="parent"> + + <TextView + android:id="@+id/further_info_title" + style="@style/headline5" + android:layout_width="@dimen/match_constraint" + android:layout_height="wrap_content" + android:text="@string/test_result_card_negative_further_info_title" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <de.rki.coronawarnapp.ui.view.BulletPointList + android:id="@+id/further_info_text" + android:layout_width="@dimen/match_constraint" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/spacing_normal" + app:entries="@array/test_result_card_negative_further_info_bullet_points" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/further_info_title" /> + + </androidx.constraintlayout.widget.ConstraintLayout> +</layout> \ No newline at end of file diff --git a/Corona-Warn-App/src/main/res/layout/view_bullet_point_entry.xml b/Corona-Warn-App/src/main/res/layout/view_bullet_point_entry.xml new file mode 100644 index 000000000..ffdcf0ce6 --- /dev/null +++ b/Corona-Warn-App/src/main/res/layout/view_bullet_point_entry.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<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="match_parent" + android:paddingBottom="@dimen/bullet_point_spacing_between"> + + <ImageView + android:id="@+id/bullet_point" + android:layout_width="@dimen/bullet_point_size" + android:layout_height="@dimen/bullet_point_size" + android:layout_marginStart="@dimen/bullet_point_spacing_before" + android:baseline="@dimen/bullet_point_baseline_offset" + android:src="@drawable/bullet_point" + app:layout_constraintBaseline_toBaselineOf="@+id/bullet_point_content" + app:layout_constraintStart_toStartOf="parent" /> + + <TextView + android:id="@+id/bullet_point_content" + style="@style/subtitle" + android:layout_width="@dimen/match_constraint" + android:layout_height="wrap_content" + android:layout_marginStart="@dimen/bullet_point_spacing_after" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@id/bullet_point" + app:layout_constraintTop_toTopOf="parent" + tools:text="@tools:sample/lorem" /> + +</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file diff --git a/Corona-Warn-App/src/main/res/values-de/strings.xml b/Corona-Warn-App/src/main/res/values-de/strings.xml index 06182633a..783a35db2 100644 --- a/Corona-Warn-App/src/main/res/values-de/strings.xml +++ b/Corona-Warn-App/src/main/res/values-de/strings.xml @@ -602,8 +602,6 @@ <string name="submission_intro_headline">"So funktioniert das Corona-Warn-System"</string> <!-- YTXT: submission introduction text --> <string name="submission_intro_text">"Damit die Corona-Warn-App funktioniert, sind wir auf die Mithilfe von Corona-positiven Personen angewiesen.\n\nDa nur verschlüsselte Zufallscodes ausgetauscht werden, bleiben Sie unerkannt. Sie können jetzt wie folgt vorgehen:\n"</string> - <!-- YTXT: submission introduction enumeration --> - <string name="submission_intro_enum"><li>"Wenn Sie positiv getestet wurden, können Sie andere warnen."</li>"\n\n"<li>"Wenn Ihnen für einen positiven Test eine TAN mitgeteilt wurde, können Sie diese für die Registrierung des Tests nutzen."</li>"\n\n"<li>"Wenn Sie keine TAN haben, können Sie diese telefonisch anfragen."</li></string> <!-- XBUT: Submission introduction next button--> <string name="submission_intro_button_next">"Weiter"</string> @@ -678,8 +676,6 @@ <string name="submission_done_isolate">"Bitte isolieren Sie sich von anderen Personen."</string> <!-- XHED: Title for further info --> <string name="submission_done_further_info_title">"Weitere Infos:"</string> - <!-- YTXT: Content for further info --> - <string name="submission_done_further_info_enum"><li>"Ihre Quarantänezeit beträgt im Regelfall 14 Tage. Beobachten und erfassen Sie genau, wie sich ihre Krankheitszeichen entwickeln."</li>"\n\n"<li>"Sie werden von Ihrem Gesundheitsamt gebeten, eine Liste Ihrer Kontaktpersonen zu erstellen. Dabei sollen alle Personen erfasst werden, mit denen Sie in den zwei Tagen vor Erkrankungsbeginn engen Kontakt (unter 2 Meter, direktes Gespräch) über insgesamt 15 Minuten hatten."</li>"\n\n"<li>"Bitte denken Sie hier auch besonders an Personen, die nicht automatisch durch die App informiert werden, da sie kein Smartphone habe oder die App nicht installiert haben."</li>"\n\n"<li>"Auch wenn Sie keine Krankheitszeichen mehr haben und sich wieder gesund fühlen, könnten Sie noch ansteckend sein."</li></string> <!-- XBUT: submission finished button --> <string name="submission_done_button_done">"Fertig"</string> <!-- XACT: submission finished - illustration description, explanation image --> diff --git a/Corona-Warn-App/src/main/res/values-en/strings.xml b/Corona-Warn-App/src/main/res/values-en/strings.xml index 5592444a8..09fe5b189 100644 --- a/Corona-Warn-App/src/main/res/values-en/strings.xml +++ b/Corona-Warn-App/src/main/res/values-en/strings.xml @@ -604,8 +604,6 @@ <string name="submission_intro_headline">"This is how the Corona-Warn-App works"</string> <!-- YTXT: submission introduction text --> <string name="submission_intro_text">"For the app to work well, we are relying on the support of people who have tested positive. Since only encrypted random IDs are exchanged, you remain anonymous. You can now proceed as follows:\n"</string> - <!-- YTXT: submission introduction enumeration --> - <string name="submission_intro_enum">"If you tested positive, you can warn others. If you were given a TAN for a positive result, you can use this to register the test. If you do not have a TAN, you can request one by telephone."</string> <!-- XBUT: Submission introduction next button--> <string name="submission_intro_button_next">"Next"</string> @@ -680,8 +678,6 @@ <string name="submission_done_isolate">"Please isolate yourself from other people."</string> <!-- XHED: Title for further info --> <string name="submission_done_further_info_title">"Other information:"</string> - <!-- YTXT: Content for further info --> - <string name="submission_done_further_info_enum">"Your quarantine period is usually 14 days. Please observe your symptoms and monitor how they develop. You will be asked by your public health authority to create a list of people you have had contact with. This should include all people with whom you have had close contact with (less than 2 meters, face-to-face conversation) for over 15 minutes in the two days before you developed symptoms. Please think especially about the people that will not be notified directly by the app since they don\'t have a device, or haven\'t installed the app."</string> <!-- XBUT: submission finished button --> <string name="submission_done_button_done">"Done"</string> <!-- XACT: submission finished - illustration description, explanation image --> diff --git a/Corona-Warn-App/src/main/res/values/attrs.xml b/Corona-Warn-App/src/main/res/values/attrs.xml index 3f51f3ce0..b7e436417 100644 --- a/Corona-Warn-App/src/main/res/values/attrs.xml +++ b/Corona-Warn-App/src/main/res/values/attrs.xml @@ -17,4 +17,8 @@ <attr name="simple_step_entry_title" format="string" /> <attr name="simple_step_entry_text" format="string" /> </declare-styleable> + + <declare-styleable name="BulletPointList"> + <attr name="entries" format="reference" /> + </declare-styleable> </resources> \ No newline at end of file diff --git a/Corona-Warn-App/src/main/res/values/dimens.xml b/Corona-Warn-App/src/main/res/values/dimens.xml index e466e6663..248a374e5 100644 --- a/Corona-Warn-App/src/main/res/values/dimens.xml +++ b/Corona-Warn-App/src/main/res/values/dimens.xml @@ -63,7 +63,6 @@ <dimen name="icon_size_settings">40dp</dimen> <dimen name="icon_size_risk_details_behavior">25dp</dimen> <dimen name="icon_margin_risk_details_behavior">8dp</dimen> - <dimen name="match_constraint">0dp</dimen> <!-- Circle sizes --> <dimen name="circle_big">@dimen/spacing_huge</dimen> @@ -98,5 +97,13 @@ <dimen name="submission_scan_qr_code_viewfinder_size">240dp</dimen> <dimen name="submission_scan_qr_code_viewfinder_center_offset">120dp</dimen> + <!-- Bullet Points --> + <dimen name="bullet_point_size">4dp</dimen> + <dimen name="bullet_point_baseline_offset">8sp</dimen> + <dimen name="bullet_point_spacing_between">@dimen/spacing_small</dimen> + <dimen name="bullet_point_spacing_before">@dimen/spacing_tiny</dimen> + <dimen name="bullet_point_spacing_after">@dimen/spacing_normal</dimen> + + <dimen name="match_constraint">0dp</dimen> <dimen name="no_padding">0dp</dimen> </resources> diff --git a/Corona-Warn-App/src/main/res/values/strings.xml b/Corona-Warn-App/src/main/res/values/strings.xml index 23b3d6bf4..039a4110f 100644 --- a/Corona-Warn-App/src/main/res/values/strings.xml +++ b/Corona-Warn-App/src/main/res/values/strings.xml @@ -2705,12 +2705,16 @@ as modifying the License. <string name="submission_intro_headline">So funktionert das\nCorona-Warn-System</string> <!-- YTXT: submission introduction text --> <string name="submission_intro_text">Damit die Corona-Warn-App funktioniert, sind wir auf die Mithilfe von Corona-positiven Personen angewiesen.\n\nDa nur verschlüsselte Zufallscodes ausgetauscht werden, bleiben Sie unerkannt. Sie können jetzt wie folgt vorgehen:\n</string> - <!-- YTXT: submission introduction enumeration --> - <string name="submission_intro_enum"><li>Wenn Sie positiv getestet wurden, können Sie andere warnen.</li>\n\n<li>Wenn Ihnen für einen positiven Test eine TAN mitgeteilt wurde , können Sie diese für die Registrierung des Tests nutzen.</li>\n\n<li>Wenn Sie keine TAN haben, können Sie diese telefonisch anfragen.</li></string> <!-- XBUT: Submission introduction next button--> <string name="submission_intro_button_next">Weiter</string> <!-- XACT: Submission intro - illustration description, explanation image --> <string name="submission_intro_illustration_description">Ein positiver Testbefund wird verschlüsselt ins System übermittelt, das nun andere Nutzerinnen und Nutzer warnt.</string> + <!-- YTXT: submission introduction bullet points --> + <string-array name="submission_intro_bullet_points"> + <item>Wenn Sie positiv getestet wurden, können Sie andere warnen.</item> + <item>Wenn Ihnen für einen positiven Test eine TAN mitgeteilt wurde, können Sie diese für die Registrierung des Tests nutzen.</item> + <item>Wenn Sie keine TAN haben, können Sie diese telefonisch anfragen.</item> + </string-array> <!-- XACT: Submission Intro page title --> <string name="submission_intro_accessibility_title">Wurden Sie getestet? So funktioniert das Corona-Warn-System</string> @@ -2788,8 +2792,13 @@ as modifying the License. <string name="submission_done_isolate">Isolieren Sie sich von anderen Personen.</string> <!-- XHED: Title for further info --> <string name="submission_done_further_info_title">Weitere Infos:</string> - <!-- YTXT: Content for further info --> - <string name="submission_done_further_info_enum"><li>Ihre Quarantänezeit beträgt im Regelfall 14 Tage. Beobachten und erfassen Sie genau, wie sich ihre Krankheitszeichen entwickeln.</li>\n\n<li>Sie werden von Ihrem Gesundheitsamt gebeten, eine Liste Ihrer Kontaktpersonen zu erstellen. Dabei sollen alle Personen erfasst werden, mit denen Sie in den zwei Tagen vor Erkrankungsbeginn engen Kontakt (unter 2 Meter, direktes Gespräch) über insgesamt 15 Minuten hatten.</li>\n\n<li>Bitte denken Sie hier auch besonders an Personen, die nicht automatisch durch die App informiert werden, da sie kein Smartphone oder die App haben.</li>\n\n<li>Auch wenn Sie keine Krankheitszeichen mehr haben und sich wieder gesund fühlen, könnten Sie noch ansteckend sein.</li></string> + <!-- YTXT: submission done further info bullet points --> + <string-array name="submission_done_further_info_bullet_points"> + <item>Ihre Quarantänezeit beträgt im Regelfall 14 Tage. Beobachten und erfassen Sie genau, wie sich ihre Krankheitszeichen entwickeln.</item> + <item>Sie werden von Ihrem Gesundheitsamt gebeten, eine Liste Ihrer Kontaktpersonen zu erstellen. Dabei sollen alle Personen erfasst werden, mit denen Sie in den zwei Tagen vor Erkrankungsbeginn engen Kontakt (unter 2 Meter, direktes Gespräch) über insgesamt 15 Minuten hatten.</item> + <item>Bitte denken Sie hier auch besonders an Personen, die nicht automatisch durch die App informiert werden, da sie kein Smartphone oder die App haben.</item> + <item>Auch wenn Sie keine Krankheitszeichen mehr haben und sich wieder gesund fühlen, könnten Sie noch ansteckend sein.</item> + </string-array> <!-- XBUT: submission finished button --> <string name="submission_done_button_done">Fertig</string> <!-- XACT: submission finished - illustration description, explanation image --> @@ -2882,6 +2891,14 @@ as modifying the License. <string name="test_result_card_status_invalid">Auswertung nicht möglich</string> <!-- YTXT: pending status text --> <string name="test_result_card_status_pending">Ergebnis liegt noch nicht vor</string> + <!-- XHED: Title for further info of test result negative --> + <string name="test_result_card_negative_further_info_title">Weitere Infos:</string> + <!-- YTXT: Content for further info of test result negative --> + <string-array name="test_result_card_negative_further_info_bullet_points"> + <item>Sie haben trotzdem gesundheitliche Beschwerden? Wenn Sie sich sehr krankfühlen und/oder Ihre Beschwerden sich verschlechtert haben, wenden Sie sich bitte an Ihre/-n Hausärztin/Hausarzt.</item> + <item>Bleiben Sie bis zu Ihrer Genesung trotzdem zu Hause. Falls Sie sich durch eine andere Infektion geschwächt mit dem Coronavirus (SARS-CoV-2) infizieren, kann dies zu schwereren Krankheitsverläufen führen.</item> + <item>Gehen Sie nicht krank zur Arbeit, um andere Personen nicht zu gefährden. Falls sich Ihre Symptome verschlechtern, kann die Notwendigkeit eines weiteren SARS-CoV-2-Tests bestehen.</item> + </string-array> <!-- XBUT: submission result dialog close button --> <string name="submission_result_button_dialog_close">OK</string> -- GitLab