Skip to content

Commit

Permalink
New Crowdin updates (#789)
Browse files Browse the repository at this point in the history
* Update source file models.md

* New translations models.md (French)

* New translations models.md (Spanish)

* New translations models.md (Arabic)

* New translations models.md (German)

* New translations models.md (Italian)

* New translations models.md (Japanese)

* New translations models.md (Korean)

* New translations models.md (Polish)

* New translations models.md (Russian)

* New translations models.md (Turkish)

* New translations models.md (Chinese Simplified)

* New translations models.md (Portuguese, Brazilian)

* New translations models.md (Indonesian)

* New translations models.md (Persian)

* New translations models.md (Azerbaijani)

* New translations models.md (Hindi)

* Update source file models.md
  • Loading branch information
jinzhu authored Sep 23, 2024
1 parent e2e8639 commit feca791
Show file tree
Hide file tree
Showing 16 changed files with 226 additions and 146 deletions.
23 changes: 14 additions & 9 deletions pages/ar_SA/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,22 @@ type User struct {
For anonymous fields, GORM will include its fields into its parent struct, for example:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/az_AZ/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,22 @@ type User struct {
For anonymous fields, GORM will include its fields into its parent struct, for example:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/de_DE/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,22 @@ type User struct {
For anonymous fields, GORM will include its fields into its parent struct, for example:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/es_ES/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,22 @@ type User struct {
For anonymous fields, GORM will include its fields into its parent struct, for example:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/fa_IR/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,22 @@ type User struct {
For anonymous fields, GORM will include its fields into its parent struct, for example:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/fr_FR/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,22 @@ type User struct {
For anonymous fields, GORM will include its fields into its parent struct, for example:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/hi_IN/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,22 @@ type User struct {
For anonymous fields, GORM will include its fields into its parent struct, for example:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/id_ID/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,22 @@ type User struct {
Untuk *field* anonim, GORM akan memasukkan *field*-nya ke dalam struct induknya, misalnya:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/it_IT/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,22 @@ type User struct {
For anonymous fields, GORM will include its fields into its parent struct, for example:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/ja_JP/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,22 @@ type User struct {
匿名(anonymous field)フィールドでモデルの定義がなされている場合、埋め込まれた構造体のフィールドは親の構造体のフィールドとして含まれることになります。例:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/ko_KR/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,22 @@ type User struct {
For anonymous fields, GORM will include its fields into its parent struct, for example:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
23 changes: 14 additions & 9 deletions pages/pl_PL/docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,22 @@ type User struct {
For anonymous fields, GORM will include its fields into its parent struct, for example:

```go
type User struct {
gorm.Model
Name string
type Author struct {
Name string
Email string
}

type Blog struct {
Author
ID int
Upvotes int32
}
// equals
type User struct {
ID uint `gorm:"primaryKey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
Name string
type Blog struct {
ID int64
Name string
Email string
Upvotes int32
}
```

Expand Down
Loading

0 comments on commit feca791

Please sign in to comment.