Skip to content

Commit

Permalink
Translated error messages to spanish part of Fixes #556 (#567)
Browse files Browse the repository at this point in the history
#: detect.R:141
#: interp.R:105
#: interp.R:176
#: match.R:54 match.R:68
#: modifiers.R:216
#: replace.R:208
#: replace.R:226
#: replace.R:220
#: trunc.R:32
#: utils.R:23

Co-authored-by: Hadley Wickham <[email protected]>
  • Loading branch information
JFormoso and hadley authored Aug 15, 2024
1 parent 43d3598 commit fdf1173
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions po/R-es.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: stringr 1.5.1.9000\n"
"POT-Creation-Date: 2024-08-15 10:19-0700\n"
"PO-Revision-Date: 2024-08-15 10:19-0700\n"
"POT-Creation-Date: 2024-07-17 11:07-0500\n"
"PO-Revision-Date: 2024-07-17 11:07-0500\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: es\n"
Expand All @@ -13,27 +13,27 @@ msgstr ""

#: detect.R:141
msgid "{.arg pattern} must be a plain string, not a stringr modifier."
msgstr ""
msgstr "{.arg pattern} debe ser una cadena de caracteres, no un modificador de stringr"

#: interp.R:105
msgid "Invalid template string for interpolation."
msgstr ""
msgstr "Plantilla de cadenas invalida para interpolación."

#: interp.R:176
msgid "Failed to parse input {.str {text}}"
msgstr ""
msgstr "Fallo en segmentar el input {.str {text}}"

#: match.R:54 match.R:68
msgid "{.arg pattern} must be a regular expression."
msgstr ""
msgstr "{.arg pattern} debe ser una expresión regular."

#: modifiers.R:216
msgid "{.arg pattern} must be a string, not {.obj_type_friendly {x}}."
msgstr ""
msgstr "{.arg pattern} debe ser una cadena de caracteres, no {.obj_type_friendly {x}}."

#: replace.R:208
msgid "Failed to apply {.arg replacement} function."
msgstr ""
msgstr "Fallo en aplicar la función {.arg replacement}."

#: replace.R:209
msgid "It must accept a character vector of any length."
Expand All @@ -44,24 +44,28 @@ msgid ""
"{.arg replacement} function must return a character vector, not {."
"obj_type_friendly {new_flat}}."
msgstr ""
"La función {.arg replacement} debe devolver un vector de caracteres, no {."
"obj_type_friendly {new_flat}}."

#: replace.R:226
msgid ""
"{.arg replacement} function must return a vector the same length as the input "
"({length(old_flat)}), not length {length(new_flat)}."
msgstr ""
"La función {.arg replacement} debe devolver un vector del mismo largo que el input "
"({length(old_flat)}), no de {length(new_flat)} de largo."

#: split.R:122
msgid "{.arg i} must not be 0."
msgstr "{.arg i} no debe ser igual a 0."

#: trunc.R:32
msgid "`width` ({width}) is shorter than `ellipsis` ({str_length(ellipsis)})."
msgstr ""
msgstr "`width` ({width}) es más corto que `ellipsis` ({str_length(ellipsis)})."

#: utils.R:23
msgid "{.arg pattern} can't be a boundary."
msgstr ""
msgstr "{.arg pattern} no puede ser un límite."

#: utils.R:26
msgid "{.arg pattern} can't be the empty string ({.code \"\"})."
Expand Down

0 comments on commit fdf1173

Please sign in to comment.