Commit 68e7bad6 authored by jamiewalch@google.com's avatar jamiewalch@google.com

Updated strings following UX review.

BUG=93545, 91760
TEST=Manual

Review URL: http://codereview.chromium.org/7744037

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98354 0039d316-1c4b-4281-b951-d872f2087c98
parent 04a59b31
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"description": "Label for general-purpose Cancel buttons." "description": "Label for general-purpose Cancel buttons."
}, },
"CLOSE_PROMPT": { "CLOSE_PROMPT": {
"message": "Navigating away from this page will end your Chromoting session.", "message": "Leaving this page will end your Chromoting session.",
"description": "Message shown when the Chromoting client tab is closed while a connection is active." "description": "Message shown when the Chromoting client tab is closed while a connection is active."
}, },
"CONNECT_BUTTON": { "CONNECT_BUTTON": {
...@@ -34,16 +34,16 @@ ...@@ -34,16 +34,16 @@
"description": "Message displayed when the session has lasted longer than five minutes, explaining that the host computer is being shared and asking whether or not the user wants to continue sharing it." "description": "Message displayed when the session has lasted longer than five minutes, explaining that the host computer is being shared and asking whether or not the user wants to continue sharing it."
}, },
"DESCRIPTION_AUTHORIZE": { "DESCRIPTION_AUTHORIZE": {
"message": "In order to use Chromoting you must first grant extended access permissions to your computer. Click Continue to authorize. You only have to do this once.", "message": "In order to use Chromoting you must first grant extended access permissions to your computer. Click Continue to view the required permissions. You only have to do this once.",
"description": "Text shown when the app first starts, or if the access token is invalidated, explaining the need to authorize the Chromoting app before use." "description": "Text shown when the app first starts, or if the access token is invalidated, explaining the need to authorize the Chromoting app before use."
}, },
"DESCRIPTION_CONNECT": { "DESCRIPTION_CONNECT": {
"message": "Have the user whose computer you wish to access click ‘Share this computer’ and then have them read their access code to you.", "message": "Ask the user whose computer you wish to access to click ‘Share This Computer’ and then provide you with the access code.",
"description": "Description for the client app. This is shown to the client user above the access code entry box before the connection is started." "description": "Description for the client app. This is shown to the client user above the access code entry box before the connection is started. Note that the 'Share This Computer' quote should be copied verbatim from the corresponding translation."
}, },
"DESCRIPTION_SHARE": { "DESCRIPTION_SHARE": {
"message": "With Chromoting you can easily and securely let another Chrome user see and control your computer.", "message": "With Chromoting you can easily and securely let another Chromium user see and control your computer.",
"description": "Description for the host app. This is shown to the host above the 'Share' button user before the client connects." "description": "Description for the host app. This is shown to the host above the 'Share This Computer' button user before the client connects."
}, },
"DISCONNECT_BUTTON": { "DISCONNECT_BUTTON": {
"message": "Disconnect", "message": "Disconnect",
...@@ -62,27 +62,27 @@ ...@@ -62,27 +62,27 @@
"description": "Label for the disconnect button including the Windows keyboard shortcut." "description": "Label for the disconnect button including the Windows keyboard shortcut."
}, },
"ERROR_GENERIC": { "ERROR_GENERIC": {
"message": "An error occurred.", "message": "An unknown error occurred. Please sign out of Chromoting and try again.",
"description": "Generic error message, displayed if something went wrong, but we aren't able to determine what, or the cause is too technical to be of use to a typical user." "description": "Generic error message, displayed if something went wrong, but we aren't able to determine what, or the cause is too technical to be of use to a typical user."
}, },
"ERROR_INVALID_ACCESS_CODE": { "ERROR_INVALID_ACCESS_CODE": {
"message": "Invalid access code.", "message": "The access code is invalid. Please try again.",
"description": "Error displayed if an invalid access code is entered." "description": "Error displayed if an invalid access code is entered."
}, },
"ERROR_MISSING_PLUGIN": { "ERROR_MISSING_PLUGIN": {
"message": "The viewer plugin is missing or out-of-date. Please upgrade to a more recent version of Chrome.", "message": "Plugin missing or out-of-date. Please make sure you're running the latest version of Chromium and try again.",
"description": "Error displayed if the client plugin fails to load. The most common reason for this is that the web-app is being used in a version of Chrome that doesn't support it." "description": "Error displayed if the client plugin fails to load. The most common reason for this is that the web-app is being used in a version of Chromium that doesn't support it."
}, },
"ERROR_NO_RESPONSE": { "ERROR_NO_RESPONSE": {
"message": "Failed to get response from server.", "message": "Failed to get a response from the server.",
"description": "Error displayed by the client if the server does not respond to a network request." "description": "Error displayed by the client if the server does not respond to a network request."
}, },
"ERROR_AUTHENTICATION_FAILED": { "ERROR_AUTHENTICATION_FAILED": {
"message": "Authentication failed. Try logging out and re-authorizing.", "message": "Authentication failed. Please sign out of Chromoting and try again.",
"description": "Error displayed if authentication fails. This can be caused by stale credentials, in which logging out of the web-app and retrying can fix the problem." "description": "Error displayed if authentication fails. This can be caused by stale credentials, in which logging out of the web-app and retrying can fix the problem."
}, },
"ERROR_UNABLE_TO_GET_TOKEN": { "ERROR_UNABLE_TO_GET_TOKEN": {
"message": "Unable to get access token.", "message": "There was a problem accessing the server. Please try again.",
"description": "Error message displayed if an access token could not be generated." "description": "Error message displayed if an access token could not be generated."
}, },
"FOOTER_CLIENT": { "FOOTER_CLIENT": {
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
} }
}, },
"FOOTER_CHROME_OS": { "FOOTER_CHROME_OS": {
"message": "Currently Hosting is not supported on Chromebooks. Hosting is supported on Windows, Mac OS X and Linux.", "message": "Sharing is not currently supported on Chromebooks.",
"description": "Footer text displayed on ChromeOS in lieu of the mode switch hyperlink." "description": "Footer text displayed on ChromeOS in lieu of the mode switch hyperlink."
}, },
"FOOTER_HOST": { "FOOTER_HOST": {
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
"description": "Help link, displayed in the top-left (assuming ltr layout) corner of the main screen. Clicking this takes the user to our FAQ." "description": "Help link, displayed in the top-left (assuming ltr layout) corner of the main screen. Clicking this takes the user to our FAQ."
}, },
"INSTRUCTIONS_SHARE_ABOVE": { "INSTRUCTIONS_SHARE_ABOVE": {
"message": "To begin sharing your desktop, read out the access code below to the person who will be assisting you.", "message": "To begin sharing your desktop, provide the access code below to the person who will be assisting you.",
"description": "Instructions shown above the access code when it is ready to be conveyed to the client." "description": "Instructions shown above the access code when it is ready to be conveyed to the client."
}, },
"INSTRUCTIONS_SHARE_BELOW": { "INSTRUCTIONS_SHARE_BELOW": {
...@@ -137,9 +137,9 @@ ...@@ -137,9 +137,9 @@
"message": "Connected:", "message": "Connected:",
"description": "String displayed in front of the host when a connection is active informing the client user who they are connected to." "description": "String displayed in front of the host when a connection is active informing the client user who they are connected to."
}, },
"LOGOUT_BUTTON": { "SIGN_OUT_BUTTON": {
"message": "Logout", "message": "Sign out",
"description": "Logout button, visible if the user has authenticated. Clicking this clears authentication credentials and returns the web-app to the initial 'unauthenticated' state." "description": "Sign out button, visible if the user has authenticated. Clicking this clears authentication credentials and returns the web-app to the initial 'unauthenticated' state."
}, },
"MESSAGE_GENERATING": { "MESSAGE_GENERATING": {
"message": "Generating access code…", "message": "Generating access code…",
...@@ -176,16 +176,26 @@ ...@@ -176,16 +176,26 @@
"description": "Label for general-purpose OK buttons." "description": "Label for general-purpose OK buttons."
}, },
"PRODUCT_DESCRIPTION": { "PRODUCT_DESCRIPTION": {
"message": "Remote support in Chrome.", "message": "Remote support in Chromium.",
"description": "Web-app description. Displayed in Chrome's extensions page." "description": "Web-app description. Displayed in Chromium's extensions page."
}, },
"PRODUCT_NAME": { "PRODUCT_NAME": {
"message": "Chromoting", "message": "Chromoting",
"description": "The product name. Displayed in various Chrome page, including the New Tab page, and displayed prominently on the app's main page." "description": "The product name. Displayed in various Chromium pages, including the New Tab page, and displayed prominently on the app's main page."
}, },
"PRODUCT_NAME_AND_VERSION": { "PRODUCT_NAME_AND_VERSION": {
"message": "Chromoting v1.0", "message": "Chromoting v1.0",
"description": "The product name and version number. Displayed in Chrome's extensions page." "description": "The product name and version number. Displayed in Chromium's extensions page."
},
"REQUEST_FIREWALL_PERMISSION": {
"message": "$exe$ requires permission to accept incoming connections for Chromoting to function.",
"description": "Message displayed to the used if Chromoting detects that a firewall exception is required. The message will be presented in a dialog with two buttons: OK and Cancel.",
"placeholders": {
"exe": {
"content": "$1",
"example": "Chromium.exe"
}
}
}, },
"SCALE_BUTTON": { "SCALE_BUTTON": {
"message": "Fit Screen", "message": "Fit Screen",
......
...@@ -44,7 +44,7 @@ found in the LICENSE file. ...@@ -44,7 +44,7 @@ found in the LICENSE file.
<span id="email-status"> <span id="email-status">
<span id="current-email"></span> <span id="current-email"></span>
(<a href="#" onclick="remoting.clearOAuth2();" (<a href="#" onclick="remoting.clearOAuth2();"
i18n-content="LOGOUT_BUTTON"></a>) i18n-content="SIGN_OUT_BUTTON"></a>)
</span> </span>
</div> </div>
......
...@@ -431,7 +431,9 @@ function onClientStateChange_(oldState) { ...@@ -431,7 +431,9 @@ function onClientStateChange_(oldState) {
showConnectError_(remoting.ClientError.OTHER_ERROR); showConnectError_(remoting.ClientError.OTHER_ERROR);
} else { } else {
remoting.debug.log('Unexpected client plugin state: ' + state); remoting.debug.log('Unexpected client plugin state: ' + state);
showConnectError_(remoting.ClientError.OTHER_ERROR); // This should only happen if the web-app and client plugin get out of
// sync, and even then the version check should allow compatibility.
showConnectError_(remoting.ClientError.MISSING_PLUGIN);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment