tweak labels, etc

This commit is contained in:
Bruno Windels 2020-03-16 18:25:13 +01:00
parent 5537e6dcd4
commit a591e5016f
2 changed files with 4 additions and 9 deletions

View file

@ -343,9 +343,7 @@ export default class AliasSettings extends React.Component {
onItemAdded={this.onLocalAliasAdded} onItemAdded={this.onLocalAliasAdded}
onItemRemoved={this.onLocalAliasDeleted} onItemRemoved={this.onLocalAliasDeleted}
noItemsLabel={_t('This room has no local addresses')} noItemsLabel={_t('This room has no local addresses')}
placeholder={_t( placeholder={_t('Local address')}
'New address (e.g. #foo:%(localDomain)s)', {localDomain: localDomain},
)}
domain={localDomain} domain={localDomain}
/>); />);
} }
@ -375,9 +373,7 @@ export default class AliasSettings extends React.Component {
suggestionsListId="mx_AliasSettings_altRecommendations" suggestionsListId="mx_AliasSettings_altRecommendations"
itemsLabel={_t('Other published addresses:')} itemsLabel={_t('Other published addresses:')}
noItemsLabel={_t('No other published addresses yet, add one below')} noItemsLabel={_t('No other published addresses yet, add one below')}
placeholder={_t( placeholder={_t('New published address (e.g. #alias:server)')}
'New address (e.g. #foo:domain)',
)}
/> />
<span className='mx_SettingsTab_subheading'>{_t("Local Addresses")}</span> <span className='mx_SettingsTab_subheading'>{_t("Local Addresses")}</span>
<p>{_t("Set addresses for this room so users can find this room through your homeserver (%(localDomain)s)", {localDomain})}</p> <p>{_t("Set addresses for this room so users can find this room through your homeserver (%(localDomain)s)", {localDomain})}</p>

View file

@ -1154,15 +1154,14 @@
"Main address": "Main address", "Main address": "Main address",
"not specified": "not specified", "not specified": "not specified",
"This room has no local addresses": "This room has no local addresses", "This room has no local addresses": "This room has no local addresses",
"New address (e.g. #foo:%(localDomain)s)": "New address (e.g. #foo:%(localDomain)s)", "Local address": "Local address",
"Published Addresses": "Published Addresses", "Published Addresses": "Published Addresses",
"Published addresses can be used by anyone on any server to join your room. To publish an address it needs to be set as a local address first.": "Published addresses can be used by anyone on any server to join your room. To publish an address it needs to be set as a local address first.", "Published addresses can be used by anyone on any server to join your room. To publish an address it needs to be set as a local address first.": "Published addresses can be used by anyone on any server to join your room. To publish an address it needs to be set as a local address first.",
"Other published addresses:": "Other published addresses:", "Other published addresses:": "Other published addresses:",
"No other published addresses yet, add one below": "No other published addresses yet, add one below", "No other published addresses yet, add one below": "No other published addresses yet, add one below",
"New address (e.g. #foo:domain)": "New address (e.g. #foo:domain)", "New published address (e.g. #alias:server)": "New published address (e.g. #alias:server)",
"Local Addresses": "Local Addresses", "Local Addresses": "Local Addresses",
"Set addresses for this room so users can find this room through your homeserver (%(localDomain)s)": "Set addresses for this room so users can find this room through your homeserver (%(localDomain)s)", "Set addresses for this room so users can find this room through your homeserver (%(localDomain)s)": "Set addresses for this room so users can find this room through your homeserver (%(localDomain)s)",
"Local addresses (unmoderated content)": "Local addresses (unmoderated content)",
"Error updating flair": "Error updating flair", "Error updating flair": "Error updating flair",
"There was an error updating the flair for this room. The server may not allow it or a temporary error occurred.": "There was an error updating the flair for this room. The server may not allow it or a temporary error occurred.", "There was an error updating the flair for this room. The server may not allow it or a temporary error occurred.": "There was an error updating the flair for this room. The server may not allow it or a temporary error occurred.",
"Invalid community ID": "Invalid community ID", "Invalid community ID": "Invalid community ID",