Skip to content

Commit 3d4b4e4

Browse files
committed
es/po.es to :1700
1 parent ca21cdb commit 3d4b4e4

File tree

1 file changed

+53
-9
lines changed

1 file changed

+53
-9
lines changed

po/es.po

Lines changed: 53 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,13 +1510,21 @@ msgid ""
15101510
"to check the [`std::fmt`](https://doc.rust-lang.org/std/fmt/) documentation "
15111511
"for setting the number of decimals to display)"
15121512
msgstr ""
1513+
"Agregue un macro `println!` que imprima: ` Pi es aproximadamente 3.142` "
1514+
"controlando el número de decimales mostrados. Para efectos de este"
1515+
"ejercicio, use `let Pi = 3.141592` como una estimación para pi. (Sugerencia: puedes"
1516+
"consultar la documentación de [`std::fmt`](https://doc.rust-lang.org/std/fmt/)"
1517+
"para configurar el número de decimales desplegados)"
15131518

15141519
#: src/hello/print.md:105
15151520
msgid ""
15161521
"[`std::fmt`](https://doc.rust-lang.org/std/fmt/), [`macros`](../macros.md), "
15171522
"[`struct`](../custom_types/structs.md), [`traits`](https://doc.rust-lang.org/"
15181523
"std/fmt/#formatting-traits), and [`dead_code`](../attribute/unused.md)"
15191524
msgstr ""
1525+
"[`std::fmt`](https://doc.rust-lang.org/std/fmt/), [`macros`](../macros.md), "
1526+
"[`struct`](../custom_types/structs.md), [`traits`](https://doc.rust-lang.org/"
1527+
"std/fmt/#formatting-traits), y [`dead_code`](../attribute/unused.md)"
15201528

15211529
#: src/hello/print/print_debug.md:3
15221530
msgid ""
@@ -1525,53 +1533,69 @@ msgid ""
15251533
"for types such as in the `std` library. All others _must_ be manually "
15261534
"implemented somehow."
15271535
msgstr ""
1536+
"Todos los tipos que quieren usar los traits de `std::fmt` requieren una"
1537+
"implementación para ser imprimible. Las implementaciones automáticas solo se proporcionan"
1538+
"para tipos como en la biblioteca `std`. Todos los demás tipos _deben_ ser manualmente "
1539+
"implementados de alguna manera".
15281540

15291541
#: src/hello/print/print_debug.md:8
15301542
msgid ""
15311543
"The `fmt::Debug` `trait` makes this very straightforward. _All_ types can "
15321544
"`derive` (automatically create) the `fmt::Debug` implementation. This is not "
15331545
"true for `fmt::Display` which must be manually implemented."
15341546
msgstr ""
1547+
"El trait `fmt::Debug` hace que esto sea muy sencillo. Todos Los tipos pueden"
1548+
"`Derive` (crear automáticamente) la implementación `fmt::Debug`. Esto no cierto"
1549+
"para `fmt::Display` el cual debe implementarse manualmente ".
15351550

15361551
#: src/hello/print/print_debug.md:13
15371552
msgid ""
15381553
"// This structure cannot be printed either with `fmt::Display` or\n"
15391554
"// with `fmt::Debug`.\n"
15401555
msgstr ""
1556+
"// Esta estructura no se puede imprimir con `fmt::Display` o \n"
1557+
"// con `fmt::Debug`.\n "
15411558

15421559
#: src/hello/print/print_debug.md:16
15431560
msgid ""
15441561
"// The `derive` attribute automatically creates the implementation\n"
15451562
"// required to make this `struct` printable with `fmt::Debug`.\n"
15461563
msgstr ""
1564+
"// El atributo `derive` crea automáticamente la implementación \n "
1565+
"// requerida para hacer esta `struct` imprimible con `fmt::Debug`. \n"
15471566

15481567
#: src/hello/print/print_debug.md:23
15491568
msgid "All `std` library types are automatically printable with `{:?}` too:"
1550-
msgstr ""
1569+
msgstr "Todos los tipos de biblioteca `std` se pueden imprimir automáticamente con `{:?}` también:"
15511570

15521571
#: src/hello/print/print_debug.md:26
15531572
msgid ""
15541573
"// Derive the `fmt::Debug` implementation for `Structure`. `Structure`\n"
15551574
"// is a structure which contains a single `i32`.\n"
15561575
msgstr ""
1576+
"// Derive la implementación `fmt::Debug` para `Structure`. `Structure`\n"
1577+
"// es una estructura que contiene un solo `i32`.\n "
15571578

15581579
#: src/hello/print/print_debug.md:30
15591580
msgid ""
15601581
"// Put a `Structure` inside of the structure `Deep`. Make it printable\n"
15611582
"// also.\n"
15621583
msgstr ""
1584+
"// Ponga una `Structure` dentro de la estructura `Deep`. Házlo imprimible \ n"
1585+
"// también. \ n"
15631586

15641587
#: src/hello/print/print_debug.md:37
15651588
msgid "// Printing with `{:?}` is similar to with `{}`.\n"
15661589
msgstr ""
1590+
msgid "// Imprimir con `{:?}` es similar a imprimir con `{}`.\n"
15671591

15681592
#: src/hello/print/print_debug.md:38
15691593
msgid "\"{:?} months in a year.\""
1570-
msgstr ""
1594+
msgstr "\"{:?} meses en un año.\""
15711595

15721596
#: src/hello/print/print_debug.md:39
15731597
msgid "\"{1:?} {0:?} is the {actor:?} name.\""
1574-
msgstr ""
1598+
msgstr "\"{1:?} {0:?} es el nombre del {actor:?}.\""
15751599

15761600
#: src/hello/print/print_debug.md:40
15771601
msgid "\"Slater\""
@@ -1587,46 +1611,53 @@ msgstr ""
15871611

15881612
#: src/hello/print/print_debug.md:44
15891613
msgid "// `Structure` is printable!\n"
1590-
msgstr ""
1614+
msgstr "// ¡`Structure` también se puede imprimir!\n"
15911615

15921616
#: src/hello/print/print_debug.md:45 src/hello/print/print_debug.md:49
15931617
msgid "\"Now {:?} will print!\""
1594-
msgstr ""
1618+
msgstr "\"Ahora {:?} imprimirá \""
15951619

15961620
#: src/hello/print/print_debug.md:47
15971621
msgid ""
15981622
"// The problem with `derive` is there is no control over how\n"
15991623
" // the results look. What if I want this to just show a `7`?\n"
16001624
msgstr ""
1625+
"// El problema con 'derive` es que no hay control sobre cómo \n"
1626+
" // los resultados se ven. ¿Qué pasa si quiero que esto solo muestre un `7`?\n"
16011627

16021628
#: src/hello/print/print_debug.md:53
16031629
msgid ""
16041630
"So `fmt::Debug` definitely makes this printable but sacrifices some "
16051631
"elegance. Rust also provides \"pretty printing\" with `{:#?}`."
16061632
msgstr ""
1633+
"Entonces `fmt::Debug` definitivamente hace esto imprimible pero sacrifica algo de"
1634+
"elegancia. Rust también proporciona \"Impresión Bonita\" con `{:#?}`."
16071635

16081636
#: src/hello/print/print_debug.md:64 src/custom_types/structs.md:42
16091637
msgid "\"Peter\""
16101638
msgstr ""
16111639

16121640
#: src/hello/print/print_debug.md:68
16131641
msgid "// Pretty print\n"
1614-
msgstr ""
1642+
msgstr "// Impresión bonita"
16151643

16161644
#: src/hello/print/print_debug.md:69
16171645
msgid "\"{:#?}\""
16181646
msgstr ""
16191647

16201648
#: src/hello/print/print_debug.md:73
16211649
msgid "One can manually implement `fmt::Display` to control the display."
1622-
msgstr ""
1650+
msgstr "Se puede implementar manualmente `fmt::Display` para controlar la impresión."
16231651

16241652
#: src/hello/print/print_debug.md:77
16251653
msgid ""
16261654
"[`attributes`](https://doc.rust-lang.org/reference/attributes.html), "
16271655
"[`derive`](../../trait/derive.md), [`std::fmt`](https://doc.rust-lang.org/"
16281656
"std/fmt/), and [`struct`](../../custom_types/structs.md)"
16291657
msgstr ""
1658+
"[`attributes`](https://doc.rust-lang.org/reference/attributes.html), "
1659+
"[`derive`](../../trait/derive.md), [`std::fmt`](https://doc.rust-lang.org/"
1660+
"std/fmt/), y [`struct`](../../custom_types/structs.md)"
16301661

16311662
#: src/hello/print/print_display.md:3
16321663
msgid ""
@@ -1635,26 +1666,34 @@ msgid ""
16351666
"[`fmt::Display`](https://doc.rust-lang.org/std/fmt/), which uses the `{}` "
16361667
"print marker. Implementing it looks like this:"
16371668
msgstr ""
1669+
"`fmt::Debug` escasamente parece compacto y limpio, por lo que a menudo es ventajoso "
1670+
"personalizar la apariencia de salida. Esto se hace implementando manualmente"
1671+
"[`fmt::Display`](https://doc.rust-lang.org/std/fmt/), que usa el marcador `{}`"
1672+
". Implementarlo se ve así:"
16381673

16391674
#: src/hello/print/print_display.md:9
16401675
msgid "// Import (via `use`) the `fmt` module to make it available.\n"
1641-
msgstr ""
1676+
msgstr "// Importar (a través de `use`) el módulo `fmt` para ponerlo a disposición.\n"
16421677

16431678
#: src/hello/print/print_display.md:11
16441679
msgid ""
16451680
"// Define a structure for which `fmt::Display` will be implemented. This is\n"
16461681
"// a tuple struct named `Structure` that contains an `i32`.\n"
16471682
msgstr ""
1683+
"// Defina una estructura para la cual se implementará `fmt::Display`. Esto es\n "
1684+
"// una estructura de tupla llamada `Estructura` que contiene un `i32`. \n"
16481685

16491686
#: src/hello/print/print_display.md:15
16501687
msgid ""
16511688
"// To use the `{}` marker, the trait `fmt::Display` must be implemented\n"
16521689
"// manually for the type.\n"
16531690
msgstr ""
1691+
"// Para usar el marcador `{}`, el trait `fmt::Display` debe implementarse\n"
1692+
"// manualmente para el tipo. \ n"
16541693

16551694
#: src/hello/print/print_display.md:19
16561695
msgid "// This trait requires `fmt` with this exact signature.\n"
1657-
msgstr ""
1696+
msgstr "// Este trait requiere de `fmt` con estos tipos exactos.\n"
16581697

16591698
#: src/hello/print/print_display.md:21
16601699
msgid ""
@@ -1664,6 +1703,11 @@ msgid ""
16641703
"which\n"
16651704
" // is very similar to `println!`.\n"
16661705
msgstr ""
1706+
"// Escribe sólo el primer elemento en la salida suministrada \n"
1707+
"// stream: `f`. Devuelve `fmt::Result` que indica si\n"
1708+
"// la operación tuvo éxito o falló. Tenga en cuenta que 'write!` usa una sintaxis "
1709+
"que \n"
1710+
"// es muy similar a `println!`. \n"
16671711

16681712
#: src/hello/print/print_display.md:25
16691713
#: src/hello/print/print_display/testcase_list.md:13

0 commit comments

Comments
 (0)