Reuse a common part of the translation (#7978)

This commit is contained in:
Suguru Hirahara 2022-03-14 09:12:02 +00:00 committed by GitHub
parent 64e9cdd619
commit afadea01a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 6 deletions

View file

@ -93,7 +93,10 @@ export default class ErrorBoundary extends React.PureComponent<{}, IState> {
) }</p>
<p>{ _t(
"If you've submitted a bug via GitHub, debug logs can help " +
"us track down the problem. Debug logs contain application " +
"us track down the problem. ")
}
{ _t(
"Debug logs contain application " +
"usage data including your username, the IDs or aliases of " +
"the rooms or groups you have visited, which UI elements you " +
"last interacted with, and the usernames of other users. " +

View file

@ -239,11 +239,13 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
<div className='mx_SettingsTab_subsectionText'>
{ _t(
"If you've submitted a bug via GitHub, debug logs can help " +
"us track down the problem. Debug logs contain application " +
"us track down the problem. ",
) }
{ _t("Debug logs contain application " +
"usage data including your username, the IDs or aliases of " +
"the rooms or groups you have visited, which UI elements you " +
"last interacted with, and the usernames of " +
"other users. They do not contain messages.",
"last interacted with, and the usernames of other users. " +
"They do not contain messages.",
) }
<div className='mx_HelpUserSettingsTab_debugButton'>
<AccessibleButton onClick={this.onBugReport} kind='primary'>