Skip to content

Commit

Permalink
Fix missing positon arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
shun2wang authored and boutinb committed Sep 27, 2023
1 parent 90b2714 commit 48d1015
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions R/pwr_1pois.R
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,12 @@

if (calc == "n") {
str <- gettextf(
"We would need %s to reliably (with probability greater than %1$s) detect %2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a maximum Type I error rate of %6$s.",
"We would need %1$s to reliably (with probability greater than %2$s) detect %3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a maximum Type I error rate of %7$s.",
n_text, power, d_text, "<i>\u2265</i>", d, tail_text, paste0("<i>\u03B1=</i>", alpha)
)
} else if (calc == "es") {
str <- gettextf(
"A design with %s will reliably (with probability greater than %1$s) detect %2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a maximum Type I error rate of %6$s.",
"A design with %1$s will reliably (with probability greater than %2$s) detect %3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a maximum Type I error rate of %7$s.",
n_text, power, d_text, "<i>\u2265</i>", round(d, 3), tail_text, paste0("<i>\u03B1=</i>", alpha)
)
} else if (calc == "power") {
Expand Down
24 changes: 12 additions & 12 deletions po/R-de.po
Original file line number Diff line number Diff line change
Expand Up @@ -488,22 +488,22 @@ msgid "effect sizes of %s"
msgstr "Effektstärken von %s"

msgid ""
"We would need %s to reliably (with probability greater than %1$s) detect "
"%2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a "
"maximum Type I error rate of %6$s."
"We would need %1$s to reliably (with probability greater than %2$s) detect "
"%3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a "
"maximum Type I error rate of %7$s."
msgstr ""
"Wir bräuchten %s, um %2$s%3$s%4$s zuverlässig (mit einer Wahrscheinlichkeit "
"größer als %1$s) aufzudecken, wobei ein %5$s-Kriterium zur Aufdeckung "
"angenommen wird, das eine maximale Typ-I-Fehlerrate von %6$s zulässt."
"Wir bräuchten %1$s, um %3$s%4$s%5$s zuverlässig (mit einer Wahrscheinlichkeit "
"größer als %2$s) aufzudecken, wobei ein %6$s-Kriterium zur Aufdeckung "
"angenommen wird, das eine maximale Typ-I-Fehlerrate von %7$s zulässt."

msgid ""
"A design with %s will reliably (with probability greater than %1$s) detect "
"%2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a "
"maximum Type I error rate of %6$s."
"A design with %1$s will reliably (with probability greater than %2$s) detect "
"%3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a "
"maximum Type I error rate of %7$s."
msgstr ""
"Ein Design mit %s wird zuverlässig (mit einer Wahrscheinlichkeit größer als "
"%1$s) %2$s%3$s%4$s aufdecken, wenn man ein %5$s-Kriterium für die Aufdeckung "
"annimmt, das eine maximale Typ-I-Fehlerrate von %6$s zulässt."
"Ein Design mit %1$s wird zuverlässig (mit einer Wahrscheinlichkeit größer als "
"%2$s) %3$s%4$s%5$s aufdecken, wenn man ein %6$s-Kriterium für die Aufdeckung "
"annimmt, das eine maximale Typ-I-Fehlerrate von %7$s zulässt."

msgid ""
"A design with %1$s can detect %2$s%3$s%4$s with a probability of at least "
Expand Down
4 changes: 2 additions & 2 deletions po/R-jaspPower.pot
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,10 @@ msgstr ""
msgid "effect sizes of %s"
msgstr ""

msgid "We would need %s to reliably (with probability greater than %1$s) detect %2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a maximum Type I error rate of %6$s."
msgid "We would need %1$s to reliably (with probability greater than %2$s) detect %3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a maximum Type I error rate of %7$s."
msgstr ""

msgid "A design with %s will reliably (with probability greater than %1$s) detect %2$s%3$s%4$s, assuming a %5$s criterion for detection that allows for a maximum Type I error rate of %6$s."
msgid "A design with %1$s will reliably (with probability greater than %2$s) detect %3$s%4$s%5$s, assuming a %6$s criterion for detection that allows for a maximum Type I error rate of %7$s."
msgstr ""

msgid "A design with %1$s can detect %2$s%3$s%4$s with a probability of at least %5$s, assuming a %6$s criterion for detection that allows for a maximum Type I error rate of %7$s."
Expand Down

0 comments on commit 48d1015

Please sign in to comment.