Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Move code coverage button title to l10n (#3890)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing authored and jasonLaster committed Sep 5, 2017
1 parent 01f1522 commit c5fed44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions assets/panel/debugger.properties
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ sourceFooter.unblackbox.accesskey=b
# with a blackboxed source
sourceFooter.blackboxed=Blackboxed Source

# LOCALIZATION NOTE (sourceFooter.codeCoverage): Text associated
# with a code coverage button
sourceFooter.codeCoverage=Code Coverage

# LOCALIZATION NOTE (sourceTabs.closeTabButtonTooltip): The tooltip that is displayed
# for close tab button in source tabs.
sourceTabs.closeTabButtonTooltip=Close tab
Expand Down
4 changes: 2 additions & 2 deletions src/components/Editor/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ class SourceFooter extends PureComponent {
return (
<button
className="coverage action"
title="Code Coverage"
title={L10N.getStr("sourceFooter.codeCoverage")}
onClick={() => recordCoverage()}
aria-label="Code Coverage"
aria-label={L10N.getStr("sourceFooter.codeCoverage")}
>
C
</button>
Expand Down

0 comments on commit c5fed44

Please sign in to comment.