зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1066166 - Add localized tooltip captions for each tab button on the Loop panel. r=jaws
This commit is contained in:
Родитель
040349c46f
Коммит
a011b7e263
|
@ -67,6 +67,7 @@ loop.panel = (function(_, mozL10n) {
|
||||||
React.createElement("li", {className: cx({selected: isSelected}),
|
React.createElement("li", {className: cx({selected: isSelected}),
|
||||||
key: i,
|
key: i,
|
||||||
"data-tab-name": tabName,
|
"data-tab-name": tabName,
|
||||||
|
title: mozL10n.get(tabName + "_tab_button_tooltip"),
|
||||||
onClick: this.handleSelectTab})
|
onClick: this.handleSelectTab})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,6 +67,7 @@ loop.panel = (function(_, mozL10n) {
|
||||||
<li className={cx({selected: isSelected})}
|
<li className={cx({selected: isSelected})}
|
||||||
key={i}
|
key={i}
|
||||||
data-tab-name={tabName}
|
data-tab-name={tabName}
|
||||||
|
title={mozL10n.get(tabName + "_tab_button_tooltip")}
|
||||||
onClick={this.handleSelectTab} />
|
onClick={this.handleSelectTab} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,9 @@
|
||||||
## should remain "Firefox Hello" for all locales.
|
## should remain "Firefox Hello" for all locales.
|
||||||
clientShortname2=Firefox Hello
|
clientShortname2=Firefox Hello
|
||||||
|
|
||||||
|
rooms_tab_button_tooltip=Conversations
|
||||||
|
contacts_tab_button_tooltip=Contacts
|
||||||
|
|
||||||
## LOCALIZATION_NOTE(first_time_experience.title): clientShortname will be
|
## LOCALIZATION_NOTE(first_time_experience.title): clientShortname will be
|
||||||
## replaced by the brand name
|
## replaced by the brand name
|
||||||
first_time_experience_title={{clientShortname}} — Join the conversation
|
first_time_experience_title={{clientShortname}} — Join the conversation
|
||||||
|
|
Загрузка…
Ссылка в новой задаче