Skip to content

Commit

Permalink
"remove concept_card_close_icon_description string and change corresp…
Browse files Browse the repository at this point in the history
…onding test"
  • Loading branch information
XichengSpencer committed Apr 25, 2023
1 parent edc924f commit 475395a
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<string name="cellular_data_alert_dialog_description">تشغيل الصوت عبر الإنترنت قد يستخدم الكثير من بيانات الهاتف.</string>
<string name="cellular_data_alert_dialog_checkbox">لا تُظهِر هذه الرسالة مُجددًا</string>
<string name="concept_card_toolbar_title">بطاقة المفهوم</string>
<string name="concept_card_close_icon_description">الضغط هنا سوف يغلق بطاقة المفهوم</string>
<string name="revision_card_toolbar_title">بطاقة المراجعة</string>
<string name="unsaved_exploration_dialog_title">هل تريد المغادرة إلى صفحة الموضوع؟</string>
<string name="unsaved_exploration_dialog_description">لن يتم حفظ تقدمك.</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
<string name="cellular_data_alert_dialog_description">O streaming de áudio pode usar muitos dados móveis.</string>
<string name="cellular_data_alert_dialog_checkbox">Não mostre esta mensagem novamente</string>
<string name="concept_card_toolbar_title">Cartão de Conceito</string>
<string name="concept_card_close_icon_description">Clicar aqui fechará o cartão de conceito.</string>
<string name="revision_card_toolbar_title">Cartão de Revisão</string>
<string name="unsaved_exploration_dialog_title">Pretende ir para a página do tópico?</string>
<string name="unsaved_exploration_dialog_description">Seu progresso não será salvo.</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-sw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<string name="cellular_data_alert_dialog_description">Kutiririsha sauti kunaweza kutumia data nyingi ya mtandao wa simu.</string>
<string name="cellular_data_alert_dialog_checkbox">Usionyeshe ujumbe huu tena</string>
<string name="concept_card_toolbar_title">Kadi ya Dhana</string>
<string name="concept_card_close_icon_description">Kubofya kwenye hii kutafunga kadi ya dhana.</string>
<string name="revision_card_toolbar_title">Kadi ya Marudio</string>
<string name="unsaved_exploration_dialog_title">Je, ungependa kwenda kwenye Ukurasa wa Mada?</string>
<string name="unsaved_exploration_dialog_description">Maendeleo yako hayatahifadhiwa.</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<string name="cellular_data_alert_dialog_description">Streaming audio may use a lot of cellular data.</string>
<string name="cellular_data_alert_dialog_checkbox">Don\'t show this message again</string>
<string name="concept_card_toolbar_title">Concept Card</string>
<string name="concept_card_close_icon_description">Clicking on this will close the concept card.</string>
<string name="revision_card_toolbar_title">Revision Card</string>
<string name="unsaved_exploration_dialog_title">Leave to Topic Page?</string>
<string name="unsaved_exploration_dialog_description">Your progress will not be saved.</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class ConceptCardFragmentTest {
onView(withId(R.id.open_dialog_0)).perform(click())
testCoroutineDispatchers.runCurrent()

onView(withContentDescription(R.string.concept_card_close_icon_description))
onView(withContentDescription(R.string.navigate_up))
.inRoot(isDialog())
.perform(click())
testCoroutineDispatchers.runCurrent()
Expand Down

0 comments on commit 475395a

Please sign in to comment.