mirror of
https://gitee.com/dromara/carbon.git
synced 2024-11-29 18:57:37 +08:00
v2.1.9 增加意大利语支持
This commit is contained in:
parent
f7cf1adcc3
commit
c9e721fd56
@ -1333,6 +1333,7 @@ fmt.Printf("%+v", *person)
|
||||
* [乌克兰语(uk)](./lang/uk.json "乌克兰语"): 由 [open-git](https://github.com/open-git "open-git") 翻译
|
||||
* [罗马尼亚语(ro)](./lang/ro.json "罗马尼亚语"): 由 [DrOctavius](https://github.com/DrOctavius "DrOctavius") 翻译
|
||||
* [印度尼西亚语(id)](./lang/id.json "印度尼西亚语"): 由 [justpoypoy](https://github.com/justpoypoy "justpoypoy") 翻译
|
||||
* [意大利语(it)](./lang/it.json "意大利语"): 由 [nicoloHevelop](https://github.com/nicoloHevelop "nicoloHevelop") 翻译
|
||||
|
||||
目前支持的方法有
|
||||
|
||||
@ -1478,10 +1479,10 @@ invalid timezone "xxx", please see the file "$GOROOT/lib/time/zoneinfo.zip" for
|
||||
| N | ISO8601 格式数字表示的星期中的第几天 | 1 | 1-7 | 1 |
|
||||
| L | 是否为闰年,如果是闰年为 1,否则为 0 | 1 | 0-1 | 0 |
|
||||
| U | 秒级时间戳 | 10 | - | 1611818268 |
|
||||
| u | 毫秒 | - | 0-999 | 999 |
|
||||
| u | 毫秒 | - | 1-999 | 999 |
|
||||
| w | 数字表示的周几 | 1 | 0-6 | 1 |
|
||||
| t | 月份中的总天数 | 2 | 28-31 | 31 |
|
||||
| z | 年份中的第几天 | - | 0-365 | 2 |
|
||||
| z | 年份中的第几天 | - | 1-365 | 2 |
|
||||
| e | 当前位置 | - | - | America/New_York |
|
||||
| Q | 当前季节 | 1 | 1-4 | 1 |
|
||||
| C | 当前世纪数 | - | 0-99 | 21 |
|
||||
|
@ -1330,6 +1330,7 @@ fmt.Printf("%+v", *person)
|
||||
* [ウクライナ語(uk)](./lang/uk.json "ウクライナ語"):[open-git](https://github.com/open-git "open-git") から翻訳されます
|
||||
* [ルーマニア語(ro)](./lang/ro.json "ルーマニア語"): [DrOctavius](https://github.com/DrOctavius "DrOctavius") から翻訳されます
|
||||
* [インドネシア語(id)](./lang/id.json "インドネシア語"): [justpoypoy](https://github.com/justpoypoy "justpoypoy") から翻訳されます
|
||||
* [イタリア語(it)](./lang/it.json "イタリア語"): [nicoloHevelop](https://github.com/nicoloHevelop "nicoloHevelop") から翻訳されます
|
||||
|
||||
現在サポートされている方法
|
||||
|
||||
@ -1475,10 +1476,10 @@ invalid timezone "xxx", please see the file "$GOROOT/lib/time/zoneinfo.zip" for
|
||||
| N | ISO8601 フォーマットの数字は曜日の中の何日目を表しますか | 1 | 1-7 | 1 |
|
||||
| L | うるう年かどうか, うるう年が1であれば, 0です | 1 | 0-1 | 0 |
|
||||
| U | 秒タイムスタンプ | 10 | - | 1611818268 |
|
||||
| u | ミリ秒 | - | 0-999 | 999 |
|
||||
| u | ミリ秒 | - | 1-999 | 999 |
|
||||
| w | 数字の表示の曜日 | 1 | 0-6 | 1 |
|
||||
| t | 月の総日数 | 2 | 28-31 | 31 |
|
||||
| z | 年の中の何日目 | - | 0-365 | 2 |
|
||||
| z | 年の中の何日目 | - | 1-365 | 2 |
|
||||
| e | 位置 | - | - | America/New_York |
|
||||
| Q | 季節 | 1 | 1-4 | 1 |
|
||||
| C | 世紀 | - | 0-99 | 21 |
|
||||
|
@ -1330,6 +1330,7 @@ The following languages are supported
|
||||
* [Ukrainian(uk)](./lang/uk.json "Ukrainian"): translated by [open-git](https://github.com/open-git "open-git")
|
||||
* [Romanian(ro)](./lang/ro.json "Romanian"): translated by [DrOctavius](https://github.com/DrOctavius "DrOctavius")
|
||||
* [Indonesian(id)](./lang/id.json "Indonesian"): translated by [justpoypoy](https://github.com/justpoypoy "justpoypoy")
|
||||
* [Italian(it)](./lang/it.json "Italian"): translated by [nicoloHevelop](https://github.com/nicoloHevelop "nicoloHevelop")
|
||||
|
||||
The following methods are supported
|
||||
|
||||
@ -1475,10 +1476,10 @@ invalid timezone "xxx", please see the file "$GOROOT/lib/time/zoneinfo.zip" for
|
||||
| N | ISO8601 day of the week | 1 | 1-7 | 1 |
|
||||
| L | Whether it's a leap year | 1 | 0-1 | 0 |
|
||||
| U | Unix timestamp with seconds | 10 | - | 1611818268 |
|
||||
| u | Millisecond | - | 0-999 | 999 |
|
||||
| u | Millisecond | - | 1-999 | 999 |
|
||||
| w | Day of the week | 1 | 0-6 | 1 |
|
||||
| t | Total days of the month | 2 | 28-31 | 31 |
|
||||
| z | Day of the year | - | 0-365 | 2 |
|
||||
| z | Day of the year | - | 1-365 | 2 |
|
||||
| e | Location | - | - | America/New_York |
|
||||
| Q | Quarter | 1 | 1-4 | 1 |
|
||||
| C | Century | - | 0-99 | 21 |
|
||||
|
19
lang/it.json
Normal file
19
lang/it.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"months": "Gennaio|Febbraio|Marzo|Apriel|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre",
|
||||
"short_months": "Gen|Feb|Mar|Apr|Mag|Giu|Lug|Ago|Set|Ott|Nov|Dic",
|
||||
"weeks": "Domenica|Lunedí|Martedí|Mercoledí|Giovedí|Venerdí|Sabato",
|
||||
"short_weeks": "Dom|Lun|Mar|Mer|Gio|Ven|Sab",
|
||||
"seasons": "Primavera|Estate|Autunno|Inverno",
|
||||
"year": "1 anno|%d anni",
|
||||
"month": "1 mese|%d mesi",
|
||||
"week": "1 settimana|%d settimane",
|
||||
"day": "1 giorno|%d giorni",
|
||||
"hour": "1 ora|%d ore",
|
||||
"minute": "1 minuto|%d minuti",
|
||||
"second": "1 secondo|%d secondi",
|
||||
"now": "proprio ora",
|
||||
"ago": "%s fa",
|
||||
"from_now": "%s da adesso",
|
||||
"before": "%s prima",
|
||||
"after": "%s dopo"
|
||||
}
|
Loading…
Reference in New Issue
Block a user