akveo / akveo/nebular

The word "Time" is hardcoded in timepicker.component.html with no option to localize

Đang mở
#3,074 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
8.1k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Issue type

**Hardcoded text without localization option** (check one with "x")

* [ x] bug report
* [ ] feature request

### Issue description

**Current behavior:**
The word "Time" is hardcoded in file: src/framework/theme/components/timepicker/timepicker.component.html

```

Time

```

**Expected behavior:**
NbTimepickerModule localization options should allow to customize it:

```
NbTimepickerModule.forRoot({
localization: {
hoursText: 'Hora',
minutesText: 'Min',
secondsText: 'Seg',
ampmText: 'Am/Pm',
time: 'Hora',
}
}),
```
**Steps to reproduce:**

```

```

![image](https://user-images.githubusercontent.com/12508470/175823022-37ddda00-1a39-4f07-a583-a12a162b1e14.png)

### Other information:
Using Nebular 9.0.3

**npm, node, OS, Browser**
```
No relevant
```

**Angular, Nebular**
```
Using Nebular 9.0.3
Angular: 14.0.2
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.