Skip to content

Commit

Permalink
Add image resource for the Portuguese version docs
Browse files Browse the repository at this point in the history
- Fix incorrect code example of the English version docs
  • Loading branch information
xuri committed Jan 31, 2024
1 parent abee513 commit 9811deb
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 9 deletions.
1 change: 1 addition & 0 deletions LANGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
* [한국어](ko)
* [Español](es)
* [Deutsch](de)
* [Português](pt)
* [العربية](ar)
2 changes: 1 addition & 1 deletion en/cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ AddComment provides the method to add comments in a sheet by given worksheet ind
<p align="center"><img width="612" src="./images/comment.png" alt="Add a comment to an Excel document"></p>

```go
err := f.AddComment(sheet, excelize.Comment{
err := f.AddComment("Sheet1", excelize.Comment{
Cell: "A3",
Author: "Excelize",
Paragraph: []excelize.RichTextRun{
Expand Down
2 changes: 1 addition & 1 deletion en/releases/v2.4.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Change Go Modules import path to `github.com/xuri/excelize/v2`
* The formula calculation engine now supports defined name references
* Add disable option for chart xAxis and yAxis
* The function [`AddPivotTable`](https://pkg.go.dev/github.com/xuri/excelize/[email protected]#File.AddPivotTable) support reference source data range by defined name, relate issue [#856](https://github.com/xuri/excelize/issues/856)
* The following function now is concurrency safety, relate issue #861
* The following function now is concurrency safety, relate issue [#861](https://github.com/xuri/excelize/issues/861)
* [`AddPicture`](https://pkg.go.dev/github.com/xuri/excelize/[email protected]#File.AddPicture) and [`GetPicture`](https://pkg.go.dev/github.com/xuri/excelize/[email protected]#File.GetPicture) concurrency insert or get the picture from the worksheet
* [`Rows`](https://pkg.go.dev/github.com/xuri/excelize/[email protected]#File.Rows) and [`Cols`](https://pkg.go.dev/github.com/xuri/excelize/[email protected]#File.Cols) concurrency iterate rows and columns
* [`SetSheetRow`](https://pkg.go.dev/github.com/xuri/excelize/[email protected]#File.SetSheetRow) concurrency set cells for a row in the worksheet
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ <h3><img alt="Get Started" height="108" src="images/illu-docs.svg" style="float:
<p>New to Excelize and need some help getting started? No problem.</p>
<p>Documentation ↦ <a href="en">English</a> | <a href="fr">Français</a> | <a href="ru">русский</a> |
<a href="zh-hans">简体中文</a> | <a href="zh-tw">繁體中文</a> | <a href="ja">日本語</a> | <a
href="ko">한국어</a> | <a href="es">Español</a> | <a href="de">Deutsch</a> | <a
href="ko">한국어</a> | <a href="es">Español</a> | <a href="de">Deutsch</a> | <a href="pt">Português</a> | <a
href="ar">العربية</a>
</p>
</div>
Expand Down Expand Up @@ -1300,7 +1300,7 @@ <h4>Downloads</h4>
&copy; 2016-2024 <a href="https://github.com/xuri/excelize/graphs/contributors">Excelize Developers</a>. All
Rights Reserved. <a href="https://github.com/xuri/excelize/blob/master/LICENSE">Legal</a>.
<div id="footer-icon">
<a href="https://linode.gvw92c.net/xuri" target="_blank">
<a href="https://www.linode.com/lp/refer/?r=d9128fea340deae079bf966aa3d48ba16e16a994" target="_blank">
<img src="images/ico-akamai.svg" alt="Hosting by Akamai" width="79" height="46">
Hosting <br>
by Akamai
Expand Down
10 changes: 10 additions & 0 deletions pt/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Conteúdo

* [Introdução](README.md)
* [Uso Básico](base/installation.md)
* [Instalação](base/installation.md#install)
* [Atualização](base/installation.md#update)
* [Crie uma planilha](base/installation.md#NewFile)
* [Lendo uma planilha](base/installation.md#read)
* [Crie um gráfico em uma planilha](base/installation.md#chart)
* [Inserir imagem na planilha](base/installation.md#image)
10 changes: 5 additions & 5 deletions pt/base/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ go get github.com/xuri/excelize/v2
go get -u github.com/xuri/excelize/v2
```

## Crie um documento Excel {#NewFile}
## Crie uma planilha {#NewFile}

Aqui está um exemplo mínimo de uso que criará um arquivo de planilha:

Expand Down Expand Up @@ -75,7 +75,7 @@ func main() {
}
```

## Reading Excel document {#read}
## Lendo uma planilha {#read}

O seguinte constitui o básico para ler um documento de planilha:

Expand Down Expand Up @@ -122,11 +122,11 @@ func main() {
}
```

## Adicionar gráfico ao documento Excel {#chart}
## Crie um gráfico em uma planilha {#chart}

Com o Excelize, a geração e o gerenciamento de gráficos são tão fáceis quanto algumas linhas de código. Você pode construir gráficos com base nos dados da sua planilha ou gerar gráficos sem nenhum dado na sua planilha.

<p align="center"><img width="770" src="../images/base.png" alt="Adicionar gráfico ao documento Excel"></p>
<p align="center"><img width="770" src="../images/base.png" alt="Crie um gráfico em uma planilha"></p>

```go
package main
Expand Down Expand Up @@ -193,7 +193,7 @@ func main() {
}
```

## Adicionar imagem ao documento Excel {#image}
## Inserir imagem na planilha {#image}

```go
package main
Expand Down
Binary file added pt/images/SetCellStyle_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pt/images/SetCellStyle_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pt/images/SetCellStyle_03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pt/images/SetCellStyle_04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pt/images/SetCellStyle_05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pt/images/SetCellStyle_06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pt/images/comment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pt/images/dependent_drop_list.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pt/images/example_calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pt/images/multiselect_drop_list.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pt/images/rich_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9811deb

Please sign in to comment.