update translations: RO, ZH_TW, ID

This commit is contained in:
GyulyVGC
2025-09-03 23:27:03 +02:00
parent 0af6168581
commit c2d9df0629
6 changed files with 16 additions and 1 deletions

View File

@@ -17,6 +17,9 @@ ## [UNRELEASED]
- Japanese ([#849](https://github.com/GyulyVGC/sniffnet/pull/849))
- French ([#864](https://github.com/GyulyVGC/sniffnet/pull/864))
- Greek ([#879](https://github.com/GyulyVGC/sniffnet/pull/879))
- Romanian ([#890](https://github.com/GyulyVGC/sniffnet/pull/890))
- Traditional Chinese (Taiwan) ([#904](https://github.com/GyulyVGC/sniffnet/pull/904))
- Indonesian ([#909](https://github.com/GyulyVGC/sniffnet/pull/909))
- Fix support for IPinfo's databases (the most recent version renamed the `country` field to `country_code`)
## [1.4.0] - 2025-06-27

View File

@@ -593,6 +593,7 @@ z
@@ -675,6 +676,7 @@ z
@@ -741,6 +743,7 @@ z
@@ -782,6 +785,8 @@ z
@@ -825,6 +830,7 @@ z
調
@@ -877,6 +883,7 @@ z

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -207,7 +207,9 @@ pub fn bits_exceeded_translation(language: Language) -> &'static str {
pub fn bits_translation(language: Language) -> &'static str {
match language {
Language::EN | Language::IT | Language::NL | Language::DE | Language::FR | Language::ID => "bits",
Language::EN | Language::IT | Language::NL | Language::DE | Language::FR | Language::ID => {
"bits"
}
Language::JA => "ビット",
Language::ZH => "比特",
Language::UZ => "bitlar",

View File

@@ -130,6 +130,9 @@ pub fn is_up_to_date(self) -> bool {
| Language::JA
| Language::FR
| Language::EL
| Language::RO
| Language::ZH_TW
| Language::ID
)
}
}