Skip to content

Commit a8d0b7f

Browse files
committed
Fixed: Date show
1 parent f9f343f commit a8d0b7f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/elements/replay/guacamole/guacamole.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="seek-overlay" *ngIf="isSeeking">
44
<div class="seek-content">
55
<nz-spin nzSize="default"></nz-spin>
6-
<p>正在跳转...</p>
6+
<p>{{ 'Redirecting' | translate }}...</p>
77
<button class="cancel-btn" (click)="cancelSeek($event)">{{ 'Cancel' | translate }}</button>
88
</div>
99
</div>

src/app/elements/replay/parts/parts.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export class ElementsPartsComponent implements OnInit {
257257
getUserLang() {
258258
const userLangZh = document.cookie.indexOf('django_language=zh-hans');
259259

260-
if (userLangZh) {
260+
if (userLangZh >= 0) {
261261
return 'zh-hans';
262262
} else {
263263
return 'en';

0 commit comments

Comments
 (0)