diff options
Diffstat (limited to 'doc/docs')
5 files changed, 15 insertions, 15 deletions
diff --git a/doc/docs/de/doc/data-structures/table-literals.md b/doc/docs/de/doc/data-structures/table-literals.md index 4b127d8..dea062a 100644 --- a/doc/docs/de/doc/data-structures/table-literals.md +++ b/doc/docs/de/doc/data-structures/table-literals.md | |||
| @@ -3,13 +3,13 @@ | |||
| 3 | Wie in Lua werden Tabellen mit geschweiften Klammern definiert. | 3 | Wie in Lua werden Tabellen mit geschweiften Klammern definiert. |
| 4 | 4 | ||
| 5 | ```yuescript | 5 | ```yuescript |
| 6 | some_values = [1, 2, 3, 4] | 6 | some_values = {1, 2, 3, 4} |
| 7 | ``` | 7 | ``` |
| 8 | 8 | ||
| 9 | <YueDisplay> | 9 | <YueDisplay> |
| 10 | 10 | ||
| 11 | ```yue | 11 | ```yue |
| 12 | some_values = [1, 2, 3, 4] | 12 | some_values = {1, 2, 3, 4} |
| 13 | ``` | 13 | ``` |
| 14 | 14 | ||
| 15 | </YueDisplay> | 15 | </YueDisplay> |
| @@ -160,7 +160,7 @@ t = { | |||
| 160 | 160 | ||
| 161 | </YueDisplay> | 161 | </YueDisplay> |
| 162 | 162 | ||
| 163 | Lua-Tabellen haben einen Array-Teil und einen Hash-Teil, aber manchmal möchte man beim Schreiben von Lua-Tabellen eine semantische Unterscheidung zwischen Array- und Hash-Nutzung machen. Dann kannst du eine Lua-Tabelle mit **[ ]** statt **{ }** schreiben, um eine Array-Tabelle darzustellen, und das Schreiben von Schlüssel-Wert-Paaren in einer Listentabelle ist nicht erlaubt. | 163 | Lua-Tabellen haben sowohl einen Array-Teil als auch einen Hash-Teil, aber manchmal ist es nützlich, hier eine semantische Unterscheidung zu treffen. Du kannst **[ ]** anstelle von **{ }** verwenden, um eine Tabelle explizit als Array zu deklarieren; dadurch wird verhindert, dass Schlüssel-Wert-Paare hineingeschrieben werden. |
| 164 | 164 | ||
| 165 | ```yuescript | 165 | ```yuescript |
| 166 | some_values = [1, 2, 3, 4] | 166 | some_values = [1, 2, 3, 4] |
diff --git a/doc/docs/doc/data-structures/table-literals.md b/doc/docs/doc/data-structures/table-literals.md index 23f9fc5..e3d2c19 100644 --- a/doc/docs/doc/data-structures/table-literals.md +++ b/doc/docs/doc/data-structures/table-literals.md | |||
| @@ -3,13 +3,13 @@ | |||
| 3 | Like in Lua, tables are delimited in curly braces. | 3 | Like in Lua, tables are delimited in curly braces. |
| 4 | 4 | ||
| 5 | ```yuescript | 5 | ```yuescript |
| 6 | some_values = [1, 2, 3, 4] | 6 | some_values = {1, 2, 3, 4} |
| 7 | ``` | 7 | ``` |
| 8 | 8 | ||
| 9 | <YueDisplay> | 9 | <YueDisplay> |
| 10 | 10 | ||
| 11 | ```yue | 11 | ```yue |
| 12 | some_values = [1, 2, 3, 4] | 12 | some_values = {1, 2, 3, 4} |
| 13 | ``` | 13 | ``` |
| 14 | 14 | ||
| 15 | </YueDisplay> | 15 | </YueDisplay> |
| @@ -160,7 +160,7 @@ t = { | |||
| 160 | 160 | ||
| 161 | </YueDisplay> | 161 | </YueDisplay> |
| 162 | 162 | ||
| 163 | Lua tables have both an array part and a hash part, but sometimes you want to make a semantic distinction between array and hash usage when writing Lua tables. Then you can write Lua table with **[ ]** instead of **{ }** to represent an array table and writing any key value pair in a list table won't be allowed. | 163 | Lua tables have both an array part and a hash part, but sometimes it's useful to make a semantic distinction between the two. You can use **[ ]** instead of **{ }** to explicitly declare a table as an array, doing so will prevent any key-value pairs from being written inside it. |
| 164 | 164 | ||
| 165 | ```yuescript | 165 | ```yuescript |
| 166 | some_values = [1, 2, 3, 4] | 166 | some_values = [1, 2, 3, 4] |
diff --git a/doc/docs/id-id/doc/data-structures/table-literals.md b/doc/docs/id-id/doc/data-structures/table-literals.md index c190f00..522334d 100644 --- a/doc/docs/id-id/doc/data-structures/table-literals.md +++ b/doc/docs/id-id/doc/data-structures/table-literals.md | |||
| @@ -3,13 +3,13 @@ | |||
| 3 | Seperti di Lua, tabel dibatasi dengan kurung kurawal. | 3 | Seperti di Lua, tabel dibatasi dengan kurung kurawal. |
| 4 | 4 | ||
| 5 | ```yuescript | 5 | ```yuescript |
| 6 | some_values = [1, 2, 3, 4] | 6 | some_values = {1, 2, 3, 4} |
| 7 | ``` | 7 | ``` |
| 8 | 8 | ||
| 9 | <YueDisplay> | 9 | <YueDisplay> |
| 10 | 10 | ||
| 11 | ```yue | 11 | ```yue |
| 12 | some_values = [1, 2, 3, 4] | 12 | some_values = {1, 2, 3, 4} |
| 13 | ``` | 13 | ``` |
| 14 | 14 | ||
| 15 | </YueDisplay> | 15 | </YueDisplay> |
| @@ -160,7 +160,7 @@ t = { | |||
| 160 | 160 | ||
| 161 | </YueDisplay> | 161 | </YueDisplay> |
| 162 | 162 | ||
| 163 | Tabel Lua memiliki bagian array dan bagian hash, tetapi terkadang Anda ingin membedakan penggunaan array dan hash secara semantik saat menulis tabel Lua. Maka Anda bisa menulis tabel Lua dengan **[ ]** alih-alih **{ }** untuk merepresentasikan tabel array, dan menuliskan pasangan key-value di tabel list tidak akan diizinkan. | 163 | Tabel Lua memiliki bagian array dan bagian hash, tetapi kadang-kadang berguna untuk membuat perbedaan semantik di antara keduanya. Anda dapat menggunakan **[ ]** sebagai ganti **{ }** untuk mendeklarasikan tabel secara eksplisit sebagai array, dengan begitu akan mencegah pasangan key-value dituliskan di dalamnya. |
| 164 | 164 | ||
| 165 | ```yuescript | 165 | ```yuescript |
| 166 | some_values = [1, 2, 3, 4] | 166 | some_values = [1, 2, 3, 4] |
diff --git a/doc/docs/pt-br/doc/data-structures/table-literals.md b/doc/docs/pt-br/doc/data-structures/table-literals.md index 23817ff..546aea4 100644 --- a/doc/docs/pt-br/doc/data-structures/table-literals.md +++ b/doc/docs/pt-br/doc/data-structures/table-literals.md | |||
| @@ -3,13 +3,13 @@ | |||
| 3 | Como no Lua, as tabelas são delimitadas por chaves. | 3 | Como no Lua, as tabelas são delimitadas por chaves. |
| 4 | 4 | ||
| 5 | ```yuescript | 5 | ```yuescript |
| 6 | some_values = [1, 2, 3, 4] | 6 | some_values = {1, 2, 3, 4} |
| 7 | ``` | 7 | ``` |
| 8 | 8 | ||
| 9 | <YueDisplay> | 9 | <YueDisplay> |
| 10 | 10 | ||
| 11 | ```yue | 11 | ```yue |
| 12 | some_values = [1, 2, 3, 4] | 12 | some_values = {1, 2, 3, 4} |
| 13 | ``` | 13 | ``` |
| 14 | 14 | ||
| 15 | </YueDisplay> | 15 | </YueDisplay> |
| @@ -160,7 +160,7 @@ t = { | |||
| 160 | 160 | ||
| 161 | </YueDisplay> | 161 | </YueDisplay> |
| 162 | 162 | ||
| 163 | As tabelas Lua têm tanto uma parte array quanto uma parte hash, mas às vezes você quer fazer uma distinção semântica entre uso de array e hash ao escrever tabelas Lua. Então você pode escrever tabela Lua com **[ ]** em vez de **{ }** para representar uma tabela array, e escrever qualquer par chave-valor em uma tabela lista não será permitido. | 163 | As tabelas Lua têm tanto uma parte array quanto uma parte hash, mas às vezes é útil fazer uma distinção semântica entre as duas. Você pode usar **[ ]** em vez de **{ }** para declarar explicitamente uma tabela como um array, fazer isso impedirá que quaisquer pares chave-valor sejam escritos dentro dela. |
| 164 | 164 | ||
| 165 | ```yuescript | 165 | ```yuescript |
| 166 | some_values = [1, 2, 3, 4] | 166 | some_values = [1, 2, 3, 4] |
diff --git a/doc/docs/zh/doc/data-structures/table-literals.md b/doc/docs/zh/doc/data-structures/table-literals.md index a8ff9b8..d3407d6 100644 --- a/doc/docs/zh/doc/data-structures/table-literals.md +++ b/doc/docs/zh/doc/data-structures/table-literals.md | |||
| @@ -3,13 +3,13 @@ | |||
| 3 |   和 Lua 一样,表格可以通过花括号进行定义。 | 3 |   和 Lua 一样,表格可以通过花括号进行定义。 |
| 4 | 4 | ||
| 5 | ```yuescript | 5 | ```yuescript |
| 6 | some_values = [1, 2, 3, 4] | 6 | some_values = {1, 2, 3, 4} |
| 7 | ``` | 7 | ``` |
| 8 | 8 | ||
| 9 | <YueDisplay> | 9 | <YueDisplay> |
| 10 | 10 | ||
| 11 | ```yue | 11 | ```yue |
| 12 | some_values = [1, 2, 3, 4] | 12 | some_values = {1, 2, 3, 4} |
| 13 | ``` | 13 | ``` |
| 14 | 14 | ||
| 15 | </YueDisplay> | 15 | </YueDisplay> |
| @@ -160,7 +160,7 @@ t = { | |||
| 160 | 160 | ||
| 161 | </YueDisplay> | 161 | </YueDisplay> |
| 162 | 162 | ||
| 163 |   Lua 的表同时具有数组部分和哈希部分,但有时候你会希望在书写 Lua 表时,对 Lua 表做数组和哈希不同用法的语义区分。然后你可以用 **[ ]** 而不是 **{ }** 来编写表示数组的 Lua 表,并且不允许在数组 Lua 表中写入任何键值对。 | 163 |   Lua 的表同时具有数组部分和哈希部分,但有时候在两者之间做出语义上的区分是很有用的。你可以使用 **[ ]** 而不是 **{ }** 显式地将表声明为数组,这样做可以防止在其中写入任何键值对。 |
| 164 | 164 | ||
| 165 | ```yuescript | 165 | ```yuescript |
| 166 | some_values = [ 1, 2, 3, 4 ] | 166 | some_values = [ 1, 2, 3, 4 ] |
