Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Rename ToolBar entry button to Clear.
Browse files Browse the repository at this point in the history
  • Loading branch information
eeejay authored and pocmo committed Mar 26, 2019
1 parent dc49785 commit a9645b5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class EditToolbar(
val padding = resources.pxToDp(CANCEL_PADDING_DP)
setPadding(padding, padding, padding, padding)
setImageResource(mozilla.components.ui.icons.R.drawable.mozac_ic_clear)
contentDescription = context.getString(R.string.mozac_close_button_description)
contentDescription = context.getString(R.string.mozac_clear_button_description)
scaleType = ImageView.ScaleType.CENTER

setOnClickListener {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<resources>
<!-- Content description (not visible, for screen readers etc.): Description for the overflow menu button in the browser toolbar. -->
<string name="mozac_browser_toolbar_menu_button">Menü</string>
<string name="mozac_close_button_description">Schließen</string>
<string name="mozac_clear_button_description">Leeren</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<resources>
<!-- Content description (not visible, for screen readers etc.): Description for the overflow menu button in the browser toolbar. -->
<string name="mozac_browser_toolbar_menu_button">菜单</string>
<string name="mozac_close_button_description">关闭</string>
<string name="mozac_clear_button_description">清除</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<resources>
<!-- Content description (not visible, for screen readers etc.): Description for the overflow menu button in the browser toolbar. -->
<string name="mozac_browser_toolbar_menu_button">選單</string>
<string name="mozac_close_button_description">關閉</string>
<string name="mozac_clear_button_description">清除</string>
</resources>
2 changes: 1 addition & 1 deletion components/browser/toolbar/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<resources>
<!-- Content description (not visible, for screen readers etc.): Description for the overflow menu button in the browser toolbar. -->
<string name="mozac_browser_toolbar_menu_button">Menu</string>
<string name="mozac_close_button_description">Close</string>
<string name="mozac_clear_button_description">Clear</string>
</resources>

0 comments on commit a9645b5

Please sign in to comment.