Skip to content

Commit

Permalink
Fix gettext arguments error
Browse files Browse the repository at this point in the history
  • Loading branch information
shun2wang authored and boutinb committed Dec 18, 2023
1 parent beb6738 commit edd1468
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion R/pwr_2var.R
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@
),
"</p><p>",
gettextf(
"On the other hand, if %3$s, the evidence would exceed the criterion &mdash; and hence we would correctly claim that %4$s1 &mdash; at least %5$s%% of the time.",
"On the other hand, if %1$s, the evidence would exceed the criterion &mdash; and hence we would correctly claim that %2$s1 &mdash; at least %3$s%% of the time.",
paste0("<i>", es_text, "\u2265", "</i>", d), paste0("<i>", alt_text, "</i>"), 100 * round(power, 3)
),
gettextf(
Expand Down
10 changes: 5 additions & 5 deletions po/R-de.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 &mdash; "
"and hence we would correctly claim that %4$s1 &mdash; at least %5$s%% of the "
"On the other hand, if %1$s, the evidence would exceed the criterion &mdash; "
"and hence we would correctly claim that %2$s1 &mdash; at least %3$s%% of the "
"time."
msgstr ""
"Andererseits, falls %3$s, würde die Evidenz das Kriterium überschreiten "
"&mdash; und daher würden wir korrekt behaupten, dass %4$s1 &mdash; in "
"mindestens %5$s%% der Fälle."
"Andererseits, falls %1$s, würde die Evidenz das Kriterium überschreiten "
"&mdash; und daher würden wir korrekt behaupten, dass %2$s1 &mdash; 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 ""
Expand Down
8 changes: 4 additions & 4 deletions po/R-es.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 &mdash; "
"and hence we would correctly claim that %4$s1 &mdash; at least %5$s%% of the "
"On the other hand, if %1$s, the evidence would exceed the criterion &mdash; "
"and hence we would correctly claim that %2$s1 &mdash; 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 &mdash; 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 &mdash; 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."
Expand Down
2 changes: 1 addition & 1 deletion po/R-jaspPower.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 &mdash; and hence we would correctly claim that %4$s1 &mdash; at least %5$s%% of the time."
msgid "On the other hand, if %1$s, the evidence would exceed the criterion &mdash; and hence we would correctly claim that %2$s1 &mdash; 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."
Expand Down
8 changes: 4 additions & 4 deletions po/R-nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 &mdash; and hence we would correctly claim that %4$s1 &mdash; at least %5$s%% of the time."
msgid "On the other hand, if %1$s, the evidence would exceed the criterion &mdash; and hence we would correctly claim that %2$s1 &mdash; at least %3$s%% of the time."
msgstr ""
"Aan de andere kant, als %3$s, zou het bewijs het criterium &mdash; "
"overschrijden en dus zouden we terecht beweren dat %4$s1 &mdash; ten minste "
"%5$s%% van de tijd."
"Aan de andere kant, als %1$s, zou het bewijs het criterium &mdash; "
"overschrijden en dus zouden we terecht beweren dat %2$s1 &mdash; 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 ""
Expand Down
4 changes: 2 additions & 2 deletions po/R-pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -704,8 +704,8 @@ msgid ""
msgstr ""

msgid ""
"On the other hand, if %3$s, the evidence would exceed the criterion &mdash; "
"and hence we would correctly claim that %4$s1 &mdash; at least %5$s%% of the "
"On the other hand, if %1$s, the evidence would exceed the criterion &mdash; "
"and hence we would correctly claim that %2$s1 &mdash; at least %3$s%% of the "
"time."
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions po/R-zh_Hans.po
Original file line number Diff line number Diff line change
Expand Up @@ -696,8 +696,8 @@ msgid ""
msgstr ""

msgid ""
"On the other hand, if %3$s, the evidence would exceed the criterion &mdash; "
"and hence we would correctly claim that %4$s1 &mdash; at least %5$s%% of the "
"On the other hand, if %1$s, the evidence would exceed the criterion &mdash; "
"and hence we would correctly claim that %2$s1 &mdash; at least %3$s%% of the "
"time."
msgstr ""

Expand Down

0 comments on commit edd1468

Please sign in to comment.