Migrate more strings to translation keys (#11637)
This commit is contained in:
parent
fc9caa3269
commit
d77b871769
107 changed files with 7689 additions and 6497 deletions
|
@ -55,7 +55,7 @@ export default class NotifProvider extends AutocompleteProvider {
|
|||
type: "at-room",
|
||||
suffix: " ",
|
||||
component: (
|
||||
<PillCompletion title="@room" description={_t("Notify the whole room")}>
|
||||
<PillCompletion title="@room" description={_t("composer|autocomplete|@room_description")}>
|
||||
<RoomAvatar size="24px" room={this.room} />
|
||||
</PillCompletion>
|
||||
),
|
||||
|
@ -67,7 +67,7 @@ export default class NotifProvider extends AutocompleteProvider {
|
|||
}
|
||||
|
||||
public getName(): string {
|
||||
return "❗️ " + _t("Room Notification");
|
||||
return "❗️ " + _t("composer|autocomplete|notification_description");
|
||||
}
|
||||
|
||||
public renderCompletions(completions: React.ReactNode[]): React.ReactNode {
|
||||
|
@ -75,7 +75,7 @@ export default class NotifProvider extends AutocompleteProvider {
|
|||
<div
|
||||
className="mx_Autocomplete_Completion_container_pill mx_Autocomplete_Completion_container_truncate"
|
||||
role="presentation"
|
||||
aria-label={_t("Notification Autocomplete")}
|
||||
aria-label={_t("composer|autocomplete|notification_a11y")}
|
||||
>
|
||||
{completions}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue