Bug 1061154 Part 2 Change existing Loop strings based on UX feedback. r=nperriault

This commit is contained in:
Mark Banner 2014-09-01 18:11:50 +01:00
parent 6cab93b0ed
commit 2c430c6018
9 changed files with 22 additions and 24 deletions

View File

@ -311,7 +311,7 @@ let MozLoopServiceInternal = {
Services.prefs.setCharPref("loop.seenToS", "seen");
this.openChatWindow(null,
this.localizedStrings["incoming_call_title"].textContent,
this.localizedStrings["incoming_call_title2"].textContent,
"about:loopconversation#incoming/" + version);
},

View File

@ -87,7 +87,7 @@ loop.conversation = (function(OT, mozL10n) {
});
return (
React.DOM.div({className: conversationPanelClass},
React.DOM.h2(null, __("incoming_call")),
React.DOM.h2(null, __("incoming_call_title2")),
React.DOM.div({className: "btn-group incoming-call-action-group"},
React.DOM.div({className: "fx-embedded-incoming-call-button-spacer"}),
@ -362,7 +362,7 @@ loop.conversation = (function(OT, mozL10n) {
// else to ensure the L10n environment is setup correctly.
mozL10n.initialize(navigator.mozLoop);
document.title = mozL10n.get("incoming_call_title");
document.title = mozL10n.get("incoming_call_title2");
document.body.classList.add(loop.shared.utils.getTargetPlatform());

View File

@ -87,7 +87,7 @@ loop.conversation = (function(OT, mozL10n) {
});
return (
<div className={conversationPanelClass}>
<h2>{__("incoming_call")}</h2>
<h2>{__("incoming_call_title2")}</h2>
<div className="btn-group incoming-call-action-group">
<div className="fx-embedded-incoming-call-button-spacer"></div>
@ -362,7 +362,7 @@ loop.conversation = (function(OT, mozL10n) {
// else to ensure the L10n environment is setup correctly.
mozL10n.initialize(navigator.mozLoop);
document.title = mozL10n.get("incoming_call_title");
document.title = mozL10n.get("incoming_call_title2");
document.body.classList.add(loop.shared.utils.getTargetPlatform());

View File

@ -184,7 +184,7 @@ loop.shared.views = (function(_, OT, l10n) {
React.DOM.li({className: "conversation-toolbar-btn-box"},
React.DOM.button({className: "btn btn-hangup", onClick: this.handleClickHangup,
title: l10n.get("hangup_button_title")},
l10n.get("hangup_button_caption")
l10n.get("hangup_button_caption2")
)
),
React.DOM.li({className: "conversation-toolbar-btn-box"},

View File

@ -184,7 +184,7 @@ loop.shared.views = (function(_, OT, l10n) {
<li className="conversation-toolbar-btn-box">
<button className="btn btn-hangup" onClick={this.handleClickHangup}
title={l10n.get("hangup_button_title")}>
{l10n.get("hangup_button_caption")}
{l10n.get("hangup_button_caption2")}
</button>
</li>
<li className="conversation-toolbar-btn-box">

View File

@ -250,7 +250,7 @@ loop.webapp = (function($, _, OT, webL10n) {
urlCreationDateString: this.state.urlCreationDateString}),
React.DOM.p({className: "standalone-call-btn-label"},
__("initiate_call_button_label")
__("initiate_call_button_label2")
),
React.DOM.div({id: "messages"}),
@ -264,9 +264,9 @@ loop.webapp = (function($, _, OT, webL10n) {
React.DOM.button({className: btnClassStartCall,
onClick: this._initiateOutgoingCall("audio-video"),
disabled: this.state.disableCallButton,
title: __("initiate_audio_video_call_tooltip")},
title: __("initiate_audio_video_call_tooltip2")},
React.DOM.span({className: "standalone-call-btn-text"},
__("initiate_audio_video_call_button")
__("initiate_audio_video_call_button2")
),
React.DOM.span({className: "standalone-call-btn-video-icon"})
),
@ -285,7 +285,7 @@ loop.webapp = (function($, _, OT, webL10n) {
React.DOM.button({className: "start-audio-only-call",
onClick: this._initiateOutgoingCall("audio"),
disabled: this.state.disableCallButton},
__("initiate_audio_call_button")
__("initiate_audio_call_button2")
)
)
)

View File

@ -250,7 +250,7 @@ loop.webapp = (function($, _, OT, webL10n) {
urlCreationDateString={this.state.urlCreationDateString} />
<p className="standalone-call-btn-label">
{__("initiate_call_button_label")}
{__("initiate_call_button_label2")}
</p>
<div id="messages"></div>
@ -264,9 +264,9 @@ loop.webapp = (function($, _, OT, webL10n) {
<button className={btnClassStartCall}
onClick={this._initiateOutgoingCall("audio-video")}
disabled={this.state.disableCallButton}
title={__("initiate_audio_video_call_tooltip")} >
title={__("initiate_audio_video_call_tooltip2")} >
<span className="standalone-call-btn-text">
{__("initiate_audio_video_call_button")}
{__("initiate_audio_video_call_button2")}
</span>
<span className="standalone-call-btn-video-icon"></span>
</button>
@ -285,7 +285,7 @@ loop.webapp = (function($, _, OT, webL10n) {
<button className="start-audio-only-call"
onClick={this._initiateOutgoingCall("audio")}
disabled={this.state.disableCallButton} >
{__("initiate_audio_call_button")}
{__("initiate_audio_call_button2")}
</button>
</li>
</ul>

View File

@ -1,7 +1,6 @@
## LOCALIZATION NOTE: In this file, don't translate the part between {{..}}
[en]
restart_call=Rejoin
begin_call_prompt=Ready to start your conversation?
conversation_has_ended=Your conversation has ended.
call_timeout_notification_text=Your call did not go through.
missing_conversation_info=Missing conversation information.
@ -14,7 +13,7 @@ retry=Retry
report_user=Report User
unable_retrieve_call_info=Unable to retrieve conversation information.
hangup_button_title=Hang up
hangup_button_caption=End Call
hangup_button_caption2=Exit
mute_local_audio_button_title=Mute your audio
unmute_local_audio_button_title=Unmute your audio
mute_local_video_button_title=Mute your video
@ -33,10 +32,10 @@ call_url_unavailable_notification_heading=Oops!
call_url_unavailable_notification_message2=Sorry, this URL is not available. It may be expired or entered incorrectly.
promote_firefox_hello_heading=Download {{brandShortname}} to make free audio and video calls!
get_firefox_button=Get {{brandShortname}}
initiate_call_button_label=Click Call to start a video chat
initiate_audio_video_call_button=Call
initiate_audio_video_call_tooltip=Start a video call
initiate_audio_call_button=Voice call
initiate_call_button_label2=Ready to start your conversation?
initiate_audio_video_call_button2=Start
initiate_audio_video_call_tooltip2=Start a video conversation
initiate_audio_call_button2=Voice conversation
reject_incoming_call=Cancel
legal_text_and_links=By using this product you agree to the {{terms_of_use_url}} and {{privacy_notice_url}}
terms_of_use_link_text=Terms of use

View File

@ -129,15 +129,14 @@ video_call_menu_button=Video Conversation
# Conversation Window Strings
begin_call_prompt=Ready to start your conversation?
incoming_call_title=Incoming Call…
incoming_call=Incoming call
incoming_call_title2=Conversation Request
incoming_call_accept_button=Accept
incoming_call_accept_audio_only_tooltip=Accept with voice
incoming_call_cancel_button=Cancel
incoming_call_cancel_and_block_button=Cancel and Block
incoming_call_block_button=Block
hangup_button_title=Hang up
hangup_button_caption=End Call
hangup_button_caption2=Exit
mute_local_audio_button_title=Mute your audio
unmute_local_audio_button_title=Unmute your audio
mute_local_video_button_title=Mute your video