From 48d101579e9cbec2a1f1d4fefd5e86914d5f99ef Mon Sep 17 00:00:00 2001 From: Shun Wang Date: Wed, 27 Sep 2023 07:45:10 +0000 Subject: [PATCH] Fix missing positon arguments --- R/pwr_1pois.R | 4 ++-- po/R-de.po | 24 ++++++++++++------------ po/R-jaspPower.pot | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/R/pwr_1pois.R b/R/pwr_1pois.R index 2433ada..750b036 100644 --- a/R/pwr_1pois.R +++ b/R/pwr_1pois.R @@ -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, "\u2265", d, tail_text, paste0("\u03B1=", 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, "\u2265", round(d, 3), tail_text, paste0("\u03B1=", alpha) ) } else if (calc == "power") { diff --git a/po/R-de.po b/po/R-de.po index 49fdf28..d92249a 100644 --- a/po/R-de.po +++ b/po/R-de.po @@ -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 " diff --git a/po/R-jaspPower.pot b/po/R-jaspPower.pot index 1e6101c..47ed68b 100644 --- a/po/R-jaspPower.pot +++ b/po/R-jaspPower.pot @@ -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."