Align common_* strings with Element X project in Localazy (#11434)
This commit is contained in:
committed by
GitHub
parent
1a49a38f04
commit
c40141cc4f
@@ -620,7 +620,7 @@ export default class AppTile extends React.Component<IProps, IState> {
|
||||
|
||||
const loadingElement = (
|
||||
<div className="mx_AppTileBody_fadeInSpinner">
|
||||
<Spinner message={_t("Loading…")} />
|
||||
<Spinner message={_t("common|loading")} />
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
@@ -320,7 +320,7 @@ export default class Dropdown extends React.Component<DropdownProps, IState> {
|
||||
if (!options?.length) {
|
||||
return [
|
||||
<li key="0" className="mx_Dropdown_option" role="option" aria-selected={false}>
|
||||
{_t("No results")}
|
||||
{_t("common|no_results")}
|
||||
</li>,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -531,7 +531,7 @@ export default class ImageView extends React.Component<IProps, IState> {
|
||||
if (this.props.mxEvent?.getContent()) {
|
||||
title = (
|
||||
<div className="mx_ImageView_title">
|
||||
{presentableTextForFile(this.props.mxEvent?.getContent(), _t("Image"), true)}
|
||||
{presentableTextForFile(this.props.mxEvent?.getContent(), _t("common|image"), true)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ export default class InlineSpinner extends React.PureComponent<IProps> {
|
||||
<div
|
||||
className="mx_InlineSpinner_icon mx_Spinner_icon"
|
||||
style={{ width: this.props.w, height: this.props.h }}
|
||||
aria-label={_t("Loading…")}
|
||||
aria-label={_t("common|loading")}
|
||||
>
|
||||
{this.props.children}
|
||||
</div>
|
||||
|
||||
@@ -139,7 +139,7 @@ export const Pill: React.FC<PillProps> = ({ type: propType, url, inMessage, room
|
||||
});
|
||||
} else {
|
||||
avatar = linkIcon;
|
||||
pillText = _t("Message");
|
||||
pillText = _t("common|message");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -43,7 +43,7 @@ export default class Spinner extends React.PureComponent<IProps> {
|
||||
<div
|
||||
className="mx_Spinner_icon"
|
||||
style={{ width: w, height: h }}
|
||||
aria-label={_t("Loading…")}
|
||||
aria-label={_t("common|loading")}
|
||||
role="progressbar"
|
||||
data-testid="spinner"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user