Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit d6ddc50

Browse files
committed
tweak labels, etc
1 parent 78fb95a commit d6ddc50

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/components/views/room_settings/AliasSettings.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,7 @@ export default class AliasSettings extends React.Component {
349349
onItemAdded={this.onLocalAliasAdded}
350350
onItemRemoved={this.onLocalAliasDeleted}
351351
noItemsLabel={_t('This room has no local addresses')}
352-
placeholder={_t(
353-
'New address (e.g. #foo:%(localDomain)s)', {localDomain: localDomain},
354-
)}
352+
placeholder={_t('Local address')}
355353
domain={localDomain}
356354
/>);
357355
}
@@ -381,9 +379,7 @@ export default class AliasSettings extends React.Component {
381379
suggestionsListId="mx_AliasSettings_altRecommendations"
382380
itemsLabel={_t('Other published addresses:')}
383381
noItemsLabel={_t('No other published addresses yet, add one below')}
384-
placeholder={_t(
385-
'New address (e.g. #foo:domain)',
386-
)}
382+
placeholder={_t('New published address (e.g. #alias:server)')}
387383
/>
388384
<span className='mx_SettingsTab_subheading'>{_t("Local Addresses")}</span>
389385
<p>{_t("Set addresses for this room so users can find this room through your homeserver (%(localDomain)s)", {localDomain})}</p>

src/i18n/strings/en_EN.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,15 +1162,14 @@
11621162
"Main address": "Main address",
11631163
"not specified": "not specified",
11641164
"This room has no local addresses": "This room has no local addresses",
1165-
"New address (e.g. #foo:%(localDomain)s)": "New address (e.g. #foo:%(localDomain)s)",
1165+
"Local address": "Local address",
11661166
"Published Addresses": "Published Addresses",
11671167
"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.",
11681168
"Other published addresses:": "Other published addresses:",
11691169
"No other published addresses yet, add one below": "No other published addresses yet, add one below",
1170-
"New address (e.g. #foo:domain)": "New address (e.g. #foo:domain)",
1170+
"New published address (e.g. #alias:server)": "New published address (e.g. #alias:server)",
11711171
"Local Addresses": "Local Addresses",
11721172
"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)",
1173-
"Local addresses (unmoderated content)": "Local addresses (unmoderated content)",
11741173
"Error updating flair": "Error updating flair",
11751174
"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.",
11761175
"Invalid community ID": "Invalid community ID",

0 commit comments

Comments
 (0)