From 41baf8d106eabcdc4303bc803cd04d57e511eb82 Mon Sep 17 00:00:00 2001 From: Shun Wang Date: Sun, 17 Dec 2023 04:54:35 +0000 Subject: [PATCH] Fix gettext arguments error --- R/pwr_2var.R | 2 +- po/R-de.po | 10 +++++----- po/R-es.po | 8 ++++---- po/R-jaspPower.pot | 2 +- po/R-nl.po | 8 ++++---- po/R-pl.po | 4 ++-- po/R-zh_Hans.po | 4 ++-- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/R/pwr_2var.R b/R/pwr_2var.R index 32fea97..ccd400f 100644 --- a/R/pwr_2var.R +++ b/R/pwr_2var.R @@ -975,7 +975,7 @@ ), "

", gettextf( - "On the other hand, if %3$s, the evidence would exceed the criterion — and hence we would correctly claim that %4$s1 — at least %5$s%% of the time.", + "On the other hand, if %1$s, the evidence would exceed the criterion — and hence we would correctly claim that %2$s1 — at least %3$s%% of the time.", paste0("", es_text, "\u2265", "", d), paste0("", alt_text, ""), 100 * round(power, 3) ), gettextf( diff --git a/po/R-de.po b/po/R-de.po index 7790882..838175c 100644 --- a/po/R-de.po +++ b/po/R-de.po @@ -931,13 +931,13 @@ msgstr "" "wenn %3$s%4$s (rechts)." msgid "" -"On the other hand, if %3$s, the evidence would exceed the criterion — " -"and hence we would correctly claim that %4$s1 — at least %5$s%% of the " +"On the other hand, if %1$s, the evidence would exceed the criterion — " +"and hence we would correctly claim that %2$s1 — at least %3$s%% of the " "time." msgstr "" -"Andererseits, falls %3$s, würde die Evidenz das Kriterium überschreiten " -"— und daher würden wir korrekt behaupten, dass %4$s1 — in " -"mindestens %5$s%% der Fälle." +"Andererseits, falls %1$s, würde die Evidenz das Kriterium überschreiten " +"— und daher würden wir korrekt behaupten, dass %2$s1 — in " +"mindestens %3$s%% der Fälle." msgid "The design's power for detecting effects of %1$s%2$s%3$s is thus %4$s." msgstr "" diff --git a/po/R-es.po b/po/R-es.po index 6f9574d..ada19e2 100644 --- a/po/R-es.po +++ b/po/R-es.po @@ -919,12 +919,12 @@ msgstr "" "(izquierda), y cuando %3$s%4$s (derecha)." msgid "" -"On the other hand, if %3$s, the evidence would exceed the criterion — " -"and hence we would correctly claim that %4$s1 — at least %5$s%% of the " +"On the other hand, if %1$s, the evidence would exceed the criterion — " +"and hence we would correctly claim that %2$s1 — at least %3$s%% of the " "time." msgstr "" -"Por otro lado, si %3$s, la evidencia superaría el criterio &mdash, y " -"entonces afirmaríamos correctamente que %4$s1 — al menos el %5$s%% de " +"Por otro lado, si %1$s, la evidencia superaría el criterio &mdash, y " +"entonces afirmaríamos correctamente que %2$s1 — al menos el %3$s%% de " "las veces." msgid "The design's power for detecting effects of %1$s%2$s%3$s is thus %4$s." diff --git a/po/R-jaspPower.pot b/po/R-jaspPower.pot index 4d12371..4d22162 100644 --- a/po/R-jaspPower.pot +++ b/po/R-jaspPower.pot @@ -502,7 +502,7 @@ msgstr "" msgid "%1$sThe figure above shows two sampling distributions: the sampling distribution of the %1$s variance ratio when %2$s (left), and when %3$s%4$s (right)." msgstr "" -msgid "On the other hand, if %3$s, the evidence would exceed the criterion — and hence we would correctly claim that %4$s1 — at least %5$s%% of the time." +msgid "On the other hand, if %1$s, the evidence would exceed the criterion — and hence we would correctly claim that %2$s1 — at least %3$s%% of the time." msgstr "" msgid "The design's power for detecting effects of %1$s%2$s%3$s is thus %4$s." diff --git a/po/R-nl.po b/po/R-nl.po index 0d68510..54e43b3 100644 --- a/po/R-nl.po +++ b/po/R-nl.po @@ -726,11 +726,11 @@ msgstr "" "steekproefverdeling van de %1$s variantieverhouding wanneer %2$s (links) en " "wanneer %3$s%4$s (rechts)." -msgid "On the other hand, if %3$s, the evidence would exceed the criterion — and hence we would correctly claim that %4$s1 — at least %5$s%% of the time." +msgid "On the other hand, if %1$s, the evidence would exceed the criterion — and hence we would correctly claim that %2$s1 — at least %3$s%% of the time." msgstr "" -"Aan de andere kant, als %3$s, zou het bewijs het criterium — " -"overschrijden en dus zouden we terecht beweren dat %4$s1 — ten minste " -"%5$s%% van de tijd." +"Aan de andere kant, als %1$s, zou het bewijs het criterium — " +"overschrijden en dus zouden we terecht beweren dat %2$s1 — ten minste " +"%3$s%% van de tijd." msgid "The design's power for detecting effects of %1$s%2$s%3$s is thus %4$s." msgstr "" diff --git a/po/R-pl.po b/po/R-pl.po index 23d1913..a2dee97 100644 --- a/po/R-pl.po +++ b/po/R-pl.po @@ -704,8 +704,8 @@ msgid "" msgstr "" msgid "" -"On the other hand, if %3$s, the evidence would exceed the criterion — " -"and hence we would correctly claim that %4$s1 — at least %5$s%% of the " +"On the other hand, if %1$s, the evidence would exceed the criterion — " +"and hence we would correctly claim that %2$s1 — at least %3$s%% of the " "time." msgstr "" diff --git a/po/R-zh_Hans.po b/po/R-zh_Hans.po index bcee333..263ed5e 100644 --- a/po/R-zh_Hans.po +++ b/po/R-zh_Hans.po @@ -696,8 +696,8 @@ msgid "" msgstr "" msgid "" -"On the other hand, if %3$s, the evidence would exceed the criterion — " -"and hence we would correctly claim that %4$s1 — at least %5$s%% of the " +"On the other hand, if %1$s, the evidence would exceed the criterion — " +"and hence we would correctly claim that %2$s1 — at least %3$s%% of the " "time." msgstr ""