Fix 'Failed check: Ellipsis' on Weblate (#10144)

* Fix 'Failed check: Ellipsis' on Weblate

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix tests

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove white space characters before the horizontal ellipsis from RoomPreviewBar

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* yarn run i18n

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Additional change

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2023-02-14 09:05:01 +00:00 committed by GitHub
parent aded28ed25
commit ea4000cf1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 117 additions and 120 deletions

View file

@ -569,7 +569,7 @@ export default class AppTile extends React.Component<IProps, IState> {
const loadingElement = (
<div className="mx_AppLoading_spinner_fadeIn">
<Spinner message={_t("Loading...")} />
<Spinner message={_t("Loading")} />
</div>
);

View file

@ -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("Loading")}
>
{this.props.children}
</div>

View file

@ -208,7 +208,7 @@ export default class PollCreateDialog extends ScrollableBaseModal<IProps, IState
value={this.state.question}
maxLength={MAX_QUESTION_LENGTH}
label={_t("Question or topic")}
placeholder={_t("Write something...")}
placeholder={_t("Write something")}
onChange={this.onQuestionChange}
usePlaceholderAsHint={true}
disabled={this.state.busy}

View file

@ -42,7 +42,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("Loading")}
role="progressbar"
data-testid="spinner"
/>