Skip to content

Commit

Permalink
gettext(%) -> gettextf(%%)
Browse files Browse the repository at this point in the history
  • Loading branch information
shun2wang authored and boutinb committed Feb 27, 2024
1 parent ecacccb commit 6093513
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/equivalencebayesianindependentsamplesttest.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ EquivalenceBayesianIndependentSamplesTTest <- function(jaspResults, dataset, opt
equivalenceBayesianIndTTestTable$addColumnInfo(name = "variable", title = " ", type = "string", combine = TRUE)
equivalenceBayesianIndTTestTable$addColumnInfo(name = "statistic", title = gettext("Model Comparison"), type = "string")
equivalenceBayesianIndTTestTable$addColumnInfo(name = "bf", title = gettext("BF"), type = "number")
equivalenceBayesianIndTTestTable$addColumnInfo(name = "error", title = gettext("error %"), type = "number")
equivalenceBayesianIndTTestTable$addColumnInfo(name = "error", title = gettextf("error %%"), type = "number")

equivalenceBayesianIndTTestTable$showSpecifiedColumnsOnly <- TRUE

Expand Down
2 changes: 1 addition & 1 deletion R/equivalencebayesianonesamplettest.R
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ EquivalenceBayesianOneSampleTTest <- function(jaspResults, dataset, options) {
equivalenceBayesianOneTTestTable$addColumnInfo(name = "variable", title = " ", type = "string", combine = TRUE)
equivalenceBayesianOneTTestTable$addColumnInfo(name = "statistic", title = gettext("Model Comparison"), type = "string")
equivalenceBayesianOneTTestTable$addColumnInfo(name = "bf", title = gettext("BF"), type = "number")
equivalenceBayesianOneTTestTable$addColumnInfo(name = "error", title = gettext("error %"), type = "number")
equivalenceBayesianOneTTestTable$addColumnInfo(name = "error", title = gettextf("error %%"), type = "number")

if (ready)
equivalenceBayesianOneTTestTable$setExpectedSize(length(options$variables))
Expand Down
2 changes: 1 addition & 1 deletion R/equivalencebayesianpairedsamplesttest.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ EquivalenceBayesianPairedSamplesTTest <- function(jaspResults, dataset, options)
equivalenceBayesianPairedTTestTable$addColumnInfo(name = "variable2", title = " ", type = "string")
equivalenceBayesianPairedTTestTable$addColumnInfo(name = "statistic", title = gettext("Model Comparison"), type = "string")
equivalenceBayesianPairedTTestTable$addColumnInfo(name = "bf", title = gettext("BF"), type = "number")
equivalenceBayesianPairedTTestTable$addColumnInfo(name = "error", title = gettext("error %"), type = "number")
equivalenceBayesianPairedTTestTable$addColumnInfo(name = "error", title = gettextf("error %%"), type = "number")

if (ready)
equivalenceBayesianPairedTTestTable$setExpectedSize(length(options$pairs))
Expand Down

0 comments on commit 6093513

Please sign in to comment.